Skip to content

Releases: dsccommunity/DscResource.Common

v0.17.1

23 Apr 18:13
6c8c38b
Compare
Choose a tag to compare

[v0.17.1]

Added

  • Get-PSModulePath
    • Can now return the individual module path for different scopes when
      using the parameter -Scope. If no parameter is specified the command
      return the path for the scope CurrentUser.
  • Test-ModuleExist
    • Checks if a PowerShell module with a specified name is available in a
      PSModulePath.

Fixed

  • Get-PSModulePath
    • Was using the wrong path separator on Linux and macOS.
  • Get-LocalizedData
    • Wrongly returned one or more boolean values in addition to
      the localized string array. This was becuase the return value
      was not handled when calling Add() and Remove() methods of
      $PSBoundParameters so it was returned to the pipeline.

v0.17.1-preview0003

23 Apr 17:52
6c8c38b
Compare
Choose a tag to compare
v0.17.1-preview0003 Pre-release
Pre-release

[v0.17.1-preview0003]

Added

  • Get-PSModulePath
    • Can now return the individual module path for different scopes when
      using the parameter -Scope. If no parameter is specified the command
      return the path for the scope CurrentUser.
  • Test-ModuleExist
    • Checks if a PowerShell module with a specified name is available in a
      PSModulePath.

Fixed

  • Get-PSModulePath
    • Was using the wrong path separator on Linux and macOS.
  • Get-LocalizedData
    • Wrongly returned one or more boolean values in addition to
      the localized string array. This was becuase the return value
      was not handled when calling Add() and Remove() methods of
      $PSBoundParameters so it was returned to the pipeline.

v0.17.1-preview0002

13 Feb 11:41
9471465
Compare
Choose a tag to compare
v0.17.1-preview0002 Pre-release
Pre-release

[v0.17.1-preview0002]

Added

  • Get-PSModulePath
    • Can now return the individual module path for different scopes when
      using the parameter -Scope. If no parameter is specified the command
      return the path for the scope CurrentUser.
  • Test-ModuleExist
    • Checks if a PowerShell module with a specified name is available in a
      PSModulePath.

Fixed

  • Get-PSModulePath
    • Was using the wrong path separator on Linux and macOS.

v0.17.1-preview0001

27 Jan 15:23
cb72a3e
Compare
Choose a tag to compare
v0.17.1-preview0001 Pre-release
Pre-release

[v0.17.1-preview0001]

Added

  • Get-PSModulePath
    • Can now return the individual module path for different scopes when
      using the parameter -Scope. If no parameter is specified the command
      return the path for the scope CurrentUser.

Fixed

  • Get-PSModulePath
    • Was using the wrong path separator on Linux and macOS.

v0.17.0

23 Jan 17:10
fea4a5d
Compare
Choose a tag to compare

[v0.17.0]

