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): bump the deps group across 1 directory with 2 updates #97

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 28, 2024

Updates the requirements on derive_more and leptos-use to permit the latest version.
Updates derive_more to 1.0.0

Release notes

Sourced from derive_more's releases.

v1.0.0 - Finally a stable release

derive_more is a library that adds derives for many of the standard library traits. By using this library the following code just works:

use derive_more::{Add, Display, From, Into};
#[derive(PartialEq, From, Add)]
struct MyInt(i32);
#[derive(PartialEq, From, Into)]
struct Point2D {
x: i32,
y: i32,
}
#[derive(PartialEq, From, Add, Display)]
enum MyEnum {
#[display("int: {_0}")]
Int(i32),
Uint(u32),
#[display("nothing")]
Nothing,
}
assert!(MyInt(11) == MyInt(5) + 6.into());
assert!((5, 6) == Point2D { x: 5, y: 6 }.into());
assert!(MyEnum::Int(15) == (MyEnum::Int(8) + 7.into()).unwrap());
assert!(MyEnum::Int(15).to_string() == "int: 15");
assert!(MyEnum::Uint(42).to_string() == "42");
assert!(MyEnum::Nothing.to_string() == "nothing");

Now, more than 8 years after the first commit and almost 5 years after the 0.99.0 release, derive_more has finally reached its 1.0.0 release. This release contains a lot of changes (including some breaking ones) to make it easier to use the derives and make it possible to extend them without having to break backwards compatibility again. There are five major changes that I would like to call out, but there are many more changes that are documented below:

  1. There is a new Debug derive that can be used to easily customize Debug formatting.
  2. A greatly improved Display derive, which allows you to do anything that thiserror provides, but it works for any type not just errors. And by combining the Display derive with the Error and From derives, there shouldn't really be any need to use thiserror anymore (if you are missing a feature/behaviour from thiserror please report an issue).
  3. Traits that can return errors now return a type that implements Error when an error occurs instead of a &'static str.
  4. When using use derive_more::SomeTrait the actual trait is also imported not just the derive macro. This is especially useful for Error and Display
  5. The docs are now rendered on docs.rs and are much better overall.

Breaking changes

  • The minimum supported Rust version (MSRV) is now Rust 1.75.
  • Add the std feature which should be disabled in no_std environments.
  • All Cargo features, except std, are now disabled by default. The full feature can be used to get the old behavior of supporting all possible derives.
  • The TryFrom, Add, Sub, BitAnd, BitOr, BitXor, Not and Neg derives now return a dedicated error type instead of a &'static str on error.
  • The FromStr derive now uses a dedicated FromStrError error type instead of generating unique one each time.
  • The Display derive (and other fmt-like ones) now uses #[display("...", (<expr>),*)] syntax instead of #[display(fmt = "...", ("<expr>"),*)], and #[display(bound(<bound>))] instead of #[display(bound = "<bound>")]. So without the double quotes around the expressions and bounds.
  • The Debug and Display derives (and other fmt-like ones) now transparently delegate to the inner type when #[display("...", (<expr>),*)] attribute is trivially substitutable with a transparent call. (#322)

... (truncated)

Changelog

Sourced from derive_more's changelog.

1.0.0 - 2024-08-07

More than 8 years after the first commit and almost 5 years after the 0.99.0 release, derive_more has finally reached its 1.0.0 release. This release contains a lot of changes (including some breaking ones) to make it easier to use the derives and make it possible to extend them without having to break backwards compatibility again. There are five major changes that I would like to call out, but there are many more changes that are documented below:

  1. There is a new Debug derive that can be used to easily customize Debug formatting.
  2. A greatly improved Display derive, which allows you to do anything that thiserror provides, but it works for any type not just errors. And by combining the Display derive with the Error and From derives, there shouldn't really be any need to use thiserror anymore (if you are missing a feature/behaviour from thiserror please report an issue).
  3. Traits that can return errors now return a type that implements Error when an error occurs instead of a &'static str.
  4. When using use derive_more::SomeTrait the actual trait is also imported not just the derive macro. This is especially useful for Error and Display
  5. The docs are now rendered on docs.rs and are much better overall.

Breaking changes

  • The minimum supported Rust version (MSRV) is now Rust 1.75.
  • Add the std feature which should be disabled in no_std environments.
  • All Cargo features, except std, are now disabled by default. The full feature can be used to get the old behavior of supporting all possible derives.
  • The TryFrom, Add, Sub, BitAnd, BitOr, BitXor, Not and Neg derives now return a dedicated error type instead of a &'static str on error.
  • The FromStr derive now uses a dedicated FromStrError error type instead of generating unique one each time.
  • The Display derive (and other fmt-like ones) now uses #[display("...", (<expr>),*)] syntax instead of #[display(fmt = "...", ("<expr>"),*)], and #[display(bound(<bound>))] instead of #[display(bound = "<bound>")]. So without the double quotes around the expressions and bounds.
  • The Debug and Display derives (and other fmt-like ones) now transparently delegate to the inner type when #[display("...", (<expr>),*)] attribute is trivially substitutable with a transparent call. (#322)
  • The DebugCustom derive is renamed to just Debug (gated now under a separate debug feature), and its semantics were changed to be a superset of std variant of Debug.
  • The From derive doesn't derive From<()> for enum variants without any fields anymore. This feature was removed because it was considered useless in

