v4
is a breaking change:
- the commands of the module were refactored and renamed.
- the behaviour of parsing quotation marks was changes, as per ADR #95.
Details on how to upgrade are documented in the Migrating to PSIni v4
🚀 Added
- Add
-IgnoreEmptySection
parameter toImport-Ini
@kevinholtkamp #69 - Added
-CommentChar
toExport-Ini
@lipkau #103 - Added
-LiteralPath
toImport-Ini
@lipkau #105 - Added
-Encoding
toImport-Ini
@lipkau #111 - Added
-InputString
toImport-Ini
@lipkau #111- In order to implement this, a slight performance buff was implemented:
files are now read with[System.IO.File]::ReadAllLines()
instead forswitch -file
Read more: https://devdojo.com/hcritter/powershell-performance-test-file-reading
- In order to implement this, a slight performance buff was implemented:
⚙️ Changed
- BREAKING:
Get-IniContent
is replaced withImport-Ini
@lipkau - BREAKING:
Out-IniFile
is replaced withExport-Ini
@lipkau - BREAKING: Changed behaviour of how quotation marks are parsed @lipkau #100
- BREAKING: Changed
Export-Ini
parameters to match the behaviour of otherExport-*
functions @lipkau #118
🔧 Fixed
- No longer reading empty lines as keys @HighPriest #79
- Improve performance by operating in-memory @HighPriest #80
- Fix tests for ending empty line behaviour in pretty print @HighPriest #90
- Writing of empty sections @lipkau #104
- Fixed positional parameters @lipkau #108
- Fixed
Comment
to be a valid key @lipkau #109
❌ Removed
- BREAKING: Removed support for Powershell v2, v3 and v4 @lipkau