Skip to content

Releases: gaelcolas/Sampler

v0.116.0-preview0008

08 Nov 15:47
Compare
Choose a tag to compare
v0.116.0-preview0008 Pre-release
Pre-release

[v0.116.0-preview0008]

Removed

  • Removed the task Set_Build_Environment_Variables since it is not used,
    and build helpers are not in use anymore. Fixes #376.
  • Removed MOF based DSC resources from the CompleteModule sample.

Added

  • Added more unit tests to raise code coverage.
    • Deprecated Pester 4 HQRM tests was removed from code coverage. The new
      Pester 5 HQRM test are in module DscResource.Test and is tested there.

Changed

  • Task copy_paths_to_choco_staging
    • Now handle property Exclude and Force correctly.
  • Merge-JaCoCoReport
    • Improvements to be able to merge missing elements, like entire element
      <class>, <sourcefile>, <method>.

Fixed

  • Get-MofSchemaName
    • Correctly throws an error if the schema MOF cannot be parsed.
  • Task Convert_Pester_Coverage
    • Removed one unused line of code.
    • Moved one line of code so that code coverage threshold value
      will output correctly in some circumstances.
  • Set-SamplerTaskVariable
    • Reverted code that was removed in pull request #383. The code is
      necessary because how the commands Get-BuiltModuleVersion,
      Get-SamplerBuiltModuleManifest, Get-SamplerBuiltModuleBase, and
      Get-SamplerModuleRootPath are currently built. The code that was
      reverted handles resolving the wildcard (*) in the returned paths
      from the mentioned commands.
  • RequiredModules.psd1.template
    • Fixes #397, ModuleType Plaster parameter.
  • Resolve-Dependency.ps1
    • Fixes #394, AllowPrerelease is ignored for bootstrap.
  • module.tests.ps1.template
    • Fixed code style according to this project's standard.

v0.116.0-preview0007

01 Nov 14:38
acd150e
Compare
Choose a tag to compare
v0.116.0-preview0007 Pre-release
Pre-release

[v0.116.0-preview0007]

Removed

  • Removed the task Set_Build_Environment_Variables since it is not used,
    and build helpers are not in use anymore. Fixes #376

Added

  • Added more unit tests to raise code coverage.
    • Deprecated Pester 4 HQRM tests was removed from code coverage. The new
      Pester 5 HQRM test are in module DscResource.Test and is tested there.

Changed

  • Task copy_paths_to_choco_staging
    • Now handle property Exclude and Force correctly.
  • Merge-JaCoCoReport
    • Improvements to be able to merge missing elements, like entire element
      <class>, <sourcefile>, <method>.

Fixed

  • Get-MofSchemaName
    • Correctly throws an error if the schema MOF cannot be parsed.
  • Task Convert_Pester_Coverage
    • Removed one unused line of code.
    • Moved one line of code so that code coverage threshold value
      will output correctly in some circumstances.
  • Set-SamplerTaskVariable
    • Reverted code that was removed in pull request #383. The code is
      necessary because how the commands Get-BuiltModuleVersion,
      Get-SamplerBuiltModuleManifest, Get-SamplerBuiltModuleBase, and
      Get-SamplerModuleRootPath are currently built. The code that was
      reverted handles resolving the wildcard (*) in the returned paths
      from the mentioned commands.
  • RequiredModules.psd1.template
    • Fixes #397, ModuleType Plaster parameter.
  • Resolve-Dependency.ps1
    • Fixes #394, AllowPrerelease is ignored for bootstrap.
  • module.tests.ps1.template
    • Fixed code style according to this project's standard.

v0.116.0-preview0006

01 Nov 11:50
faa144b
Compare
Choose a tag to compare
v0.116.0-preview0006 Pre-release
Pre-release

[v0.116.0-preview0006]

Removed

  • Removed the task Set_Build_Environment_Variables since it is not used,
    and build helpers are not in use anymore. Fixes #376

Added

  • Added more unit tests to raise code coverage.
    • Deprecated Pester 4 HQRM tests was removed from code coverage. The new
      Pester 5 HQRM test are in module DscResource.Test and is tested there.

Changed

  • Task copy_paths_to_choco_staging
    • Now handle property Exclude and Force correctly.
  • Merge-JaCoCoReport
    • Improvements to be able to merge missing elements, like entire element
      <class>, <sourcefile>, <method>.

Fixed

  • Get-MofSchemaName
    • Correctly throws an error if the schema MOF cannot be parsed.
  • Task Convert_Pester_Coverage
    • Removed one unused line of code.
    • Moved one line of code so that code coverage threshold value
      will output correctly in some circumstances.
  • Set-SamplerTaskVariable
    • Reverted code that was removed in pull request #383. The code is
      necessary because how the commands Get-BuiltModuleVersion,
      Get-SamplerBuiltModuleManifest, Get-SamplerBuiltModuleBase, and
      Get-SamplerModuleRootPath are currently built. The code that was
      reverted handles resolving the wildcard (*) in the returned paths
      from the mentioned commands.
  • Resolve-Dependency.ps1
    • Fixes #394, AllowPrerelease is ignored for bootstrap.
  • module.tests.ps1.template
    • Fixed code style according to this project's standard.

