-
Notifications
You must be signed in to change notification settings - Fork 14
mrc-2476: Upgrade ajv to version 8.5.0 and include draft-04 extension #41
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
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
99b7e39
Upgrade to ajv 8.5.0
r-ash 488dcf4
Update error message and output parsing to work with ajv 8.5
r-ash 2b67e44
Fix draft-04 handling
richfitz 487419f
Add ajv formats package and tests
r-ash 0ce312e
Merge branch 'master' into mrc-2476
r-ash 998090f
Run with strict mode off by default and expose as an argument
r-ash 706763c
Bump version no and add news item
r-ash cbe3e08
Use ajv as default validator
r-ash e527d8c
Update NEWS.md
r-ash 253b8b5
Add formats to draft-04 and add test
r-ash 5c3ada2
Merge branch 'mrc-2476' of github.com:ropensci/jsonvalidate into mrc-…
r-ash 08f78f4
Update NEWS
r-ash f39c34d
Update R/validate.R
r-ash 632fe88
Code tidy
r-ash 688233d
Merge branch 'mrc-2476' of github.com:ropensci/jsonvalidate into mrc-…
r-ash 700f8bb
Regenerate docs
r-ash 1870d98
Switch back to imjv default, fallback on ajv if schema version > draf…
r-ash 8d77aff
Add dataPath property for backward compatibility
r-ash f511066
Add support for using 2019-09 and 2020-12 json schema
r-ash a4e6267
New approach to backward compatibility
richfitz e02ff96
Add rob
richfitz eb0f147
Enable GHA for this branch
richfitz 8ca69c2
Fix news
richfitz 132269c
Merge pull request #45 from ropensci/mrc-2476-compat
r-ash ad90324
Update .github/workflows/R-CMD-check.yaml
r-ash 5a938e5
Update .github/workflows/test-coverage.yaml
r-ash File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if we try and use imjv with a meta schema version of draft-6/7? Still throws an error? We should probably document that. Also the docstring for
engineneeds updating to reflect the new defaultThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still throws an error yeah - this referenced issue from the code mafintosh/is-my-json-valid#160 still a problem