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-rs): bump the minor group with 3 updates #1916

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 10, 2025

Updates the requirements on jsonschema, strum and strum_macros to permit the latest version.
Updates jsonschema to 0.28.3

Release notes

Sourced from jsonschema's releases.

[Python] Release 0.28.3

Fixed

  • Panic when schema registry base URI contains an unencoded fragment.

Performance

  • Fewer JSON pointer lookups.
Changelog

Sourced from jsonschema's changelog.

[0.28.3] - 2025-01-24

Fixed

  • Panic when schema registry base URI contains an unencoded fragment.

Performance

  • Fewer JSON pointer lookups.

[0.28.2] - 2025-01-22

Fixed

  • Resolving external references that nested inside local references. #671
  • Resolving relative references with fragments against base URIs that also contain fragments. #666

Performance

  • Faster JSON pointer resolution.

[0.28.1] - 2024-12-31

Fixed

  • Handle fragment references within $id-anchored subschemas. #640

[0.28.0] - 2024-12-29

Added

  • Implement IntoIterator for Location to iterate over LocationSegment.
  • Implement FromIter for Location to build a Location from an iterator of LocationSegment.
  • ValidationError::to_owned method for converting errors into owned versions.
  • Meta-schema validation support. #442

[0.27.1] - 2024-12-24

Added

  • Implement ExactSizeIterator for PrimitiveTypesBitMapIterator.

[0.27.0] - 2024-12-23

Added

  • Added masked() and masked_with() methods to ValidationError to support hiding sensitive data in error messages. #434

Changed

... (truncated)

Commits
  • f50299a chore(rust): Release 0.28.3
  • 293718e build(deps): bump crates/jsonschema-referencing/tests/suite
  • ecc60d4 fix: Panic when schema registry base URI contains an unencoded fragment
  • fe6e0b7 chore(python): Remove obsolete attribute for deprecated code
  • 9ce7040 build(deps): update pyo3-built requirement from 0.5 to 0.6
  • 57c60d8 build(deps): bump crates/jsonschema-referencing/tests/suite
  • 5773229 perf: Fewer JSON pointer lookups
  • e61c9f8 chore(python): Release 0.28.2
  • 7c59034 chore(rust): Release 0.28.2
  • 615fa1e fix: Resolving relative references with fragments
  • Additional commits viewable in compare view

Updates strum to 0.26.3

Release notes

Sourced from strum's releases.

v0.26.3

What's Changed

New Contributors

Full Changelog: Peternator7/strum@v0.26.2...v0.26.3

Changelog

Sourced from strum's changelog.

0.26.3 (strum_macros)

  • #344: Hide EnumTable because it's going to be deprecated in the next version.
  • #357: Fixes an incompatiblity with itertools by using the fully qualified name rather than the inherent method.
  • #345: Allows unnamed tuple like variants to use their variants in string interpolation. #[strum(to_string = "Field 0: {0}, Field 1: {1})")] will now work for tuple variants

0.26.2

  • #337: Fix missing generic impls for EnumTryAs
  • #334: Support prefix in AsRefStr. Technically a breaking change, but prefix was just added in 0.26.0 so it's a newer feature and it makes the feature more consisent in general.

0.26.1

  • #325: use core instead of std in VariantArray.

0.26.0

Breaking Changes

  • The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in the right direction for fixing the warning.
  • The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code.
  • Display now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like "Hello {field}", this will now be interpretted as a format string.
  • EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal.

