Releases: driv3r/rusty_json_schema
Releases · driv3r/rusty_json_schema
0.15.0
Changed
- Update
jsonschema
dependency
- Update gems
Removed
- No need to store a copy of the JSON Schema serde Value, as
jsonschema
creates its own copy
0.9.0
Changed
- Update
jsonschema
dependency
- Update gems
- Update error messages to include path, that's instead of
"rusty" is not of type "numer"
it will be path "/bar": "rusty" is not of type "number"
0.6.1
Changed
- Update jsonschema dependency
- Update minimum Ruby version to 2.6
0.5.0
Changed
- update jsonschema dependency
- match versioning with jsonschema
0.3.2
Changed
- Support broader range of MacOS systems with prebuild binaries
- Cleanup default prebuild binaries after gem installation to reduce used disc space
0.3.1
Changed
- Package pre-build binaries together
0.3.0
Added
- Compile gem during installation when rustc is available
Changed
- Build per platform, reducing total size of a single gem
- Providing default binary for platform
0.2.0
Added
validate
function returning array of error messages
Changed
- restructured the gem by splitting
rusty_json_schema.rb
into multiple files
Maintenance
- added tooling for testing memory usage locally
- added tooling for generating
BENCHMARK.md
- made CI pipeline more resilient for cache issues
- general cleanups
Notes
Besides the generated benchmarks, tested given implementation against ~700 various schema examples. Compared to json_schemer
it's around ~20x faster for #valid?
case and ~12x faster for #validate
.
0.1.0
Added
- Basic FFI bindings with simple validation implementation. Ensured that memory usage is ok.
- Compiled for Linux, Mac and Windows