chore(rust): Release 0.7.0

This commit is contained in:
Dmitry Dygalo 2021-04-27 08:42:56 +02:00
parent 4b1f16716c
commit 2cf00cca66
No known key found for this signature in database
GPG Key ID: E2FDD4885D799724
3 changed files with 8 additions and 5 deletions

View File

@ -2,6 +2,8 @@
## [Unreleased]
## [0.7.0] - 2021-04-27
### Added
- `ValidationError.instance_path` that shows the path to the erroneous part of the input instance.
@ -13,7 +15,7 @@
### Fixed
- Reject IPv4 addresses with leading zeroes. As per new test case in JSONSchema test suite. [More info](https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/)
- Reject IPv4 addresses with leading zeroes. As per the new test case in the JSONSchema test suite. [More info](https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/)
- Do not look for sub-schemas inside `const` and `enum` keywords. Fixes an issue checked by [these tests](https://github.com/json-schema-org/JSON-Schema-Test-Suite/pull/471)
- Check all properties in the `required` keyword implementation. [#190](https://github.com/Stranger6667/jsonschema-rs/issues/190)
@ -168,7 +170,8 @@
- Initial public release
[Unreleased]: https://github.com/Stranger6667/jsonschema-rs/compare/rust-v0.6.1...HEAD
[Unreleased]: https://github.com/Stranger6667/jsonschema-rs/compare/rust-v0.7.0...HEAD
[0.7.0]: https://github.com/Stranger6667/jsonschema-rs/compare/rust-v0.6.1...rust-v0.7.0
[0.6.1]: https://github.com/Stranger6667/jsonschema-rs/compare/rust-v0.6.0...rust-v0.6.1
[0.6.0]: https://github.com/Stranger6667/jsonschema-rs/compare/rust-v0.5.0...rust-v0.6.0
[0.5.0]: https://github.com/Stranger6667/jsonschema-rs/compare/rust-v0.4.3...rust-v0.5.0

View File

@ -3,7 +3,7 @@
[![ci](https://github.com/Stranger6667/jsonschema-rs/workflows/ci/badge.svg)](https://github.com/Stranger6667/jsonschema-rs/actions)
[![codecov](https://codecov.io/gh/Stranger6667/jsonschema-rs/branch/master/graph/badge.svg)](https://codecov.io/gh/Stranger6667/jsonschema-rs)
[![Crates.io](https://img.shields.io/crates/v/jsonschema.svg)](https://crates.io/crates/jsonschema)
[![docs.rs](https://docs.rs/jsonschema/badge.svg?version=0.6.1)](https://docs.rs/jsonschema/0.6.1/jsonschema/)
[![docs.rs](https://docs.rs/jsonschema/badge.svg?version=0.7.0)](https://docs.rs/jsonschema/0.7.0/jsonschema/)
[![gitter](https://img.shields.io/gitter/room/Stranger6667/jsonschema-rs.svg)](https://gitter.im/Stranger6667/jsonschema-rs)
A JSON Schema validator implementation. It compiles schema into a validation tree to have validation as fast as possible.
@ -16,7 +16,7 @@ Supported drafts:
```toml
# Cargo.toml
jsonschema = "0.6"
jsonschema = "0.7"
```
To validate documents against some schema and get validation errors (if any):

View File

@ -1,6 +1,6 @@
[package]
name = "jsonschema"
version = "0.6.1"
version = "0.7.0"
authors = ["dmitry.dygalo <dadygalo@gmail.com>"]
edition = "2018"
license = "MIT"