Skip to content

Releases: dsccommunity/DnsServerDsc

v2.0.0

26 Mar 16:07
0c4a213
Compare
Choose a tag to compare

[v2.0.0]

Deprecated

  • The module xDnsServer will be renamed DnsServerDsc. Version 2.0.0
    will be the the last release of xDnsServer. Version 3.0.0 will be
    release as DnsServerDsc, it will be released shortly after the 2.0.0
    release
    (issue #179).
    The prefix 'x' will be removed from all resources in DnsServerDsc.
  • xDnsRecord will be removed in the next release (of DnsServerDsc) (issue #220).
    Start migrate to the resources DnsRecord*.
  • xDnsRecordMx will be removed in the next release (of DnsServerDsc) (issue #228).
    Start migrate to the resources DnsRecordMx.
  • The properties DefaultAgingState, ScavengingInterval, DefaultNoRefreshInterval,
    and DefaultRefreshInterval will be removed from the resource xDnsServerSetting
    in the next release (of DnsServerDsc) (issue #193).
    Migrate to use the resource DnsServerScavenging to enforce these properties.
  • The properties EnableEDnsProbes and EDnsCacheTimeout will be removed from
    the resource xDnsServerSetting in the next release (of DnsServerDsc) (issue #195).
    Migrate to use the resource DnsServerEDns to enforce these properties.
  • The properties Forwarders and ForwardingTimeout will be removed from the
    resource xDnsServerSetting in the next release (of DnsServerDsc) (issue #192)
    Migrate to use the resource xDnsServerForwarder to enforce these properties.

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.
    • 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).
    • Added the base class ResourcePropertiesBase to hold DSC properties that
      can be inherited for all class-based resources.
    • Added the base class ResourceBase to hold methods that should be
      inherited for all class-based resources.
    • Added new private function ConvertTo-TimeSpan to help when evaluating
      properties that must be passed as strings and then converted to [System.TimeSpan].
    • Added new private function Assert-TimeSpan to help assert that a value
      provided in a resource can be converted to a [System.TimeSpan] and
      optionally evaluates so it is not below a minium value or over a maximum
      value.
    • Added prefix.ps1 that is used to import dependent modules like DscResource.Common.
    • Added new resource
      • DnsServerScavenging - resource to enforce scavenging settings (issue #189).
      • DnsServerEDns - resource to enforce extension mechanisms for DNS
        (EDNS) settings (issue #194).
  • xDNSServerClientSubnet
    • Added integration tests.
  • 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
  • xDnsServerForwarder
    • Added integration tests (issue #170).
    • Added new properties Timeout and EnableReordering (issue #191).
  • xDnsServerRootHint
  • Added a class DnsRecordBase that is used as the base class for the resources that create DNS records.
    • Added unit tests to get code coverage on unimplemented method calls (ensuring the throw statements get called)
  • DnsRecordSrv
    • Added new resource to manage SRV records
  • DnsRecordSrvScoped
    • Added new resource to manage scoped SRV records
  • DnsRecordA
    • Added new resource to manage A records
  • DnsRecordAScoped
    • Added new resource to manage scoped A records
  • DnsRecordAaaa
    • Added new resource to manage AAAA records
  • DnsRecordAaaaScoped
    • Added new resource to manage scoped AAAA records
  • DnsRecordCname
    • Added new resource to manage CNAME records
  • DnsRecordCnameScoped
    • Added new resource to manage scoped CNAME records
  • DnsRecordPtr
    • Added new resource to manage PTR records
  • DnsRecordMx
    • Added new resource to manage MX records
  • DnsRecordMxScoped
    • Added new resource to manage scoped MX records

Changed

  • xDnsServer
    • BREAKING CHANGE: Set the minimum required PowerShell version to 5.0 to support classes used in the DnsRecordBase-derived resources.
    • 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.
    • Updated the pipeline to use new deploy tasks.
    • Revert back to using the latest version of module Sampler for the pipeline (issue #211).
    • Fixed the sections in the GitHub issue and pull request templates to
      have a bit higher font size. This makes it easier to distinguish the
      section headers from the text.
  • DnsRecordBase
    • Changed class to inherit properties from 'ResourcePropertiesBase`.
  • 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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.
  • DnsRecordSrv
    • Changed logic for calculating the record's hostname

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).
  • xDnServerSetting
    • BREAKING CHANGE: The properties LogIPFilterList, LogFilePath, LogFileMaxSize,
      and EventLogLevel have been removed. Use the resource xDnsServerDiagnostics
      with the properties FilterIPAddressList, LogFilePath, MaxMBFileSize,
      and EventLogLevel respectively to enforce these settings (issue #190).
      This is done in preparation to support more settings through the cmdlet
      Get-DnsServerSetting for the resource xDnServerSetting, and these
      values are not available through that cmdlet.

Fixed

  • xDnsServer
    • Enable Unit Tests to be run locally.
    • Rename integration te...
Read more

v2.0.0-preview0018

26 Mar 15:48
0c4a213
Compare
Choose a tag to compare
v2.0.0-preview0018 Pre-release
Pre-release

[v2.0.0-preview0018]

Deprecated

  • The module xDnsServer will be renamed DnsServerDsc. Version 2.0.0
    will be the the last release of xDnsServer. Version 3.0.0 will be
    release as DnsServerDsc, it will be released shortly after the 2.0.0
    release
    (issue #179).
    The prefix 'x' will be removed from all resources in DnsServerDsc.
  • xDnsRecord will be removed in the next release (of DnsServerDsc) (issue #220).
    Start migrate to the resources DnsRecord*.
  • xDnsRecordMx will be removed in the next release (of DnsServerDsc) (issue #228).
    Start migrate to the resources DnsRecordMx.
  • The properties DefaultAgingState, ScavengingInterval, DefaultNoRefreshInterval,
    and DefaultRefreshInterval will be removed from the resource xDnsServerSetting
    in the next release (of DnsServerDsc) (issue #193).
    Migrate to use the resource DnsServerScavenging to enforce these properties.
  • The properties EnableEDnsProbes and EDnsCacheTimeout will be removed from
    the resource xDnsServerSetting in the next release (of DnsServerDsc) (issue #195).
    Migrate to use the resource DnsServerEDns to enforce these properties.
  • The properties Forwarders and ForwardingTimeout will be removed from the
    resource xDnsServerSetting in the next release (of DnsServerDsc) (issue #192)
    Migrate to use the resource xDnsServerForwarder to enforce these properties.

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.
    • 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).
    • Added the base class ResourcePropertiesBase to hold DSC properties that
      can be inherited for all class-based resources.
    • Added the base class ResourceBase to hold methods that should be
      inherited for all class-based resources.
    • Added new private function ConvertTo-TimeSpan to help when evaluating
      properties that must be passed as strings and then converted to [System.TimeSpan].
    • Added new private function Assert-TimeSpan to help assert that a value
      provided in a resource can be converted to a [System.TimeSpan] and
      optionally evaluates so it is not below a minium value or over a maximum
      value.
    • Added prefix.ps1 that is used to import dependent modules like DscResource.Common.
    • Added new resource
      • DnsServerScavenging - resource to enforce scavenging settings (issue #189).
      • DnsServerEDns - resource to enforce extension mechanisms for DNS
        (EDNS) settings (issue #194).
  • xDNSServerClientSubnet
    • Added integration tests.
  • 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
  • xDnsServerForwarder
    • Added integration tests (issue #170).
    • Added new properties Timeout and EnableReordering (issue #191).
  • xDnsServerRootHint
  • Added a class DnsRecordBase that is used as the base class for the resources that create DNS records.
    • Added unit tests to get code coverage on unimplemented method calls (ensuring the throw statements get called)
  • DnsRecordSrv
    • Added new resource to manage SRV records
  • DnsRecordSrvScoped
    • Added new resource to manage scoped SRV records
  • DnsRecordA
    • Added new resource to manage A records
  • DnsRecordAScoped
    • Added new resource to manage scoped A records
  • DnsRecordAaaa
    • Added new resource to manage AAAA records
  • DnsRecordAaaaScoped
    • Added new resource to manage scoped AAAA records
  • DnsRecordCname
    • Added new resource to manage CNAME records
  • DnsRecordCnameScoped
    • Added new resource to manage scoped CNAME records
  • DnsRecordPtr
    • Added new resource to manage PTR records
  • DnsRecordMx
    • Added new resource to manage MX records
  • DnsRecordMxScoped
    • Added new resource to manage scoped MX records

Changed

  • xDnsServer
    • BREAKING CHANGE: Set the minimum required PowerShell version to 5.0 to support classes used in the DnsRecordBase-derived resources.
    • 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.
    • Updated the pipeline to use new deploy tasks.
    • Revert back to using the latest version of module Sampler for the pipeline (issue #211).
    • Fixed the sections in the GitHub issue and pull request templates to
      have a bit higher font size. This makes it easier to distinguish the
      section headers from the text.
  • DnsRecordBase
    • Changed class to inherit properties from 'ResourcePropertiesBase`.
  • 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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.
  • DnsRecordSrv
    • Changed logic for calculating the record's hostname

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).
  • xDnServerSetting
    • BREAKING CHANGE: The properties LogIPFilterList, LogFilePath, LogFileMaxSize,
      and EventLogLevel have been removed. Use the resource xDnsServerDiagnostics
      with the properties FilterIPAddressList, LogFilePath, MaxMBFileSize,
      and EventLogLevel respectively to enforce these settings (issue #190).
      This is done in preparation to support more settings through the cmdlet
      Get-DnsServerSetting for the resource xDnServerSetting, and these
      values are not available through that cmdlet.

Fixed

  • xDnsServer
    • Enable Unit Tests to be run locally.
    • Rename in...
Read more

v2.0.0-preview0017

26 Mar 14:40
d036e8f
Compare
Choose a tag to compare
v2.0.0-preview0017 Pre-release
Pre-release

[v2.0.0-preview0017]

Deprecated

  • The module xDnsServer will be renamed DnsServerDsc. Version 2.0.0
    will be the the last release of xDnsServer. Version 3.0.0 will be
    release as DnsServerDsc, it will be released shortly after the 2.0.0
    release
    (issue #179).
    The prefix 'x' will be removed from all resources in DnsServerDsc.
  • xDnsRecord will be removed in the next release (of DnsServerDsc) (issue #220).
    Start migrate to the resources DnsRecord*.
  • xDnsRecordMx will be removed in the next release (of DnsServerDsc) (issue #228).
    Start migrate to the resources DnsRecordMx.
  • The properties DefaultAgingState, ScavengingInterval, DefaultNoRefreshInterval,
    and DefaultRefreshInterval will be removed from the resource xDnsServerSetting
    in the next release (of DnsServerDsc).
    Migrate to use the resource DnsServerScavenging to enforce these properties.

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.
    • 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).
    • Added the base class ResourcePropertiesBase to hold DSC properties that
      can be inherited for all class-based resources.
    • Added the base class ResourceBase to hold methods that should be
      inherited for all class-based resources.
    • Added new private function ConvertTo-TimeSpan to help when evaluating
      properties that must be passed as strings and then converted to [System.TimeSpan].
    • Added prefix.ps1 that is used to import dependent modules like DscResource.Common.
    • Added new resource
      • DnsServerScavenging - resource to enforce scavenging settings (issue #189).
  • xDNSServerClientSubnet
    • Added integration tests.
  • 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
  • xDnsServerForwarder
  • xDnsServerRootHint
  • Added a class DnsRecordBase that is used as the base class for the resources that create DNS records.
    • Added unit tests to get code coverage on unimplemented method calls (ensuring the throw statements get called)
  • DnsRecordSrv
    • Added new resource to manage SRV records
  • DnsRecordSrvScoped
    • Added new resource to manage scoped SRV records
  • DnsRecordA
    • Added new resource to manage A records
  • DnsRecordAScoped
    • Added new resource to manage scoped A records
  • DnsRecordAaaa
    • Added new resource to manage AAAA records
  • DnsRecordAaaaScoped
    • Added new resource to manage scoped AAAA records
  • DnsRecordCname
    • Added new resource to manage CNAME records
  • DnsRecordCnameScoped
    • Added new resource to manage scoped CNAME records
  • DnsRecordPtr
    • Added new resource to manage PTR records
  • DnsRecordMx
    • Added new resource to manage MX records
  • DnsRecordMxScoped
    • Added new resource to manage scoped MX records

Changed

  • xDnsServer
    • BREAKING CHANGE: Set the minimum required PowerShell version to 5.0 to support classes used in the DnsRecordBase-derived resources.
    • 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.
    • Updated the pipeline to use new deploy tasks.
    • Revert back to using the latest version of module Sampler for the pipeline (issue #211).
    • Fixed the sections in the GitHub issue and pull request templates to
      have a bit higher font size. This makes it easier to distinguish the
      section headers from the text.
  • DnsRecordBase
    • Changed class to inherit properties from 'ResourcePropertiesBase`.
  • 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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.
  • DnsRecordSrv
    • Changed logic for calculating the record's hostname

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).
  • xDnServerSetting
    • BREAKING CHANGE: The properties LogIPFilterList, LogFilePath, LogFileMaxSize,
      and EventLogLevel have been removed. Use the resource xDnsServerDiagnostics
      with the properties FilterIPAddressList, LogFilePath, MaxMBFileSize,
      and EventLogLevel respectively to enforce these settings (issue #190).
      This is done in preparation to support more settings through the cmdlet
      Get-DnsServerSetting for the resource xDnServerSetting, and these
      values are not available through that cmdlet.

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.
    • Fixed property descriptions in schema throughout.
    • Fixed uploading of code coverage that was broken since Sampler had a bug.
    • Fixed examples so the license information point to the correct default branch.
    • Fixed a link in the README.md.
  • DnsRecordBase
    • Fixed so that Compare-DscParameterState is used in the method Test()
      if the record already exist, to compare the properties except Ensure
      in the desired state against the actual state (issue #205).
  • 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.
  • xDnsServerSettings
    • Updated integration test to correct template.
  • xDnsServerAdZone
Read more

v2.0.0-preview0016

23 Mar 16:19
01585ce
Compare
Choose a tag to compare
v2.0.0-preview0016 Pre-release
Pre-release

[v2.0.0-preview0016]

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.
    • 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).
    • Added the base class ResourcePropertiesBase to hold DSC properties that
      can be inherited for all class-based resources.
    • Added the base class ResourceBase to hold methods that should be
      inherited for all class-based resources.
    • Added new private function ConvertTo-TimeSpan to help when evaluating
      properties that must be passed as strings and then converted to [System.TimeSpan].
    • Added prefix.ps1 that is used to import dependent modules like DscResource.Common.
    • Added new resource
      • DnsServerScavenging - resource to enforce scavenging settings (issue #189).
  • xDNSServerClientSubnet
    • Added integration tests.
  • 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
  • xDnsServerForwarder
  • xDnsServerRootHint
  • Added a class DnsRecordBase that is used as the base class for the resources that create DNS records.
    • Added unit tests to get code coverage on unimplemented method calls (ensuring the throw statements get called)
  • DnsRecordSrv
    • Added new resource to manage SRV records
  • DnsRecordSrvScoped
    • Added new resource to manage scoped SRV records
  • DnsRecordA
    • Added new resource to manage A records
  • DnsRecordAScoped
    • Added new resource to manage scoped A records
  • DnsRecordAaaa
    • Added new resource to manage AAAA records
  • DnsRecordAaaaScoped
    • Added new resource to manage scoped AAAA records
  • DnsRecordCname
    • Added new resource to manage CNAME records
  • DnsRecordCnameScoped
    • Added new resource to manage scoped CNAME records
  • DnsRecordPtr
    • Added new resource to manage PTR records

Changed

  • xDnsServer
    • BREAKING CHANGE: Set the minimum required PowerShell version to 5.0 to support classes used in the DnsRecordBase-derived resources.
    • 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.
    • Updated the pipeline to use new deploy tasks.
    • Revert back to using the latest version of module Sampler for the pipeline (issue #211).
  • DnsRecordBase
    • Changed class to inherit properties from 'ResourcePropertiesBase`.
  • 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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.
  • DnsRecordSrv
    • Changed logic for calculating the record's hostname

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).
  • xDnServerSetting
    • BREAKING CHANGE: The properties LogIPFilterList, LogFilePath, LogFileMaxSize,
      and EventLogLevel have been removed. Use the resource xDnsServerDiagnostics
      with the properties FilterIPAddressList, LogFilePath, MaxMBFileSize,
      and EventLogLevel respectively to enforce these settings (issue #190).
      This is done in preparation to support more settings through the cmdlet
      Get-DnsServerSetting for the resource xDnServerSetting, and these
      values are not available through that cmdlet.

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.
    • Fixed property descriptions in schema throughout.
    • Fixed uploading of code coverage that was broken since Sampler had a bug.
    • Fixed examples so the license information point to the correct default branch.
    • Fixed a link in the README.md.
  • DnsRecordBase
    • Fixed so that Compare-DscParameterState is used in the method Test()
      if the record already exist, to compare the properties except Ensure
      in the desired state against the actual state (issue #205).
  • 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.
  • xDnsServerSettings
    • Updated integration test to correct template.
  • xDnsServerAdZone
    • Now the parameter ComputerName can be used without throwing an exception
      (issue 79).
  • xDnsServerZoneScope
    • Correctly returns the zone scope name when calling Get-TargetResource.
  • xDnsServerForwarder
    • Now it is possible to just enforce the property UseRooHint without
      changing forwarders.
  • xDnsServerRootHint
    • Fixed the verbose message returning the correct number of root hints.

v2.0.0-preview0015

23 Mar 15:57
ab78fb6
Compare
Choose a tag to compare
v2.0.0-preview0015 Pre-release
Pre-release

[v2.0.0-preview0015]

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.
    • 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).
    • Added the base class ResourcePropertiesBase to hold DSC properties that
      can be inherited for all class-based resources.
    • Added the base class ResourceBase to hold methods that should be
      inherited for all class-based resources.
    • Added new private function ConvertTo-TimeSpan to help when evaluating
      properties that must be passed as strings and then converted to [System.TimeSpan].
    • Added prefix.ps1 that is used to import dependent modules like DscResource.Common.
    • Added new resource
      • DnsServerScavenging - resource to enforce scavenging settings (issue #189).
  • xDNSServerClientSubnet
    • Added integration tests.
  • 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
  • xDnsServerForwarder
  • xDnsServerRootHint
  • Added a class DnsRecordBase that is used as the base class for the resources that create DNS records.
    • Added unit tests to get code coverage on unimplemented method calls (ensuring the throw statements get called)
  • DnsRecordSrv
    • Added new resource to manage SRV records
  • DnsRecordSrvScoped
    • Added new resource to manage scoped SRV records
  • DnsRecordA
    • Added new resource to manage A records
  • DnsRecordAScoped
    • Added new resource to manage scoped A records
  • DnsRecordCname
    • Added new resource to manage CNAME records
  • DnsRecordCnameScoped
    • Added new resource to manage scoped CNAME records
  • DnsRecordPtr
    • Added new resource to manage PTR records

Changed

  • xDnsServer
    • BREAKING CHANGE: Set the minimum required PowerShell version to 5.0 to support classes used in the DnsRecordBase-derived resources.
    • 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.
    • Updated the pipeline to use new deploy tasks.
    • Revert back to using the latest version of module Sampler for the pipeline (issue #211).
  • DnsRecordBase
    • Changed class to inherit properties from 'ResourcePropertiesBase`.
  • 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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.
  • DnsRecordSrv
    • Changed logic for calculating the record's hostname

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).
  • xDnServerSetting
    • BREAKING CHANGE: The properties LogIPFilterList, LogFilePath, LogFileMaxSize,
      and EventLogLevel have been removed. Use the resource xDnsServerDiagnostics
      with the properties FilterIPAddressList, LogFilePath, MaxMBFileSize,
      and EventLogLevel respectively to enforce these settings (issue #190).
      This is done in preparation to support more settings through the cmdlet
      Get-DnsServerSetting for the resource xDnServerSetting, and these
      values are not available through that cmdlet.

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.
    • Fixed property descriptions in schema throughout.
    • Fixed uploading of code coverage that was broken since Sampler had a bug.
    • Fixed examples so the license information point to the correct default branch.
    • Fixed a link in the README.md.
  • DnsRecordBase
    • Fixed so that Compare-DscParameterState is used in the method Test()
      if the record already exist, to compare the properties except Ensure
      in the desired state against the actual state (issue #205).
  • 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.
  • xDnsServerSettings
    • Updated integration test to correct template.
  • xDnsServerAdZone
    • Now the parameter ComputerName can be used without throwing an exception
      (issue 79).
  • xDnsServerZoneScope
    • Correctly returns the zone scope name when calling Get-TargetResource.
  • xDnsServerForwarder
    • Now it is possible to just enforce the property UseRooHint without
      changing forwarders.
  • xDnsServerRootHint
    • Fixed the verbose message returning the correct number of root hints.

v2.0.0-preview0014

22 Mar 20:39
61aeedd
Compare
Choose a tag to compare
v2.0.0-preview0014 Pre-release
Pre-release

[v2.0.0-preview0014]

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.
    • 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).
    • Added the base class ResourcePropertiesBase to hold DSC properties that
      can be inherited for all class-based resources.
    • Added the base class ResourceBase to hold methods that should be
      inherited for all class-based resources.
    • Added new private function ConvertTo-TimeSpan to help when evaluating
      properties that must be passed as strings and then converted to [System.TimeSpan].
    • Added prefix.ps1 that is used to import dependent modules like DscResource.Common.
    • Added new resource
      • DnsServerScavenging - resource to enforce scavenging settings (issue #189).
  • xDNSServerClientSubnet
    • Added integration tests.
  • 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
  • xDnsServerForwarder
  • xDnsServerRootHint
  • Added a class DnsRecordBase that is used as the base class for the resources that create DNS records.
    • Added unit tests to get code coverage on unimplemented method calls (ensuring the throw statements get called)
  • DnsRecordSrv
    • Added new resource to manage SRV records
  • DnsRecordSrvScoped
    • Added new resource to manage scoped SRV records
  • DnsRecordA
    • Added new resource to manage A records
  • DnsRecordAScoped
    • Added new resource to manage scoped A records
  • DnsRecordCname
    • Added new resource to manage CNAME records
  • DnsRecordCnameScoped
    • Added new resource to manage scoped CNAME records

Changed

  • xDnsServer
    • BREAKING CHANGE: Set the minimum required PowerShell version to 5.0 to support classes used in the DnsRecordBase-derived resources.
    • 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.
    • Updated the pipeline to use new deploy tasks.
    • Revert back to using the latest version of module Sampler for the pipeline (issue #211).
  • DnsRecordBase
    • Changed class to inherit properties from 'ResourcePropertiesBase`.
  • 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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.
  • DnsRecordSrv
    • Changed logic for calculating the record's hostname

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).
  • xDnServerSetting
    • BREAKING CHANGE: The properties LogIPFilterList, LogFilePath, LogFileMaxSize,
      and EventLogLevel have been removed. Use the resource xDnsServerDiagnostics
      with the properties FilterIPAddressList, LogFilePath, MaxMBFileSize,
      and EventLogLevel respectively to enforce these settings (issue #190).
      This is done in preparation to support more settings through the cmdlet
      Get-DnsServerSetting for the resource xDnServerSetting, and these
      values are not available through that cmdlet.

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.
    • Fixed property descriptions in schema throughout.
    • Fixed uploading of code coverage that was broken since Sampler had a bug.
    • Fixed examples so the license information point to the correct default branch.
    • Fixed a link in the README.md.
  • DnsRecordBase
    • Fixed so that Compare-DscParameterState is used in the method Test()
      if the record already exist, to compare the properties except Ensure
      in the desired state against the actual state (issue #205).
  • 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.
  • xDnsServerSettings
    • Updated integration test to correct template.
  • xDnsServerAdZone
    • Now the parameter ComputerName can be used without throwing an exception
      (issue 79).
  • xDnsServerZoneScope
    • Correctly returns the zone scope name when calling Get-TargetResource.
  • xDnsServerForwarder
    • Now it is possible to just enforce the property UseRooHint without
      changing forwarders.
  • xDnsServerRootHint
    • Fixed the verbose message returning the correct number of root hints.

v2.0.0-preview0013

22 Mar 07:11
048377a
Compare
Choose a tag to compare
v2.0.0-preview0013 Pre-release
Pre-release

[v2.0.0-preview0013]

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.
    • 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.
  • 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
  • xDnsServerForwarder
  • xDnsServerRootHint
  • Added a class DnsRecordBase that is used as the base class for the resources that create DNS records.
    • Added unit tests to get code coverage on unimplemented method calls (ensuring the throw statements get called)
  • DnsRecordSrv
    • Added new resource to manage SRV records
  • DnsRecordSrvScoped
    • Added new resource to manage scoped SRV records
  • DnsRecordA
    • Added new resource to manage A records
  • DnsRecordAScoped
    • Added new resource to manage scoped A records
  • DnsRecordCname
    • Added new resource to manage CNAME records
  • DnsRecordCnameScoped
    • Added new resource to manage scoped CNAME records

Changed

  • xDnsServer
    • BREAKING CHANGE: Set the minimum required PowerShell version to 5.0 to support classes used in the DnsRecordBase-derived resources.
    • 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.
    • Updated the pipeline to use new deploy tasks.
    • Revert back to using the latest version of module Sampler for the pipeline (issue #211).
  • 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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.
  • DnsRecordSrv
    • Changed logic for calculating the record's hostname

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).
  • xDnServerSetting
    • BREAKING CHANGE: The properties LogIPFilterList, LogFilePath, LogFileMaxSize,
      and EventLogLevel have been removed. Use the resource xDnsServerDiagnostics
      with the properties FilterIPAddressList, LogFilePath, MaxMBFileSize,
      and EventLogLevel respectively to enforce these settings (issue #190).
      This is done in preparation to support more settings through the cmdlet
      Get-DnsServerSetting for the resource xDnServerSetting, and these
      values are not available through that cmdlet.

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.
    • Fixed property descriptions in schema throughout.
    • Fixed uploading of code coverage that was broken since Sampler had a bug.
    • Fixed examples so the license information point to the correct default branch.
    • Fixed a link in the README.md.
  • DnsRecordBase
    • Fixed so that Compare-DscParameterState is used in the method Test()
      if the record already exist, to compare the properties except Ensure
      in the desired state against the actual state (issue #205).
  • 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.
  • xDnsServerSettings
    • Updated integration test to correct template.
  • xDnsServerAdZone
    • Now the parameter ComputerName can be used without throwing an exception
      (issue 79).
  • xDnsServerZoneScope
    • Correctly returns the zone scope name when calling Get-TargetResource.
  • xDnsServerForwarder
    • Now it is possible to just enforce the property UseRooHint without
      changing forwarders.
  • xDnsServerRootHint
    • Fixed the verbose message returning the correct number of root hints.

v2.0.0-preview0012

18 Mar 13:41
d98f88c
Compare
Choose a tag to compare
v2.0.0-preview0012 Pre-release
Pre-release

[v2.0.0-preview0012]

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.
    • 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.
  • 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
  • xDnsServerForwarder
  • xDnsServerRootHint
  • Added a class DnsRecordBase that is used as the base class for the resources that create DNS records.
  • DnsRecordSrv
    • Added new resource to manage SRV records
  • DnsRecordSrvScoped
    • Added new resource to manage scoped SRV records
  • DnsRecordA
    • Added new resource to manage A records
  • DnsRecordAScoped
    • Added new resource to manage scoped A records

Changed

  • xDnsServer
    • BREAKING CHANGE: Set the minimum required PowerShell version to 5.0 to support classes used in the DnsRecordBase-derived resources.
    • 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.
    • Updated the pipeline to use new deploy tasks.
  • 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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.

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).
  • xDnServerSetting
    • BREAKING CHANGE: The properties LogIPFilterList, LogFilePath, LogFileMaxSize,
      and EventLogLevel have been removed. Use the resource xDnsServerDiagnostics
      with the properties FilterIPAddressList, LogFilePath, MaxMBFileSize,
      and EventLogLevel respectively to enforce these settings (issue #190).
      This is done in preparation to support more settings through the cmdlet
      Get-DnsServerSetting for the resource xDnServerSetting, and these
      values are not available through that cmdlet.

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.
  • xDnsServerSettings
    • Updated integration test to correct template.
  • xDnsServerAdZone
    • Now the parameter ComputerName can be used without throwing an exception
      (issue 79).
  • xDnsServerZoneScope
    • Correctly returns the zone scope name when calling Get-TargetResource.
  • xDnsServerForwarder
    • Now it is possible to just enforce the property UseRooHint without
      changing forwarders.
  • xDnsServerRootHint
    • Fixed the verbose message returning the correct number of root hints.

v2.0.0-preview0011

28 Feb 10:47
ec75a94
Compare
Choose a tag to compare
v2.0.0-preview0011 Pre-release
Pre-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.
    • 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
  • xDnsServerForwarder
  • xDnsServerRootHint

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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.

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).

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.
  • xDnsServerSettings
    • Updated integration test to correct template.
  • xDnsServerAdZone
    • Now the parameter ComputerName can be used without throwing an exception
      (issue 79).
  • xDnsServerZoneScope
    • Correctly returns the zone scope name when calling Get-TargetResource.
  • xDnsServerForwarder
    • Now it is possible to just enforce the property UseRooHint without
      changing forwarders.
  • xDnsServerRootHint
    • Fixed the verbose message returning the correct number of root hints.

v2.0.0-preview0010

28 Feb 10:29
56f39a6
Compare
Choose a tag to compare
v2.0.0-preview0010 Pre-release
Pre-release

[v2.0.0-preview0010]

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.
    • 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
  • xDnsServerForwarder
  • xDnsServerRootHint

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.
  • xDnsServerSetting
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #156).
  • xDnsServerDiagnostics
    • BREAKING CHANGE: The mandatory parameter was replaced by the mandatory
      parameter DnsServer. This prevents the resource from being used twice
      in the same configuration using the same value for the parameter DnsServer
      (issue #157).
  • xDnsServerPrimaryZone
    • Now the property Name is always returned from Get-TargetResource
      since it is a Key property.
  • xDnsServerForwarder
    • When providing an empty collection the resource will enforce that no
      forwarders are present.

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).

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.
  • xDnsServerSettings
    • Updated integration test to correct template.
  • xDnsServerAdZone
    • Now the parameter ComputerName can be used without throwing an exception
      (issue 79).
  • xDnsServerForwarder
    • Now it is possible to just enforce the property UseRooHint without
      changing forwarders.
  • xDnsServerRootHint
    • Fixed the verbose message returning the correct number of root hints.