Skip to content
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

chore(deps-dev): bump ajv from 6.12.6 to 7.2.4 #2848

Merged
merged 2 commits into from Aug 8, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2022

Bumps ajv from 6.12.6 to 7.2.4.

Release notes

Sourced from ajv's releases.

v7.2.4

Fix #1515: correctly initialize evaluated properties.

v7.2.3

Remove docs from npm package

v7.2.2

Docs correction Simplified JSONSchemaType (@​erikbrinkman) Fix #1493 - incorrect reporting of missing required property with option ownProperties: true Fix #1501 - JTD not working correctly with many properties in the schema

v7.2.1

Add tests and fix parsers compiled with ajv.compileParser from JTD schemas:

  • fail on invalid JSON:
    • trailing comma in arrays/objects
    • invalid JSON numbers
    • control characters in strings
  • fix parsing of u-escaped characters
  • do not fail on duplicate object keys (consistent with JSON.parse)

Compiled parsers are now:

  • consistent with JSON.parse in case of invalid JSON
  • only parse data that is valid for JTD schema

It is a breaking change for compiled parsers compared with 7.2.0 that was released earlier on the same day.

v7.2.0

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:

  • JTDSchemaType utility type to convert your data type into the type of JTD schema, to simplify its writing and to make sure it is consistent with your data type, with type inference support for ajv methods (@​erikbrinkman, #1446, #1456, #1457, #1475) - see example here
  • Alternatively, you can use JTDDataType utility type to convert your JTD schema type into the type of data (@​erikbrinkman, #1458) - see this example

Other improvements by @​Fdawgs (#1466), @​t7yang (#1472, #1473), @​koba04 (#1460)

v7.1.1

Support readonly arrays with JSONSchemaType (@​LinusU, #1447)

v7.1.0

Support for JSON Type Definition RFC 8927 - a simple schema language provided as an alternative to JSON Schema.

See these docs:

... (truncated)

Commits
  • d658548 7.2.4
  • 6014412 fix: correctly initialize evaluated properties with nested anyOf (etc.), clos...
  • 46d91d7 Merge pull request #1511 from radekmie/patch-1
  • c0b2476 Updated options docs link.
  • 1b07663 7.2.3
  • 43f448c remove docs from npm package
  • 678f243 7.2.2
  • 4f83021 fix incorrect missing property reporting with ownProperties option, closes #1493
  • 3ae14a3 fix incorrect code for additional properties when there are "many" properties...
  • 2ada8d6 Merge pull request #1499 from ajv-validator/format-vue
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.6 to 7.2.4.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.12.6...v7.2.4)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 1, 2022
@dependabot dependabot bot requested a review from a team August 1, 2022 00:02
@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label Aug 1, 2022
@elastic-apm-tech elastic-apm-tech added this to In Progress in APM-Agents (OLD) Aug 1, 2022
@apmmachine
Copy link
Collaborator

apmmachine commented Aug 1, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-08-08T17:07:49.240+0000

  • Duration: 21 min 51 sec

Test stats 🧪

Test Results
Failed 0
Passed 257308
Skipped 0
Total 257308

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run module tests for <modules> : Run TAV tests for one or more modules, where <modules> can be either a comma separated list of modules (e.g. memcached,redis) or the string literal ALL to test all modules

  • run benchmark tests : Run the benchmark test only.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@trentm
Copy link
Member

trentm commented Aug 3, 2022

For reference, here are some notes on declining the update to ajv@8 from an earlier dependabot PR: #2755 (comment)

@trentm trentm self-assigned this Aug 8, 2022
@trentm trentm merged commit 0fe5514 into main Aug 8, 2022
APM-Agents (OLD) automation moved this from In Progress to Done Aug 8, 2022
@trentm trentm deleted the dependabot/npm_and_yarn/ajv-7.2.4 branch August 8, 2022 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-nodejs Make available for APM Agents project planning. dependencies Pull requests that update a dependency file
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants