Skip to content

build(deps): bump winreg from 0.55.0 to 0.56.0#3722

Open
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/cargo/winreg-0.56.0
Open

build(deps): bump winreg from 0.55.0 to 0.56.0#3722
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/cargo/winreg-0.56.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2026

Bumps winreg from 0.55.0 to 0.56.0.

Release notes

Sourced from winreg's releases.

0.56.0 (windows-sys)

  • Breaking change: RegValue.bytes is now Cow<[u8]> and not Vec<u8> which introduces a lifetime to the structure (#64).
  • Breaking change: serialization now opens the key with DELETE, KEY_ENUMERATE_SUB_KEYS and KEY_QUERY_VALUE permissions in addition to KEY_CREATE_SUB_KEY and KEY_SET_VALUE used previously. This is required for:
  • New RegKey methods: encode_destructive() and encode_destructive_transacted() that wipe all subkeys/values of a target key before writing to it (#76).
  • New RegKey methods: enum_keys_os_string() and enum_values_os_string() return iterators that use OsString for key/value names (#80).
  • Add consts for predefined registry keys: HKCR, HKCU, HKLM, HKU and HKCC.
  • Implement std traits FromRawHandle, IntoRawHandle and AsRawHandle for Transaction.
  • Set windows-sys version to >=0.59, <=0.61 according to its README recomendation.
Changelog

Sourced from winreg's changelog.

Changelog

0.56

  • Set windows-sys version to >=0.59, <=0.61 according to its README recomendation.

0.16.0, 0.56

  • Breaking change: RegValue.bytes is now Cow<[u8]> and not Vec<u8> which introduces a lifetime to the structure (#64).
  • Breaking change: serialization now opens the key with DELETE, KEY_ENUMERATE_SUB_KEYS and KEY_QUERY_VALUE permissions in addition to KEY_CREATE_SUB_KEY and KEY_SET_VALUE used previously. This is required for:
  • New RegKey methods: encode_destructive() and encode_destructive_transacted() that wipe all subkeys/values of a target key before writing to it (#76).
  • New RegKey methods: enum_keys_os_string() and enum_values_os_string() return iterators that use OsString for key/value names (#80)
  • Add consts for predefined registry keys: HKCR, HKCU, HKLM, HKU and HKCC
  • Implement std traits FromRawHandle, IntoRawHandle and AsRawHandle for Transaction.
Commits
  • d14c8bd Merge branch 'winapi'. Bump version to 0.56.0
  • 0315df4 Bump version to 0.16.0
  • d960232 Fix build with rust 1.34
  • 2ee4896 Implement iterators that use OsString for key/value names
  • f2ad8dd Move EnumKeys and EnumValues to separate files
  • bc60391 Add predefined key constants
  • fe54169 Implement destructive serialization
  • 4993455 Clarify the documentation of RegKey::encode()
  • 5931b79 Fix formatting of examples in documentation
  • 9ea7768 Implement transaction rollback in transacted_serialization example
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [winreg](https://github.com/gentoo90/winreg-rs) from 0.55.0 to 0.56.0.
- [Release notes](https://github.com/gentoo90/winreg-rs/releases)
- [Changelog](https://github.com/gentoo90/winreg-rs/blob/master/CHANGELOG.md)
- [Commits](gentoo90/winreg-rs@v0.55.0...v0.56.0)

---
updated-dependencies:
- dependency-name: winreg
  dependency-version: 0.56.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 30, 2026
winreg 0.56.0 changed RegValue.bytes from Vec<u8> to Cow<'_, [u8]>.
Wrap Vec values with Cow::Owned() to match the new API.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@sanity sanity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependency bump, CI passing after fixing Cow<[u8]> API change. [AI-assisted - Claude]

@sanity sanity enabled auto-merge March 31, 2026 00:54
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