Skip to content

Releases: webmd-health-services/Carbon.Registry

1.2.2

20 Dec 20:13
dc06dca
Compare
Choose a tag to compare

Updating dependencies.

1.2.1

04 Dec 21:57
4bf0bc5
Compare
Choose a tag to compare

Reducing directory depth of internal, private, nested modules.

1.2.0

10 Jun 20:51
5afa3ec
Compare
Choose a tag to compare

Added

Get-CRegistryPermission, Grant-CRegistryPermission, Revoke-CRegistryPermission, and
Test-CRegistryPermission, migrated from Carbon's Get-CPermission, Grant-CPermission, Revoke-CPermission, and
Test-CPermission.

Upgrade Instructions

If you are switching from Carbon to Carbon.Registry, do the following:

  • Rename usages of Get-CPermission, Grant-CPermission, Revoke-CPermission, and Test-CPermission that operate on
    registry keys/paths to Get-CRegistryPermission, Grant-CRegistryPermission, Revoke-CRegistryPermission, and
    Test-CRegistryPermission.
  • Replace usages of the Test-CRegistryPermission function's -Exact switch to -Strict.
  • Using the table below, replace usages of Grant-CRegistryPermission and Test-CRegistryPermission arguments in the
    left column with the new arguments from the right column.
    Old Argument New Argument(s)
    -Permission Container -Permission KeyOnly
    -Permission SubContainers -Permission SubkeysOnly
    -Permission ChildContainers -Permission SubkeysOnly -OnlyApplyToChildKeys
    -Permission ContainerAndSubContainers -Permission KeyAndSubkeys
    -Permission ContainerAndChildContainers -Permission KeyAndSubkeys -OnlyApplyToChildKeys

1.1.0

26 Jan 00:22
5fc7615
Compare
Choose a tag to compare

Added Uninstall-CRegistryKey function for deleting a registry key without errors if it doesn't exist.

1.0.0

16 Aug 20:52
ae2807b
Compare
Choose a tag to compare

Migrated Carbon registry functions.

Upgrade Instructions

All functions now require using the C prefix.

  • Replace usages of Get-RegistryKeyValue with Get-CRegistryKeyValue.
  • Replace usages of Remove-RegistryKeyValue with Remove-CRegistryKeyValue.
  • Replace usages of Set-RegistryKeyValue with Set-CRegistryKeyValue.
  • Replace usages of Test-RegistryKeyValue with Test-CRegistryKeyValue.
  • Replace usages of Install-RegistryKey with Install-CRegistryKey.

Remove usages of the Quiet switch from usages of Set-CRegistryKeyValue. That switch was removed.

Changed

  • Replaced verbose-level messages with information-level messages in Install-CRegistryKey, Remove-CRegistryKeyValue,
    and Set-CRegistryKeyValue when saving changes.
  • Set-CRegistryKeyValue accepts $null as the value of a multi-line string, which sets the value to an empty list.

Fixed

  • Set-CRegistryKeyValue fails to set multiline string values to an empty list.
  • Set-CRegistryKeyValue sets the value of a multiline string even if the value hasn't changed.

Removed

  • Get-RegistryKeyValue (use Get-CRegistryKeyValue instead).
  • Remove-RegistryKeyValue (use Remove-CRegistryKeyValue instead).
  • Set-RegistryKeyValue (use Set-CRegistryKeyValue instead).
  • Test-RegistryKeyValue (use Test-CRegistryKeyValue instead).
  • Install-RegistryKey (use Install-CRegistryKey instead).
  • Parameter Quiet from Set-CRegistryKeyValue.