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

Update strum requirement from 0.19 to 0.22 #347

Merged
merged 2 commits into from
Oct 12, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 11, 2021

Updates the requirements on strum to permit the latest version.

Changelog

Sourced from strum's changelog.

0.22.0

  • #180: Deprecates ToString derive. You should use Display instead.

  • #178: Deprecates AsStaticStr. This has been undocumented for a while. The recommended method is to derive IntoStaticStr instead.

  • #171: Improve no-std support.

  • #170: enable changing the path to strum traits. This is necessary if you re-export strum as a submodule in another crate.

0.21.1

  • #164 Improve compatibility with older versions of syn.

0.21.0

  • Replace std:: with core:: to support no-std projects. #145

  • Breaking Changes

    • MSRV is updated to 1.32 because heck does not work in 1.31.1 anymore. Rust 1.32 came out Jan 2019 so hopefully teams have moved to an equal or newer version.
    • #149 Remove the "rename" feature. In Rust 2018, macros should be imported using a qualified path to avoid collisions. strum_macros::EnumString rather than using the "Rename" feature to avoid collisions.
    • #160 enum messages: Make the returned values all 'static
      • It is unlikely this will break anyone, but the new signature for functions generated by EnumMessage is fn get_message(&self) -> Option<&'static str>.
  • Added support for ascii_case_insensitive string comparisons. #157 This feature allows FromString impls to match strings that differ in case from the expected variant.

