Skip to content

Releases: mkht/DSCR_FileContent

3.0.1

02 Jan 19:05
Compare
Choose a tag to compare

3.0.1

  • [JsonFile] Fixed an issue that the arrays with a single element mistakenly treated as a single value.

3.0.0

19 Jan 16:12
Compare
Choose a tag to compare

3.0.0

  • Changed JSON parser from PowerShell built-in cmdlets to PSAdvancedJsonCmdlet module.
    This change improves handling for non-compliant JSON format. (e.g., JSON with comments) and consistency of behavior between PS 7 and PS 5.1.
  • The minimum supported version of PowerShell changed from 5.0 to 5.1.

2.4.2

07 Jun 15:40
Compare
Choose a tag to compare

2.4.2

  • Fixed an issue that line feeds may not be added correctly when an array of strings is input to Set-NewContent from the pipeline.

2.4.1

07 Jun 14:21
Compare
Choose a tag to compare

2.4.1

  • Export new functions Convert-NewLine & Set-NewContent

2.3.0

17 Dec 08:26
Compare
Choose a tag to compare

2.3.0

  • [JsonFile] Subkeys of dictionary can now be specified as keys using slash delimiter.
  • [JsonFile] Fix some security issues.

2.2.0

12 Sep 16:09
Compare
Choose a tag to compare
  • Add sjis (Japanese Shift_JIS) encoding support.
  • Improve compatibility with PowerShell 7. (Since this version, supports PS7)

2.1.1

01 Jun 09:44
Compare
Choose a tag to compare
  • [IniFile] Fixed an issue where extra blank lines might be inserted in the first line of ini file.

2.1.0

31 May 17:02
Compare
Choose a tag to compare
  • The functions ConvertTo-IniString, Set-IniKey, Remove-IniKey accept not only [System.Collections.Specialized.OrderedDictionary] but also [hashtable] input types.
  • [IniFile] Add a blank line to the beginning of sections.
  • [IniFile] Improved performance when dealing with large files.
  • Misc fixes.

2.0.0

09 Nov 13:52
Compare
Choose a tag to compare
  • [JsonFile] Fixed an issue that Get-TargetResource throws an exception when the array contains NULL.
  • [JsonFile] Fixed an issue that empty string and NULL could not be set. #4
  • [JsonFile] Improved to preserve key order when modifying JSON file.
  • [JsonFile] Fixed issue that creating a child key may fail when the parent key has value. #3
  • [JsonFile] (BREAKING CHANGES) Changes the behavior when specifying a value that bool or bool parsable to the Value parameter. (See #2)
  • Add unit tests for helper functions.

1.0.3

05 Nov 14:36
Compare
Choose a tag to compare
  • Fixed an issue where character at the end of line may not be output correctly when CRLF is specified for NewLine.