New Features
-
add
parse::section::header::is_valid_subsection()
function.
It can be useful to validate subsection names without having to
construct an entireHeader
(which also includes a name). -
Add various methods to iterate sections along with their id, and mutate them.
As section names are not unique, it was previously not possible to
iterate sections and then mutate them as one wouldn't be able to refer
to the exact section that was just traversed, after all, there can be
many sections namedremote "origin"
.With the new methods it's possible to uniquely refer to each section
for mutation and removal.
Bug Fixes
-
greatly improve whitespace handling when removing values.
Previously, newlines would remain past a value, and whitespace could
remain before one.Now both are removed to simulate removing an actual line.
-
File::remove_section()
was fixed to allow re-adding a similarly named section.
We also addFile::remove_section_by_id()
to make it possible to remove
specific sections.
Commit Statistics
- 14 commits contributed to the release over the course of 20 calendar days.
- 20 days passed between releases.
- 4 commits were understood as conventional.
- 1 unique issue was worked on: #450
Commit Details
view details
- #450
- adapt to changes in
git-ref
(d40beb3)
- adapt to changes in
- Uncategorized
- prepare changelogs for release (d232567)
- Merge branch 'fix-smart-release' (aa80b60)
- make fmt (7b9c065)
- Merge branch 'clone' (507dc7e)
- add
parse::section::header::is_valid_subsection()
function. (aa5d66f) - greatly improve whitespace handling when removing values. (9c1e639)
- Add various methods to iterate sections along with their id, and mutate them. (5df2a2a)
File::remove_section()
was fixed to allow re-adding a similarly named section. (e533993)- improve clarity docs related to mutating sections (769e897)
- Merge branch 'main' into new-http-impl (702a161)
- Merge branch 'fetch-pack' (3c49400)
- Merge branch 'fix-git-features' (82fd251)
- Merge branch 'diff' (25a7726)