-
Notifications
You must be signed in to change notification settings - Fork 4
fix(deps): update dependency ajv to v8 #291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
9fd71ee to
cf740f9
Compare
552639f to
ca88ac8
Compare
19a994a to
810cd33
Compare
f7d2385 to
253d0a1
Compare
e9f4734 to
ef10777
Compare
ef10777 to
c4d4789
Compare
f270468 to
eef9eea
Compare
7c180f1 to
2e94b98
Compare
93991dd to
7bf4eac
Compare
2026c16 to
cfd48e2
Compare
cfd48e2 to
69ceed6
Compare
69ceed6 to
28e5d86
Compare
28e5d86 to
c9bd025
Compare
c9bd025 to
142b529
Compare
253e20e to
ca05ccc
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: yarn.lock |
ca05ccc to
0828537
Compare
|
bd7cd65 to
4c8c941
Compare
4c8c941 to
7de5a27
Compare
This PR contains the following updates:
6.12.6→8.17.1Release Notes
ajv-validator/ajv (ajv)
v8.17.1Compare Source
What's Changed
Full Changelog: ajv-validator/ajv@v8.17.0...v8.17.1
Plus everything in 8.17.0 which failed to release
The only functional change is to switch from uri-js (which is no longer supported), to fast-uri. This is the second attempt and the team on fast-uri have been really helpful addressing the issues we found last time.
Revert "Revert fast-uri change (#2444)" by @gurgunday in #2448
fix: ignore new eslint error for @typescript-eslint/no-extraneous-class by @jasoniangreen in #2455
docs: clarify behaviour of addVocabulary by @jasoniangreen in #2454
docs: refactor to improve legibility by @blottn in #2432
Fix grammatical typo in managing-schemas.md by @wetneb in #2305
docs: Fix broken strict-mode link by @alexanderjsx in #2459
feat: add test for encoded refs and bump fast-uri by @jasoniangreen in #2449
fix: changes for @typescript-eslint/array-type rule by @jasoniangreen in #2467
fixes #2217 - clarify custom keyword naming by @jasoniangreen in #2457
v8.16.0Compare Source
What's Changed
Full Changelog: ajv-validator/ajv@v8.15.0...v8.16.0
v8.15.0Compare Source
What's Changed
uri-jswithfast-uriby @vixalien in #2415New Contributors
Full Changelog: ajv-validator/ajv@v8.14.0...v8.15.0
v8.14.0Compare Source
What's Changed
New Contributors
Full Changelog: ajv-validator/ajv@v8.13.0...v8.14.0
v8.13.0Compare Source
v8.12.0Compare Source
v8.11.2Compare Source
Update dependencies
Export ValidationError and MissingRefError (#1840, @dannyb648)
v8.11.1Compare Source
Update dependencies
Export ValidationError and MissingRefError (#1840, @dannyb648)
v8.11.0Compare Source
Use root schemaEnv when resolving references in oneOf (#1901, @asprouse)
Only use equal function in generated code when it is used (#1922, @bhvngt)
v8.10.0Compare Source
uriResolveroption (@zekth, #1862)v8.9.0Compare Source
Option
code.esmto generate ESM exports for standalone validation functions (@rehanvdm, #1861)Support discriminator keyword with $ref in oneOf subschemas (@dfeufel, #1815)
v8.8.2Compare Source
Use full RegExp string (with flags) as cache key, related to ajv-validator/ajv-keywords#220
v8.8.1Compare Source
Fix
minContains: 0(#1819)v8.8.0Compare Source
Fix browser bundles in cdnjs
regExpoption allowing to specify alternative RegExp engine, e.g. re2 (@efebarlas)v8.7.1Compare Source
Publish Ajv bundle for JSON Schema 2020-12 to cdnjs.com
v8.7.0Compare Source
Update JSON Schema Test Suite.
Change
minContains: 0now correctly allows empty array.v8.6.3Compare Source
Fix $ref resolution for schemas without $id (@rbuckton, #1725)
Support standalone module import from ESM modules without using
.defaultproperty (@bhvngt, #1757)Update code for breaking TS change - error in
catchhas typeunknown(#1760)v8.6.2Compare Source
Fix JTD serialiser (#1691)
v8.6.1Compare Source
Fix "not" keyword preventing validation of "allOf" and some other keywords (#1668)
v8.6.0Compare Source
Track evaluated properties with patternProperties that have always valid schemas (e.g., true) (@P0lip, #1626)
Option
int32rangeto disable number range checking forint32anduint32type in JTD schemasv8.5.0Compare Source
Optimize validation code for
constkeyword with scalar values (@SoAsEr, #1561)Add option
schemaIdto support ajv-draft-04 - Ajv for JSON Schema drat-04.v8.4.0Compare Source
JSON Type Definition schema options:
timestamptype as Date objects.timestamptype.v8.3.0Compare Source
Typescript improvements:
JTD timestamp validation option (@jrr, #1584).
Docs corrections.
v8.2.0Compare Source
Add JTDDataType to compile signature (@erikbrinkman, #1547)
Improve JSONSchemaType for records (@erikbrinkman, #1564)
Use rollup for browser bundles (@realityking, #1533)
Docs corrections
v8.1.0Compare Source
unicodeRegExp option to not use RegExp unicode flag that may be incompatible with some environments (@asaid-0, #1530)
Fix JSONSchemaType (@erikbrinkman, #1541)
Extended error message for invalid keyword values (@pcwiek, #1542)
v8.0.5Compare Source
Fix: add source code back to npm package, 8.0.4 is breaking ajv-cli (and possibly other things)
v8.0.4Compare Source
Reduce npm bundle size
v8.0.3Compare Source
Improve JSONSchemaType errors (@erikbrinkman, #1525)
v8.0.2Compare Source
Support RegExp formats in standalone code (#1470)
Add schema path to strictTuple error message (@asaid-0, #1519)
v8.0.1Compare Source
Typescript: export function
getData(for ajv-errors)v8.0.0Compare Source
This document describes changes from v7.2.4 to v8.0.0.
If you are migrating from v6 you can use this document.
New features
Support JSON Schema draft-2020-12: prefixItems keyword and changed semantics of items keyword, dynamic recursive references.
OpenAPI discriminator keyword.
Improved JSON Type Definition support:
TypeScript: support type unions in JSONSchemaType
Other changes / improvements
Node.js require works without .default property - see examples in Getting started
Reduce runtime dependency for standalone validation code
Fix resolution of
$ref: "#"when $id is present (#815)Breaking changes
Option strict controls all strict mode restrictions
JSON Schema validation errors changes:
dataPathproperty replaced withinstancePatherror.params.propertyName).v7.2.4Compare Source
Fix #1515: correctly initialize evaluated properties.
v7.2.3Compare Source
Remove docs from npm package
v7.2.2Compare Source
Docs correction
Simplified JSONSchemaType (@erikbrinkman)
Fix #1493 - incorrect reporting of missing required property with option
ownProperties: trueFix #1501 - JTD not working correctly with many properties in the schema
v7.2.1Compare Source
Add tests and fix parsers compiled with
ajv.compileParserfrom JTD schemas:Compiled parsers are now:
It is a breaking change for compiled parsers compared with 7.2.0 that was released earlier on the same day.
v7.2.0Compare Source
strictRequired option (off by default) - to log or fail if properties used in JSON Schema "required" are not defined in "properties" (@PBug90, #1403)
Compiled parsers (as fast as JSON.parse on valid JSON, but replace validation and fail much faster on invalid JSON) and serializers (10x+ faster than JSON.stringify) from JSON Type Definition schemas (#1454) - see examples in javascript and typescript
Please note: there are fixes to compiled parsers in 7.2.1
The website migrated to VuePress and documentation is restructured to make navigating Ajv documentation and learning easier - this is still work in progress, but already some improvement on the information structure. Any feedback/corrections would be very much appreciated!
Improved TypeScript support for JSONSchemaType:
Other improvements by @Fdawgs (#1466), @t7yang (#1472, #1473), @koba04 (#1460)
v7.1.1Compare Source
Support readonly arrays with JSONSchemaType (@LinusU, #1447)
v7.1.0Compare Source
Support for JSON Type Definition RFC 8927 - a simple schema language provided as an alternative to JSON Schema.
See these docs:
Allow ":" in keyword names (#1421, @teq0)
v7.0.4Compare Source
Fix: duplicate functions in standalone validation code with mutually recursive schemas (#1361)
Fix: reference resolution when base URI change was not applied (#1414)
v7.0.3Compare Source
Fixes:
Docs:
v7.0.2Compare Source
Remove duplicate functions from standalone validation code (#1361)
v7.0.1Compare Source
Update error message for
maxLength/minLengthkeywordsv7.0.0Compare Source
Please note: this document covers the changes from v6.12.6.
The main changes
unevaluatedPropertiesandunevaluatedItems, dynamic recursive references and other additional keywords.Please note:
newkeyword, as Ajv is now ES6 class.post: truein keyword definition.Better TypeScript support:
compileandcompileAsyncnow return type-guards - see Getting started.validateis a type-guard.API changes:
newkeyword (it is ES6 class).Added options (and defaults):
loopRequiredChanged options:
keywords- now expects the array of keyword definitions (old API works with "deprecated" warning)Removed options:
validateFormats: falsecan be used instead, old format mode can be chosen via ajv-formats package.nullablekeyword is supported by default.jsPropertySyntax: true(deprecated) can be used if old format is needed.ignoreKeywordsWithRef(deprecated) can be used instead to ignore $ref siblings.code: {process: (code, schemaEnv: object) => string}.code: {source: true}.strict.ajv.addFormatorformatsoption.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.