- Workaround an npm publish issue
- Emit declarations for typings, instead of using source
- Add TS Typings - Thanks @vace
- Convert arrays with missing keys to objects in unserialize
- BREAKING Export modules in CJS and CommonJS.
- Add support for parsing protected and private fields
- Fix handling of shallow arrays (Thanks @neoaggelos)
- Require at least Node v8
- Add
isSerialized
method, mirrored from Wordpress source
- Add support for
encoding
parameter for serialize/unserialize
- Fix validation being too strict for pairs
- Simplify internals
- Validate input and Throw syntax errors
- Fix serialization support for big numbers
- Added support for namespaced serializations
- Fixed support for multi-byte strings
- Rewrote most of decode internals to work on Buffers instead of strings (external API still the same)
- Move
flow-bin
to dev dependencies from dependencies (sorry guys!)
- Fix decoding of empty arrays (Thanks @incadawr)
- Fix encoding/decoding of multi-byte utf8 strings
- Fix a bug where objects/Array guessing would fail when values were/not numeric.
- Add support for
__PHP_Incomplete_Class
- Add support for deep serialization (Thanks @cantremember)
- Complete rewrite
- Fixed a lot of bugs/limitations
- Added specs to ensure stability
- Initial release