Releases: gaelcolas/Sampler
Releases · gaelcolas/Sampler
v0.116.0-preview0008
[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.
- Deprecated Pester 4 HQRM tests was removed from code coverage. The new
Changed
- Task
copy_paths_to_choco_staging
- Now handle property
Exclude
andForce
correctly.
- Now handle property
Merge-JaCoCoReport
- Improvements to be able to merge missing elements, like entire element
<class>
,<sourcefile>
,<method>
.
- Improvements to be able to merge missing elements, like entire element
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 commandsGet-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.
- Reverted code that was removed in pull request #383. The code is
RequiredModules.psd1.template
- Fixes #397,
ModuleType
Plaster parameter.
- Fixes #397,
Resolve-Dependency.ps1
- Fixes #394,
AllowPrerelease
is ignored for bootstrap.
- Fixes #394,
module.tests.ps1.template
- Fixed code style according to this project's standard.
v0.116.0-preview0007
[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.
- Deprecated Pester 4 HQRM tests was removed from code coverage. The new
Changed
- Task
copy_paths_to_choco_staging
- Now handle property
Exclude
andForce
correctly.
- Now handle property
Merge-JaCoCoReport
- Improvements to be able to merge missing elements, like entire element
<class>
,<sourcefile>
,<method>
.
- Improvements to be able to merge missing elements, like entire element
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 commandsGet-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.
- Reverted code that was removed in pull request #383. The code is
RequiredModules.psd1.template
- Fixes #397,
ModuleType
Plaster parameter.
- Fixes #397,
Resolve-Dependency.ps1
- Fixes #394,
AllowPrerelease
is ignored for bootstrap.
- Fixes #394,
module.tests.ps1.template
- Fixed code style according to this project's standard.
v0.116.0-preview0006
[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.
- Deprecated Pester 4 HQRM tests was removed from code coverage. The new
Changed
- Task
copy_paths_to_choco_staging
- Now handle property
Exclude
andForce
correctly.
- Now handle property
Merge-JaCoCoReport
- Improvements to be able to merge missing elements, like entire element
<class>
,<sourcefile>
,<method>
.
- Improvements to be able to merge missing elements, like entire element
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 commandsGet-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.
- Reverted code that was removed in pull request #383. The code is
Resolve-Dependency.ps1
- Fixes #394,
AllowPrerelease
is ignored for bootstrap.
- Fixes #394,
module.tests.ps1.template
- Fixed code style according to this project's standard.
v0.116.0-preview0005
[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.
- Deprecated Pester 4 HQRM tests was removed from code coverage. The new
Changed
- Task
copy_paths_to_choco_staging
- Now handle property
Exclude
andForce
correctly.
- Now handle property
Merge-JaCoCoReport
- Improvements to be able to merge missing elements, like entire element
<class>
,<sourcefile>
,<method>
.
- Improvements to be able to merge missing elements, like entire element
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 commandsGet-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.
- Reverted code that was removed in pull request #383. The code is
module.tests.ps1.template
- Fixed code style according to this project's standard.
v0.116.0-preview0004
[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.
- Deprecated Pester 4 HQRM tests was removed from code coverage. The new
Changed
- Task
copy_paths_to_choco_staging
- Now handle property
Exclude
andForce
correctly.
- Now handle property
Merge-JaCoCoReport
- Improvements to be able to merge missing elements, like entire element
<class>
,<sourcefile>
,<method>
.
- Improvements to be able to merge missing elements, like entire element
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 commandsGet-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.
- Reverted code that was removed in pull request #383. The code is
v0.116.0-preview0003
[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.
- Deprecated Pester 4 HQRM tests was removed from code coverage. The new
Changed
- Task
copy_paths_to_choco_staging
- Now handle property
Exclude
andForce
correctly.
- Now handle property
Merge-JaCoCoReport
- Improvements to be able to merge missing elements, like entire element
<class>
,<sourcefile>
,<method>
.
- Improvements to be able to merge missing elements, like entire element
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 commandsGet-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.
- Reverted code that was removed in pull request #383. The code is
v0.116.0-preview0002
[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.
- Deprecated Pester 4 HQRM tests was removed from code coverage. The new
Changed
- 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.
Set-SamplerTaskVariable
- Reverted code that was removed in pull request #383. The code is
necessary because how the commandsGet-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.
- Reverted code that was removed in pull request #383. The code is
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.