v0.116.0-preview0005

01 Nov 10:51
ec08d5d
Compare
Choose a tag to compare
v0.116.0-preview0005 Pre-release
Pre-release

[v0.116.0-preview0005]

Removed

  • Removed the task Set_Build_Environment_Variables since it is not used,
    and build helpers are not in use anymore. Fixes #376

Added

  • Added more unit tests to raise code coverage.
    • Deprecated Pester 4 HQRM tests was removed from code coverage. The new
      Pester 5 HQRM test are in module DscResource.Test and is tested there.

Changed

  • Task copy_paths_to_choco_staging
    • Now handle property Exclude and Force correctly.
  • Merge-JaCoCoReport
    • Improvements to be able to merge missing elements, like entire element
      <class>, <sourcefile>, <method>.

Fixed

  • Get-MofSchemaName
    • Correctly throws an error if the schema MOF cannot be parsed.
  • Task Convert_Pester_Coverage
    • Removed one unused line of code.
    • Moved one line of code so that code coverage threshold value
      will output correctly in some circumstances.
  • Set-SamplerTaskVariable
    • Reverted code that was removed in pull request #383. The code is
      necessary because how the commands Get-BuiltModuleVersion,
      Get-SamplerBuiltModuleManifest, Get-SamplerBuiltModuleBase, and
      Get-SamplerModuleRootPath are currently built. The code that was
      reverted handles resolving the wildcard (*) in the returned paths
      from the mentioned commands.
  • module.tests.ps1.template
    • Fixed code style according to this project's standard.

v0.116.0-preview0004

01 Nov 10:17
5640e43
Compare
Choose a tag to compare
v0.116.0-preview0004 Pre-release
Pre-release

[v0.116.0-preview0004]

Removed

  • Removed the task Set_Build_Environment_Variables since it is not used,
    and build helpers are not in use anymore. Fixes #376

Added

  • Added more unit tests to raise code coverage.
    • Deprecated Pester 4 HQRM tests was removed from code coverage. The new
      Pester 5 HQRM test are in module DscResource.Test and is tested there.

Changed

  • Task copy_paths_to_choco_staging
    • Now handle property Exclude and Force correctly.
  • Merge-JaCoCoReport
    • Improvements to be able to merge missing elements, like entire element
      <class>, <sourcefile>, <method>.

Fixed

  • Get-MofSchemaName
    • Correctly throws an error if the schema MOF cannot be parsed.
  • Task Convert_Pester_Coverage
    • Removed one unused line of code.
    • Moved one line of code so that code coverage threshold value
      will output correctly in some circumstances.
  • Set-SamplerTaskVariable
    • Reverted code that was removed in pull request #383. The code is
      necessary because how the commands Get-BuiltModuleVersion,
      Get-SamplerBuiltModuleManifest, Get-SamplerBuiltModuleBase, and
      Get-SamplerModuleRootPath are currently built. The code that was
      reverted handles resolving the wildcard (*) in the returned paths
      from the mentioned commands.

v0.116.0-preview0003

03 Aug 16:00
138e817
Compare
Choose a tag to compare
v0.116.0-preview0003 Pre-release
Pre-release

[v0.116.0-preview0003]

Removed

  • Removed the task Set_Build_Environment_Variables since it is not used,
    and build helpers are not in use anymore. Fixes #376

Added

  • Added more unit tests to raise code coverage.
    • Deprecated Pester 4 HQRM tests was removed from code coverage. The new
      Pester 5 HQRM test are in module DscResource.Test and is tested there.

Changed

  • Task copy_paths_to_choco_staging
    • Now handle property Exclude and Force correctly.
  • Merge-JaCoCoReport
    • Improvements to be able to merge missing elements, like entire element
      <class>, <sourcefile>, <method>.

Fixed

  • Get-MofSchemaName
    • Correctly throws an error if the schema MOF cannot be parsed.
  • Task Convert_Pester_Coverage
    • Removed one unused line of code.
    • Moved one line of code so that code coverage threshold value
      will output correctly in some circumstances.
  • Set-SamplerTaskVariable
    • Reverted code that was removed in pull request #383. The code is
      necessary because how the commands Get-BuiltModuleVersion,
      Get-SamplerBuiltModuleManifest, Get-SamplerBuiltModuleBase, and
      Get-SamplerModuleRootPath are currently built. The code that was
      reverted handles resolving the wildcard (*) in the returned paths
      from the mentioned commands.

v0.116.0-preview0002

01 Aug 13:41
02cc8da
Compare
Choose a tag to compare
v0.116.0-preview0002 Pre-release
Pre-release

[v0.116.0-preview0002]

Removed

  • Removed the task Set_Build_Environment_Variables since it is not used,
    and build helpers are not in use anymore. Fixes #376

Added

  • Added more unit tests to raise code coverage.
    • Deprecated Pester 4 HQRM tests was removed from code coverage. The new
      Pester 5 HQRM test are in module DscResource.Test and is tested there.