0.20.0

  • Refactors to do better error handling. Thanks @​jplatte for these changes

  • Adding vis(scope) to EnumDiscriminants. #137

    • This feature works best with versions of rust >= 1.34 due to a rustc parsing error in earlier versions.
    • Earlier versions can still use vis(r#pub)
  • These changes should not be breaking, but the amount of code modified was significant.

  • FYI about #122. The macro renames feature will be removed in early 2021. This feature was only necessary in rust 2015 because macros

... (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 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)

Updates the requirements on [strum](https://github.com/Peternator7/strum) to permit the latest version.
- [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: strum
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 11, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 12, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/strum-0.22 branch October 12, 2021 09:58
@tiagolobocastro tiagolobocastro restored the dependabot/cargo/strum-0.22 branch October 12, 2021 11:17
@tiagolobocastro
Copy link
Collaborator

Oops closed by accident, reopened and resolved conflicts, will merge when/if build passes...

@tiagolobocastro tiagolobocastro merged commit 5d56b39 into master Oct 12, 2021
@dependabot dependabot bot deleted the dependabot/cargo/strum-0.22 branch October 12, 2021 13:34
silathdiir pushed a commit to fluidex/paperclip that referenced this pull request Dec 13, 2021
Updates the requirements on [strum](https://github.com/Peternator7/strum) to permit the latest version.
- [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: strum
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tiago Castro <[email protected]>
silathdiir added a commit to fluidex/paperclip that referenced this pull request Dec 13, 2021
* chore: remove travis in preparation for GHA

* ci: added github-actions

* ci: added linters

Currently both clippy and rustfmt are running
on nightly.
Also the corresponding suggestions recommended
by clippy has been applied.

* feat(skip): add support for serde skip

Skips fields if the serde skip attribute is found.

* chore: make linter workflow lowercase to match cicd

* Update version

Paperclip version 0.5 causes problems with Actix 3

* remove **experimental**

* remove nightly

* properties with a leading '@' should be renamed to 'at_' to allow both variants (e.g. @type and type) at the same time (paperclip-rs#344)

* enums variants: replace dots (.) with underscore (_)

* properties with a leading '@' should be renamed to 'at_' to allow
both variants (e.g. @type and type) at the same time

* replace '@' also for Builders (generics)

* harmonize to_snek_case to deal with unwanted characters (like @)

* support boxed values in Builder impl

* to_snek_case -> to_snake_case

Co-authored-by: Jens Gersdorf <[email protected]>

* feat: expose openapi v3 spec (paperclip-rs#311)

Expose openapi v3 spec through `with_json_spec_v3_at` and `with_raw_json_spec_v3`;
this is done through a conversion from the v2 types to v3 and so all
existing code should be valid.
It also means that we're not yet exposing any specific v3 features.

* feat(error responses): error responses definitions (paperclip-rs#307)

* feat(error responses): error responses definitions

Ability to specify an error type schema to an error response, either to
 each specific error code or a common for all.

* feat(error responses): error overlay type

Add error overlay over an existing Apiv2Error which allows us to filter
 out errors from the existing type which may not suit a particular
 URI handler.

* Update cicd.yml (paperclip-rs#345)

Add missing v3 feature test

* fix: add missing Configure app_data and trim paths (paperclip-rs#312)

Trimming the base path is useful when using scopes otherwise you could
 get the base uri repeated, eg: "/v0/v0". Obviously this depends on the
 use case so call only if you want this.

* Upgrade to GitHub-native Dependabot (paperclip-rs#319)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Tiago Castro <[email protected]>

* Update strum_macros requirement from 0.19 to 0.22 (paperclip-rs#348)

Updates the requirements on [strum_macros](https://github.com/Peternator7/strum) to permit the latest version.
- [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: strum_macros
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update strum requirement from 0.19 to 0.22 (paperclip-rs#347)

Updates the requirements on [strum](https://github.com/Peternator7/strum) to permit the latest version.
- [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: strum
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tiago Castro <[email protected]>

* feat: add Url feature (paperclip-rs#334)

* Add Url feature

Allow the usage of the Url object on the API

* CHANGELOG: Add url type support

Signed-off-by: Patrick José Pereira <[email protected]>

* swagger-ui: Add feature  (paperclip-rs#331)

* plugins: Add swagger-ui submodule

Signed-off-by: Patrick José Pereira <[email protected]>

* Add swagger-ui feature

Signed-off-by: Patrick José Pereira <[email protected]>

* tests: Update test_app to include swagger-ui test

Signed-off-by: Patrick José Pereira <[email protected]>

* Makefile: Add swagger-ui on test

Signed-off-by: Patrick José Pereira <[email protected]>

* github: cicd: Add swagger-ui on test

Signed-off-by: Patrick José Pereira <[email protected]>

* CHANGELOG: Add swagger-ui feature

Signed-off-by: Patrick José Pereira <[email protected]>

* github: Init submodules before building

Signed-off-by: Patrick José Pereira <[email protected]>

* chore: prepare release of version 0.6 (paperclip-rs#349)

* chore: several fixes (paperclip-rs#350)

* fix: add missing codegen feature in v2 comments

* fix: remove unused and gate features

* fix: resolve actix2 compilation errors

* chore: run actix2 tests on CI

* chore: prepare release of version 0.6.1 (paperclip-rs#351)

* fix(paperclip-actix): add symlink to swagger-ui

This way it will be uploaded to crates.io

* chore: release 0.4.2 of the paperclip-actix plugin

* Update actix plugin tutorial to mention v3 and macro syntax (paperclip-rs#354)

* Fix favicons for swagger-ui and add simple error handling (paperclip-rs#369)

Added error message for getting files from swagger-ui/dist.
Fixed favicons making panic on unwrap since contents_utf8 doesn't work on images.

* Supports `actix-web` `4.0.0-beta.4`. (#1)

* Fix issues for upgrading `actix-web` to `4.0.0-beta.12`. (#4)

* Update for `actix4`.

* Delete useless export.

Co-authored-by: Tiago Castro <[email protected]>
Co-authored-by: Ankur Srivastava <[email protected]>
Co-authored-by: Sleepybæ <[email protected]>
Co-authored-by: jens1205 <[email protected]>
Co-authored-by: Jens Gersdorf <[email protected]>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick José Pereira <[email protected]>
Co-authored-by: Dylan Anthony <[email protected]>
Co-authored-by: Bilel Medimegh <[email protected]>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant