v2.0.0-preview0011
Pre-release
Pre-release
dscbot
released this
28 Feb 10:47
·
50 commits
to main
since this release
[v2.0.0-preview0011]
Added
- xDnsServer
- Added automatic release with a new CI pipeline.
- Add unit tests for the Get-LocalizedData, NewTerminatingError, and
Assert-Module helper functions. - Added description README files for each resource.
- Add example files for resources
- OptIn to the following Dsc Resource Meta Tests:
- Common Tests - Validate Localization
- Common Tests - Validate Example Files To Be Published
- Standardize Resource Localization.
- Added the build task
Publish_GitHub_Wiki_Content
to publish content
to the GitHub repository wiki. - Added new source folder
WikiSource
which content will be published
to the GitHub repository wiki.- Add the markdown file
Home.md
which will be automatically updated
with the latest version before published to GitHub repository wiki.
- Add the markdown file
- Updated the prerequisites in the GitHub repository wiki (
Home.md
)
that Microsoft DNS Server is required on a node targeted by a resource,
and that the DSC resources requires the DnsServer
PowerShell module (issue #37).
- xDNSServerClientSubnet
- Added integration tests.
- xDnsRecordSrv
- Added new resource to manage SRV records
- xDnsServerPrimaryZone
- Added integration tests (issue #173).
- Added more examples.
- xDnsRecordMx
- Added new resource to manage MX records
- xDnsServerZoneScope
- Added integration tests (issue #177).
- New read-only property
ZoneFile
was added to return the zone scope
file name used for the zone scope.
- xDnsServerZoneAging
- Added integration tests (issue #176).
- xDnsServerForwarder
- Added integration tests (issue #170).
- xDnsServerRootHint
- Added integration tests (issue #174).
Changed
- xDnsServer
- Resolve style guideline violations for hashtables
- Update pipeline files.
- Renamed the default branch to
main
(issue #131). - Uses
PublishPipelineArtifact
in Azure Pipelines pipeline. - Unit tests are now run in PowerShell 7 in the Azure Pipelines
pipeline (issue #160). - Merged the historic changelog into CHANGELOG.md (issue #163).
- Only add required role in integration tests pipeline.
- xDnsRecordSrv
- Now uses
[CimInstance]::new()
both in the resource code and the resource
unit test to clone the existing DNS record instead of using the method
Clone()
that does not exist in PowerShell 7.
- Now uses
- xDnsServerSetting
- BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
parameterDnsServer
. This prevents the resource from being used twice
in the same configuration using the same value for the parameterDnsServer
(issue #156).
- BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
- xDnsServerDiagnostics
- BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
parameterDnsServer
. This prevents the resource from being used twice
in the same configuration using the same value for the parameterDnsServer
(issue #157).
- BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
- xDnsServerPrimaryZone
- Now the property
Name
is always returned fromGet-TargetResource
since it is aKey
property.
- Now the property
- xDnsServerForwarder
- When providing an empty collection the resource will enforce that no
forwarders are present.
- When providing an empty collection the resource will enforce that no
Removed
- xDnsServer
- BREAKING CHANGE: The DSC resource xDnsARecord was removed and are replaced
by the DSC resource xDnsRecord. - Removing resource parameter information from README.md in favor of
GitHub repository wiki. - Remove helper function
Remove-CommonParameter
in favor of the one in
module DscResource.Common (issue #166). - Remove helper function
ConvertTo-CimInstance
in favor of the one in
module DscResource.Common (issue #167). - Remove helper function
ConvertTo-HashTable
in favor of the one in
module DscResource.Common (issue #168).
- BREAKING CHANGE: The DSC resource xDnsARecord was removed and are replaced
Fixed
- xDnsServer
- Enable Unit Tests to be run locally.
- Rename integration tests so they are run in the pipeline (issue #134).
- Added back the build task to create releases on GitHub.
- Fix property descriptions in schema throughout.
- Fix uploading of code coverage that was broken since Sampler had a bug.
- Fix examples so the license information point to the correct default branch.
- xDnsServerDiagnostics
- Fix EnableLogFileRollover Parameter name in README.
- xDnsRecord
- Fix "Removing a DNS A Record" example.
- xDnsServerDiagnostics
- Fixed typo in parameter
EnableLogFileRollover
. - Updated integration test to correct template.
- Fixed typo in parameter
- xDnsServerSettings
- Updated integration test to correct template.
- xDnsServerAdZone
- Now the parameter
ComputerName
can be used without throwing an exception
(issue 79).
- Now the parameter
- xDnsServerZoneScope
- Correctly returns the zone scope name when calling
Get-TargetResource
.
- Correctly returns the zone scope name when calling
- xDnsServerForwarder
- Now it is possible to just enforce the property
UseRooHint
without
changing forwarders.
- Now it is possible to just enforce the property
- xDnsServerRootHint
- Fixed the verbose message returning the correct number of root hints.