... (truncated)

Commits
  • d7f5b9e chore: Release
  • 40201b1 Update release date to be correct
  • 88863ca Update changelog wording
  • b713835 Improve error when not enabling any features
  • 330e425 Order features in Cargo.toml alphabetically
  • 84f2cbb Update README and CHANGELOG in preparation of 1.0.0
  • e8d60cf Add compile_fail test for on purpose limited bounds (#393, #392)
  • f665d18 Make anyhow reference a bit less strong
  • 6d632b2 Add release announcement (#390)
  • e87ab13 Don't create git tags for derive_more-impl (#391)
  • Additional commits viewable in compare view

Updates leptos-use to 0.13.0

Release notes

Sourced from leptos-use's releases.

Version 0.13.0

Changes in this version:

[0.13.0] - 2024-08-28

New Functions 🚀

Breaking Changes 🛠

  • use_websocket now supports different types for sending and receiving messages
  • SyncSignalOptions now can take now either transformations or assignment functions but not both.
  • updated to codee version 0.2.0

Fixes 🍕

  • use_websocket fixed error with cleanup and reconnect (thanks to @​BakerNet).

New Features 🚀

  • There is now a feature for almost every function to get better compile and rust-analyzer times.
  • use_web_notification now supports the vibrate option (thanks to @​hcandelaria).
  • UseDocument now supports a whole bunch of methods more from document (thanks to @​luckynumberke7in).
Changelog

Sourced from leptos-use's changelog.

[0.13.0] - 2024-08-28

New Functions 🚀

Breaking Changes 🛠

  • use_websocket now supports different types for sending and receiving messages
  • SyncSignalOptions now can take now either transformations or assignment functions but not both.
  • updated to codee version 0.2.0

Fixes 🍕

  • use_websocket fixed error with cleanup and reconnect (thanks to @​BakerNet).

New Features 🚀

  • There is now a feature for almost every function to get better compile and rust-analyzer times.
  • use_web_notification now supports the vibrate option (thanks to @​hcandelaria).
  • UseDocument now supports a whole bunch of methods more from document (thanks to @​luckynumberke7in).

[0.12.0] - 2024-08-14

Make sure you also update cargo-leptos to the latest version if you use that.

Breaking Changes 🛠

  • Updated to web_sys 0.3.70 which unfortunately is breaking some things.
  • use_clipboard doesn't need the unstable flags anymore.
  • use_locale now uses unic_langid::LanguageIdentifier and proper locale matching (thanks to @​mondeja).
  • Removed UseMouseEventExtractorDefault and reworked UseMouseCoordType (thanks to @​carloskiki)
  • use_preferred_dark and use_color_mode now try to read the Sec-CH-Prefers-Color-Scheme header in SSR. This brings the necessity to enable an additional feature for them (axum / actix / spin).

Fixes 🍕

  • Fixed the codec chapter in the book to refer to crate codee.

[0.11.4] - 2024-08-12

New Features 🚀

  • use_web_notification now supports the options renotify, silent and image (thanks to @​hcandelaria).
  • sync_signal no supports the options assign_ltr and assign_rtl.

[0.11.3] - 2024-07-31

Fix 🍕

... (truncated)

Commits
  • c242e51 chore: rustfmt
  • 074685a updated docs and changelog
  • 04bcb6b made sync_signal more robust
  • 26938f8 made sync_signal more robust
  • c9377fe added use_toggle
  • 1ba0b03 updated book and template with features
  • 55f5ff9 Merge pull request #160 from BakerNet/bugfix/reconnect-after-cleanup
  • 97c678c fixed examples
  • ff5f6a6 Merge pull request #155 from hcandelaria/use_web_notification
  • 54a04ac Docs: Update vibration pattern documentation and convert helper function
  • 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

Updates the requirements on [derive_more](https://github.com/JelteF/derive_more) and [leptos-use](https://github.com/Synphonyte/leptos-use) to permit the latest version.

Updates `derive_more` to 1.0.0
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md)
- [Commits](JelteF/derive_more@v0.99.0...v1.0.0)

Updates `leptos-use` to 0.13.0
- [Release notes](https://github.com/Synphonyte/leptos-use/releases)
- [Changelog](https://github.com/Synphonyte/leptos-use/blob/main/CHANGELOG.md)
- [Commits](Synphonyte/leptos-use@v0.10.0...v0.13.0)

---
updated-dependencies:
- dependency-name: derive_more
  dependency-type: direct:production
  dependency-group: deps
- dependency-name: leptos-use
  dependency-type: direct:production
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 28, 2024
@shamilsan
Copy link
Member

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 1, 2024

Looks like these dependencies are no longer updatable, so this is no longer needed.

@dependabot dependabot bot closed this Sep 1, 2024
@dependabot dependabot bot deleted the dependabot/cargo/deps-01dab1835f branch September 1, 2024 06:33
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.

1 participant