Releases: gaelcolas/Sampler
Releases · gaelcolas/Sampler
v0.116.0-preview0001
[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.
- Deprecated Pester 4 HQRM tests was removed from code coverage. The new
Changed
- Some unnecessary code was removed from the script
Set-SamplerTaskVariable
since the functionsGet-SamplerBuiltModuleManifest
,Get-SamplerBuiltModuleBase
,
andGet-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
andForce
correctly.
- Now handle property
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
[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 (usingInvoke-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
[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 (usingInvoke-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-preview0004
[v0.115.0-preview0004]
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
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 (usingInvoke-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-preview0003
[v0.115.0-preview0003]
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.
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 (usingInvoke-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-preview0002
[v0.115.0-preview0002]
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.
Fixed
v0.115.0-preview0001
[v0.115.0-preview0001]
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.
v0.114.1-preview0001
[v0.114.1-preview0001]
Added
- Now supports getting module version from
dotnet-gitversion
if it is available.
v0.114.0
[v0.114.0]
Added
- New task
Pester_Run_Times
that outputs each test's run time. Only works
for Pester 5. The task will be skipped if Pester 4 is used.
Fixed
v0.113.0-preview0001
[v0.113.0-preview0001]
Added
- New task
Pester_Run_Times
that outputs each test's run time. Only works
for Pester 5. The task will be skipped if Pester 4 is used.