All notable changes to colinodell/json5 will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
2.2.0 - 2020-11-29
- Added support for PHP 8.0
- Removed support for PHP 5.6 and 7.0
2.1.0 - 2019-03-28
- Added
.phpstorm.meta.phpfor better code completion - Added several tiny micro-optimizations
- Removed support for PHP 5.4 and 5.5
2.0.0 - 2018-09-20
- Added a polyfill for class
\JsonException(added in PHP 7.3) - Added a polyfill for constant
JSON_THROW_ON_ERROR
- The
SyntaxErrorclass now extends from\JsonException
1.0.5 - 2018-09-20
- Fixed exceptions not being thrown for incomplete objects/arrays
1.0.4 - 2018-01-14
- Modified the internal pointer and string manipulations to use bytes instead of characters for better performance (#4)
1.0.3 - 2018-01-14
- Fixed check for PHP 7+
1.0.2 - 2018-01-14
This release contains massive performance improvements of 98% or more, especially for larger JSON inputs!
- On PHP 7.x: parser will try using
json_decode()first in case normal JSON is given, since this function is much faster (#1)
- Fixed multiple performance issues (#1)
- Fixed bug where
JSON_OBJECT_AS_ARRAYwas improperly taking priority overassocin some cases
1.0.1 - 2017-11-11
- Removed accidentally-public constant
- Initial commit