Repository navigation
Fixed
GetAllDataSectionnow supports the empty[]section. Keys written with anullsection go to[], butGetAllDataSectionthrewArgumentExceptionfor anullor empty section, so those entries could not be listed.GetAllDataSection()/GetAllDataSection(null)now returns them, consistent with every other method.GetAllSectionsstill does not list[].- README and IntelliSense docs now match the actual behavior. Everything below was verified against the Windows API and is now covered by tests:
- On read, Windows trims whitespace around values and removes one pair of surrounding quotes (
"quoted"is read back asquoted). Trailing whitespace ofdefaultValueis trimmed too. ReadIntreturnsdefaultValuefor an empty value, uses only the leading number (12abcgives12), and overflows silently outside theintrange.DeleteKey/DeleteSectionreturntruewhen there is nothing to delete, and create a missing file.GetAllDataSectionskips comment lines and returns lines without=as they are.- The ANSI workaround is corrected: an empty file is converted to UTF-16, so a legacy ANSI file must be created with content.
- IntelliSense no longer refers to private constants;
ReadBooldocuments itsArgumentException.
- On read, Windows trims whitespace around values and removes one pair of surrounding quotes (
- The table of contents links on nuget.org now work (the heading anchors differed between GitHub and NuGet).
Build
- CI uses Node 24 versions of the GitHub actions (no more Node 20 deprecation warnings).
- Package validation now compares against 2.1.0.
Full Changelog: 2.1.0...2.1.1