New features

  • The VariantArray macro has been added. This macro adds an associated constant VARIANTS to your enum. The constant is a &'static [Self] slice so that you can access all the variants of your enum. This only works on enums that only have unit variants.

    use strum::VariantArray;
    #[derive(Debug, VariantArray)]
    enum Color {
    Red,
    Blue,
    Green,
    }
    fn main() {
    println!("{:?}", Color::VARIANTS); // prints: ["Red", "Blue", "Green"]

... (truncated)

Commits
  • c89286f Update changelog & strum_macros version
  • 0c85c16 Use associated function syntax for calling get on an EnumIter, eliminatin...
  • 9689d7b add hyperlinks to documentation and clarify derive macros (#355)
  • 186d29f Interpolate unnamed enum variant fields in to_string attribute (#345)
  • 410062e Fix broken links (#350)
  • 1e46337 Update heck requirement (#346)
  • f5fce03 Fix typos & misspellings in docs (#347)
  • 8b781ba Update changelog and versions.
  • 8daf564 Hide EnumTable because I think it should be deprecated in the next release (#...
  • 1abb289 Fix docs that say array instead of slice (#343)
  • Additional commits viewable in compare view

Updates strum_macros to 0.26.4

Changelog

Sourced from strum_macros's changelog.

0.26.4 (strum_macros)

  • #360: Fixes bug introduced with new string interpolation feature where unit structs took an implicit unnecessary dependency on ::core::alloc.

0.26.3 (strum_macros)

  • #344: Hide EnumTable because it's going to be deprecated in the next version.
  • #357: Fixes an incompatiblity with itertools by using the fully qualified name rather than the inherent method.
  • #345: Allows unnamed tuple like variants to use their variants in string interpolation. #[strum(to_string = "Field 0: {0}, Field 1: {1})")] will now work for tuple variants

0.26.2

  • #337: Fix missing generic impls for EnumTryAs
  • #334: Support prefix in AsRefStr. Technically a breaking change, but prefix was just added in 0.26.0 so it's a newer feature and it makes the feature more consisent in general.

0.26.1

  • #325: use core instead of std in VariantArray.

0.26.0

Breaking Changes

  • The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in the right direction for fixing the warning.
  • The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code.
  • Display now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like "Hello {field}", this will now be interpretted as a format string.
  • EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal.

New features

  • The VariantArray macro has been added. This macro adds an associated constant VARIANTS to your enum. The constant is a &'static [Self] slice so that you can access all the variants of your enum. This only works on enums that only have unit variants.

    use strum::VariantArray;
    #[derive(Debug, VariantArray)]
    enum Color {
    Red,
    Blue,

... (truncated)

Commits

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

Updates the requirements on [jsonschema](https://github.com/Stranger6667/jsonschema), [strum](https://github.com/Peternator7/strum) and [strum_macros](https://github.com/Peternator7/strum) to permit the latest version.

Updates `jsonschema` to 0.28.3
- [Release notes](https://github.com/Stranger6667/jsonschema/releases)
- [Changelog](https://github.com/Stranger6667/jsonschema/blob/master/CHANGELOG.md)
- [Commits](Stranger6667/jsonschema@rust-v0.28.1...rust-v0.28.3)

Updates `strum` to 0.26.3
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](Peternator7/strum@v0.26.1...v0.26.3)

Updates `strum_macros` to 0.26.4
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-type: direct:production
  dependency-group: minor
- dependency-name: strum
  dependency-type: direct:production
  dependency-group: minor
- dependency-name: strum_macros
  dependency-type: direct:production
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner February 10, 2025 23:35
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 10, 2025
@dependabot dependabot bot requested a review from tatiana-s February 10, 2025 23:35
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.78%. Comparing base (8de6c7b) to head (08fcddc).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1916   +/-   ##
=======================================
  Coverage   83.78%   83.78%           
=======================================
  Files         196      196           
  Lines       37470    37470           
  Branches    34283    34283           
=======================================
  Hits        31396    31396           
  Misses       4296     4296           
  Partials     1778     1778           
Flag Coverage Δ
python 92.34% <ø> (ø)
rust 82.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aborgna-q aborgna-q added this pull request to the merge queue Feb 11, 2025
Merged via the queue into main with commit 242e12f Feb 11, 2025
26 checks passed
@aborgna-q aborgna-q deleted the dependabot/cargo/minor-eb8b357d0b branch February 11, 2025 14:37
@doug-q
Copy link
Collaborator

doug-q commented Feb 17, 2025

@aborgna-q dependabot lied in the commit message here, it bumped major version for strum, which seems to be a breaking change.(it broke me!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants