Sha256: a52773616667e8a79ee5d11652df3fe8fd5228923ecaa2ac24f6f6bac4ddbb01
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 KB
Contents
# Changelog ## [1.0.0] - 2023-05-26 ### Breaking Changes - Ruby 2.4 is no longer supported. - The default `regexp_resolver` is now `ruby`, which passes patterns directly to `Regexp`. The previous default, `ecma`, rewrites patterns to behave more like Javascript (ECMA-262) regular expressions: - Beginning of string: `^` -> `\A` - End of string: `$` -> `\z` - Space: `\s` -> `[\t\r\n\f\v\uFEFF\u2029\p{Zs}]` - Non-space: `\S` -> `[^\t\r\n\f\v\uFEFF\u2029\p{Zs}]` - Invalid ECMA-262 regular expressions raise `JSONSchemer::InvalidEcmaRegexp` when `regexp_resolver` is set to `ecma`. - Embedded subschemas (ie, subschemas referenced by `$id`) can only be found under "known" keywords (eg, `definitions`). Previously, the entire schema object was scanned for `$id`. - Empty fragments are now removed from `$ref` URIs before calling `ref_resolver`. - Refs that are fragment-only JSON pointers with special characters must use the proper encoding (eg, `"$ref": "#/definitions/some-%7Bid%7D"`). [1.0.0]: https://github.com/davishmcclurg/json_schemer/releases/tag/v1.0.0
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
json_schemer-1.0.3 | CHANGELOG.md |
json_schemer-1.0.2 | CHANGELOG.md |
json_schemer-1.0.1 | CHANGELOG.md |
json_schemer-1.0.0 | CHANGELOG.md |