v3.0.1-preview0008
Pre-release
Pre-release
[v3.0.1-preview0008]
Changed
- DnsServerDsc
- Changed the issue template for reporting a problem with a resource to
use the new GitHub issue forms template. - Changed the issue template for proposing a new resource to use the new
GitHub issue forms template. - Replaced the private function
ConvertTo-HashTableFromObjectwith the
public functionConvertFrom-DscResourceInstance(from DscResource.Common). - Updated wiki start page with deprecation notice.
- Updated issue template for proposing a new resource.
- Removed left-over debug code.
- Update to use the build worker
windows-latestfor the necessary stages
of the pipeline, andubuntu-latestfor the other stages. - Update pipeline to use GitVersion.Tool installed by
dotnet. - Pin
gitversionversion inazure-pipelines - Update unit and integration tests to Pester 5
- DnsServer* Class Resources
- Used
DscResource.Base - BREAKING: Added
Reasonsproperty as population of this is builtin
to base class.
- Used
- Updated
prefix,build,RequiredModulesfor Pester 5 and
DscResource.Base usage. - Added tests for
DSC_DnsServerSecondaryZone. - Updated project related files
.github/ISSUE_TEMPLATES.vscodeResolveDependency.ps1build.ps1
- Change from using
Test-DnsDscParameterState
toTest-DscParameterState(from DscResource.Common).
Fixes [Issue #121].
Affected resources:DSC_DnsServerDiagnosticsDSC_DnsServerRootHint
- Changed the issue template for reporting a problem with a resource to
- DnsServerDsc.Common
- Added unit tests for
Convert-RootHintsToHashtable.
- Added unit tests for
- Revert to DscResource.Test 0.16.3.
Fixed
- DnsRecordBase
- Update comment regarding use of
using modulestatement.
- Update comment regarding use of
- ResourceBase
- Update comment regarding use of
using modulestatement.
- Update comment regarding use of
- build.yaml
- Replace
Generate_Wiki_ContentwithGenerate_Markdown_For_DSC_Resourcesto remove warning.
- Replace
- DSC_DnsServerADZone
- Use
New-ArgumentExceptioninstead ofNew-InvalidArgumentException.
- Use
- DSC_DnsServerClientSubnet
- Fixed wrong SYNAPSIS.
- Pester tests
- Fixed issue with local testing on systems with non en-US Culture in DSC_DnsServerRootHint
unit test. It fixes [Issue #283]. - Fixed a typo in stream suppression causing Error stream to be suppressed when
it was supposed not to be (issue #274). - Fixed Unit test for DSC_DnsRecordPtr DSC resource. -ErrorMassage changed to -ErrorId 'InvalidCastParseTargetInvocation'.
- Fixed issue with local testing on systems with non en-US Culture in DSC_DnsServerRootHint
- Styling
- The use of Write-* cmdlets has been standardized to a consistent style with named parameters (-Message, -Object, etc).
- *.tests.ps1 reindexed as *.Tests.ps1 for consistency.
Removed
- DnsServerDsc.Common
- Removed unit tests for functions no longer part of the module.
- Removed functions from the module manifest that are no longer part of the module.
- Unused function ConvertTo-FollowRfc1034 removed with corresponding tests.
- Function Convert-RootHintsToHashtable moved to DSC_DnsServerRootHint.psm1
- Unit test for Convert-RootHintsToHashtable moved from DnsServerDsc.Commom.Tests.ps1 to DSC_DnsServerRootHint.Tests.ps1.
- Removed importing of DnsServerDsc.Common module from all resources.
- Removed Modules directory from CopyPaths: block in build.yaml
- DnsServerDsc.Common module complitely removed (issue #282).
- DnsServerDsc
- Removed
001.ResourceBaseand replaced withDscResource.Base. - Removed
Get-ClassNameandGet-LocalizedDataRecursiveutilizing
ones provided inDscResource.Base.
- Removed
- DnsServerDsc.Common
- Removed
Test-DnsDscParameterStateand associated localization entries.
- Removed