Added

  • Tasks for automating documentation for the GitHub repository wiki (issue #110).
  • Set-PSModulePath
    • A new parameters set takes two parameters FromTarget and ToTarget
      that can copy from omne target to the other (issue #102).
    • A new parameter PassThru that, if specified, returns the path that
      was set.
  • New-Exception
    • New command that creates and returns an [System.Exception].
  • New-ErrorRecord
    • New command that creates and returns an [System.Management.Automation.ErrorRecord]
      (issue #99).
  • New-ArgumentException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-InvalidOperationException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw) (issue #98).
  • New-InvalidResultException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-NotImplementedException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • Compare-DscParameterState
    • Add support for the type [System.Collections.Specialized.OrderedDictionary]
      passed to parameters CurrentValues and DesiredValues (issue #57).
    • Add support for DesiredValues (and CurrentValues) to pass a value,
      e.g a hashtable, that includes a property with the type [System.Collections.Specialized.OrderedDictionary]
      or an array of [System.Collections.Specialized.OrderedDictionary] (issue #57).

Changed

  • Updated the pipelines files for resolving dependencies.
  • Command documentation was moved from README to GitHub repository wiki.
  • Change the word cmdlet to command throughout in the documentation, code
    and localization strings.
  • A meta task now removes the built module from the session if it is imported.
  • Wiki source file HOME was modified to not link to README for help after
    command documentation now is in the wiki.
  • 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.
  • New-ArgumentException
    • Now has a command alias New-InvalidArgumentException and the command
      was renamed to match the exception name.
    • Now uses the new command New-ErrorRecord.
  • New-InvalidDataException
    • The parameter Message has a parameter alias ErrorMessage to make
      the command have the same parameter names as the other New-*Exception
      commands.
    • Now uses the new command New-ErrorRecord.
  • New-InvalidOperationException
    • Now uses the new command New-ErrorRecord.
  • New-InvalidResultException
    • Now uses the new command New-ErrorRecord.
  • New-NotImplementedException
    • Now uses the new command New-ErrorRecord.
  • New-ObjectNotFoundException
    • Now uses the new command New-ErrorRecord.

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.
  • New-ObjectNotFoundException
    • Updated typo in comment-based help.

v0.17.0-preview0006

23 Jan 17:00
fea4a5d
Compare
Choose a tag to compare
v0.17.0-preview0006 Pre-release
Pre-release

[v0.17.0-preview0006]

Added

  • Tasks for automating documentation for the GitHub repository wiki (issue #110).
  • Set-PSModulePath
    • A new parameters set takes two parameters FromTarget and ToTarget
      that can copy from omne target to the other (issue #102).
    • A new parameter PassThru that, if specified, returns the path that
      was set.
  • New-Exception
    • New command that creates and returns an [System.Exception].
  • New-ErrorRecord
    • New command that creates and returns an [System.Management.Automation.ErrorRecord]
      (issue #99).
  • New-ArgumentException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-InvalidOperationException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw) (issue #98).
  • New-InvalidResultException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-NotImplementedException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • Compare-DscParameterState
    • Add support for the type [System.Collections.Specialized.OrderedDictionary]
      passed to parameters CurrentValues and DesiredValues (issue #57).
    • Add support for DesiredValues (and CurrentValues) to pass a value,
      e.g a hashtable, that includes a property with the type [System.Collections.Specialized.OrderedDictionary]
      or an array of [System.Collections.Specialized.OrderedDictionary] (issue #57).

Changed

  • Updated the pipelines files for resolving dependencies.
  • Command documentation was moved from README to GitHub repository wiki.
  • Change the word cmdlet to command throughout in the documentation, code
    and localization strings.
  • A meta task now removes the built module from the session if it is imported.
  • Wiki source file HOME was modified to not link to README for help after
    command documentation now is in the wiki.
  • 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.
  • New-ArgumentException
    • Now has a command alias New-InvalidArgumentException and the command
      was renamed to match the exception name.
    • Now uses the new command New-ErrorRecord.
  • New-InvalidDataException
    • The parameter Message has a parameter alias ErrorMessage to make
      the command have the same parameter names as the other New-*Exception
      commands.
    • Now uses the new command New-ErrorRecord.
  • New-InvalidOperationException
    • Now uses the new command New-ErrorRecord.
  • New-InvalidResultException
    • Now uses the new command New-ErrorRecord.
  • New-NotImplementedException
    • Now uses the new command New-ErrorRecord.
  • New-ObjectNotFoundException
    • Now uses the new command New-ErrorRecord.

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.
  • New-ObjectNotFoundException
    • Updated typo in comment-based help.

v0.17.0-preview0005

23 Jan 12:36
df361a2
Compare
Choose a tag to compare
v0.17.0-preview0005 Pre-release
Pre-release

[v0.17.0-preview0005]

Added

  • Tasks for automating documentation for the GitHub repository wiki (issue #110).
  • Set-PSModulePath
    • A new parameters set takes two parameters FromTarget and ToTarget
      that can copy from omne target to the other (issue #102).
    • A new parameter PassThru that, if specified, returns the path that
      was set.
  • New-Exception
    • New command that creates and returns an [System.Exception].
  • New-ArgumentException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-InvalidOperationException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw) (issue #98).
  • New-InvalidResultException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-NotImplementedException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • Compare-DscParameterState
    • Add support for the type [System.Collections.Specialized.OrderedDictionary]
      passed to parameters CurrentValues and DesiredValues (issue #57).
    • Add support for DesiredValues (and CurrentValues) to pass a value,
      e.g a hashtable, that includes a property with the type [System.Collections.Specialized.OrderedDictionary]
      or an array of [System.Collections.Specialized.OrderedDictionary] (issue #57).

Changed

  • Updated the pipelines files for resolving dependencies.
  • Command documentation was moved from README to GitHub repository wiki.
  • Change the word cmdlet to command throughout in the documentation, code
    and localization strings.
  • A meta task now removes the built module from the session if it is imported.
  • Wiki source file HOME was modified to not link to README for help after
    command documentation now is in the wiki.
  • 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.
  • New-ArgumentException
    • Now has a command alias New-InvalidArgumentException and the command
      was renamed to match the exception name.
  • New-InvalidDataException
    • The parameter Message has a parameter alias ErrorMessage to make
      the command have the same parameter names as the other New-*Exception
      commands.

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.
  • New-ObjectNotFoundException
    • Updated typo in comment-based help.

v0.17.0-preview0004

23 Jan 11:50
cbb838f
Compare
Choose a tag to compare
v0.17.0-preview0004 Pre-release
Pre-release

[v0.17.0-preview0004]

Added

  • Tasks for automating documentation for the GitHub repository wiki (issue #110).
  • Set-PSModulePath
    • A new parameters set takes two parameters FromTarget and ToTarget
      that can copy from omne target to the other (issue #102).
    • A new parameter PassThru that, if specified, returns the path that
      was set.
  • New-Exception
    • New command that creates and returns an [System.Exception].
  • New-ArgumentException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-InvalidOperationException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw) (issue #98).
  • New-InvalidResultException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-NotImplementedException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • Compare-DscParameterState
    • Add support for the type [System.Collections.Specialized.OrderedDictionary]
      passed to parameters CurrentValues and DesiredValues (issue #57).

Changed

  • Updated the pipelines files for resolving dependencies.
  • Command documentation was moved from README to GitHub repository wiki.
  • Change the word cmdlet to command throughout in the documentation, code
    and localization strings.
  • A meta task now removes the built module from the session if it is imported.
  • Wiki source file HOME was modified to not link to README for help after
    command documentation now is in the wiki.
  • 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.
  • New-ArgumentException
    • Now has a command alias New-InvalidArgumentException and the command
      was renamed to match the exception name.
  • New-InvalidDataException
    • The parameter Message has a parameter alias ErrorMessage to make
      the command have the same parameter names as the other New-*Exception
      commands.

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.
  • New-ObjectNotFoundException
    • Updated typo in comment-based help.

v0.17.0-preview0003

23 Jan 09:46
f06681b
Compare
Choose a tag to compare
v0.17.0-preview0003 Pre-release
Pre-release

[v0.17.0-preview0003]

Added

  • Tasks for automating documentation for the GitHub repository wiki (issue #110).
  • Set-PSModulePath
    • A new parameters set takes two parameters FromTarget and ToTarget
      that can copy from omne target to the other (issue #102).
    • A new parameter PassThru that, if specified, returns the path that
      was set.
  • New-Exception
    • New command that creates and returns an [System.Exception].
  • New-ArgumentException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-InvalidOperationException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw) (issue #98).
  • New-InvalidResultException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).
  • New-NotImplementedException
    • Now takes a parameter PassThru that returns the error record that was
      created (and does not throw).

Changed

  • Updated the pipelines files for resolving dependencies.
  • Command documentation was moved from README to GitHub repository wiki.
  • Change the word cmdlet to command throughout in the documentation, code
    and localization strings.
  • A meta task now removes the built module from the session if it is imported.
  • Wiki source file HOME was modified to not link to README for help after
    command documentation now is in the wiki.
  • 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.
  • New-ArgumentException
    • Now has a command alias New-InvalidArgumentException and the command
      was renamed to match the exception name.
  • New-InvalidDataException
    • The parameter Message has a parameter alias ErrorMessage to make
      the command have the same parameter names as the other New-*Exception
      commands.

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.
  • New-ObjectNotFoundException
    • Updated typo in comment-based help.

v0.17.0-preview0002

21 Jan 19:23
1ada77f
Compare
Choose a tag to compare
v0.17.0-preview0002 Pre-release
Pre-release

[v0.17.0-preview0002]

Added

  • Tasks for automating documentation for the GitHub repository wiki (issue #110).
  • Set-PSModulePath
    • A new parameters set takes two parameters FromTarget and ToTarget
      that can copy from omne target to the other (issue #102).
    • A new parameter PassThru that, if specified, returns the path that
      was set.

Changed

  • Updated the pipelines files for resolving dependencies.
  • Command documentation was moved from README to GitHub repository wiki.
  • Change the word cmdlet to command throughout in the documentation, code
    and localization strings.
  • A meta task now removes the built module from the session if it is imported.
  • 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.