Releases: maciejhirsz/json-rust
Releases · maciejhirsz/json-rust
0.11.8
0.11.7
0.11.6
0.11.5
Object
struct now implementsIndex
andIndexMut
on it's own. Thanks to @hobofan for #105.- Fixed a rare SIGSEGV that could occur during serialization or iteration over objects due to invalid lifetimes being applied on unsafe code. Reduced the amount of unsafe code around to increase maintainability of the project, more to come.
0.11.4
0.11.3
0.11.2
- Added
Eq
to derived traits on theError
type.
0.11.1
0.11.0
- Breaking change:
Error
enum now has a new variant:ExceededDepthLimit
. - Stack overflow issues on deeply nested structures should now be fixed (#93).
- Parser has been reworked to avoid recursion and instead run in a loop with a custom, heap allocated, stack for nested objects and arrays.
- As an additional sanity check parsing will now stop after hitting 512 nested objects or arrays and return
Error::ExceededDepthLimit
.
- Fixed an issue that caused a panic when unwinding the parser on a single unicode character.
0.10.3
- Fixed integer overflow causing a panic when parsing very long exponents.
- Parser now returns an error on malformatted numbers which are missing a digit after a period (example:
[1.]
).