Skip to content

Commit c6780e2

Browse files
committed
docs(CHANGES) Note version()
1 parent 8b6c26c commit c6780e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CHANGES

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ $ pip install --user --upgrade --pre libvcs
1515

1616
<!-- Maintainers, insert changes / features for the next release here -->
1717

18+
### Compatibility
19+
20+
- Add `GitVersionInfo` dataclass and `build_options()` method to `Git` class to
21+
provide structured access to git version information, making version handling more homogeneous
22+
and type-safe (#491). The `version()` method now returns a `Version` object instead of a string.
23+
This allows for more reliable version parsing and comparison, while `GitSync.get_git_version()`
24+
continues to return a string for backward compatibility.
25+
1826
## libvcs 0.35.1 (2025-06-21)
1927

2028
### Bug fixes

0 commit comments

Comments
 (0)