Coder Social home page Coder Social logo

Comments (22)

jasoniangreen avatar jasoniangreen commented on August 20, 2024 13

Reverted in v8.16.0

from ajv.

jasoniangreen avatar jasoniangreen commented on August 20, 2024 9

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.

jled7 avatar jled7 commented on August 20, 2024 6

+1

from ajv.

retorquere avatar retorquere commented on August 20, 2024 5

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.

jasoniangreen avatar jasoniangreen commented on August 20, 2024 3

Yep, we’re onto it. Please pin until we get a fix out asap.

from ajv.

errodrigues avatar errodrigues commented on August 20, 2024 2

+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.

joshkel avatar joshkel commented on August 20, 2024 1

@errodrigues, I opened that as a separate issue (#2447) to not clutter this discussion.

from ajv.

arvinxx avatar arvinxx commented on August 20, 2024

we meet the same problem, I have to pin to 8.14.0 now

from ajv.

godky avatar godky commented on August 20, 2024

There are also compatibility issues with earlier versions of node.

from ajv.

hanzebang avatar hanzebang commented on August 20, 2024

we meet the same problem, I have to pin to 8.14.0 now

+1

from ajv.

FFFFourwood avatar FFFFourwood commented on August 20, 2024

+1

from ajv.

BroKun avatar BroKun commented on August 20, 2024

+1

from ajv.

serializedowen avatar serializedowen commented on August 20, 2024

+10086

from ajv.

xiaojiezj avatar xiaojiezj commented on August 20, 2024

+1

from ajv.

CrazyWood007 avatar CrazyWood007 commented on August 20, 2024

+1

from ajv.

yhz1992 avatar yhz1992 commented on August 20, 2024

+1

from ajv.

Ricklzy avatar Ricklzy commented on August 20, 2024

+1,We found the same problem with nx
Snipaste_2024-06-04_15-27-39
The node environment is 14.17.5

from ajv.

jasoniangreen avatar jasoniangreen commented on August 20, 2024

There are also compatibility issues with earlier versions of node.

Can you provide more detail?

from ajv.

Ricklzy avatar Ricklzy commented on August 20, 2024

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.

rupeesdev avatar rupeesdev commented on August 20, 2024

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.

alexander-schranz avatar alexander-schranz commented on August 20, 2024

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.

kujtimprenku avatar kujtimprenku commented on August 20, 2024

+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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.