Commit Graph

168 Commits

Author SHA1 Message Date
Dmitry Dygalo 76cfe5073f
docs(python): Update benchmark data
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-07 08:51:33 +02:00
Dmitry Dygalo 3c342448e6
chore(python): Remove unused import
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-06 18:41:40 +02:00
Dmitry Dygalo 7227728dcc
chore(python): Release 0.11.1
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-06 14:44:03 +02:00
Dmitry Dygalo a773044d28 feat(python): Additional attributes for ValidationError
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-06 14:40:09 +02:00
Dmitry Dygalo c3754cedf9
chore: Update PyO3 to 0.14.1
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-05 14:34:53 +02:00
Dmitry Dygalo 442c05bd75
test(python): Properly wait for the test server
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-06-30 13:49:24 +02:00
Dmitry Dygalo 767ba29466
chore(python): Update dependencies
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-06-30 12:33:22 +02:00
Dmitry Dygalo acfeaa3faa
chore(python): Update dependencies 2021-06-20 09:59:44 +02:00
Dmitry Dygalo 36e77fed81
chore(python): Release 0.11.0 2021-06-19 17:19:35 +02:00
Dmitry Dygalo afc9677aba
docs: Update Python bindings changelog 2021-06-19 17:10:58 +02:00
DzikiChrzan 561f9cd2bd
feat: Report schema paths in validation errors
Ref: #199

