Comments (22)
Reverted in v8.16.0
from ajv.
Reverting now. New version will be 8.16.0 and will set everything back to how it was in 8.14.0. Sorry for the disruption.
from ajv.
+1
from ajv.
If you also experience this problem, please click the thumbs-up emoji on the top comment instead of adding a note with "+1". The emoji counts automatically, and by posting "+1", everyone who commented earlier (including me) gets a mail notification.
from ajv.
Yep, weβre onto it. Please pin until we get a fix out asap.
from ajv.
+1
Btw, 8.15.0 also broke several JSON schema validations with errors like: can't resolve reference #/properties/replace/properties/values/patternProperties/.%2B/allOf/0 from id http://foo.bar/json-schemas/myschema
Same exact JSON files validate just fine against exact same JSON schemas using Ajv 8.14.0
from ajv.
@errodrigues, I opened that as a separate issue (#2447) to not clutter this discussion.
from ajv.
we meet the same problem, I have to pin to 8.14.0
now
from ajv.
There are also compatibility issues with earlier versions of node.
from ajv.
we meet the same problem, I have to pin to
8.14.0
now
+1
from ajv.
+1
from ajv.
+1
from ajv.
+10086
from ajv.
+1
from ajv.
+1
from ajv.
+1
from ajv.
+1,We found the same problem with nx
The node environment is 14.17.5
from ajv.
There are also compatibility issues with earlier versions of node.
Can you provide more detail?
from ajv.
There are also compatibility issues with earlier versions of node.
Can you provide more detail?
Our project uses @nx/webpack, but @nx/webpack relies on schema-utils, and schema-utils ends up using ajv
from ajv.
There are a lot of dependencies that uses ajv with an unpinned version. This is a breaking change in lower versions of node. Could you please rollback? Thanks in advance for the good work π
from ajv.
All who are unsure how to downgrade to a previous minor version as a temporary workaround you can run:
npm install "[email protected].*" --save
and should get then the previous version which does not require the fast-uri package.
from ajv.
+1 Btw, 8.15.0 also broke several JSON schema validations with errors like:
can't resolve reference #/properties/replace/properties/values/patternProperties/.%2B/allOf/0 from id http://foo.bar/json-schemas/myschema
Same exact JSON files validate just fine against exact same JSON schemas using Ajv 8.14.0
As a workaround maybe you can override the version of ajv
in package.json
for the validator package such as:
"overrides": {
"@the-validator-package": {
"ajv": "8.14.0"
}
},
from ajv.
Related Issues (20)
- useDefaults doesn't work with conditional requires HOT 3
- 'v' pattern flag support, log descriptive errors for invalid (failing to compile) regexp's HOT 2
- contains with maxContains and minContains not behaving as expected HOT 11
- Register custom validator without modifying the input schema HOT 1
- Add `validateSchema` "strict" mode HOT 6
- Is this repo alive? HOT 1
- console.log cannot be used as a default HOT 1
- Replace fast-deep-equal with dequal HOT 1
- Getting "Invalid regular expression /<myRegex>/" error while compiling HOT 1
- Change empty string to `undefined` before validation HOT 3
- Catch Enum Errors value HOT 4
- RE2 integration incorrectly typed HOT 2
- `regexp` should be wrapped in try/catchs HOT 5
- Add `sideEffects: false` flag to `package.json` to allow tree-shaking HOT 4
- Add support for comments inside JSON HOT 3
- serializing Infinity creates invalid JSON HOT 5
- Unexpected behaviour of unevaluatedProperties when used with dependentSchemas HOT 1
- Picking or Omiting Certain Properties From a Schema Definition to make another definition HOT 1
- Replace `uri-js` abandoned dependency HOT 3
- [feature request] Add more formats and support for `qt-*` keys HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ajv.