Skip to content

Releases: dsccommunity/DscResource.Common

v0.16.1-preview0002

21 Jan 14:41
08436a7
Compare
Choose a tag to compare
v0.16.1-preview0002 Pre-release
Pre-release

[v0.16.1-preview0002]

Changed

  • Updated the pipelines files for resolving dependencies.
  • Get-LocalizedData
    • Refactored to simplify execution and debugging. The command previously
      used a steppable pipeline (proxies Import-LocalizedData), that was
      removed since it was not possible to use the command in a pipeline.
      It just made it more complex and harder to debug. There are more
      debug messages added to hopefully simplify solving some hard to find
      edge cases bugs.

Fixed

  • Assert-BoundParameter
    • Fixed example in documentation that were referencing an invalid command name.
  • Get-LocalizedData
    • One debug message was wrongly using a format operator (issue #111.

v0.16.1-preview0001

20 Jan 21:04
a83ec13
Compare
Choose a tag to compare
v0.16.1-preview0001 Pre-release
Pre-release

[v0.16.1-preview0001]

Changed

  • Updated the pipelines files for resolving dependencies.
  • Get-LocalizedData
    • Refactored to simplify execution and debugging. The command previously
      used a steppable pipeline (proxies Import-LocalizedData), that was
      removed since it was not possible to use the command in a pipeline.
      It just made it more complex and harder to debug. There are more
      debug messages added to hopefully simplify solving some hard to find
      edge cases bugs.

Fixed

  • Assert-BoundParameter
    • Fixed example in documentation that were referencing an invalid command name.

v0.16.0

10 Apr 07:27
9d4c630
Compare
Choose a tag to compare

[v0.16.0]

Added

  • New public commands.
    • Get-EnvironmentVariable - Get a specific environment variable from a
      specific environment variable target.
    • Get-PSModulePath - Get the the PSModulePath from one or more environment
      variable targets - Issue #103

v0.16.0-preview0001

09 Apr 19:27
9d4c630
Compare
Choose a tag to compare
v0.16.0-preview0001 Pre-release
Pre-release

[v0.16.0-preview0001]

Added

  • New public commands.
    • Get-EnvironmentVariable - Get a specific environment variable from a
      specific environment variable target.
    • Get-PSModulePath - Get the the PSModulePath from one or more environment
      variable targets - Issue #103

v0.15.0

06 Apr 08:42
e817645
Compare
Choose a tag to compare

[v0.15.0]

Added

v0.15.0-preview0001

06 Apr 08:25
e817645
Compare
Choose a tag to compare
v0.15.0-preview0001 Pre-release
Pre-release

[v0.15.0-preview0001]

Added

v0.14.0

31 Dec 09:54
c5ef7be
Compare
Choose a tag to compare

[v0.14.0]

Added

  • Added private function Assert-RequiredCommandParameter that throws an
    exception if a specified parameter is not assigned a value, and optionally
    throws only if a specific parameter is passed. - Issue #92
  • Added public function Test-AccountRequirePassword that returns true or
    false whether an account need a password to be passed - Issue #93
  • Added public command Get-DscProperty that returns a hashtable of available
    properties for a class-based resource. See comment-based help for more
    information.
  • Added public command Test-DscProperty that returns a true or false
    whether a property exist in a class-based resource. See comment-based help
    for more information.
  • Added private function Test-DscPropertyIsAssigned that returns a true
    or false whether a property in a class-based resource has a non-null value.

Changed

  • DscResource.Common
    • Updated Visual Studio Code project settings to configure testing for Pester 5.
  • Assert-BoundParameter
    • Now has a new parameter set that calls Assert-RequiredCommandParameter
      which will throw an exception if a specified parameter is not assigned
      a value, and optionally throws only if a specific parameter is passed.

Fixed

  • Fixed unit tests for Assert-ElevatedUser and Test-IsNumericType so
    the public function is tested correctly using the exported function.
  • Fixed unit tests to easier run test both from command line and inside
    Visual Studio Code.

v0.14.0-preview0002

31 Dec 09:39
c5ef7be
Compare
Choose a tag to compare
v0.14.0-preview0002 Pre-release
Pre-release

[v0.14.0-preview0002]

Added

  • Added private function Assert-RequiredCommandParameter that throws an
    exception if a specified parameter is not assigned a value, and optionally
    throws only if a specific parameter is passed. - Issue #92
  • Added public function Test-AccountRequirePassword that returns true or
    false whether an account need a password to be passed - Issue #93
  • Added public command Get-DscProperty that returns a hashtable of available
    properties for a class-based resource. See comment-based help for more
    information.
  • Added public command Test-DscProperty that returns a true or false
    whether a property exist in a class-based resource. See comment-based help
    for more information.
  • Added private function Test-DscPropertyIsAssigned that returns a true
    or false whether a property in a class-based resource has a non-null value.

Changed

  • DscResource.Common
    • Updated Visual Studio Code project settings to configure testing for Pester 5.
  • Assert-BoundParameter
    • Now has a new parameter set that calls Assert-RequiredCommandParameter
      which will throw an exception if a specified parameter is not assigned
      a value, and optionally throws only if a specific parameter is passed.

Fixed

  • Fixed unit tests for Assert-ElevatedUser and Test-IsNumericType so
    the public function is tested correctly using the exported function.
  • Fixed unit tests to easier run test both from command line and inside
    Visual Studio Code.

v0.14.0-preview0001

30 Dec 10:37
052cfde
Compare
Choose a tag to compare
v0.14.0-preview0001 Pre-release
Pre-release

[v0.14.0-preview0001]

Added

  • Added private function Assert-RequiredCommandParameter that throws an
    exception if a specified parameter is not assigned a value, and optionally
    throws only if a specific parameter is passed. - Issue #92
  • Added public function Test-AccountRequirePassword that returns true or
    false whether an account need a password to be passed - Issue #93

Changed

  • DscResource.Common
    • Updated Visual Studio Code project settings to configure testing for Pester 5.
  • Assert-BoundParameter
    • Now has a new parameter set that calls Assert-RequiredCommandParameter
      which will throw an exception if a specified parameter is not assigned
      a value, and optionally throws only if a specific parameter is passed.

Fixed

  • Fixed unit tests for Assert-ElevatedUser and Test-IsNumericType so
    the public function is tested correctly using the exported function.

v0.13.1

18 Dec 11:05
161abe2
Compare
Choose a tag to compare

[v0.13.1]

Changed

  • DscResource.Common
    • Now builds the module into a separate folder output/builtModule.

Fixed

  • Test-IsNumericType
    • Now handles arrays correctly.