- Following changes to the MongoDB Extended JSON specification, jibby now errors on literal null bytes in keys or in regular expression patterns or options. This is a deviation from the JSONTestSuite by Nicholas Seriot, which permits nulls in keys, but is consistent with the BSON specification, which does not.
- Added support for the Extended JSON
$uuid
alias for parsing UUID strings as binary subtype 4.
- Synchronized BSON corpus tests with the MongoDB source corpus.
- Bump MongoDB Go driver dependency to v1.5.1 to address CVE-2021-20329
- Fix potential panic reading surrogate pairs across buffer boundaries
-
Add support for surrogate pair unicode escapes
-
Fix rune conversion warning for Go 1.15+
- Fix incorrect regex for
$options
- Parse errors returned as
ParseError
type
- Parses legacy $date with numeric literal value
- Added
ErrUnsupportedBOM
as an error type returned for unsupported BOMs
- Legacy Extended JSON parsing now will not error on ambiguous legacy Extended
JSON keys:
$regex
,$options
,$type
.
- Fix loop closure bug
- Fix special conversion of binary subtype 0x02
- Drop Go driver dependency version to v1.2.1 (tag: v0.1.1)
- Initial release