- BC Break:
document->toJson()
can now return null on failure - Fixed: JSON encode exceptions are now caught and the error captured
- Fixed: Invalid schema exceptions are now caught and the error captured
- Fixed: Issue when adding a new schema and not resetting the validator
- Added: Major refactor for PHP 7.4 upwards
- Updated test version to php7 and fixed failing json-decoding test
- Updated structure to use PSR4 autoloader
- Updated test versions to PHP 5.6 and HHVM
- Multiple code-style fixes
- Fixed bug validating against arbitrarily large integers (PR2). Thanks aoberoi
- Improved string handling in Document load functions and added tests
- Fixed newline/format bugs in Utils:dataToJson and added tests
- Added JohnStevenson\JsonWorks\Schema\ValidationException
- Initial stable release.