jsonschema-rs/bindings/python/CHANGELOG.md

145 lines
5.5 KiB
Markdown
Raw Normal View History

2020-06-09 15:51:04 +00:00
# Changelog
## [Unreleased]
### Fixed
- Incorrect handling of `\w` and `\W` character groups in `pattern` keywords. [#180](https://github.com/Stranger6667/jsonschema-rs/issues/180)
- Incorrect handling of strings that contain escaped character groups (like `\\w`) in `pattern` keywords.
2021-02-03 14:34:58 +00:00
## [0.6.0] - 2021-02-03
### Added
- `with_meta_schemas` argument for `is_valid` and update docstrings.
2021-02-03 11:15:19 +00:00
- `validate` function.
2021-02-01 14:04:45 +00:00
### Performance
2021-02-03 10:25:37 +00:00
- General performance improvements for subsets of `items` and `additionalProperties` validators.
2021-02-03 11:15:19 +00:00
- Defer schema & instance loading until they are used. It improves performance for cases when the user passes an nvalid draft version.
2021-02-01 14:04:45 +00:00
2021-01-29 19:17:17 +00:00
## [0.5.1] - 2021-01-29
### Changed
- Exclude unnecessary files from source code distribution.
2021-01-29 18:30:10 +00:00
## [0.5.0] - 2021-01-29
2021-01-27 19:43:49 +00:00
### Added
- Cache for documents loaded via the `$ref` keyword. [#75](https://github.com/Stranger6667/jsonschema-rs/issues/75)
- Meta schemas for JSON Schema drafts 4, 6, and 7. [#28](https://github.com/Stranger6667/jsonschema-rs/issues/28)
2021-01-27 19:43:49 +00:00
### Fixed
- Not necessary network requests for schemas with `$id` values with trailing `#` symbol. [#163](https://github.com/Stranger6667/jsonschema-rs/issues/163)
- Source code distribution. It was missing the source code for the underlying Rust crate and were leading to
a build error during `pip install css-inline` on platforms that we don't have wheels for.
[#159](https://github.com/Stranger6667/jsonschema-rs/issues/159)
### Performance
- Enum validation for input values that have a type that is not present among the enum variants. [#80](https://github.com/Stranger6667/jsonschema-rs/issues/80)
2020-12-15 12:46:15 +00:00
## [0.4.3] - 2020-12-15
### Changed
2020-12-15 12:46:15 +00:00
- Exclude the `cli` dependency from the `jsonschema` crate & update dependencies in `Cargo.lock`.
2020-12-11 08:02:37 +00:00
## [0.4.2] - 2020-12-11
### Fixed
- Number comparison for `enum` and `const` keywords. [#149](https://github.com/Stranger6667/jsonschema-rs/issues/149)
- Do not accept `date` strings with single-digit month and day values. [#151](https://github.com/Stranger6667/jsonschema-rs/issues/151)
2020-12-09 15:38:35 +00:00
## [0.4.1] - 2020-12-09
### Fixed
- Integers not recognized as numbers when the `type` keyword is a list of multiple values. [#147](https://github.com/Stranger6667/jsonschema-rs/issues/147)
2020-11-09 21:21:06 +00:00
## [0.4.0] - 2020-11-09
2020-11-09 20:12:49 +00:00
### Added
- Python 3.9 support.
### Changed
- Remove not needed `__init__.py` file. It improves performance for compiled schemas. [#121](https://github.com/Stranger6667/jsonschema-rs/issues/121)
2020-11-09 19:00:12 +00:00
- Update `PyO3` to `0.12`. [#125](https://github.com/Stranger6667/jsonschema-rs/issues/125)
2020-06-30 17:20:08 +00:00
- Use stable Rust.
- Set module documentation only once.
2020-06-22 10:42:34 +00:00
### Fixed
- ECMAScript regex support
2020-06-24 12:23:52 +00:00
- Formats should be associated to Draft versions (ie. `idn-hostname` is not defined on draft 4 and draft 6)
- Handle errors during conversion to `Value` instead of using `unwrap` in `JSONSchema::is_valid` and `JSONSchema::validate`. [#127](https://github.com/Stranger6667/jsonschema-rs/issues/127)
2020-06-22 10:42:34 +00:00
2020-11-09 20:12:49 +00:00
### Removed
- Python 3.5 support.
2020-06-22 10:38:56 +00:00
## [0.3.3] - 2020-06-22
### Fixed
- `items` allows the presence of boolean schemas. [#115](https://github.com/Stranger6667/jsonschema-rs/pull/115)
2020-06-13 10:01:20 +00:00
## [0.3.2] - 2020-06-13
### Fixed
- Packaging issue.
2020-06-12 16:10:13 +00:00
## [0.3.1] - 2020-06-12
2020-06-12 16:08:56 +00:00
### Added
- Added `jsonschema_rs.__build__` which contains useful build information. [#111](https://github.com/Stranger6667/jsonschema-rs/pulls/111)
- Wheels for Mac OS and Windows. [#110](https://github.com/Stranger6667/jsonschema-rs/issues/110)
### Changed
- Linux wheels are `manylinux2014` compatible. Previously they were `manylinux2010` compatible. [#111](https://github.com/Stranger6667/jsonschema-rs/pulls/111)
2020-06-10 22:54:42 +00:00
## [0.3.0] - 2020-06-11
### Fixed
- Copying not needed compiled files to the wheel distribution files. [#109](https://github.com/Stranger6667/jsonschema-rs/issues/109)
2020-06-10 22:12:30 +00:00
## [0.2.0] - 2020-06-11
2020-06-10 21:09:02 +00:00
### Added
- `JSONSchema.validate` method that raises `ValidationError` for invalid input. [#105](https://github.com/Stranger6667/jsonschema-rs/issues/105)
### Changed
- Public functions docstrings to support PyCharm skeletons generation. Functions signatures now have proper signatures (but untyped) in PyCharm. [#107](https://github.com/Stranger6667/jsonschema-rs/issues/107)
- Enable Link-Time Optimizations and set `codegen-units` to 1. [#104](https://github.com/Stranger6667/jsonschema-rs/issues/104)
2020-06-09 15:51:04 +00:00
## 0.1.0 - 2020-06-09
- Initial public release
2021-02-03 14:34:58 +00:00
[Unreleased]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.6.0...HEAD
[0.6.0]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.5.1...python-v0.6.0
2021-01-29 19:17:17 +00:00
[0.5.1]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.5.0...python-v0.5.1
[0.5.0]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.4.3...python-v0.5.0
2020-12-15 12:46:15 +00:00
[0.4.3]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.4.2...python-v0.4.3
2020-12-11 08:02:37 +00:00
[0.4.2]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.4.1...python-v0.4.2
2020-12-09 15:38:35 +00:00
[0.4.1]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.4.0...python-v0.4.1
2020-11-09 21:21:06 +00:00
[0.4.0]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.3.3...python-v0.4.0
2020-06-22 10:38:56 +00:00
[0.3.3]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.3.2...python-v0.3.3
2020-06-13 10:01:20 +00:00
[0.3.2]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.3.1...python-v0.3.2
2020-06-12 16:10:13 +00:00
[0.3.1]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.3.0...python-v0.3.1
[0.3.0]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.2.0...python-v0.3.0
[0.2.0]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.1.0...python-v0.2.0