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.
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.
Do not reorder dictionaries (schemas, instances) that are printed as part of validation errors.
Declare support for Py3.13
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.
... (truncated)
Commits
cfe8a40 Document the other change, and call this 4.23.0.
25127a1 Merge pull request #1282 from rominf/rominf-python3.13
Refactoring java full runtime to reuse sub-message builders and prepare to
migrate parsing logic from parse constructor to builder.
Move proto wireformat parsing functionality from the private "parsing
constructor" to the Builder class.
Change the Lite runtime to prefer merging from the wireformat into mutable
messages rather than building up a new immutable object before merging. This
way results in fewer allocations and copy operations.
Make message-type extensions merge from wire-format instead of building up
instances and merging afterwards. This has much better performance.
Fix TextFormat parser to build up recurring (but supposedly not repeated)
sub-messages directly from text rather than building a new sub-message and
merging the fully formed message into the existing field.
Allocate with xrealloc()/xfree() so message allocation is visible to the
Ruby GC. In certain tests this leads to much lower memory usage due to more
frequent GC runs (#9586).
Fix conversion of singleton classes in Ruby (#9342)
... (truncated)
Commits
63def39 Updating version.json and repo version numbers to: 27.2
Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
HTTPAdapter. (#6716)
Fixed issue where Requests started failing to run on Python versions compiled
without the ssl module. (#6724)
v2.32.2
2.32.2 (2024-05-21)
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed _get_connection to
a new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
v2.32.1
2.32.1 (2024-05-20)
Bugfixes
Add missing test certs to the sdist distributed on PyPI.
Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
HTTPAdapter. (#6716)
Fixed issue where Requests started failing to run on Python versions compiled
without the ssl module. (#6724)
2.32.2 (2024-05-21)
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed _get_connection to
a new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
2.32.1 (2024-05-20)
Bugfixes
Add missing test certs to the sdist distributed on PyPI.
Updated test & build matrix to include Python 3.12 and use
GitHub Actions as a Trusted Publisher (OIDC)
simplejson/simplejson#317
v3.19.1
Version 3.19.1 released 2023-04-06
This release contains security hardening measures based on recommendations
by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
Several of these measures include changing defaults to be more strict,
by default simplejson will now only consume and produce compliant JSON,
but the flags still exist for any backwards compatibility needs.
No high priority issues were discovered, the reference count
leak is thought to be unreachable since the digits of the float are
checked before PyOS_string_to_double is called.
A link to the public version of this report will be included in a
future release of simplejson. The following fixes were implemented in
one PR: simplejson/simplejson#313
Fix invalid handling of unicode escape sequences in the pure Python
implementation of the decoder (SJ-PT-23-01)
Fix missing reference count decrease if PyOS_string_to_double raises
an exception in Python 2.x; was probably unreachable (SJ-PT-23-02)
Backport the integer string length limitation from Python 3.11 to
limit quadratic number parsing (SJ-PT-23-03)
Fix inconsistencies with error messages between the C and Python
implementations (SJ-PT-23-100)
Remove unused unichr import from encoder (SJ-PT-23-101)
Remove unused namedtuple_as_object and tuple_as_array arguments from
simplejson.load (SJ-PT-23-102)
Remove vestigial _one_shot code from iterencode (SJ-PT-23-103)
Change default of allow_nan from True to False and add allow_nan
to decoder (SJ-PT-23-107)
v3.19.0
NOTE: This release was not published to PyPI as the version number was mistakenly not updated in setup.py
Version 3.19.0 released 2023-04-06
This release contains security hardening measures based on recommendations
by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
Several of these measures include changing defaults to be more strict,
by default simplejson will now only consume and produce compliant JSON,
but the flags still exist for any backwards compatibility needs.
No high priority issues were discovered, the reference count
leak is thought to be unreachable since the digits of the float are
checked before PyOS_string_to_double is called.
A link to the public version of this report will be included in a
Updated test & build matrix to include Python 3.12 and use
GitHub Actions as a Trusted Publisher (OIDC)
simplejson/simplejson#317
Version 3.19.1 released 2023-04-06
This release contains security hardening measures based on recommendations
by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
Several of these measures include changing defaults to be more strict,
by default simplejson will now only consume and produce compliant JSON,
but the flags still exist for any backwards compatibility needs.
No high priority issues were discovered, the reference count
leak is thought to be unreachable since the digits of the float are
checked before PyOS_string_to_double is called.
A link to the public version of this report will be included in a
future release of simplejson. The following fixes were implemented in
one PR: simplejson/simplejson#313
Fix invalid handling of unicode escape sequences in the pure Python
implementation of the decoder (SJ-PT-23-01)
Fix missing reference count decrease if PyOS_string_to_double raises
an exception in Python 2.x; was probably unreachable (SJ-PT-23-02)
Backport the integer string length limitation from Python 3.11 to
limit quadratic number parsing (SJ-PT-23-03)
Fix inconsistencies with error messages between the C and Python
implementations (SJ-PT-23-100)
Remove unused unichr import from encoder (SJ-PT-23-101)
Remove unused namedtuple_as_object and tuple_as_array arguments from
simplejson.load (SJ-PT-23-102)
Remove vestigial _one_shot code from iterencode (SJ-PT-23-103)
Change default of allow_nan from True to False and add allow_nan
to decoder (SJ-PT-23-107)
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-packages group in /src/sdk/python/hanami_sdk with 4 updates: jsonschema, protobuf, requests and simplejson.
Updates
jsonschema
from 3.2.0 to 4.23.0Release notes
Sourced from jsonschema's releases.
... (truncated)
Changelog
Sourced from jsonschema's changelog.
... (truncated)
Commits
cfe8a40
Document the other change, and call this 4.23.0.25127a1
Merge pull request #1282 from rominf/rominf-python3.1340410c4
Declare support for 3.133a44b4b
Merge pull request #1276 from python-jsonschema/pre-commit-ci-update-config6a00e35
[pre-commit.ci] pre-commit autoupdate84fee43
Merge pull request #1273 from python-jsonschema/pre-commit-ci-update-configa90d6e2
[pre-commit.ci] pre-commit autoupdatec3a8641
Merge pull request #1272 from python-jsonschema/pre-commit-ci-update-configdeb5398
[pre-commit.ci] pre-commit autoupdate7fd28c3
Update the (ancient draft3) color format for newer webcolors.Updates
protobuf
from 3.19.6 to 5.27.2Release notes
Sourced from protobuf's releases.
... (truncated)
Commits
63def39
Updating version.json and repo version numbers to: 27.219bd211
Port windows bootstrapping fix (#17225)4923b8d
Fix string_type bugs in edition 2023 (#17211)b0a3c23
Merge pull request #17164 from protocolbuffers/cp-stubs270ca66
Cleanup imports and comments in V3 stubs.1e360a4
Add stubs for GeneratedMessageV3, RepeatedFieldBuilderV3, SingleFieldBuilderV...9cfb59b
Add simple conformance test that builds the old gencode against the current r...6c6f514
Merge pull request #17161 from protocolbuffers/backport-javac7a006a
Fix checking unknown field set empty which wasn't exposed yet in 27.x2426a02
Reserialize all unresolved features using java features from the generated po...Updates
requests
from 2.32.0 to 2.32.3Release notes
Sourced from requests's releases.
Changelog
Sourced from requests's changelog.
Commits
0e322af
v2.32.3e188799
Don't create default SSLContext if ssl module isn't present (#6724)145b539
Merge pull request #6716 from sigmavirus24/bug/6715b1d73dd
Don't use default SSLContext with custom poolmanager kwargs6badbac
Update HISTORY.mda62a2d3
Allow for overriding of specific pool key params88dce9d
v2.32.2c98e4d1
Merge pull request #6710 from nateprewitt/api_rename92075b3
Add deprecation warningaa1461b
Move _get_connection to get_connection_with_tls_contextUpdates
simplejson
from 3.17.6 to 3.19.2Release notes
Sourced from simplejson's releases.
... (truncated)
Changelog
Sourced from simplejson's changelog.
... (truncated)
Commits
532f41f
Merge pull request #317 from simplejson/update-cibw3fefaa6
Update build & test matrix and use GitHub Actions as a Trusted Publisheraeb63ee
v3.19.11a4995d
Merge pull request #313 from simplejson/audit-fixesec4a3d5
Update CHANGES.txt2cbc419
Additional security hardening improvements:440a5e4
SJ-PT-23-101: Remove unused unichr import from encoderdbd0aa3
SJ-PT-23-100: Fix inconsistencies in error messages between C and Python impl...59dac4e
SJ-PT-23-03: Backport integer string length limitation to limit quadratic par...1e495c1
SJ-PT-23-02: Fix missing reference count decreaseDependabot 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