Changed

  • Task copy_paths_to_choco_staging
    • Now handle property Exclude and Force correctly.

Fixed

  • Get-MofSchemaName
    • Correctly throws an error if the schema MOF cannot be parsed.
  • Task Convert_Pester_Coverage
    • Removed one unused line of code.
    • Moved one line of code so that code coverage threshold value
      will output correctly in some circumstances.
  • Set-SamplerTaskVariable
    • Reverted code that was removed in pull request #383. The code is
      necessary because how the commands Get-BuiltModuleVersion,
      Get-SamplerBuiltModuleManifest, Get-SamplerBuiltModuleBase, and
      Get-SamplerModuleRootPath are currently built. The code that was
      reverted handles resolving the wildcard (*) in the returned paths
      from the mentioned commands.

v0.116.0-preview0001

09 Jul 07:40
dade014
Compare
Choose a tag to compare
v0.116.0-preview0001 Pre-release
Pre-release

[v0.116.0-preview0001]

Removed

  • Removed the task Set_Build_Environment_Variables since it is not used,
    and build helpers are not in use anymore. Fixes #376

Added

  • Added more unit tests to raise code coverage.
    • Deprecated Pester 4 HQRM tests was removed from code coverage. The new
      Pester 5 HQRM test are in module DscResource.Test and is tested there.

Changed

  • Some unnecessary code was removed from the script Set-SamplerTaskVariable
    since the functions Get-SamplerBuiltModuleManifest, Get-SamplerBuiltModuleBase,
    and Get-SamplerModuleRootPath already handle returning the absolute path.
    It also simplified mocking the functions for the unit tests.
  • Task copy_paths_to_choco_staging
    • Now handle property Exclude and Force correctly.

Fixed

  • Get-MofSchemaName
    • Correctly throws an error if the schema MOF cannot be parsed.
  • Task Convert_Pester_Coverage
    • Removed one unused line of code.
    • Moved one line of code so that code coverage threshold value
      will output correctly in some circumstances.

v0.115.0

09 Jun 09:27
2bfc9c0
Compare
Choose a tag to compare

[v0.115.0]

Added

  • Supports using a private Nuget repository, e.g. a Azure DevOps Server
    Pipelines feed that is using Windows integrated security, or a feed with
    no security.
  • Now supports getting module version from dotnet-gitversion if it is available.
  • Tests now run in Pester 5.
  • Added task Create_Release_Git_Tag to create a Git tag for a preview release.
    Fixes #351
  • Added task Create_Release_Branch to push a branch containing the updated
    change log after release. Fixes #351

Changed

  • The QA test that verifies that a change log entry has been added to CHANGELOG.md
    will no longer fail if the CHANGELOG.md has not been committed but is staged
    or unstaged. This makes it possible to get the QA tests to pass without having
    to first commit changes.

Fixed

  • Task package_module_nupkg now correctly adds the release notes to the
    Nuget package. Fixes #373
  • Task publish_module_to_gallery now correctly adds the release notes to
    the published module. Fixes #373
  • Fix a evaluation in the script Set-SamplerTaskVariable so it can be tested
    individually outside of the pipeline (using Invoke-Pester).
  • Fix all source files to UTF8 to comply with the HQRM tests (due to a bug
    in the HQRM tests that runs in Pester 4 this has not been detected until
    moving to Pester 5).
  • Remove HQRM rule suppression in source file for New-SamplerJaCoCoDocument
    since it no longer required.
  • Fixed QA test that was breaking release.

v0.115.0-preview0005

29 May 08:23
2bfc9c0
Compare
Choose a tag to compare
v0.115.0-preview0005 Pre-release
Pre-release

[v0.115.0-preview0005]

Added

  • Supports using a private Nuget repository, e.g. a Azure DevOps Server
    Pipelines feed that is using Windows integrated security, or a feed with
    no security.
  • Now supports getting module version from dotnet-gitversion if it is available.
  • Tests now run in Pester 5.
  • Added task Create_Release_Git_Tag to create a Git tag for a preview release.
    Fixes #351
  • Added task Create_Release_Branch to push a branch containing the updated
    change log after release. Fixes #351

Changed

  • The QA test that verifies that a change log entry has been added to CHANGELOG.md
    will no longer fail if the CHANGELOG.md has not been committed but is staged
    or unstaged. This makes it possible to get the QA tests to pass without having
    to first commit changes.

Fixed

  • Task package_module_nupkg now correctly adds the release notes to the
    Nuget package. Fixes #373
  • Task publish_module_to_gallery now correctly adds the release notes to
    the published module. Fixes #373
  • Fix a evaluation in the script Set-SamplerTaskVariable so it can be tested
    individually outside of the pipeline (using Invoke-Pester).
  • Fix all source files to UTF8 to comply with the HQRM tests (due to a bug
    in the HQRM tests that runs in Pester 4 this has not been detected until
    moving to Pester 5).
  • Remove HQRM rule suppression in source file for New-SamplerJaCoCoDocument
    since it no longer required.
  • Fixed QA test that was breaking release.