v1.0.3
v1.0.3 — 2025-05-08 “Whitespace Toggle”
-
✂️ User‑selectable trimming
-
Added
trimWhitespace boolparameter to bothStringWrapandStringWrapSplit.- Prior versions always stripped leading/trailing blanks; callers can now
choose to preserve them by passingfalse.
- Prior versions always stripped leading/trailing blanks; callers can now
-
Default behaviour remains unchanged (
true), so upgrading users who relied
on trimming need no code changes.
-
-
🧪 Tests
- Added positive/negative fixtures verifying correct behaviour when
trimWhitespaceis toggled and when lines begin with tabs/spaces.
- Added positive/negative fixtures verifying correct behaviour when
Minor breaking note: Function signatures changed; update importers that use
manual wrappers or reflection.