Skip to content

Releases: gentoo90/winreg-rs

0.56.0 (windows-sys)

14 Mar 22:11

Choose a tag to compare

  • 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.

0.16.0 (winapi)

14 Mar 22:08

Choose a tag to compare

  • 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.

0.55.0 (windows-sys)

12 Jan 23:57

Choose a tag to compare

  • Breaking change: Increate MSRV to 1.60
  • Breaking change: Upgrade windows-sys to version 0.59 (#77)

0.54.0 (windows-sys)

12 Jan 23:40

Choose a tag to compare

  • Breaking change: Migrate to the 2021 edition of Rust (MSRV 1.56)
  • Breaking change: Upgrade windows-sys to version 0.52 (closes #63, #70)

0.53.0 (windows-sys)

08 Jan 01:40

Choose a tag to compare

  • Don't stop deserialization of Any due to REG_NONE (pullrequest #67, fixes #66)
  • Implement (de)serialization of Option (#56)
  • Add RegKey methods for creating/opening subkeys with custom options (#65)

0.15.0 (winapi)

08 Jan 01:40

Choose a tag to compare

  • Don't stop deserialization of Any due to REG_NONE (pullrequest #67, fixes #66)
  • Implement (de)serialization of Option (#56)
  • Add RegKey methods for creating/opening subkeys with custom options (#65)

0.52.0 (windows-sys)

19 Nov 22:33

Choose a tag to compare

  • Breaking change: .commit() and .rollback() now consume the transaction (#62)
  • Add RegKey::rename_subkey() method (#58)
  • Make serialization modules public (#59)
  • Fix UB in FromRegValue for u32 and u64 (#61)

0.14.0 (winapi)

19 Nov 22:31

Choose a tag to compare

  • Breaking change: increase MSRV to 1.34
  • Fix UB in FromRegValue for u32 and u64 (#61)

0.13.0 (winapi)

19 Nov 22:30

Choose a tag to compare

  • Breaking change: .commit() and .rollback() now consume the transaction (#62)
  • Add RegKey::rename_subkey() method (#58)
  • Make serialization modules public (#59)

0.51.0 (windows-sys)

19 Aug 21:40

Choose a tag to compare

  • Breaking change: fix std::fmt::Display implementation for RegValue (#52)
  • Add RegKey::encode_transacted() method (pullrequest #55), fixes #54)