Skip to content

Releases: dsccommunity/DscResource.Common

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.

v0.9.2-preview0001

18 Jul 07:29
7ed9c78
Compare
Choose a tag to compare
v0.9.2-preview0001 Pre-release
Pre-release

[v0.9.2-preview0001]

Added

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

v0.9.1

08 Jul 08:22
18a1cc3
Compare
Choose a tag to compare

[v0.9.1]

Added

  • Added cmdlet New-InvalidDataException - fixes Issue #42.
  • Added cmdlet Set-DscMachineRebootRequired - fixes Issue #43.
  • Pinned Pester module version to 4.10.1 to enable build until
    v5.x is ready for use.

v0.9.1-preview0001

08 Jul 07:42
18a1cc3
Compare
Choose a tag to compare
v0.9.1-preview0001 Pre-release
Pre-release

[v0.9.1-preview0001]

Added

  • Added cmdlet New-InvalidDataException - fixes Issue #42.
  • Added cmdlet Set-DscMachineRebootRequired - fixes Issue #43.
  • Pinned Pester module version to 4.10.1 to enable build until
    v5.x is ready for use.

v0.9.0

18 May 12:59
f6ecdd5
Compare
Choose a tag to compare

[v0.9.0]

Added

  • Added cmdlet Set-PSModulePath.