Skip to content

Releases: dsccommunity/StorageDsc

v3.2.0

25 Jan 02:31
Compare
Choose a tag to compare
  • xDisk:
    • Fix error message when new partition does not become writable before timeout.
    • Removed unneeded timeout initialization code.
  • xDiskAccessPath:
    • Fix error message when new partition does not become writable before timeout.
    • Removed unneeded timeout initialization code.
    • Fix error when used on Windows Server 2012 R2 - See Issue 102.
  • Added the VS Code PowerShell extension formatting settings that cause PowerShell
    files to be formatted as per the DSC Resource kit style guidelines.
  • Removed requirement on Hyper-V PowerShell module to execute integration tests.
  • xMountImage:
    • Fix error when mounting VHD on Windows Server 2012 R2 - See Issue 105

v3.1.0

25 Jan 02:31
Compare
Choose a tag to compare
  • Added integration test to test for conflicts with other common resource kit modules.
  • Prevented ResourceHelper and Common module cmdlets from being exported to resolve
    conflicts with other resource modules.

v3.0.0

25 Jan 02:31
Compare
Choose a tag to compare
  • Converted AppVeyor build process to use AppVeyor.psm1.
  • Added support for auto generating wiki, help files, markdown linting
    and checking examples.
  • Correct name of MSFT_xDiskAccessPath.tests.ps1.
  • Move shared modules into Modules folder.
  • Fixed unit tests.
  • Removed support for WMI cmdlets.
  • Opted in to Markdown and Example tests.
  • Added CodeCov.io support.
  • Removed requirement on using Pester 3.4.6 because Pester bug fixed in 4.0.3.
  • Fixed unit tests for MSFT_xDiskAccessPath resource to be compatible with
    Pester 4.0.3.
  • xDisk:
    • BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to enable it to
      contain either DiskNumber or UniqueId - See Issue 81.
    • Added DiskIdType parameter to enable specifying the type of identifer
      the DiskId parameter contains - See Issue 81.
    • Changed to use xDiskAccessPath pattern to fix issue with Windows Server
      2016 - See Issue 80.
    • Fixed style violations in xDisk.
    • Fixed issue when creating multiple partitions on a single disk with no size
      specified - See Issue 86.
  • xDiskAccessPath:
    • BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
      enable it to contain either DiskNumber or UniqueId - See Issue 81.
    • Added DiskIdType parameter to enable specifying the type
      of identifer the DiskId parameter contains - See Issue 81.
    • Fixed incorrect logging messages when changing volume label.
    • Fixed issue when creating multiple partitions on a single disk with no size
      specified - See Issue 86.
  • xWaitForDisk:
    • BREAKING CHANGE: Renamed parameter DiskNumber to DiskId to
      enable it to contain either DiskNumber or UniqueId - See Issue 81.
    • Added DiskIdType parameter to enable specifying the type
      of identifer the DiskId parameter contains - See Issue 81.

v2.9.0

25 Jan 02:30
Compare
Choose a tag to compare
  • Updated readme.md to remove markdown best practice rule violations.
  • Updated readme.md to match DSCResources/DscResource.Template/README.md.
  • xDiskAccessPath:
    • Fix bug when re-attaching disk after mount point removed or detatched.
    • Additional log entries added for improved diagnostics.
    • Additional integration tests added.
    • Improve timeout loop.
  • Converted integration tests to use $TestDrive as working folder
    or temp folder when persistence across tests is required.
  • Suppress PSUseShouldProcessForStateChangingFunctions rule violations in resources.
  • Rename Test-AccessPath function to Assert-AccessPathValid.
  • Rename Test-DriveLetter function to Assert-DriveLetterValid.
  • Added CommonResourceHelper.psm1 module (based on PSDscResources).
  • Added CommonTestsHelper.psm1 module (based on PSDscResources).
  • Converted all modules to load localization data using Get-LocalizedData
    from CommonResourceHelper.
  • Converted all exception calls and tests to use functions
    in CommonResourceHelper.psm1 and CommonTestsHelper.psm1 respectively.
  • Fixed examples:
    • Sample_InitializeDataDisk.ps1
    • Sample_InitializeDataDiskWithAccessPath.ps1
    • Sample_xMountImage_DismountISO.ps1
  • xDisk:
    • Improve timeout loop.

v2.8.0

25 Jan 02:30
Compare
Choose a tag to compare
  • added test for existing file system and no drive letter assignment to allow
    simple drive letter assignment in MSFT_xDisk.psm1
  • added unit test for volume with existing partition and no drive letter
    assigned for MSFT_xDisk.psm1
  • xMountImage: Fixed mounting disk images on Windows 10 Anniversary Edition
  • Updated to meet HQRM guidelines.
  • Moved all strings into localization files.
  • Fixed examples to import xStorage module.
  • Fixed Readme.md layout issues.
  • xWaitForDisk:
    • Added support for setting DriveLetter parameter with or without colon.
    • MOF Class version updated to 1.0.0.0.
  • xWaitForVolume:
    • Added new resource.
  • StorageCommon:
    • Added helper function module.
    • Corrected name of unit tests file.
  • xDisk:
    • Added validation of DriveLetter parameter.
    • Added support for setting DriveLetter parameter with or without colon.
    • Removed obfuscation of drive/partition errors by eliminating try/catch block.
    • Improved code commenting.
    • Reordered tests so they are in same order as module functions to ease creation.
    • Added FSFormat parameter to allow disk format to be specified.
    • Size or AllocationUnitSize mismatches no longer trigger Set-TargetResource
      because these values can't be changed (yet).
    • MOF Class version updated to 1.0.0.0.
    • Unit tests changed to match xDiskAccessPath methods.
    • Added additional unit tests to Get-TargetResource.
    • Fixed bug in Get-TargetResource when disk did not contain any partitions.
    • Added missing cmdletbinding() to functions.
  • xMountImage (Breaking Change):
    • Removed Name parameter (Breaking Change)
    • Added validation of DriveLetter parameter.
    • Added support for setting DriveLetter parameter with or without colon.
    • MOF Class version updated to 1.0.0.0.
    • Enabled mounting of VHD/VHDx/VHDSet disk images.
    • Added StorageType and Access parameters to allow mounting VHD and VHDx disks
      as read/write.
  • xDiskAccessPath:
    • Added new resource.
    • Added support for changing/setting volume label.

v2.7.0

25 Jan 02:30
Compare
Choose a tag to compare
  • Converted appveyor.yml to install Pester from PSGallery instead of from Chocolatey.

v2.6.0

25 Jan 02:29
Compare
Choose a tag to compare
  • MSFT_xDisk: Replaced Get-WmiObject with Get-CimInstance

v2.5.0

25 Jan 02:29
Compare
Choose a tag to compare
  • added test for existing file system to allow simple drive letter assignment in
    MSFT_xDisk.psm1
  • modified Test verbose message to correctly reflect blocksize value in
    MSFT_xDisk.psm1 line 217
  • added unit test for new volume with out existing partition for MSFT_xDisk.psm1
  • Fixed error propagation

v2.4.0

25 Jan 02:29
Compare
Choose a tag to compare
  • Fixed bug where AllocationUnitSize was not used

v2.3.0

25 Jan 02:29
Compare
Choose a tag to compare
  • Added support for AllocationUnitSize in xDisk.