Skip to content

chore(deps): bump winreg from 0.55.0 to 0.56.0#154

Merged
mergify[bot] merged 1 commit intomainfrom
dependabot/cargo/winreg-0.56.0
Mar 16, 2026
Merged

chore(deps): bump winreg from 0.55.0 to 0.56.0#154
mergify[bot] merged 1 commit intomainfrom
dependabot/cargo/winreg-0.56.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 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 16, 2026
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Mar 16, 2026
@mergify
Copy link
Contributor

mergify bot commented Mar 16, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 CI must pass

Wonderful, this rule succeeded.

All CI checks must pass. Release-plz PRs are exempt because they only bump versions and changelogs (code was already tested on main), and GITHUB_TOKEN-triggered force-pushes suppress CI.

  • check-success = coverage
  • check-success = quality
  • check-success = test
  • check-success = test-cross-platform (macos-15, macOS)
  • check-success = test-cross-platform (ubuntu-22.04, Linux)
  • check-success = test-cross-platform (windows-2022, Windows)

🟢 Do not merge outdated PRs

Wonderful, this rule succeeded.

Make sure PRs are within 3 commits of the base branch before merging

  • #commits-behind <= 3

Copy link
Contributor

@mergify mergify bot left a comment

Choose a reason for hiding this comment

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

Automatically approved by Mergify

@mergify mergify bot merged commit 3fdc7b7 into main Mar 16, 2026
14 checks passed
@mergify mergify bot deleted the dependabot/cargo/winreg-0.56.0 branch March 16, 2026 10:17
@dosubot
Copy link
Contributor

dosubot bot commented Mar 16, 2026

Documentation Updates

1 document(s) were updated by changes in this PR:

Technical Deep-Dive: Architecture, Internals & Roadmap
View Changes
@@ -755,7 +755,7 @@
 **Platform-Specific Dependencies**:
 
 - <!-- §nt:5d283ce7-eeb0-4c73-b73a-5710eba1d210 --> **macOS**: `security-framework` 3.5.1
-- <!-- §nt:0fbf1616-ec03-4e7e-8d74-59dab1cd44b2 --> **Windows**: `windows` 0.62.2 (14 Win32 features), `windows-service` 0.8.0, `winreg` 0.55.0
+- <!-- §nt:0fbf1616-ec03-4e7e-8d74-59dab1cd44b2 --> **Windows**: `windows` 0.62.2 (14 Win32 features), `windows-service` 0.8.0, `winreg` 0.56.0
 - <!-- §nt:d665684a-31d8-4d98-8c9c-0641a79aeafe --> **Unix/FreeBSD**: `uzers` 0.12.2, `nix`
 <!-- §nt:29b28e6e-4267-4783-a609-284da07d5d7f -->
 

How did I do? Any feedback?  Join Discord

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 size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants