1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-02-21 06:32:36 +01:00

CHANGELOG update

This commit is contained in:
Filip Halaxa 2020-12-08 12:56:58 +01:00
parent b7aea20270
commit 85cc4ee640

View File

@ -5,6 +5,7 @@
### New features
- Introduced `FileChunks` class. Takes care of the proper resource management when iterating via `JsonMachine::fromFile()`.
It is used internally, and you probably won't come across it.
- New `ErrorWrappingDecoder`. Use it when you want to skip erroneous JSON items. See [Decoders](README.md#decoders)
### BC breaks
- `StreamBytes` and `StringBytes` renamed to `StreamChunks` and `StringChunks`.
@ -23,7 +24,7 @@ unless you use them directly for some reason.
## 0.4.0
### New features
- [Custom decoder](README.md#custom-decoder)
- [Decoders](README.md#decoders)
- PHP 8 support (thanks @snapshotpl)
### BC breaks
- `ext-json` is not required in `composer.json` anymore, because custom decoder might not need it.