Commit Graph

147 Commits

Author SHA1 Message Date
Dmitry Dygalo cfab6027a1 perf: Avoid allocations while constructing path segments
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-03 20:46:44 +02:00
Dmitry Dygalo e564888da5 feat(python): Custom format checkers
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-02 00:02:22 +02:00
Sam Roberts aa94a4b24a
feat: Custom keyword validation (#473)
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
Co-authored-by: Benjamin Tobler <ben@tobler.nz>
Co-authored-by: Benjamin Tobler <benjamin.tobler@stedi.com>
Co-authored-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-01 18:16:08 +02:00
Dmitry Dygalo cd0b70a49a chore: Expose JsonPointerNode
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-01 14:03:03 +02:00
Dmitry Dygalo 9aae87e573 build: Update builds
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-04-14 18:24:03 +02:00
Dmitry Dygalo e2e06895e4 chore: Update more dependencies
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 01:03:09 +01:00
Dmitry Dygalo 8a2fa1f5a6
chore(rust): Release 0.17.1
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2023-07-05 11:43:48 +02:00
Dmitry Dygalo 4179972bac
chore(rust): Release 0.17.0 2023-03-16 13:09:43 +01:00
Dmitry Dygalo aae445cd2d
docs: Update changelog 2023-03-16 08:48:15 +01:00
Toby Lawrence 63494600b8 feat: add support for unevaluatedProperties to draft 2019-09 and 2020-12 2023-03-16 08:37:59 +01:00
Dmitry Dygalo 848b7b1284 chore: Update `iso8601` to `0.6` 2023-02-25 17:38:53 +01:00
Dmitry Dygalo 5553600d66 chore(rust): Replace `lazy_static` with `once_cell` 2023-01-15 11:26:52 +01:00
Dmitry Dygalo e6a3d749a4 chore(rust): Update dependencies 2023-01-15 02:00:57 +01:00
Dmitry Dygalo ec4f35f63a
chore(rust): Release 0.16.1 2022-10-20 16:16:48 +02:00
Pawel Iwan e174bd1332 docs: update changelog 2022-06-23 12:04:41 +02:00
Dmitry Dygalo 10530eccdd
chore(rust): Release 0.16.0 2022-04-21 17:33:39 +02:00
Dmitry Dygalo 233e1a0a41 fix: Various compilation issues
Ref: #356 #358
2022-04-21 17:11:08 +02:00
Dmitry Dygalo e2d09aa932
chore(rust): Release 0.15.2 2022-04-10 23:32:39 +02:00
Dmitry Dygalo e7e0e9e1b8
docs: Update changelog 2022-04-10 23:28:34 +02:00
Dmitry Dygalo 044935d724
chore(rust): Release 0.15.1 2022-04-02 18:21:40 +02:00
Dmitry Dygalo dd9b95e3d6 fix: Enable `reqwest/native-tls` by default to avoid validation errors caused by `reqwest` missing a TLS backend 2022-04-02 17:50:14 +02:00
Dmitry Dygalo 5f52908009
chore(rust): Release 0.15.0 2022-01-31 11:51:20 +01:00
Dmitry Dygalo 06148bcb3b
docs: Adjust changelogs 2022-01-31 11:38:36 +01:00
Ferenc Tamás b43b0e9eb1
feat: Custom Resolvers for external references (#246)
* feat: resolver

* chore: rustfmt

* chore: even more rustfmt

* chore: relax anyhow version requirement

* chore: restore url dependency requirement

* fix(resolver): jsonschema/src/resolver.rs typo

Co-authored-by: Dmitry Dygalo <Stranger6667@users.noreply.github.com>

* fix(resolver): python binding

* feat(resolver): include original ref string, docs

* feat(resolver): reqwest feature compile error

* chore(resolver): changelog

* fix(*): clippy

* fix(resolver): doctest example

* feat(resolver): reqwest feature compile error

* chore(resolver): changelog

* fix(*): clippy

* fix(resolver): doctest example
2022-01-31 11:33:17 +01:00
Dmitry Dygalo 3c17261145 chore(cli): Use `serde::from_reader` instead of `serde::from_str` 2022-01-28 12:54:16 +01:00
Dmitry Dygalo a0feae6632 docs: Fix changelog structure 2022-01-28 12:54:16 +01:00
Dmitry Dygalo 99fdd4a812
chore(rust): Release 0.14.0 2022-01-23 17:28:36 +01:00
Dmitry Dygalo 1584d65365 chore: Bump `itoa` to `1.0`
Ref: #337
2022-01-23 17:24:22 +01:00
Dmitry Dygalo 98b3ccb986 perf: Optimize searching by pointer in JSON documents 2021-12-17 11:01:04 +01:00
Dmitry Dygalo 4e44e54f2d perf: Avoid cloning the value when resolving empty fragments 2021-12-17 09:29:14 +01:00
Dmitry Dygalo f84bc5704b perf: Do less work when resolving fragments 2021-12-17 09:09:03 +01:00
Dmitry Dygalo aa04159dee perf: Reduce the number of generated LLVM lines 2021-12-17 08:52:02 +01:00
Dmitry Dygalo 1f2cda4271 perf: Shortcut for `false` schemas 2021-12-10 13:12:10 +01:00
Dmitry Dygalo 9ca1bc0e4a perf: Simplify `equal_arrays` helper 2021-12-10 11:27:26 +01:00
Dmitry Dygalo 90b0cb089b chore(rust): Release 0.13.3 2021-12-10 11:27:26 +01:00
Dmitry Dygalo 2d061579c8
chore(rust): Release 0.13.3 2021-12-08 12:33:31 +01:00
Dmitry Dygalo bd76d74212 fix: Panic in `JSONSchema.apply` on some schemas with `prefixItems` and `items` 2021-12-08 12:11:16 +01:00
Dmitry Dygalo 295246619a fix: False negatives in some cases when calling `JSONSchema.apply` on schemas with `if` and `then` (without `else`) keywords
Ref: #318
2021-12-08 12:11:16 +01:00
Dmitry Dygalo eb3c601025 fix: False positives in some cases when calling `JSONSchema.apply` on a schema with `additionalProperties`, `patternProperties`, and `properties` combined. 2021-12-08 12:11:16 +01:00
Dmitry Dygalo 6444e7c724 chore: Make `BasicOutput.is_valid` public 2021-12-08 12:11:16 +01:00
Dmitry Dygalo 64792f39c4 perf: Remove the `schema` argument from all methods of the `Validate` trait 2021-12-07 11:43:48 +01:00
Dmitry Dygalo e2b77fc705 perf: Add special cases for arrays with 2 and 3 items in the `uniqueItems` keyword implementation 2021-12-06 21:50:22 +01:00
Dmitry Dygalo 87bce86efe perf: Optimize the `multipleOf` implementation 2021-12-06 18:25:23 +01:00
Dmitry Dygalo 691ec3e2ac perf: Remove unused private field in `JSONSchema` 2021-12-06 18:07:18 +01:00
Dmitry Dygalo 2ea835a442
chore(rust): Release 0.13.2
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-11-04 12:32:57 +01:00
Dmitry Dygalo aa7b277933
docs: Add missing changelog entry
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-11-04 12:29:55 +01:00
Rafael Caricio 0e150641e1 feat: Implement `prefixItems` keyword 2021-10-29 14:54:13 +02:00
Dmitry Dygalo 2ce396b29b
chore(rust): Release 0.13.1
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-10-28 11:17:27 +02:00
Dmitry Dygalo 4f419af154
docs: Missing changelog entry
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-10-28 11:12:00 +02:00
Dmitry Dygalo 63cdb32485
chore(rust): Release 0.13.0
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-10-28 09:41:27 +02:00