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

Bump the openapi group with 4 updates #3899

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 13, 2024

Bumps the openapi group with 4 updates: jsonschema, openapi-core, openapi-schema-validator and openapi-spec-validator.

Updates jsonschema from 3.2.0 to 4.22.0

Release notes

Sourced from jsonschema's releases.

v4.22.0

What's Changed

  • Improve best_match (and thereby error messages from jsonschema.validate) in cases where there are multiple sibling errors from applying anyOf / allOf -- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array (#1250).
  • (Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, as == would.

New Contributors

Full Changelog: python-jsonschema/jsonschema@v4.21.1...v4.22.0

v4.21.1

  • Slightly speed up the contains keyword by removing some unnecessary validator (re-)creation.

Full Changelog: python-jsonschema/jsonschema@v4.21.0...v4.21.1

v4.21.0

What's Changed

  • Fix the behavior of enum in the presence of 0 or 1 to properly consider True and False unequal (#1208).
  • Special case the error message for {min,max}{Items,Length,Properties} when they're checking for emptiness rather than true length.

New Contributors

Full Changelog: python-jsonschema/jsonschema@v4.20.0...v4.21.0

v4.20.0

  • Properly consider items (and properties) to be evaluated by unevaluatedItems (resp. unevaluatedProperties) when behind a $dynamicRef as specified by the 2020 and 2019 specifications.
  • jsonschema.exceptions.ErrorTree.__setitem__ is now deprecated. More broadly, in general users of jsonschema should never be mutating objects owned by the library.

Full Changelog: python-jsonschema/jsonschema@v4.19.2...v4.20.0

v4.19.2

  • Fix the error message for additional items when used with heterogeneous arrays.
  • Don't leak the additionalItems keyword into JSON Schema draft 2020-12, where it was replaced by items.

Full Changelog: python-jsonschema/jsonschema@v4.19.1...v4.19.2

v4.19.1

... (truncated)

Changelog

Sourced from jsonschema's changelog.

v4.22.0

  • Improve best_match (and thereby error messages from jsonschema.validate) in cases where there are multiple sibling errors from applying anyOf / allOf -- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array (#1250).
  • (Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, as == would.

v4.21.1

  • Slightly speed up the contains keyword by removing some unnecessary validator (re-)creation.

v4.21.0

  • Fix the behavior of enum in the presence of 0 or 1 to properly consider True and False unequal (#1208).
  • Special case the error message for {min,max}{Items,Length,Properties} when they're checking for emptiness rather than true length.

v4.20.0

  • Properly consider items (and properties) to be evaluated by unevaluatedItems (resp. unevaluatedProperties) when behind a $dynamicRef as specified by the 2020 and 2019 specifications.
  • jsonschema.exceptions.ErrorTree.__setitem__ is now deprecated. More broadly, in general users of jsonschema should never be mutating objects owned by the library.

v4.19.2

  • Fix the error message for additional items when used with heterogeneous arrays.
  • Don't leak the additionalItems keyword into JSON Schema draft 2020-12, where it was replaced by items.

v4.19.1

  • Single label hostnames are now properly considered valid according to the hostname format. This is the behavior specified by the relevant RFC (1123). IDN hostname behavior was already correct.

v4.19.0

  • Importing the Validator protocol directly from the package root is deprecated. Import it from jsonschema.protocols.Validator instead.
  • Automatic retrieval of remote references (which is still deprecated) now properly succeeds even if the retrieved resource does not declare which version of JSON Schema it uses. Such resources are assumed to be 2020-12 schemas. This more closely matches the pre-referencing library behavior.

v4.18.6

  • Set a jsonschema specific user agent when automatically retrieving remote references (which is deprecated).

... (truncated)

Commits
  • 9882dbe Add / ignore the new specification test suite property.
  • ebc90bb Merge commit '8fcfc3a674a7188a4fcc822b7a91efb3e0422a20'
  • 8fcfc3a Squashed 'json/' changes from b41167c74..54f3784a8
  • 30b7537 Pin pyenchant to pre from below until pyenchant/pyenchant#302 is released.
  • c3729db Enable doctests for the rest of the referencing page.
  • 70a994c Remove a now-unneeded noqa since apparently this is fixed in new ruff.
  • e6d0ef1 Fix a minor typo in the referencing example docs.
  • bceaf41 Another placeholder benchmark for future optimization.
  • b20234e Consider errors from earlier indices (in instances) to be better matches
  • 41b49c6 Minor improvement to test failure message when a best match test fails.
  • Additional commits viewable in compare view

Updates openapi-core from 0.14.5 to 0.19.2

Release notes

Sourced from openapi-core's releases.

0.19.2

Bug fixes

  • Falcon multi-value query parameters fix #830
  • Fix a DeprecationWarning from aiohttp in TestPetPhotoView #836
  • Fix hyphen characters in path parameters #851

0.19.1

Features

  • Path finder cls configuration #797

Bug fixes

  • Invalid usage of super() when having multi-baseclass inheritance: … #802
  • Fix content-type when no space after semicolon #814
  • Protocols body and data attributes docstrings fix #829

0.19.0

This version focuses on OpenAPI app and support for binary requests and responses.

Features

  • FastAPI integration #738
  • Mimetype parameters (i.e. charset) handling #678
  • Parameter deserializers renamed to Style deserializers #676
  • Unmarshalling processor enhancement #625
    • Option to skip response validation in Django, Falcon and Flask integrations #667
  • use explicit arguments (instead of kwargs) in Spec.from_dict and add short note in documentation how to use base_url for Spec.from_dict
  • Parameter and header get value refactor #677
  • Python 3.12 support #684
  • Bump openapi-spec-validator from 0.6.0 to 0.7.0 #685
    • Use openapi-spec-validator spec version finder #691
  • Move to SchemaPath from jsonschema-path package #690
  • Specification validation as part of shortcuts #686
  • Style deserializing reimplementation with support for all styles #694
  • Media type encoding support #646
  • Replace mimetype with content_type to include content parameters #699
  • Suport for primitive properties casting of urlencoded objects. #701
  • Request response binary format support #710
  • Starlette middleware #680
  • OpenAPI app and high level integration #716

Bug fixes

  • aiohttp request host_url include scheme #673
  • aiohttp response body check none #674
  • Validate empty request body fix #713
  • Path finder returns default server #648
  • OpenAPI config passed to validators and unmarshallers fix #779
  • milti types schema format unmarshal fix #562

Deprecations

  • Spec class is deprecated. Use SchemaPath from jsonschema-path package.

... (truncated)

Commits
  • bfbd728 Version 0.19.2
  • 2661fa6 Merge pull request #849 from python-openapi/dependabot/pip/requests-2.32.3
  • 9e1f7fd Merge pull request #848 from python-openapi/dependabot/pip/jsonschema-4.22.0
  • 965cbe1 Merge pull request #851 from codeasashu/update-parse
  • 4b803be fix: tests
  • 9719768 bump: parse dep
  • 3b5ff15 Bump requests from 2.32.0 to 2.32.3
  • 28d468a Bump jsonschema from 4.21.1 to 4.22.0
  • b9f48dc Merge pull request #841 from python-openapi/dependabot/pip/werkzeug-3.0.3
  • 039f4f3 Merge pull request #842 from python-openapi/dependabot/pip/jinja2-3.1.4
  • Additional commits viewable in compare view

Updates openapi-schema-validator from 0.2.3 to 0.6.2

Release notes

Sourced from openapi-schema-validator's releases.

0.6.2

Bug fixes

  • OAS30Validator readonly writeonly fix #135

0.6.1

Bug fixes

  • Jsonschema package keywords module rename fix #132

0.6.0

This version drops support for Python 3.7

Upgrades

  • Compatibility with jsonschema 4.18 #72
  • Dependencies update #106

Backward incompatibilities

  • Python 3.7 support dropped #84
  • OAS30Validator no longer accept read and write properties. Use OASReadValidator and OAS30WriteValidator instead. #85

0.6.0a1

Changelog

  • Python 3.7 support dropped #84
  • OAS30Validator read write properties dropped #85
  • jsonschema 4.18 compatibility #72

Backward incompatibilities

  • OAS30Validator no longer accept read and write properties. Use OASReadValidator and OAS30WriteValidator instead.

0.5.0

Changelog

  • Formats raise error for other types fix #67

Backward incompatibilities

  • format validators ignore other types and pass (in accordance with the specification)

0.4.4

Changelog

  • Include tests in sdist archives #71
  • jsonschema 4.17 dependency limit #73
  • add python 3.11 support #74

0.4.3

Changelog

  • test required formats only #62

0.4.2

Changelog

  • Rely on jsonschema date date-time and uuid format checkers. Format checkers assigned to validators #60

Backward incompatibility

... (truncated)

Commits
  • 07baba2 Version 0.6.2
  • 5b0e753 Add bump2version to dev dependencies
  • 112cc93 asdf ignored
  • 373bfdc Merge pull request #135 from python-openapi/fix/oas30validator-read-only-writ...
  • 9be944c OAS30Validator readonly writeonly fix
  • 259dcb1 Merge pull request #133 from python-openapi/dependabot/pip/urllib3-2.0.6
  • 0e0f97f Bump urllib3 from 2.0.3 to 2.0.6
  • f47ef8e Version 0.6.1
  • d1153de Merge pull request #132 from python-openapi/fix/jsonschema-keywords-module-re...
  • 704dbd5 Jsonschema keyworkds module rename fix
  • Additional commits viewable in compare view

Updates openapi-spec-validator from 0.4.0 to 0.7.1

Release notes

Sourced from openapi-spec-validator's releases.

0.7.1

Features

  • Versions submodule #291
  • Move to jsonschema-path package #292
  • Validator accepts any schema (schema dictionary or SchemaPath) #293
  • validate and validate_url shortcuts #294

Deprecations

  • validate_spec shortcut in deprecated. Usevalidate instead.
  • validate_spec_url shortcut is deprecated. Use validate_url instead.

0.7.0

Features

  • Allow validate multiple files (also with pre-commit hook) #255
  • Validators and keywords refactor #286
  • Python 3.12 support #290
  • Bump docker image python from 3.11.5-alpine to 3.12.0-alpine #288

Deprecations

  • openapi_*_spec_validator objects are deprecated. Use *SpecValidator classes instead.

0.6.0

This version drops support for Python 3.7

Upgrades

  • Compatibility with jsonschema 4.18, jsonschema-spec 0.2 and openapi-schema-validator 0.6 #202
  • Update dependencies #243

Deprecations

  • spec_url parameter of spec validator is deprecated. Use base_uri instead. #202

Backward incompatibilities

  • Drop python 3.7 support #226

0.6.0a2

Fixes

  • Update SupportsValidation protocol #232

0.6.0a1

This version drops support for Python 3.7

Features

  • Compatibility with jsonschema 4.18, jsonschema-spec 0.2 and openapi-schema-validator 0.6 #202

Backward incompatibilities

  • Drop python 3.7 support #226

0.5.7

... (truncated)

Commits
  • 409da9d Version 0.7.1
  • a9e9f27 Merge pull request #294 from python-openapi/feature/validate-and-validate-url...
  • 8564cc6 validate and validate_url shortcuts
  • 5f24987 Merge pull request #293 from python-openapi/feature/validator-accept-any-schema
  • eeff41a Validator accept any schema
  • e450e39 Merge pull request #292 from python-openapi/feature/move-to-jsonschema-path
  • 1d66de7 Move to jsonschema-path
  • 45bbe0a Merge pull request #291 from python-openapi/feature/versions-submodule
  • db016fa Versions submodule
  • 74a6c5f Version 0.7.0
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the openapi group with 4 updates: [jsonschema](https://github.com/python-jsonschema/jsonschema), [openapi-core](https://github.com/python-openapi/openapi-core), [openapi-schema-validator](https://github.com/python-openapi/openapi-schema-validator) and [openapi-spec-validator](https://github.com/python-openapi/openapi-spec-validator).


Updates `jsonschema` from 3.2.0 to 4.22.0
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](python-jsonschema/jsonschema@v3.2.0...v4.22.0)

Updates `openapi-core` from 0.14.5 to 0.19.2
- [Release notes](https://github.com/python-openapi/openapi-core/releases)
- [Commits](python-openapi/openapi-core@0.14.5...0.19.2)

Updates `openapi-schema-validator` from 0.2.3 to 0.6.2
- [Release notes](https://github.com/python-openapi/openapi-schema-validator/releases)
- [Commits](python-openapi/openapi-schema-validator@0.2.3...0.6.2)

Updates `openapi-spec-validator` from 0.4.0 to 0.7.1
- [Release notes](https://github.com/python-openapi/openapi-spec-validator/releases)
- [Commits](python-openapi/openapi-spec-validator@0.4.0...0.7.1)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: openapi
- dependency-name: openapi-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: openapi
- dependency-name: openapi-schema-validator
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: openapi
- dependency-name: openapi-spec-validator
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: openapi
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added automerge dependencies Pull requests that update a dependency file labels Jun 13, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 9, 2024

Superseded by #3952.

@dependabot dependabot bot closed this Jul 9, 2024
@dependabot dependabot bot deleted the dependabot/pip/openapi-0e5ecd5e3b branch July 9, 2024 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants