Commit Graph

61 Commits

Author SHA1 Message Date
Dmitry Dygalo 3a5b7e95c8 chore: Update dependencies 2022-10-20 16:09:41 +02:00
Joel Natividad 06c7a31d23
chore: bump fraction from 0.10.0 to 0.11.0 (#381)
* bump fraction from 0.10.0 to 0.11.0

* Update dependencies, remove patch version no

Co-authored-by: Dmitry Dygalo <Stranger6667@users.noreply.github.com>
2022-10-18 23:34:08 +02:00
Expyron 07be2ffaf1
chore: Replace `structopt` with `clap` (#384) 2022-10-18 23:19:53 +02:00
Dmitry Dygalo a5cd893363 chore: Update `fancy_regex` from `0.9.0` to `0.10.0` 2022-05-12 16:26:36 +02:00
Joel Natividad 0ea012d422 chore: update dependencies
- fancy_regex from 0.8.0 to 0.9.0
- uuid from 0.8.2 to 1.0.0
2022-04-25 18:48:37 +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 4a07ba9a82
chore: Update to Rust 2021 edition in all crates 2022-04-10 23:31:34 +02:00
Dmitry Dygalo 044935d724
chore(rust): Release 0.15.1 2022-04-02 18:21:40 +02:00
Dmitry Dygalo ff8d2bebd9 chore: Update `test-case` dev dependency 2022-04-02 18:19:20 +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
FujiApple c4295f5a45 fix!: specify precise dependency versions in `Cargo.toml` and upgrade all versions 2022-04-02 16:54:07 +02:00
Dmitry Dygalo 5f52908009
chore(rust): Release 0.15.0 2022-01-31 11:51:20 +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 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
Joel Natividad ad4eeb9da5
fix: Set default-features=false for reqwest
fixes #335 .

Otherwise, reqwest will always use default-tls which is the native-tls even if jsonschema `reqwest-rustls-tls` feature is specified.
2022-01-23 13:24:30 +01:00
Dmitry Dygalo 98b3ccb986 perf: Optimize searching by pointer in JSON documents 2021-12-17 11:01:04 +01:00
Dmitry Dygalo 2d061579c8
chore(rust): Release 0.13.3 2021-12-08 12:33:31 +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
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 41aece9324
fix: Missing derive from serde
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-10-28 11:05:42 +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
LongYinan a8c42bca1c feat(jsonschema): forward reqwest features 2021-10-28 09:22:00 +02:00
Dmitry Dygalo cd96cc82c1 perf: Use bytecount for some validators
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-10-27 17:49:21 +02:00
Dmitry Dygalo 4992676eb5 chore: Update dependencies
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-10-21 11:45:28 +02:00
Alex Good 625c66ee25 fix: Switch from chrono to time 0.3.3
Due to a CVE in chrono[0] we switch to time 0.3.3. Chrono actually
depends on an older, similarly vulnerable version of `time` but newer
versions of `time` seem to offer everything we need to validate dates
and times anyway.

[0] https://github.com/rustsec/advisory-db/pull/1082

Signed-off-by: Alex Good <alex@memoryandthought.me>
2021-10-20 17:40:03 +02:00
Alex Good 9daae35d2d feat: implement basic output format 2021-08-15 20:12:59 +02:00
syheliel 12eac163d8
feat: added duration format validation
* feat: added duration format validation

* fix: add cfg feature for duration

Ref: #265
2021-08-15 11:50:06 +02:00
rahul bhonsale 7b0c6ce72a feat: added uuid format validation 2021-08-11 17:39:19 +02:00
Dmitry Dygalo c082b9516a chore: A stub support for Draft 2019-09 behind a feature flag
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-08-03 20:09:17 +02:00
Dmitry Dygalo c4cda8d501
chore(rust): Release 0.12.1
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-29 10:33:40 +02:00
Dmitry Dygalo 6765d072fe fix: Panic on incomplete escape sequences in regex patterns
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-29 10:30:36 +02:00
Dmitry Dygalo b59ae3a45e
chore(rust): Release 0.12.0
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-24 16:16:16 +02:00
Dmitry Dygalo bf17e1c8e0
chore: Port `json-schema-test-suite` as a local dependency
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-23 10:17:53 +02:00
Dmitry Dygalo a41ece3ca7
chore: Exclude the new location of benchmark data from packaging
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-13 17:36:45 +02:00
Dmitry Dygalo 6c76d48215 refactor: Split benchmarks
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-13 11:13:52 +02:00
Dmitry Dygalo 2fedd4f84c
chore(rust): Release 0.11.0 2021-06-19 17:12:47 +02:00
Dmitry Dygalo 9d8b077995
chore(rust): Release 0.10.0 2021-06-17 15:28:28 +02:00
Dmitry Dygalo 806878180a
chore: Rust release 0.9.1 2021-06-17 13:08:29 +02:00
Jon Duckworth 550ed821b6 chore: Use Display formatting for Regex 2021-05-17 14:25:30 +02:00
Dmitry Dygalo 6e418db4fd
chore(rust): Release 0.9.0 2021-05-07 08:57:23 +02:00
Jon Duckworth 443d374c4c
feat: Add support for look-around patterns using fancy-regex
* feat: Add support for look-around patterns using fancy-regex

* fix: Resolve is_match to false for Err variant

* fix: Add ValidationError variant for backtrack limit errors

* fix: Fix some pre-existing typos in the ValidationErrorKind variant docstrings

* test: Add negative lookbehind pattern test

* fix: Fix rustfmt errors

* fix: Revert to using index
2021-05-07 08:37:46 +02:00
Dmitry Dygalo 38be11f6d4 chore: Remove unused `idna` dependency 2021-05-06 18:42:16 +02:00
Dmitry Dygalo f7160f4c8a
chore(rust): Release 0.8.3 2021-05-05 13:40:14 +02:00
Dmitry Dygalo 6654ccc7e8
chore(rust): Release 0.8.2 2021-05-03 14:52:30 +02:00
Dmitry Dygalo 089c623b29 perf: Simplify object comparison 2021-05-01 21:51:03 +02:00
Dmitry Dygalo c99064ceaf fix: Floating point overflow in the `multipleOf` validator 2021-04-30 21:32:04 +02:00