The format is based on and uses the types of changes according to Keep a Changelog, and this project adheres to Semantic Versioning.
azure-pipelines.yml- Remove
windows-2019images fixes #43 - Move individual tasks to
windows-latest.
- Remove
ResourceBase- Cache properties not in desired state.
- Make
Set()callTest()andTest()callGet(). - Remove use of array addition and
ForEach-Object. - Output only relevant state output at Verbose. Fixes #45.
ResourceBase- Remove
Compare()method as not used. - Removed feature flags and alternate behavior.
- Remove
- Removed
Clear-ZeroedEnumPropertyValueas it was moved and implemented theGet-DscPropertycommand in the DscResource.Common module.
ResourceBase- Refactor
GetDesiredStatemethod to handle zeroed enum values usingGet-DscPropertywhen the propertyFeatureOptionalEnumsis set to$true. - Remove calls to
Assert()andNormalize()inTest()andSet()fixes #35.
- Refactor
- build.yaml
- Add
Generate_Wiki_Content,Generate_Wiki_Sidebar,Clean_Markdown_Metadatadocs tasks. Fixes #32.
- Add
ResourceBase- Add check for properties not being
$nullfixes #30. - Comment typo's.
- Add check for properties not being
ResourceBase- Added a new method
NormalizePropertiesthat can be overridden in a derived class to provide custom normalization logic. This method can be used to normalize the properties of a desired state prior to the methodsAssertProperties,GetCurrentState, andModifybeing called. Default there is no normalization of properties. Fixes issue #27.
- Added a new method
Clear-ZeroedEnumPropertyValue- Fixed enum type check.
ResourceBase-
Add optional feature flag to handle using Enums as optional properties. This requires setting the starting value of the Enum to 1 so it is initialized as 0. Fixes Issue #22.
To use, set
$this.FeatureOptionalEnums = $truein your class constructor.
-
Clear-ZeroedEnumPropertyValue- Added private function to remove enums with a zero value from a hashtable.
ResourceBase- Add feature flag to allow use of enums on optional properties.
RequiredModules- Add PlatyPS
Resolve-Dependency- Add latest config
build.yaml- Move docs to own task
- Remove
VersionedOutputDirectoryas default value isTrue
build.ps1- Update from Sampler
Resolve-Dependency.ps1- Update from Sampler
Get-LocalizedDataRecursive- Switch
throwto useTerminatingErrorissue #16
- Switch
- Correcting module manifest and help file description.
- Update build pipeline to use GitVersion v5.
- DscResource.Base
- Test results is now found for the HQRM tests when run in the pipeline.
ResourceBase- Fixed style changed.
- DscResource.Base
- Move code coverage task in the pipeline to use task
PublishCodeCoverageResults@2.
- Move code coverage task in the pipeline to use task
Get-LocalizedDataRecursive- Move strings to localized versions (issue #7).
- Fix various formatting issues
- DscResource.Base
- A new private function
ConvertFrom-Reasonwas added which takes an array of[Reason]and coverts it to an array of[System.Collections.Hashtable].
- A new private function
- DscResource.Base
- Enable Pester's new code coverage method.
- The private function
ConvertTo-Reasonwas renamedResolve-Reason.
ResourceBase- The property
Reasonsin derived class-based resources is now expected to use the type[System.Collections.Hashtable[]](issue #4).
- The property
- DscResource.Base
- Correct pipeline definition id for status badges in README.md.
ResourceBase- Increased code coverage.
- Added the first version of
ResourceBase.