Co-authored-by: ueco <ueco@libertymail.net>
Co-authored-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-06-19 17:00:26 +02:00
Dmitry Dygalo a0a5be814b chore: Fix various clippy lints 2021-06-17 19:27:14 +02:00
Dmitry Dygalo a4acce7868
chore(python): Release 0.10.0 2021-06-17 15:33:42 +02:00
Dmitry Dygalo e7f59586cc
docs: Update Python changelog 2021-06-17 15:31:59 +02:00
Eden Yefet 5e65010387
feat: Use meta-schemas to validate input schemas 2021-06-17 15:04:29 +02:00
Dmitry Dygalo 1212e8893b
chore(python): Release 0.9.1 2021-06-17 13:37:09 +02:00
Dmitry Dygalo e24630567f fix: The `format` validator incorrectly rejecting supported regex patterns
Ref: #230
2021-06-17 13:02:36 +02:00
Dmitry Dygalo 26ff8d4880
chore(python): Release 0.9.0 2021-05-07 09:07:06 +02:00
Dmitry Dygalo 4620adb594
chore(docs): Add changelog entry 2021-05-07 08:41:40 +02:00
Dmitry Dygalo 38be11f6d4 chore: Remove unused `idna` dependency 2021-05-06 18:42:16 +02:00
Dmitry Dygalo 7df454703e fix: Extend the `email` format validation 2021-05-06 11:40:58 +02:00
Dmitry Dygalo 0aabba871d
chore(python): Release 0.8.0 2021-05-05 14:01:35 +02:00
Dmitry Dygalo 9acd43ce08
chore(python): Add overhead info to benchmarks data 2021-05-05 14:00:16 +02:00
Dmitry Dygalo 17acb7000f feat(python): Add instance path to error messages
Ref: #144
2021-05-05 13:37:54 +02:00
Dmitry Dygalo 12bea0de30 chore(docs): Add missing changelog entries 2021-05-05 13:37:54 +02:00
Dmitry Dygalo 249422e6e1 fix: Missing `array` type in error messages for `type` validators containing multiple values
Ref: #216
2021-05-05 12:52:23 +02:00
Dmitry Dygalo 2c399ac368 fix: Skipped validation on an unsupported regular expression in `patternProperties` 2021-05-04 17:25:40 +02:00
Dmitry Dygalo 8ba3e717a8
chore(python): Release 0.6.2 2021-05-03 15:15:31 +02:00
Dmitry Dygalo c996f8987d perf: Special handling for single-item `required` validators 2021-05-03 13:23:23 +02:00
Dmitry Dygalo 5eced3929b chore: Update `PyO3` to `0.13.x` 2021-05-03 11:02:12 +02:00
Dmitry Dygalo e3f1e62df1 chore: Resolve clippy lints 2021-05-03 11:02:12 +02:00
Dmitry Dygalo 33ba13115d
docs: Update benchmark data 2021-05-02 12:58:23 +02:00
Dmitry Dygalo 2b807f2364 perf: Use vectors instead of `AHashMap` if the number of properties is small 2021-05-01 20:48:35 +02:00
Dmitry Dygalo c3b901b093 perf: Shortcut in the `uniqueItems` validator for short arrays 2021-05-01 18:36:11 +02:00
Dmitry Dygalo b9f5ff242e perf: Reduce the number of `RwLock.read()` calls in `$ref` validators 2021-05-01 15:03:01 +02:00
Dmitry Dygalo c99064ceaf fix: Floating point overflow in the `multipleOf` validator 2021-04-30 21:32:04 +02:00
Dmitry Dygalo 1a1c6c3afb perf: Replace heap-allocated `InstancePath` with stack-only linked list 2021-04-30 13:09:31 +02:00
Dmitry Dygalo 867b515df1
chore(python): Add `jsonschema_rs.validate` to benchmarks 2021-04-28 10:01:54 +02:00
Dmitry Dygalo c0624a435b perf: Do not use `Cow` in `InstancePath`
This way it avoids copying the whole vec in `$ref` which leads to ~15% improvement the big schema benchmark and doesn't visibly affect other benchmarks
2021-04-26 13:01:19 +02:00
Dmitry Dygalo 68359b211f
docs(python): Update benchmark data 2021-04-24 09:00:54 +02:00
Dmitry Dygalo e9cc380f10 chore: Update Cargo.lock in Python bindings 2021-04-23 16:10:16 +02:00
Dmitry Dygalo b1580c90bb
docs(python): Remove not needed quote 2021-03-26 10:30:56 +01:00
Dmitry Dygalo c097860cf7
chore(python): Release 0.6.1 2021-03-26 10:10:31 +01:00
Dmitry Dygalo a4658ddde5 fix: Incorrect handling of strings that contain escaped character groups in `pattern` keywords 2021-03-26 09:58:10 +01:00
Dmitry Dygalo d41a922704 fix: Incorrect handling of `\w` and `\W` character groups in `pattern` keywords
Ref: #180
2021-03-26 09:00:26 +01:00
Dmitry Dygalo c496fa2d23
docs(python): Fix the mentioned `fastjsonschema` version
Note, that the benchmark was done with the new version
2021-02-03 15:56:48 +01:00
Dmitry Dygalo c8d7704866
chore(python): Release 0.6.0 2021-02-03 15:34:58 +01:00
Dmitry Dygalo cce4056946
chore: Revert "Update `PyO3` to `0.13`" 2021-02-03 15:34:30 +01:00
Dmitry Dygalo 4da2f0d2bb test(python): Bring the suite tests back 2021-02-03 13:46:24 +01:00
Dmitry Dygalo dee71c7c56 feat(python): Add `validate` shortcut 2021-02-03 12:30:50 +01:00
Dmitry Dygalo f2c247401e docs(python): Fix `JSONSchema.validate` docstring 2021-02-03 12:30:50 +01:00
Dmitry Dygalo c01a647736
docs: Update benchmarks 2021-02-03 11:35:34 +01:00
Dmitry Dygalo 86e099a4cc
docs: Add missing changelog entries 2021-02-03 11:25:37 +01:00
Dmitry Dygalo 7b17b20a23
chore: Update `fastjsonschema` benchmarks 2021-02-01 19:20:07 +01:00
Dmitry Dygalo 0afe8481dc
docs: Add changelog entries 2021-02-01 15:04:45 +01:00
Dmitry Dygalo 2c483267e5 chore: Update benchmark data 2021-02-01 15:02:34 +01:00
Dmitry Dygalo 0c43e29d47 chore: Update Python bindings `project-url` metadata entry
To match the spec
2021-02-01 15:02:34 +01:00
Dmitry Dygalo 4571716ddf perf: Use `ahash` 2021-02-01 15:02:34 +01:00
Dmitry Dygalo e4b14fc21d
chore: Update benchmarks 2021-01-30 18:48:36 +01:00
Dmitry Dygalo 2664bca0b4
chore: Update Cargo.lock for Python bindings 2021-01-30 18:03:19 +01:00
Dmitry Dygalo b32de78359 chore: Update `PyO3` to `0.13` 2021-01-30 13:18:56 +01:00
Dmitry Dygalo 5bbb1a111b
chore: Add `with_meta_schemas` argument for `is_valid` and update docstrings 2021-01-30 13:08:08 +01:00
Dmitry Dygalo cfcc434646
chore(python): Release 0.5.1 2021-01-30 11:36:37 +01:00
Dmitry Dygalo c7951cdafe chore: Exclude unnecessary files from source code distribution 2021-01-29 20:15:44 +01:00
Dmitry Dygalo 651211bef1
chore(python): Release 0.5.0 2021-01-29 19:30:10 +01:00
Dmitry Dygalo 5286ea22c0 chore: Add `with_meta_schemas` for Python bindings 2021-01-29 18:42:27 +01:00
Dmitry Dygalo 649df723ae
feat: Meta schemas for JSON Schema drafts 4, 6, and 7 (#169)
Ref: #28
2021-01-29 18:24:53 +01:00
Dmitry Dygalo f5be9508d0
fix: Sdist Python packaging
* chore: Move Python bindings to `bindings`

* chore: Move `jsonschema` into a separate directory

* chore: Move submodule

* ci: Fix the `coverage` job

* chore: Move submodule

* test: Disable some failing optional tests

* ci: Add tests for installing Python sdist

* fix: Sdist Python packaging

* chore: Remove coverage job

It doesn't support such project structure
Ref: https://github.com/actions-rs/grcov/issues/50
2021-01-29 09:52:12 +01:00