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): update rust crate state to 0.6 (1.x) #12223

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 5, 2025

This PR contains the following updates:

Package Type Update Change
state dependencies minor 0.5 -> 0.6

Release Notes

SergioBenitez/state (state)

v0.6.0

Compare Source

Breaking Changes

  • The MSRV is now 1.61.

  • Storage was renamed to InitCell.

    The type was renamed to more accurately reflect its intended use and be more
    consistent with naming across the ecosystem. Several method names were also
    changed accordingly:

    • Storage::get_or_set() was renamed to InitCell::get_or_init().
    • Storage::set_or_get() was renamed to InitCell::set_or_init().

    Along with naming changes, the following improvements were made:

    • InitCell<T> can be constructed and used even with T: !Sync + !Send.
    • InitCell<T> impls Send even when T: !Sync.
    • Added InitCell::{wait, reset, take, update}() methods.
  • LocalStorage was renamed to LocalInitCell.

    No other changes were made to the API.

  • Container was renamed to TypeMap.

    The type was renamed to more accurately reflect its intended use and be more
    consistent with naming across the ecosystem. The following changes were also
    made:

    • Container![] is neither Sync nor Send.
    • An internal implementation detail was modified to more thoroughly ensure
      forwards-compatibility with Rust releases. This resulted in several uses of
      unsafe being removed at the cost of raising the MSRV to 1.61.

General Improvements

  • The crate now uses edition 2021.
  • LocalInitCell::try_get() no longer panics when thread-local storage is not
    available.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the type: chore label Jan 5, 2025
@renovate renovate bot requested a review from a team as a code owner January 5, 2025 03:09
Copy link
Contributor

github-actions bot commented Jan 5, 2025

Package Changes Through fd0b8cf

There are 1 changes which include tauri-utils with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 1.6.1 1.6.2
tauri-bundler 1.7.2 1.7.3
tauri-runtime 0.14.5 0.14.6
tauri-runtime-wry 0.14.10 0.14.11
tauri-codegen 1.4.5 1.4.6
tauri-macros 1.4.6 1.4.7
tauri-build 1.5.5 1.5.6
tauri 1.8.1 1.8.2
@tauri-apps/cli 1.6.4 1.6.5
tauri-cli 1.6.4 1.6.5

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@renovate renovate bot force-pushed the renovate/1.x-state-0.x branch 4 times, most recently from 5bee348 to 24da886 Compare January 5, 2025 12:36
@renovate renovate bot force-pushed the renovate/1.x-state-0.x branch from 24da886 to fd0b8cf Compare January 5, 2025 14:00
@FabianLars FabianLars closed this Jan 5, 2025
@FabianLars FabianLars deleted the renovate/1.x-state-0.x branch January 5, 2025 14:03
Copy link
Contributor Author

renovate bot commented Jan 5, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.6). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant