Skip to content

Commit 3a15832

Browse files
committed
Tag v0.42.0 - GitSync clone depth
GitSync gains a `depth` keyword argument so callers can clone at an arbitrary shallow depth (`git clone --depth N`), not just a single commit. Passing `git_shallow` or `tls_verify` to the GitSync constructor now sets the attribute instead of raising AttributeError on the next sync (a regression dating back to v0.4.4). See CHANGES for the full release notes.
1 parent 546b831 commit 3a15832

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

CHANGES

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@ $ pip install --user --upgrade --pre libvcs
1414
$ uv add libvcs --prerelease allow
1515
```
1616

17-
## libvcs 0.42.x (unreleased)
17+
## libvcs 0.43.x (unreleased)
1818

1919
<!-- KEEP THIS PLACEHOLDER - DO NOT REMOVE OR MODIFY THIS LINE -->
2020
_Notes on the upcoming release will go here._
2121
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->
2222

23+
## libvcs 0.42.0 (2026-05-31)
24+
25+
libvcs 0.42.0 teaches {class}`~libvcs.sync.git.GitSync` to clone at an arbitrary shallow depth rather than only a single commit, so tools that synchronize many repositories can persist and apply a numeric `--depth N` instead of a boolean shallow flag. It also repairs a long-standing bug where the `git_shallow` and `tls_verify` constructor arguments were silently dropped and then raised `AttributeError` on the next {meth}`~libvcs.sync.git.GitSync.obtain`. Downstream tools such as vcspull are the primary beneficiaries.
26+
2327
### What's new
2428

2529
#### GitSync honors an arbitrary clone depth (#531)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "libvcs"
3-
version = "0.41.0"
3+
version = "0.42.0"
44
description = "Lite, typed, python utilities for Git, SVN, Mercurial, etc."
55
requires-python = ">=3.10,<4.0"
66
authors = [

src/libvcs/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
__title__ = "libvcs"
66
__package_name__ = "libvcs"
77
__description__ = "Lite, typed, python utilities for Git, SVN, Mercurial, etc."
8-
__version__ = "0.41.0"
8+
__version__ = "0.42.0"
99
__author__ = "Tony Narlock"
1010
__github__ = "https://github.com/vcs-python/libvcs"
1111
__docs__ = "https://libvcs.git-pull.com"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)