Skip to content

Latest commit

 

History

History
173 lines (159 loc) · 9.82 KB

CHANGELOG.md

File metadata and controls

173 lines (159 loc) · 9.82 KB

Change log for xFailOverCluster

Unreleased

  • Changes to xFailOverCluster
    • Added a common resource helper module with helper functions for localization.
      • Added helper functions; Get-LocalizedData, New-InvalidResultException, New-ObjectNotFoundException, New-InvalidOperationException and New-InvalidArgumentException.
    • Fixed lint error MD034 and fixed typos in README.md.
    • Opt-in for module files common tests (issue #119).
      • Removed Byte Order Mark (BOM) from the files; CommonResourceHelper.psm1 and FailoverClusters.stubs.psm1.
    • Opt-in for script files common tests (issue #121).
      • Removed Byte Order Mark (BOM) from the files; CommonResourceHelper.Tests.ps1, MSFT_xCluster.Tests.ps1, MSFT_xClusterDisk.Tests.ps1, MSFT_xClusterPreferredOwner.Tests.ps1, MSFT_xWaitForCluster.Tests.ps1.
  • Changes to xClusterDisk
    • Enabled localization for all strings (issue #84).
    • Fixed the OutputType data type that was not fully qualified.
  • Changes to xClusterNetwork
    • Replaced the URL for the parameter Role in README.md. The new URL is a more generic description of the possible settings for the Role parameter. The previous URL was still correct but focused on Hyper-V in particular.
    • Fixed typos in parameter descriptions in README.md, comment-based help and schema.mof.
    • Enabled localization for all strings (issue #85).
  • Changes to xCluster
    • Resolved Script Analyzer rule warnings by changing Get-WmiObject to Get-CimInstance (issue #49).
    • Minor style change in tests. Removed '-' in front of '-Be', '-Not', '-Throw', etc.
  • Changes to xWaitForCluster
    • Refactored the unit test for this resource to use stubs and increase coverage (issue #78).
    • Now the Test-TargetResource correctly returns false if the domain name cannot be evaluated (issue #107).
    • Changed the code to be more aligned with the style guideline.
    • Updated parameter description in the schema.mof.
    • Resolved Script Analyzer warnings (issue #54).
  • Changes to xClusterQuorum
    • Refactored the unit test for this resource to use stubs and increase coverage (issue #77).
    • Changed the code to be more aligned with the style guideline.
    • Updated parameter description in the schema.mof.
    • Added example (issue #47)
      • 1-SetQuorumToNodeMajority.ps1
      • 2-SetQuorumToNodeAndDiskMajority.ps1
      • 3-SetQuorumToNodeAndFileShareMajority.ps1
      • 4-SetQuorumToDiskOnly.ps1
    • Added links to examples from README.md.

1.7.0.0

  • Changes to xClusterPreferredOwner
    • Script Analyzer warnings have been fixed (issue #50). This also failed the tests for the resource.
  • Changes to xClusterDisk
    • Fixed test that was failing in AppVeyor (issue #55).
  • Changes to xFailOverCluster
    • Added 'Code of Conduct' text to the README.md (issue #44).
    • Added TOC for all resources in the README.md (issue #43).
    • Fixed typos and lint errors in README.md.
    • Fixed style issue in example in README.md.
    • Removed 'Unreleased' "tag" from the resources xClusterQuorum and xClusterDisk (issue #36)
    • Added new sections to each resource (Requirements, Parameters and Examples) in the README.md. Some does not yet have any examples, so they are set to 'None.'.
    • Added GitHub templates PULL_REQUEST_TEMPLATE, ISSUE_TEMPLATE and CONTRIBUTING.md (issue #45).
    • Split the change log from README.md to a separate file CHANGELOG.md issue #48.
    • Added the resource xClusterPreferredOwner to README.md (issue #51).
    • Added the resource xClusterNetwork to README.md (issue #56).
    • Removed Credential parameter from parameter list for xWaitForCluster. Parameter Credential does not exist in the schema.mof of the resource (issue #62).
    • Now all parameters in the README.md list their data type and type qualifier (issue #58).
    • Added Import-DscResource to example in README.md.
    • Added CodeCov and opt-in for all common tests (issue #41).
    • Added CodeCov badge to README.md
      • Fixed CodeCov badge links so they now can be clicked on.
    • Fixed lint rule MD013 in CHANGELOG.md.
    • Fixed lint rule MD013 in README.md.
    • Fixed lint rule MD024 in README.md.
    • Fixed lint rule MD032 in README.md.
    • Removed example from README.md (issue #42).
    • Fixed typo in filename for ISSUE_TEMPLATE. Was 'ISSUE_TEMPLATE', now it is correctly 'ISSUE_TEMPLATE.md'.
    • Changed appveyor.yml to use the new default test framework in the AppVeyor module in DscResource.Tests (AppVeyor.psm1).
    • Added VS Code workspace settings file with formatting settings matching the Style Guideline (issue #67). That will make it possible inside VS Code to press SHIFT+ALT+F, or press F1 and choose 'Format document' in the list. The PowerShell code will then be formatted according to the Style Guideline (although maybe not complete, but would help a long way).
    • Added new stubs for FailoverClusters module (Tests\Unit\Stubs\FailoverClusters.stubs.psm1) to be able to run unit tests on a computer that does not have or can install Failover Clustering PowerShell module.
    • Added a script file (Tests\Unit\Stubs\Write-ModuleStubFile.ps1) to be able to rebuild the stub file (FailoverClusters.stubs.psm1) whenever needed.
    • Added code block around types in README.md.
  • Changes to xCluster
    • Added examples
      • 1-CreateFirstNodeOfAFailoverCluster.ps1
      • 2-JoinAdditionalNodeToFailoverCluster.ps1
      • 3-CreateFailoverClusterWithTwoNodes.ps1 (this is the example from README.md)
    • Fixed typo in xCluster parameter description.
    • Added links to examples from README.md
    • Refactored the unit test for this resource to use stubs and increase coverage (issue #73).
      • Removed the password file (MSFT_xCluster.password.txt) which seemed unnecessary.
    • Test-TargetResource now throws and error if domain name cannot be evaluated (issue #72).
    • Set-TargetResource now correctly throws and error if domain name cannot be evaluated (issue #71).
  • Changes to xWaitForCluster
    • Added example
      • 1-WaitForFailoverClusterToBePresent.ps1
    • Added link to example from README.md
  • Changes to xClusterDisk
    • Refactored the unit test for this resource to use stubs and increase coverage (issue #74).
    • Removed an evaluation that called Test-TargetResource in Set-TargetResource method and instead added logic so that Set-TargetResource evaluates if it should remove a disk (issue #90).
    • Changed the code to be more aligned with the style guideline.
    • Added examples (issue #46)
      • 1-AddClusterDisk.ps1
      • 2-RemoveClusterDisk.ps1
    • Added links to examples from README.md.
  • Changes to xClusterPreferredOwner
    • Refactored the unit test for this resource to use stubs and increase coverage (issue #76).
    • Changed the code to be more aligned with the style guideline.
    • Added examples (issue #52)
      • 1-AddPreferredOwner.ps1
      • 2-RemovePreferredOwner.ps1
    • Added links to examples from README.md.
  • Changes to xClusterNetwork
    • Refactored the unit test for this resource to use stubs and increase coverage (issue #75).
    • Changed the code to be more aligned with the style guideline.
    • Updated resource and parameter description in README.md and schema.mof.
    • Added example (issue #57)
      • 1-ChangeClusterNetwork.ps1
    • Added links to examples from README.md.

1.6.0.0

  • xCluster: Fixed bug in which failure to create a new cluster would hang

1.5.0.0

  • Added xClusterQuorum resource with options NodeMajority, NodeAndDiskMajority, NodeAndFileShareMajority, DiskOnly
  • Currently does not implement cloud witness for Windows 2016.
  • Added xClusterDisk resource

1.2.0.0

  • xCluster: Added -NoStorage switch to Add-ClusterNode. This prevents disks from being automatically added when joining a node to a cluster

1.1.0.0

  • Removed requirement for CredSSP

1.0.0.0

  • Initial release with the following resources:
    • xCluster and xWaitForCluster