Skip to content

v3.0.1-preview0009

Pre-release
Pre-release

Choose a tag to compare

@dscbot dscbot released this 16 Jul 18:15
ddbed52

[v3.0.1-preview0009]

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-HashTableFromObject with the
      public function ConvertFrom-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-latest for the necessary stages
      of the pipeline, and ubuntu-latest for the other stages.
    • Update pipeline to use GitVersion.Tool installed by dotnet.
    • Pin gitversion version in azure-pipelines
    • Update unit and integration tests to Pester 5
    • DnsServer* Class Resources
      • Used DscResource.Base
      • BREAKING: Added Reasons property as population of this is builtin
        to base class.
    • Updated prefix, build, RequiredModules for Pester 5 and
      DscResource.Base usage.
    • Added tests for DSC_DnsServerSecondaryZone.
    • Updated project related files
      • .github/ISSUE_TEMPLATES
      • .vscode
      • ResolveDependency.ps1
      • build.ps1
    • Change from using Test-DnsDscParameterState
      to Test-DscParameterState (from DscResource.Common).
      Fixes [Issue #121].
      Affected resources:
      • DSC_DnsServerDiagnostics
      • DSC_DnsServerRootHint
  • DnsServerDsc.Common
    • Added unit tests for Convert-RootHintsToHashtable.
  • Revert to DscResource.Test 0.16.3.

Fixed

  • DnsRecordBase
    • Update comment regarding use of using module statement.
  • ResourceBase
    • Update comment regarding use of using module statement.
  • build.yaml
    • Replace Generate_Wiki_Content with Generate_Markdown_For_DSC_Resources to remove warning.
  • DSC_DnsServerADZone
    • Use New-ArgumentException instead of New-InvalidArgumentException.
  • DSC_DnsServerClientSubnet
    • Fixed wrong SYNAPSIS.
  • DnsRecordA
  • 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'.
  • 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.ResourceBase and replaced with DscResource.Base.
    • Removed Get-ClassName and Get-LocalizedDataRecursive utilizing
      ones provided in DscResource.Base.
  • DnsServerDsc.Common
    • Removed Test-DnsDscParameterState and associated localization entries.