Skip to content

Releases: dsccommunity/DscResource.Common

v0.10.1

25 Dec 21:44
4c472a3
Compare
Choose a tag to compare

[v0.10.1]

Added

  • Added cmdlet Get-ComputerName which can be used to returns the computer
    name cross-plattform. The variable $env:COMPUTERNAME does not exist
    cross-platform which hinders development and testing on macOS and Linux.
    Instead this cmdlet can be used to get the computer name cross-plattform.

v0.10.1-preview0001

25 Dec 21:35
4c472a3
Compare
Choose a tag to compare
v0.10.1-preview0001 Pre-release
Pre-release

[v0.10.1-preview0001]

Added

  • Added cmdlet Get-ComputerName which can be used to returns the computer
    name cross-plattform. The variable $env:COMPUTERNAME does not exist
    cross-platform which hinders development and testing on macOS and Linux.
    Instead this cmdlet can be used to get the computer name cross-plattform.

v0.10.0

18 Nov 11:36
38802d1
Compare
Choose a tag to compare

[v0.10.0]

Added

  • Added cmdlet Compare-DscParameterState - Could be used in
    Get-TargetResource function or Get() method in Class based Resources.
    It is based on the code of Test-DscParameterState function to get compliance
    between current and desired state of resources.
    The OutPut of Compare-DscParameterState is a collection psobject.
    The properties of psobject are Property,InDesiredState,ExpectedType,ActualType,
    ExpectedValue and ActualValue. The IncludeInDesiredState parameter must be use to
    add ExeptedValue and ActualValue.
  • Added pester test to test the pscredential object with Compare-DscParameterState.

Changed

  • Cmdlet Test-DscResourceState is now calling Compare-DscParameterState. Possible breaking change.
  • IncludeInDesiredState and IncludeValue parameters of Compare-DscParameterState
    are removed in splatting when Test-DscCompareState is called.

Fix

  • Fix git diff command in QA tests on Linux and MacOS.

v0.10.0-preview0002

16 Nov 15:30
38802d1
Compare
Choose a tag to compare
v0.10.0-preview0002 Pre-release
Pre-release

[v0.10.0-preview0002]

Added

  • Added cmdlet Compare-DscParameterState - Could be used in
    Get-TargetResource function or Get() method in Class based Resources.
    It is based on the code of Test-DscParameterState function to get compliance
    between current and desired state of resources.
    The OutPut of Compare-DscParameterState is a collection psobject.
    The properties of psobject are Property,InDesiredState,ExpectedType,ActualType,
    ExpectedValue and ActualValue. The IncludeInDesiredState parameter must be use to
    add ExeptedValue and ActualValue.
  • Added pester test to test the pscredential object with Compare-DscParameterState.

Changed

  • Cmdlet Test-DscResourceState is now calling Compare-DscParameterState. Possible breaking change.
  • IncludeInDesiredState and IncludeValue parameters of Compare-DscParameterState
    are removed in splatting when Test-DscCompareState is called.

Fix

  • Fix git diff command in QA tests on Linux and MacOS.

v0.10.0-preview0001

13 Nov 21:37
Compare
Choose a tag to compare
v0.10.0-preview0001 Pre-release
Pre-release

[v0.10.0-preview0001]

Added

  • Added cmdlet Compare-DscParameterState - Could be used in
    Get-TargetResource function or Get() method in Class based Resources.
    It is based on the code of Test-DscParameterState function to get compliance
    between current and desired state of resources.
    The OutPut of Compare-DscParameterState is a collection psobject.
    The properties of psobject are Property,InDesiredState,ExpectedType,ActualType,
    ExpectedValue and ActualValue. The IncludeInDesiredState parameter must be use to
    add ExceptedValue and ActualValue.
  • Added pester test to test the pscredential object with Compare-DscParameterState.

Changed

  • Cmdlet Test-DscResourceState is now calling Compare-DscParameterState. Possible breaking change.

Fix

  • Fix git diff command in QA tests on Linux and MacOS.

v0.9.3

25 Jul 16:31
105c730
Compare
Choose a tag to compare

[v0.9.3]

Fixed

  • Correction to Test-DscParameterState returning false positive when parameter
    with an empty array is passed in DesriedValues or CurrentValues - fixes
    issue #53.

v0.9.3-preview0001

25 Jul 16:21
105c730
Compare
Choose a tag to compare
v0.9.3-preview0001 Pre-release
Pre-release

[v0.9.3-preview0001]

Fixed

  • Correction to Test-DscParameterState returning false positive when parameter
    with an empty array is passed in DesriedValues or CurrentValues - fixes
    issue #53.

v0.9.2

22 Jul 16:25
e914604
Compare
Choose a tag to compare

[v0.9.2]

Added

  • Test-DscParameterState can now handle scriptblocks. The parameter 'ValuesToCheck' was renamed to 'Properties' but an alias
    was added so it is not a braking change. The parameter 'ExcludeProperties' was added.
  • Added a new test for the alias 'ValuesToCheck' pointing to 'Properties'.
  • Added cmdlet Compare-ResourcePropertyState that also introduces a new
    design pattern to evaluate properties in both Test and Set - fixes
    issue #47.

Fixed

  • Get-LocalizedData
    • Now correctly evaluates the default UI culture
      on non-English operating systems (issue #50.
    • If the LCID 127 is found it will be skipped and instead use the default
      UI culture (which is 'en-US' unless specified) (issue #11.

v0.9.2-preview0003

22 Jul 16:07
e914604
Compare
Choose a tag to compare
v0.9.2-preview0003 Pre-release
Pre-release

[v0.9.2-preview0003]

Added

  • Test-DscParameterState can now handle scriptblocks. The parameter 'ValuesToCheck' was renamed to 'Properties' but an alias
    was added so it is not a braking change. The parameter 'ExcludeProperties' was added.
  • Added a new test for the alias 'ValuesToCheck' pointing to 'Properties'.
  • Added cmdlet Compare-ResourcePropertyState that also introduces a new
    design pattern to evaluate properties in both Test and Set - fixes
    issue #47.

Fixed

  • Get-LocalizedData
    • Now correctly evaluates the default UI culture
      on non-English operating systems (issue #50.
    • If the LCID 127 is found it will be skipped and instead use the default
      UI culture (which is 'en-US' unless specified) (issue #11.

v0.9.2-preview0002

22 Jul 06:33
baec570
Compare
Choose a tag to compare
v0.9.2-preview0002 Pre-release
Pre-release

[v0.9.2-preview0002]

Added

  • Added cmdlet Compare-ResourcePropertyState that also introduces a new
    design pattern to evaluate properties in both Test and Set - fixes
    issue #47.

Fixed

  • Get-LocalizedData
    • Now correctly evaluates the default UI culture
      on non-English operating systems (issue #50.
    • If the LCID 127 is found it will be skipped and instead use the default
      UI culture (which is 'en-US' unless specified) (issue #11.