| 1 |
1.2.12 2026-07-19 |
| 2 |
|
| 3 |
* Fix ``Bundle.store_objects()`` silently dropping every OFS_DELTA/REF_DELTA |
| 4 |
object in the bundle's pack instead of resolving it, leaving the target |
| 5 |
object store missing most objects with no error raised. Delta resolution |
| 6 |
now goes through ``PackInflater``, matching how packs are ingested |
| 7 |
elsewhere in the object store code. |
| 8 |
(theVinchi, #2312) |
| 9 |
|
| 10 |
* SECURITY: Refuse to write a checkout entry whose leading path resolves |
| 11 |
through a symlink. ``build_index_from_tree`` (used by ``reset_index`` and |
| 12 |
thus by ``clone``/``checkout``) materialized a tree in sorted order without |
| 13 |
checking leading components, so a tree pairing a symlink ``link`` with a |
| 14 |
descendant ``link/foo`` wrote ``foo`` through the link to an arbitrary |
| 15 |
absolute path. The same ``verify_leading_dirs`` guard already used by |
| 16 |
porcelain and stash is now applied here. |
| 17 |
(Jelmer Vernooij, reported by Hugh Lewis) |
| 18 |
|
| 19 |
1.2.11 2026-07-16 |
| 20 |
|
| 21 |
* Let porcelain functions that consult the environment take an ``env`` |
| 22 |
argument overriding ``os.environ``. As a side effect ``tag_create`` now |
| 23 |
honours ``GIT_COMMITTER_NAME``/``GIT_COMMITTER_EMAIL`` for the tagger line |
| 24 |
and ``merge``/``revert`` honour ``GIT_AUTHOR_NAME``/``GIT_AUTHOR_EMAIL``, |
| 25 |
matching git. (Jelmer Vernooij) |
| 26 |
|
| 27 |
* Honour the ``core.worktree`` configuration option, so the working tree can |
| 28 |
live somewhere other than the parent of the control directory. Relative |
| 29 |
paths are resolved against the control directory, and ``core.bare`` and |
| 30 |
``core.worktree`` are now rejected as incompatible. (Jelmer Vernooij, #1785) |
| 31 |
|
| 32 |
* Clear ``core.bare`` when setting up a submodule's working tree. |
| 33 |
``submodule_update`` cloned the submodule bare and then set |
| 34 |
``core.worktree`` on it, leaving a configuration git considers invalid. |
| 35 |
(Jelmer Vernooij) |
| 36 |
|
| 37 |
* Read ``GIT_PROTOCOL`` in porcelain rather than only in the command line |
| 38 |
interface, so ``clone`` and ``pull`` honour it when called as a library. |
| 39 |
An explicit ``protocol_version`` argument still wins. (Jelmer Vernooij) |
| 40 |
|
| 41 |
* Add a ``remote`` argument to ``porcelain.archive()``, so an archive can be |
| 42 |
retrieved from a remote repository without dropping down to |
| 43 |
``dulwich.client``. (Jelmer Vernooij) |
| 44 |
|
| 45 |
* Read ``GIT_SSH_COMMAND``/``GIT_SSH`` in porcelain rather than only in the |
| 46 |
command line interface, so ``clone``, ``fetch``, ``ls_remote``, ``pull`` |
| 47 |
and ``push`` honour them again when called as a library. Since 1.2.1 only |
| 48 |
the CLI resolved these, so ``porcelain.clone()`` silently ignored them. An |
| 49 |
explicit ``ssh_command`` argument still wins, and ``push`` and ``pull`` |
| 50 |
gained an ``env`` argument. (Jelmer Vernooij, #2209) |
| 51 |
|
| 52 |
* Recurse into subtrees when merging trees, so non-overlapping changes on |
| 53 |
different sides of a shared directory merge cleanly instead of being |
| 54 |
reported as a directory-level conflict. (Jelmer Vernooij, #2295) |
| 55 |
|
| 56 |
* HARDEN: Verify that a ``.bitmap`` index matches the pack it is loaded for. |
| 57 |
The bitmap header records the checksum of its pack, but ``Pack.bitmap`` |
| 58 |
never checked it, so a stale or swapped-in bitmap (built for a different |
| 59 |
object set) was used against this pack's index and silently produced a |
| 60 |
wrong reachable-object set during fetch negotiation. ``Pack.bitmap`` now |
| 61 |
compares the recorded checksum and ignores a mismatched bitmap, falling |
| 62 |
back to graph traversal, matching git's ``load_bitmap_header``. |
| 63 |
(netliomax25-code) |
| 64 |
|
| 65 |
* HARDEN: Parse commit-message trailers in linear time. ``parse_trailers`` |
| 66 |
located the trailer block by re-slicing and re-stripping the tail of the |
| 67 |
message for every blank line, which is cubic on a message made mostly of |
| 68 |
blank lines. Trailers are scanned during subtree operations, which walk |
| 69 |
every reachable commit, so a crafted commit message could tie up CPU for |
| 70 |
minutes to hours (a 3 KB all-blank message took roughly 36s before the fix |
| 71 |
and is now immediate). (netliomax25-code) |
| 72 |
|
| 73 |
* SECURITY: Apply ``core.protectHFS`` and ``core.protectNTFS`` together when |
| 74 |
selecting the checkout path-element validator. ``get_path_element_validator`` |
| 75 |
returned only the NTFS validator whenever ``protectNTFS`` was on (the default |
| 76 |
everywhere), so on macOS the HFS check never ran and an HFS+ spelling of |
| 77 |
``.git`` using ignorable code points (e.g. ``.gi<U+200C>t``) passed |
| 78 |
validation and could poison ``.git`` on checkout. Both protections now apply |
| 79 |
when both are enabled, matching git's ``verify_path``. |
| 80 |
(netliomax25-code) |
| 81 |
|
| 82 |
* HARDEN: Canonicalize the file mode of regular files written into a |
| 83 |
``git archive`` tarball. ``tar_stream`` copied the tree-supplied mode |
| 84 |
verbatim, so a crafted tree entry (e.g. mode ``0o104755``) carried |
| 85 |
setuid/setgid/sticky bits into the archive and an extracted file could |
| 86 |
land setuid. Modes are now run through ``cleanup_mode`` like checkout, |
| 87 |
matching git's archive writer. (netliomax25-code) |
| 88 |
|
| 89 |
* HARDEN: Collapse embedded whitespace in reflog messages when writing a |
| 90 |
reflog line. ``format_reflog_line`` wrote the message verbatim, and |
| 91 |
``do_commit`` logs ``commit: <full message>``, so any commit whose message |
| 92 |
spans multiple lines produced a multi-line reflog that ``read_reflog`` |
| 93 |
could not parse; a crafted message (e.g. from a rebased or cherry-picked |
| 94 |
untrusted commit) could inject additional, forged reflog entries with |
| 95 |
attacker-chosen SHAs. Newlines are now collapsed to spaces, matching git's |
| 96 |
``copy_reflog_msg``. (netliomax25-code, #2300) |
| 97 |
|
| 98 |
1.2.10 2026-07-07 |
| 99 |
|
| 100 |
* Fix regression in 1.2.9 where loose objects whose content inflates to |
| 101 |
more than 8192 bytes failed to parse with ``zlib.error: object header |
| 102 |
exceeds maximum size``. (Jelmer Vernooij, #2292) |
| 103 |
|
| 104 |
1.2.9 2026-07-06 |
| 105 |
|
| 106 |
* Bound the running length when decoding EWAH bitmaps, so a corrupt or |
| 107 |
malformed ``.bitmap`` index raises ``ValueError`` instead of hanging in |
| 108 |
an unbounded loop that exhausts memory. (Jelmer Vernooij) |
| 109 |
|
| 110 |
* web: Reject smart HTTP ``git-upload-pack`` / ``git-receive-pack`` POSTs |
| 111 |
whose ``Content-Type`` is not the exact ``application/x-<service>-request`` |
| 112 |
value, matching ``git http-backend``. Real git clients (and dulwich's own |
| 113 |
client) already send this header, so there is no interop cost; the check |
| 114 |
is defense in depth against cross-origin POSTs for deployments that wrap |
| 115 |
``dulwich.web`` in a cookie-based auth layer. |
| 116 |
|
| 117 |
* SECURITY: On Windows, reject checkout paths whose leading component |
| 118 |
is a DOS drive-letter prefix like `C:`. `os.path.join(root, "C:...")` |
| 119 |
discards `root` and writes to the absolute drive path, so a tree entry |
| 120 |
named `C:` could otherwise write arbitrary files outside the work tree. |
| 121 |
(reported by Luke Baton, Jelmer Vernooij) |
| 122 |
|
| 123 |
* SECURITY: Bound zlib decompression of pack entries and loose objects |
| 124 |
against decompression-bomb DoS. ``read_zlib_chunks`` now caps the |
| 125 |
inflated size at the declared ``decomp_len``, and loose-object parsing |
| 126 |
(``ShaFile.from_file``/``from_path``) accepts a ``max_size`` argument |
| 127 |
defaulting to Git's ``core.bigFileThreshold`` (512 MiB). The disk |
| 128 |
object store reads ``core.bigFileThreshold`` from config and enforces |
| 129 |
it on ``_get_loose_object``. |
| 130 |
(reported by Luke Bento, Jelmer Vernooij) |
| 131 |
|
| 132 |
* SECURITY: Reject ``OFS_DELTA`` pack entries whose ``delta_base_offset`` |
| 133 |
is zero. Such an entry references itself, so ``Pack.resolve_object`` |
| 134 |
would loop forever growing its delta stack until the process ran out |
| 135 |
of memory. ``unpack_object`` now raises ``ApplyDeltaError`` at parse |
| 136 |
time, matching git's ``delta offset == 0 is invalid`` guard. |
| 137 |
(reported by Luke Banto, Jelmer Vernooij) |
| 138 |
|
| 139 |
* dulwich.web: Warn at startup that running ``python3 -m dulwich.web`` |
| 140 |
is not meant to provide a production web server. It does not |
| 141 |
support authentication, for example. (Jelmer Vernooij) |
| 142 |
|
| 143 |
* SECURITY: Bound ``Transfer-Encoding: chunked`` request bodies in |
| 144 |
``dulwich.web``. ``_chunk_iter`` now strips chunk extensions, rejects |
| 145 |
negative sizes, and enforces per-chunk and per-request size limits; |
| 146 |
``LimitedInputFilter`` also caps requests that omit ``Content-Length``. |
| 147 |
(Jelmer Vernooij) |
| 148 |
|
| 149 |
1.2.8 2026-07-05 |
| 150 |
|
| 151 |
* Enumerate the objects to push before the HTTP ``git-receive-pack`` |
| 152 |
request body starts streaming. ``generate_pack_data`` previously ran |
| 153 |
lazily inside the body generator, after the header pkt-lines were |
| 154 |
already on the wire, so on large repositories the request stalled |
| 155 |
mid-body while objects were counted and servers such as GitHub aborted |
| 156 |
the push with a timeout / "broken pipe". (synman, Jelmer Vernooij, #2248) |
| 157 |
|
| 158 |
* Support ``http.postBuffer``. (Jelmer Vernooij, #2248) |
| 159 |
|
| 160 |
* SECURITY: Canonicalize file modes to ``0o644``/``0o755`` before ``chmod`` |
| 161 |
on checkout and patch apply, matching git. An untrusted tree entry or |
| 162 |
patch ``new file mode`` could otherwise set setuid/setgid/sticky or |
| 163 |
world-writable bits on a materialized file. (netliomax25-code) |
| 164 |
|
| 165 |
* SECURITY(GHSA-8w8g-wq8h-fq33): Write files through ``build_file_from_blob`` |
| 166 |
in path-restricted ``porcelain.checkout(paths=...)`` instead of a raw |
| 167 |
``os.open``. The old path followed a symlink left at the target, so a |
| 168 |
crafted repository could write attacker content outside the work tree |
| 169 |
(e.g. into ``.git/hooks``) on ``checkout``. (reported by zx (Jace) and |
| 170 |
Houlton McGuinn, Jelmer Vernooij) |
| 171 |
|
| 172 |
* SECURITY(GHSA-5fqc-mrg8-w798): Build the temporary index for |
| 173 |
``filter-branch --index-filter`` in memory instead of materializing tree |
| 174 |
entries into CWD. Persisted entries between commits let a symlink from |
| 175 |
an ancestor commit redirect a descendant's writes outside the work tree. |
| 176 |
(reported by zx (Jace), Jelmer Vernooij) |
| 177 |
|
| 178 |
* SECURITY: Refuse to write a stash entry through an intermediate symlink |
| 179 |
on ``stash.pop``. The old ``os.path.exists`` check followed symlinks, so |
| 180 |
a crafted stash whose parent path was a symlink already present in the |
| 181 |
worktree (e.g. ``link`` -> ``.git/hooks``) let the subsequent write land |
| 182 |
outside the work tree. (reported by zx (Jace), Jelmer Vernooij) |
| 183 |
|
| 184 |
* SECURITY: Refuse path-restricted ``porcelain.checkout``, ``restore`` and |
| 185 |
``reset_file`` writes whose leading directory is an existing symlink, so |
| 186 |
a crafted repository can no longer land ``sub`` as a link to |
| 187 |
``.git/hooks`` and have a write to ``sub/anything`` traverse it. |
| 188 |
(reported by zx (Jace), Jelmer Vernooij) |
| 189 |
|
| 190 |
* SECURITY: Reject non-hex pkt-line length prefixes in the protocol parser. |
| 191 |
``int(sizestr, 16)`` accepted a leading ``-``, whose negative length made |
| 192 |
the following ``read(size - 4)`` slurp the rest of the stream and caused |
| 193 |
``PktLineParser`` to loop without consuming its buffer. |
| 194 |
(Kartik Kenchi, #2267) |
| 195 |
|
| 196 |
* SECURITY: Escape the repository path passed to the remote in the SSH |
| 197 |
client, so a path containing a single quote can no longer close the |
| 198 |
quoting and have the remainder interpreted by the remote shell. |
| 199 |
(netliomax25-code, Kartik Kenchi, #2254) |
| 200 |
|
| 201 |
* SECURITY: Reject an option-like host in ``TCPGitClient`` before invoking |
| 202 |
the ``core.gitProxy`` command, matching the ``SubprocessSSHVendor`` guard, |
| 203 |
so a URL like ``git://-oProxyCommand=...`` can no longer be interpreted |
| 204 |
as a flag by the proxy program. (netliomax25-code, #2240) |
| 205 |
|
| 206 |
* SECURITY: Validate object ids in the object store and refs container. An |
| 207 |
id containing path separators would previously be joined into a filename |
| 208 |
by ``DiskObjectStore._get_shafile_path`` (escaping the objects |
| 209 |
directory) or stored as a ref value. (netliomax25-code, #2256) |
| 210 |
|
| 211 |
* SECURITY: Validate the object id in LFS server request handlers before |
| 212 |
it reaches the store. The store maps ``oid`` onto |
| 213 |
``objects/<oid[:2]>/<oid[2:4]>/<oid>``, so a request path containing |
| 214 |
``..`` could otherwise escape the LFS directory. |
| 215 |
(netliomax25-code, Jelmer Vernooij, #2255) |
| 216 |
|
| 217 |
* SECURITY: Don't expand config ``include``/``includeIf`` directives when |
| 218 |
parsing bundle lists served by an untrusted bundle-uri host, matching |
| 219 |
the handling of ``.gitmodules``. (netliomax25-code, #2243) |
| 220 |
|
| 221 |
* SECURITY: Read the signing key from gpg's ``--status-fd`` (``VALIDSIG``) |
| 222 |
in ``GPGCliSignatureVendor.verify`` instead of the human-readable |
| 223 |
``using RSA key ...`` text on stderr, which could be spoofed by embedding |
| 224 |
a matching line in the signed payload. (netliomax25-code, #2245) |
| 225 |
|
| 226 |
* SECURITY: Raise ``UntrustedSignature`` from ``verify_commit`` and |
| 227 |
``verify_tag`` when ``keyids`` is set and the object carries no |
| 228 |
signature, instead of silently accepting it. (netliomax25-code, #2238) |
| 229 |
|
| 230 |
* SECURITY: Fix quadratic backtracking in ``_find_scissors_line``. The |
| 231 |
perforation regex had two unbounded ``-+`` groups separated only by |
| 232 |
optional subpatterns, so a long dash-only line ran in O(n^2); every line |
| 233 |
of a mailbox is fed through ``mailinfo``/``git am --scissors``, so a |
| 234 |
crafted patch could stall the parser. (netliomax25-code, #2239) |
| 235 |
|
| 236 |
* SECURITY: Collapse consecutive ``*`` wildcards to at most ``**`` in |
| 237 |
``.gitattributes``, ``.gitignore`` and config glob translation, so a |
| 238 |
pattern with a long run of stars can no longer produce adjacent |
| 239 |
unbounded regex quantifiers that backtrack catastrophically (ReDoS). |
| 240 |
(netliomax25-code, #2237) |
| 241 |
|
| 242 |
* SECURITY: Fix quadratic buffering in ``web.ChunkReader.read``. The |
| 243 |
buffered-byte total was recomputed from scratch on each iteration, so a |
| 244 |
large chunked request body ran in O(n^2). (Kartik Kenchi, #2262) |
| 245 |
|
| 246 |
* SECURITY: Skip invalid tree paths (containing ``..``, ``.git``, etc.) in |
| 247 |
``diff_working_tree_to_tree`` instead of joining them onto the work |
| 248 |
tree, matching git. A working-tree diff against an untrusted commit |
| 249 |
could otherwise read a file outside the work tree and disclose its |
| 250 |
contents in the diff output. |
| 251 |
(reported by netliomax25-code, Jelmer Vernooij, #2261) |
| 252 |
|
| 253 |
* SECURITY: Fix quadratic header accumulation in ``ShaFile._parse_message`` |
| 254 |
so parsing an object with many header lines no longer runs in O(n^2). |
| 255 |
(Kartik Kenchi, #2273) |
| 256 |
|
| 257 |
* Replace a symlink left at the target path with a fresh regular file in |
| 258 |
``build_file_from_blob`` instead of writing through it, matching git on |
| 259 |
checkout. (Kartik Kenchi, #2259) |
| 260 |
|
| 261 |
* Raise ``GitProtocolError`` carrying the server's message when the |
| 262 |
fetch/send-pack tail loop sees a fatal side-band channel (``\x03``), |
| 263 |
instead of crashing with ``AssertionError: Invalid sideband channel 3`` |
| 264 |
and swallowing the server's error text. (Jelmer Vernooij) |
| 265 |
|
| 266 |
* Use ``ThreadingHTTPServer`` and advertise HTTP/1.1 in ``lfs_server`` so |
| 267 |
urllib3's keep-alive pool doesn't race a torn-down connection into |
| 268 |
``RemoteDisconnected``. (Jelmer Vernooij) |
| 269 |
|
| 270 |
* Deprecate ``dulwich.objects.filename_to_hex``, which is unused. |
| 271 |
(Jelmer Vernooij) |
| 272 |
|
| 273 |
* Support pyo3 0.29. (Jelmer Vernooij) |
| 274 |
|
| 275 |
1.2.7 2026-06-12 |
| 276 |
|
| 277 |
* Verify that an object retrieved by id actually hashes to the requested |
| 278 |
id, raising ``ChecksumMismatch`` otherwise. (Jelmer Vernooij, #2223) |
| 279 |
|
| 280 |
* Check out files whose names contain a colon or backslash. The NTFS path |
| 281 |
validator rejected any element containing ``:`` or ``\``, so such files |
| 282 |
were silently dropped on clone. It now rejects only the ``.git``/``git~1`` |
| 283 |
alternate-data-stream spellings, like git. (Jelmer Vernooij, #2205) |
| 284 |
|
| 285 |
* Abort the checkout when a tree entry has an invalid path (e.g. a ``.git`` |
| 286 |
alias) instead of silently skipping it. |
| 287 |
(Jelmer Vernooij, #2205) |
| 288 |
|
| 289 |
* Reject pack names containing path separators in the dumb HTTP transport, |
| 290 |
so a malicious server can no longer escape the temporary directory. |
| 291 |
(Jelmer Vernooij, #2213) |
| 292 |
|
| 293 |
* SECURITY: Don't expand config ``include`` directives when parsing |
| 294 |
``.gitmodules``, so a crafted ``.gitmodules`` in a cloned repository can |
| 295 |
no longer make ``clone --recurse-submodules`` read arbitrary files. |
| 296 |
(netliomax25-code) |
| 297 |
|
| 298 |
* SECURITY: Validate ref names before resolving them to a path, so a |
| 299 |
client-supplied name like ``../../secret`` can no longer read a file |
| 300 |
outside the ref store. This closes a traversal via git-upload-archive's |
| 301 |
``argument`` and other lookup paths. |
| 302 |
(reported by netliomax25-code, Jelmer Vernooij, #2212) |
| 303 |
|
| 304 |
* Add ``porcelain.request_pull`` and a ``dulwich request-pull`` command |
| 305 |
that generate a summary of pending changes between repositories, |
| 306 |
suitable for emailing to a maintainer, like ``git request-pull``. |
| 307 |
(Jelmer Vernooij, #1823) |
| 308 |
|
| 309 |
* Add ``porcelain.range_diff`` and a ``dulwich range-diff`` command that |
| 310 |
compare two ranges of commits and show how a patch series evolved, like |
| 311 |
``git range-diff``. Requires the ``munkres`` package, installable via the |
| 312 |
``dulwich[range_diff]`` extra. (Jelmer Vernooij, #1828) |
| 313 |
|
| 314 |
* Fix ``apply_patch`` writing index entries with mode ``0``, which made |
| 315 |
native git abort with ``unsupported ce_mode: 0``. The file mode is now |
| 316 |
derived from the work-tree file. (Jelmer Vernooij, #2218) |
| 317 |
|
| 318 |
* Fix deepening of a local shallow fetch. Re-fetching with a larger |
| 319 |
``depth`` moved the shallow boundary but did not transfer the |
| 320 |
newly-uncovered commits, because the parents provider still used the |
| 321 |
old boundary. (Jelmer Vernooij) |
| 322 |
|
| 323 |
* Fix ``gc``/``repack`` on Windows raising ``PermissionError`` when |
| 324 |
removing read-only pack files (as written by git). The read-only |
| 325 |
attribute is now cleared before unlinking. (Jelmer Vernooij) |
| 326 |
|
| 327 |
* Fix ``repack`` leaking a temporary pack file when the consolidated pack |
| 328 |
was identical to one already on disk. The orphaned file accumulated in |
| 329 |
the pack directory (``prune`` only removes ``tmp_pack_*``) and could |
| 330 |
collide with later pack writes on Windows. (Jelmer Vernooij) |
| 331 |
|
| 332 |
* Fix ``repack`` on Windows raising ``PermissionError`` (``WinError 32``, |
| 333 |
file in use) when removing a pack whose index had been loaded. |
| 334 |
(Jelmer Vernooij) |
| 335 |
|
| 336 |
* Discover packs named ``loose-<hash>.pack`` (as written by ``git |
| 337 |
maintenance run --task=loose-objects``), not just ``pack-<hash>.pack``. |
| 338 |
Objects living only in such a pack were previously invisible, and |
| 339 |
reading them through a multi-pack-index raised ``AssertionError: |
| 340 |
unexpected MIDX pack name``. (Jelmer Vernooij, #2229) |
| 341 |
|
| 342 |
* Dedup packs by content when completing a pack, so repacking a store whose |
| 343 |
objects already live in a pack with a non-``pack-`` name no longer writes |
| 344 |
a duplicate pack. Also remove the temporary pack file when an incoming |
| 345 |
pack is deduplicated, instead of leaking it into the pack directory. |
| 346 |
(Jelmer Vernooij) |
| 347 |
|
| 348 |
* Serve packs with non-``pack-`` names (e.g. ``loose-<hash>``) and SHA-256 |
| 349 |
packs over the dumb HTTP transport, which previously advertised them in |
| 350 |
``objects/info/packs`` but returned 404 for the pack itself. |
| 351 |
(Jelmer Vernooij) |
| 352 |
|
| 353 |
1.2.6 2026-05-31 |
| 354 |
|
| 355 |
* SECURITY: Honor ``core.protectNTFS``/``core.protectHFS`` on all |
| 356 |
work-tree updates. The 1.2.5 path hardening (CVE-2026-42305) only |
| 357 |
reached ``checkout`` and ``reset``; ``update_working_tree`` (used by |
| 358 |
``merge``, ``pull`` and others) fell back to the default validator, so |
| 359 |
a crafted branch could still check out an NTFS-unsafe name such as |
| 360 |
``git~2`` even with ``core.protectNTFS=true``. |
| 361 |
(Jelmer Vernooij; reported by donovan-jasper) |
| 362 |
|
| 363 |
* SECURITY: Reject patch target paths that escape the work tree in |
| 364 |
``apply_patches``. Patch headers are untrusted (e.g. ``git am`` of a |
| 365 |
mailbox), so a ``+++``/rename path such as ``../../etc/cron.d/x`` or an |
| 366 |
absolute path was joined onto the repo path and written outside the |
| 367 |
working tree. Such paths are now refused. |
| 368 |
(netliomax25-code) |
| 369 |
|
| 370 |
* ``porcelain``: Validate caller-supplied paths in ``checkout``, |
| 371 |
``restore`` and ``reset_file`` before writing, as defense in depth, so a |
| 372 |
``.git`` or ``..`` component (including NTFS/HFS ``.git`` aliases) cannot |
| 373 |
escape the work tree or write into the control directory. |
| 374 |
(Jelmer Vernooij) |
| 375 |
|
| 376 |
* Remove the ``force_remove_untracked`` argument from |
| 377 |
``index.update_working_tree``. It had been a no-op since the function |
| 378 |
was rewritten to apply changes from a diff iterator, and removing |
| 379 |
untracked files is not part of ``reset --hard`` semantics. |
| 380 |
(Jelmer Vernooij) |
| 381 |
|
| 382 |
1.2.5 2026-05-28 |
| 383 |
|
| 384 |
* SECURITY(GHSA-gfhv-vqv2-4544): Validate submodule paths in |
| 385 |
``porcelain.submodule_update`` (and thus |
| 386 |
``porcelain.clone(recurse_submodules=True)``). A crafted upstream |
| 387 |
repository could carry a submodule whose path was ``.git/hooks`` (or |
| 388 |
any other path inside ``.git`` or above the work tree), causing the |
| 389 |
submodule's tree contents to be written there with their executable |
| 390 |
bits intact -- dropping a hook that later commands would run. Submodule |
| 391 |
paths are now rejected if they are absolute or carry a component that |
| 392 |
the configured path validator refuses, and the submodule's own tree is |
| 393 |
materialized with the same validator. This is the dulwich analogue of git's |
| 394 |
CVE-2024-32002 / CVE-2024-32004. |
| 395 |
(Jelmer Vernooij; reported by tonghuaroot) |
| 396 |
|
| 397 |
* SECURITY(CVE-2026-42305): Harden tree path validation against entry |
| 398 |
names that are harmless on POSIX but dangerous when checked out on |
| 399 |
Windows. A crafted tree could previously carry such names through to |
| 400 |
the work tree. ``validate_path_element_ntfs`` now also rejects: |
| 401 |
|
| 402 |
- Windows path separators, so an entry named |
| 403 |
``.git\hooks\pre-commit.exe`` can no longer materialize a file |
| 404 |
inside ``.git`` that Git for Windows would execute. |
| 405 |
- The alternate data stream marker ``:`` (e.g. |
| 406 |
``.git::$INDEX_ALLOCATION``, which writes into ``.git`` directly). |
| 407 |
- NTFS 8.3 short-name aliases of ``.git`` (``git~<digits>``); only |
| 408 |
``git~1`` was rejected before. |
| 409 |
- Reserved Windows device names (``CON``, ``PRN``, ``AUX``, ``NUL``, |
| 410 |
``COM1``-``COM9``, ``LPT1``-``LPT9``), including with an extension or |
| 411 |
trailing dots/spaces such as ``NUL.txt`` or ``COM1 .bar``. |
| 412 |
|
| 413 |
In addition, ``core.protectNTFS`` now defaults to true on every |
| 414 |
platform (matching git after CVE-2019-1353), so a POSIX clone no longer |
| 415 |
accepts paths that would be unsafe on a later Windows clone, and both |
| 416 |
``core.protectNTFS`` and ``core.protectHFS`` are now read under their |
| 417 |
correct option names, having previously been silently ignored. POSIX |
| 418 |
users who need literal NTFS-unsafe filenames can opt out with |
| 419 |
``core.protectNTFS=false``. |
| 420 |
(Jelmer Vernooij; reported by Christopher Toth) |
| 421 |
|
| 422 |
* SECURITY (CVE-2026-42563): Shell-quote values substituted into |
| 423 |
``ProcessMergeDriver`` commands. ``%P`` is a path from the git |
| 424 |
tree, so a malicious branch could inject shell commands when the |
| 425 |
user had a merge driver configured that referenced ``%P``. |
| 426 |
(Jelmer Vernooij; reported by Ravishanker Kusuma (hayageek)) |
| 427 |
|
| 428 |
* SECURITY(CVE-2026-47712): Sanitize commit subjects used in |
| 429 |
``porcelain.format_patch`` filenames so a malicious subject (e.g. |
| 430 |
``x/../../x``) cannot direct the generated patch outside ``outdir``. |
| 431 |
``get_summary`` now matches git's ``format_sanitized_subject``. |
| 432 |
(Jelmer Vernooij; reported by Christopher Toth) |
| 433 |
|
| 434 |
* SECURITY: Honour ``receive.maxInputSize`` in |
| 435 |
``ReceivePackHandler``. Previously a remote unauthenticated client |
| 436 |
could send a tiny crafted pack (~174 bytes) that declared a huge |
| 437 |
``dest_size`` in its delta header and trigger hundreds of MB of |
| 438 |
allocation in ``apply_delta`` / ``add_thin_pack``, exhausting |
| 439 |
server memory over ``git-receive-pack``. ``add_thin_pack`` now |
| 440 |
accepts a ``max_input_size`` keyword (in bytes, ``0`` / ``None`` = |
| 441 |
unlimited, matching git's semantics) and ``ReceivePackHandler`` |
| 442 |
reads ``receive.maxInputSize`` from the repository config and |
| 443 |
passes it through. Exceeding the cap raises ``PackInputTooLarge``. |
| 444 |
(Jelmer Vernooij; Reported by Liyi, Ziyue, Strick, Maurice and Chenchen @ University of Sydney) |
| 445 |
|
| 446 |
1.2.4 2026-05-21 |
| 447 |
|
| 448 |
* Tolerate ref names with empty path components (e.g. ``refs/tags//v1.0``) |
| 449 |
for now, emitting a ``DeprecationWarning`` rather than raising a |
| 450 |
``RefFormatError``. Such names are constructed by older Poetry releases |
| 451 |
(fixed in Poetry 2.4.0) and were silently accepted before Dulwich 1.2.3. |
| 452 |
``local_branch_name``, ``local_tag_name`` and ``local_replace_name`` |
| 453 |
likewise warn about, and strip, a leading slash instead of raising |
| 454 |
``ValueError``. Both will become errors again in a future release. |
| 455 |
(Jelmer Vernooij, #2192) |
| 456 |
|
| 457 |
1.2.3 2026-05-20 |
| 458 |
|
| 459 |
* Raise ``GitProtocolError`` when a protocol v2 ref advertisement |
| 460 |
contains an ``ERR`` line, aligning v2 error handling with v1. |
| 461 |
(Antoine Lambert) |
| 462 |
|
| 463 |
* Return ``Self`` from ``__enter__`` on context managers across the |
| 464 |
API, so subclasses get the correct type. (Stephen Finucane) |
| 465 |
|
| 466 |
* Match C git's ``xutftowcsn`` fallback when a tree path is not valid |
| 467 |
UTF-8 on Windows, and let ``UnicodeDecodeError`` propagate from |
| 468 |
``_fs_to_tree_path`` rather than being swallowed. (Jelmer Vernooij) |
| 469 |
|
| 470 |
* Thread ``object_format`` through ``PackInflater`` / |
| 471 |
``DeltaChainIterator`` and ``ShaFile.from_raw_chunks`` so trees in |
| 472 |
SHA-256 repositories are parsed with the correct OID length. |
| 473 |
(Jelmer Vernooij) |
| 474 |
|
| 475 |
* Extend the per-test ``OSError`` handlers in the three non-UTF8 filename |
| 476 |
tests (``test_index.test_no_decode_encode``, ``test_refs.test_cyrillic``, |
| 477 |
``test_repository.test_commit_no_encode_decode``) to also skip on |
| 478 |
``errno.EILSEQ``, so they pass on Linux filesystems that reject |
| 479 |
non-UTF-8 names (e.g. OpenZFS with ``utf8only=on``). (Matt Van Horn, #2174) |
| 480 |
|
| 481 |
* HARDEN: Reject ref names with empty path components (e.g. ``refs//a``) |
| 482 |
or with ``.lock`` as a non-final component (e.g. ``refs/a.lock/a``) |
| 483 |
in ``check_ref_format``, matching ``git check-ref-format``. |
| 484 |
(Jelmer Vernooij; reported by Christopher Toth) |
| 485 |
|
| 486 |
* HARDEN: Reject unsafe tree paths in ``dulwich.archive.tar_stream`` |
| 487 |
(e.g. ``../evil``, ``.git/...``, embedded ``\`` or ``:``) instead of |
| 488 |
emitting them as tar member names. Reported by Christopher Toth. |
| 489 |
(Jelmer Vernooij) |
| 490 |
|
| 491 |
* Honour ``GIT_CONFIG_COUNT`` / ``GIT_CONFIG_KEY_<n>`` / |
| 492 |
``GIT_CONFIG_VALUE_<n>`` in porcelain entry points, via the new |
| 493 |
opt-in ``config.env_config`` helper. (Jelmer Vernooij, #2168) |
| 494 |
|
| 495 |
* Reject delta-resolved commit/tree/tag objects with a |
| 496 |
zero-byte payload in ``DeltaChainIterator``, and turn a delta |
| 497 |
truncated mid-size-header into a typed ``ApplyDeltaError``. |
| 498 |
(Jelmer Vernooij; reported by Christopher Toth) |
| 499 |
|
| 500 |
* Verify the trailing pack checksum in |
| 501 |
``MemoryObjectStore.add_pack`` so a non-thin fetch into a |
| 502 |
``MemoryRepo`` no longer accepts a pack with a truncated trailer. |
| 503 |
(Jelmer Vernooij; reported by Christopher Toth) |
| 504 |
|
| 505 |
* Inflate every object in ``DiskObjectStore._complete_pack`` |
| 506 |
so malformed trees (and other payloads ``MemoryObjectStore`` and |
| 507 |
``git fsck`` reject) no longer silently land on disk. |
| 508 |
(Jelmer Vernooij; reported by Christopher Toth) |
| 509 |
|
| 510 |
1.2.2 2026-05-19 |
| 511 |
|
| 512 |
* Normalise hex SHAs to binary in ``DiskObjectStore.contains_packed`` |
| 513 |
before consulting the multi-pack-index, mirroring what ``get_raw`` |
| 514 |
already did. Previously, passing a 40-character hex SHA (as |
| 515 |
``BaseRepo.__contains__`` does when a hex object id is looked up) |
| 516 |
raised ``ValueError: SHA size mismatch`` once a ``multi-pack-index`` |
| 517 |
file was present in the repository. (Jelmer Vernooij, #2178) |
| 518 |
|
| 519 |
* Drain the ``Walker`` PQ fully into an output buffer before yielding |
| 520 |
when excludes are present, mirroring git's ``limit_list`` / |
| 521 |
``get_revision_1`` two-phase model. Previously, an exclude seed with |
| 522 |
an older ``commit_time`` than its ancestors (e.g. from rebase or |
| 523 |
auto-stash clock skew) could yield reachable commits before |
| 524 |
``_exclude_parents`` had a chance to mark them. (Jelmer Vernooij, #2176) |
| 525 |
|
| 526 |
* Match Git for Windows' ``xutftowcsn`` byte-mapping when checking |
| 527 |
out tree paths that are not valid UTF-8 on Windows. |
| 528 |
(Jelmer Vernooij) |
| 529 |
|
| 530 |
* Escape ``"`` and ``\`` in subsection names when writing config |
| 531 |
files, and unescape them when parsing. Previously a subsection |
| 532 |
name containing either character was emitted verbatim, producing |
| 533 |
a corrupt header that re-parsed as the wrong subsection. Newline |
| 534 |
and NUL in subsection names, which git rejects, now raise |
| 535 |
``ValueError``. (Jelmer Vernooij) |
| 536 |
|
| 537 |
* Key ``_pack_cache`` consistently by bare pack hash in |
| 538 |
``DiskObjectStore._get_pack_by_name`` and ``_remove_pack``, finishing |
| 539 |
the migration started by commit d86353e4. The previous mismatch |
| 540 |
produced duplicate Pack entries for the same file and could surface |
| 541 |
as ``KeyError`` from ``get_raw`` after an external repack. |
| 542 |
(Jelmer Vernooij) |
| 543 |
|
| 544 |
1.2.1 2026-04-29 |
| 545 |
|
| 546 |
* Recover from concurrent pack removals (e.g. a racing ``git repack`` or |
| 547 |
``git gc --auto``) instead of raising spurious ``KeyError`` / |
| 548 |
``FileNotFoundError``. ``Pack.index`` and ``Pack.data`` now translate |
| 549 |
``FileNotFoundError`` during lazy load into ``PackFileDisappeared``, |
| 550 |
and ``PackBasedObjectStore`` evicts the stale pack and rescans the |
| 551 |
pack directory before retrying — equivalent to git's |
| 552 |
``reprepare_packed_git()``. (Jelmer Vernooij, #2159) |
| 553 |
|
| 554 |
* Derive the LFS endpoint as the remote's on-disk LFS store |
| 555 |
(``<remote>/.git/lfs`` for worktrees, ``<remote>/lfs`` for bare repos) |
| 556 |
when ``remote.origin.url`` points at a local filesystem path or |
| 557 |
``file://`` URL, matching git-lfs behaviour. Previously the built-in |
| 558 |
smudge filter constructed an HTTP-style ``<remote>.git/info/lfs`` path |
| 559 |
that did not exist on disk, leaving LFS-tracked files as pointers when |
| 560 |
cloning from a local repo. (Jelmer Vernooij) |
| 561 |
|
| 562 |
* Deduplicate objects when writing a multi-pack-index. Objects present |
| 563 |
in multiple packs (e.g. after ``git gc`` creates a cruft pack) would |
| 564 |
otherwise produce an OIDL chunk with repeated SHAs, causing ``git |
| 565 |
multi-pack-index verify`` to fail with "oid lookup out of order". |
| 566 |
(Jelmer Vernooij, #2152) |
| 567 |
|
| 568 |
* Extend ignorecase and precomposeunicode support to index lookups. |
| 569 |
(Jelmer Vernooij, #1807) |
| 570 |
|
| 571 |
1.2.0 2026-04-21 |
| 572 |
|
| 573 |
* Respect the ``GIT_PROTOCOL`` environment variable when choosing the |
| 574 |
default Git wire protocol version to send. Colon-separated |
| 575 |
``version=N`` entries are parsed and applied when no explicit |
| 576 |
``protocol_version`` is passed. (#1862) |
| 577 |
|
| 578 |
* Expand ``log`` command options: add ``--oneline``, ``--abbrev-commit``, |
| 579 |
``--author``, ``--committer``, ``--grep``, ``--since``/``--after``, |
| 580 |
``--until``/``--before``, ``-n``/``--max-count``, ``--no-merges``, |
| 581 |
``--merges``, ``--stat``, ``-p``/``--patch``, ``--name-only``, |
| 582 |
and ``--follow``. (Jelmer Vernooij, #1779) |
| 583 |
|
| 584 |
* Add ``am`` command and ``porcelain.am()`` for applying mailbox-style |
| 585 |
email patches (``git am``), with state persistence for |
| 586 |
``--continue``, ``--skip``, ``--abort``, and ``--quit`` recovery |
| 587 |
operations. (Jelmer Vernooij, #1692) |
| 588 |
|
| 589 |
* Add support for ``extensions.relativeworktrees`` repository extension, |
| 590 |
allowing Git worktrees to use relative paths instead of absolute paths |
| 591 |
when linking worktrees. (Jelmer Vernooij, #2112) |
| 592 |
|
| 593 |
* Add support for push options (``-o``/``--push-option``) in the ``push`` |
| 594 |
command and ``porcelain.push()``, enabling AGit flow and other server-side |
| 595 |
push option workflows. (Jelmer Vernooij) |
| 596 |
|
| 597 |
* Add missing push options: ``--all``, ``--tags``, ``--delete``, |
| 598 |
``--dry-run``, ``--prune``, ``--set-upstream``, ``--follow-tags``, |
| 599 |
and ``--mirror``. (Jelmer Vernooij, #1844) |
| 600 |
|
| 601 |
* Add support for atomic push operations (``--atomic``). When enabled, |
| 602 |
either all ref updates succeed or none are applied. Both client and |
| 603 |
server now negotiate the ``atomic`` capability. |
| 604 |
(Jelmer Vernooij, #1781) |
| 605 |
|
| 606 |
* Add ``apply`` command and ``porcelain.apply_patch()`` for applying |
| 607 |
unified diffs, including support for rename/copy detection, binary patches |
| 608 |
with Git's base85 encoding, and ``--3way`` merge fallback when patches |
| 609 |
don't apply cleanly. (Jelmer Vernooij, #1784) |
| 610 |
|
| 611 |
* Add support for ``gc.pruneExpire`` configuration option, which controls |
| 612 |
the grace period before unreachable objects are pruned during garbage |
| 613 |
collection. (Jelmer Vernooij, #1859) |
| 614 |
|
| 615 |
* Add support for ``core.precomposeunicode`` configuration option |
| 616 |
for normalizing NFD Unicode paths from macOS filesystems to NFC |
| 617 |
form. (Jelmer Vernooij, #1804) |
| 618 |
|
| 619 |
* Extend ``core.ignorecase`` and ``core.precomposeunicode`` support to |
| 620 |
index lookups: when either is enabled, ``porcelain.add`` and |
| 621 |
``porcelain.rm`` match existing index entries whose case or Unicode |
| 622 |
form differs from the supplied path, matching Git's behavior and |
| 623 |
preventing duplicate entries. (Jelmer Vernooij, #1807) |
| 624 |
|
| 625 |
* Add support for ``core.gitProxy`` configuration option, which |
| 626 |
specifies a proxy command for Git protocol (``git://``) connections. |
| 627 |
(Jelmer Vernooij, #1850) |
| 628 |
|
| 629 |
* Add support for ``core.maxStat`` configuration option, which limits |
| 630 |
the number of stat operations performed when checking for unstaged |
| 631 |
changes. This improves performance on slow filesystems or very large |
| 632 |
repositories. (Jelmer Vernooij, #1853) |
| 633 |
|
| 634 |
* Add support for ``core.packedGitLimit`` configuration option, which |
| 635 |
limits the total memory used for mmapped pack files. When exceeded, |
| 636 |
least-recently-used packs are closed to free memory. |
| 637 |
(Jelmer Vernooij, #1848) |
| 638 |
|
| 639 |
* Add support for ``core.deltaBaseCacheLimit`` configuration option, which |
| 640 |
limits the memory used for caching delta base objects during pack |
| 641 |
unpacking. Defaults to 96 MiB, matching Git's default. |
| 642 |
(Jelmer Vernooij, #1849) |
| 643 |
|
| 644 |
* Fix GPG signature verification to raise ``BadSignature`` for all |
| 645 |
GPG errors, not just ``BadSignatures``. Also detect the case where |
| 646 |
GPG returns no signatures at all. (Jelmer Vernooij) |
| 647 |
|
| 648 |
* Fix client incorrectly sending ``unborn`` argument in Git protocol v2 |
| 649 |
``ls-refs`` requests to servers that advertise ``ls-refs`` capability |
| 650 |
without explicitly advertising ``ls-refs=unborn`` support, preventing |
| 651 |
clones from older servers like Gerrit 3.12.2. (Jelmer Vernooij, #2104) |
| 652 |
|
| 653 |
* Improve error message in ``read_info_refs()`` to show the actual line |
| 654 |
content when parsing fails, making it easier to diagnose issues with |
| 655 |
malformed server responses. (Jelmer Vernooij, #2103) |
| 656 |
|
| 657 |
* HTTP client respects ``http.userAgent`` configuration for customizing the |
| 658 |
User-Agent header. Supports both global and URL-specific settings. The |
| 659 |
default User-Agent is ``git/dulwich/{version}``. (Jelmer Vernooij) |
| 660 |
|
| 661 |
* Preserve quoted trailing whitespace in config values. Previously, spaces |
| 662 |
and tabs inside quoted config values were discarded during parsing. |
| 663 |
(Christopher Toth, #2145) |
| 664 |
|
| 665 |
* Fix ``.gitignore`` parent re-include handling so that a later ``!dir/`` |
| 666 |
re-include allows a subsequent file-level negation to take effect. |
| 667 |
(N0zoM1z0, #2141) |
| 668 |
|
| 669 |
* No longer ship ``contrib/`` as part of the distribution. The ``contrib/`` |
| 670 |
directory has always been documented as unsupported and is now excluded |
| 671 |
from the installed package. (Jelmer Vernooij, #2122) |
| 672 |
|
| 673 |
* Fix host key verification in ``contrib/paramiko_vendor.py`` by loading |
| 674 |
known hosts and rejecting unknown SSH host keys by default. |
| 675 |
(quart27219, #2123) |
| 676 |
|
| 677 |
1.1.0 2026-02-17 |
| 678 |
|
| 679 |
* Add support for ``core.commentChar`` configuration option in commit message |
| 680 |
templates. (Jelmer Vernooij, #1852) |
| 681 |
|
| 682 |
* Add basic support for subtrees. (Jelmer Vernooij) |
| 683 |
|
| 684 |
* Implement server-side Git hooks (pre-receive, update, post-receive) in |
| 685 |
``ReceivePackHandler``. Pre-receive hooks can abort entire pushes, update |
| 686 |
hooks can decline individual ref updates, and post-receive hooks run after |
| 687 |
successful pushes. Hook output is sent to clients via sideband channels. |
| 688 |
(Jelmer Vernooij, #212) |
| 689 |
|
| 690 |
* Report progress during pack file downloads. Dulwich now displays real-time |
| 691 |
transfer progress (bytes received, transfer speed) when cloning or fetching |
| 692 |
repositories, matching Git's behavior. (Jelmer Vernooij, #1121) |
| 693 |
|
| 694 |
* Add client-side support for Git protocol v2 ``packfile-uris`` capability, |
| 695 |
allowing servers to offload packfile distribution to CDNs or external |
| 696 |
storage. Includes hash verification before writing to repository to prevent |
| 697 |
data corruption. (Jelmer Vernooij, #1794) |
| 698 |
|
| 699 |
* Add bundle URI support for faster clones and fetches. The new |
| 700 |
``dulwich.bundle_uri`` module implements the Git bundle URI specification, |
| 701 |
allowing clients to download pre-computed bundles from HTTP(S) URLs to |
| 702 |
bootstrap repository data before fetching remaining objects. |
| 703 |
(Jelmer Vernooij) |
| 704 |
|
| 705 |
* Add ``--unshallow`` support to ``fetch`` command, allowing conversion of |
| 706 |
shallow repositories to complete ones by fetching all missing history. |
| 707 |
(Jelmer Vernooij, #1800) |
| 708 |
|
| 709 |
* Support ``GIT_TRACE_PACKET`` in ``dulwich.cli``. |
| 710 |
(Jelmer Vernooij) |
| 711 |
|
| 712 |
* Fix ``porcelain.checkout`` incorrectly skipping files whose paths start |
| 713 |
with ``.git`` (such as ``.github/``, ``.gitignore``, ``.gitattributes``) |
| 714 |
during working tree and index updates, leaving staged changes after a |
| 715 |
clean checkout. (Jelmer Vernooij) |
| 716 |
|
| 717 |
* Fix cloning of SHA-256 repositories by including ``object-format`` and |
| 718 |
``agent`` capabilities in Git protocol v2 ``ls-refs`` and ``fetch`` |
| 719 |
commands. (Jelmer Vernooij) |
| 720 |
|
| 721 |
1.0.0 2026-01-17 |
| 722 |
|
| 723 |
* Release of 1.0! |
| 724 |
|
| 725 |
From here on, Dulwich will not break backwards compatibility until 2.0 - |
| 726 |
although we may print ``DeprecationWarning`` when using deprecated |
| 727 |
functionality. |
| 728 |
|
| 729 |
Micro releases (1.x.y) will be reserved for important bugfixes. |
| 730 |
|
| 731 |
Major releases (1.x.0) will introduced new features and functionality, |
| 732 |
without breaking backwards compatibility. |
| 733 |
|
| 734 |
(Jelmer Vernooij, #2007) |
| 735 |
|
| 736 |
0.25.2 2026-01-11 |
| 737 |
|
| 738 |
* Fix test failure when GPG raises ``InvalidSigners`` instead of |
| 739 |
``GPGMEError`` on systems without usable secret keys. (#2063) |
| 740 |
|
| 741 |
* Object store ``close()`` methods can now be called multiple times safely. |
| 742 |
Object stores now raise ``ResourceWarning`` when destroyed with unclosed |
| 743 |
resources. (Jelmer Vernooij) |
| 744 |
|
| 745 |
0.25.1 2026-01-08 |
| 746 |
|
| 747 |
* Add signature vendor system for signing and verifying Git objects. |
| 748 |
Supports GPG, SSH signatures, and X.509 certificates. (Jelmer Vernooij) |
| 749 |
|
| 750 |
* Add support for partial clone with object filtering. (Jelmer Vernooij) |
| 751 |
|
| 752 |
* Fix sparse pattern matching in worktree operations. (Jelmer Vernooij) |
| 753 |
|
| 754 |
* ``dulwich.porcelain.status`` now returns regular strings. |
| 755 |
(Jelmer Vernooij, #889) |
| 756 |
|
| 757 |
* Fix AssertionError when accessing ref names with length matching binary |
| 758 |
hash length (e.g., 32 bytes for SHA-256). (Jelmer Vernooij, #2040) |
| 759 |
|
| 760 |
* Fix commit graph parsing failure when processing commits with 3+ parents |
| 761 |
(octopus merges) with incomplete EXTRA_EDGE_LIST chunk data. |
| 762 |
(Jelmer Vernooij, #2054) |
| 763 |
|
| 764 |
* Add ``parse_commit_broken`` function to parse broken commits. |
| 765 |
(Valentin Lorentz, Jelmer Vernooij) |
| 766 |
|
| 767 |
* Add basic ``dulwich.aiohttp`` module that provides |
| 768 |
server support. (Jelmer Vernooij) |
| 769 |
|
| 770 |
* Add callback-based authentication support for HTTP and proxy authentication |
| 771 |
in ``Urllib3HttpGitClient``. This allows applications to handle |
| 772 |
authentication dynamically without intercepting exceptions. Callbacks |
| 773 |
receive the authentication scheme information (via WWW-Authenticate or |
| 774 |
Proxy-Authenticate headers) and can provide credentials or cancel. |
| 775 |
(Jelmer Vernooij, #822) |
| 776 |
|
| 777 |
0.25.0 2025-12-17 |
| 778 |
|
| 779 |
**PLEASE NOTE**: This release makes quite a lot of changes to public APIs. This |
| 780 |
is ahead of a 1.0 release, after which API changes will be kept backwards |
| 781 |
compatible. |
| 782 |
|
| 783 |
* Split out worktree module from porcelain into separate ``dulwich.worktree`` |
| 784 |
module for better code organization. (Jelmer Vernooij, #2037) |
| 785 |
|
| 786 |
* Split porcelain module into separate submodules: ``dulwich.porcelain.tags``, |
| 787 |
``dulwich.porcelain.notes``, ``dulwich.porcelain.submodule``, and |
| 788 |
``dulwich.porcelain.lfs``. Main porcelain module re-exports all functions |
| 789 |
for backward compatibility. (Jelmer Vernooij, #2032) |
| 790 |
|
| 791 |
* Ensure ``dulwich.porcelain`` package is properly installed as a directory |
| 792 |
structure with submodules. (Jelmer Vernooij, #2035) |
| 793 |
|
| 794 |
* Add tests for consistent license preamble across codebase and prevent |
| 795 |
``os.environ`` usage in lower layers. (Jelmer Vernooij, #2033) |
| 796 |
|
| 797 |
* Add ``__all__`` exports to all modules for better API clarity and wildcard |
| 798 |
import support. (Jelmer Vernooij, #2022) |
| 799 |
|
| 800 |
* Fix ParamikoSSHVendor interface compatibility with SSHVendor. (Jelmer Vernooij, #2028) |
| 801 |
|
| 802 |
* Add fallback when HEAD is missing in dumb HTTP protocol, improving |
| 803 |
compatibility with repositories that don't have a HEAD reference. |
| 804 |
(Antoine Lambert, #2030) |
| 805 |
|
| 806 |
* Fix smudge filter subprocess fallback for special characters in path. |
| 807 |
(Petr Chmelar, #1878) |
| 808 |
|
| 809 |
* Fix UTF-8 decode error in process filter protocol when handling binary files. |
| 810 |
(Jelmer Vernooij, #2023) |
| 811 |
|
| 812 |
* Fix ``porcelain.add()`` to correctly handle ``None`` values in pathspec |
| 813 |
parameter. (Jelmer Vernooij, #2027) |
| 814 |
|
| 815 |
* Add ``--stat`` argument to ``dulwich diff`` command to display diffstat |
| 816 |
summary showing files changed and line additions/deletions. (Jelmer Vernooij, #2026) |
| 817 |
|
| 818 |
* Avoid signing commits in ``porcelain.stash()`` operations to prevent |
| 819 |
GPG prompt interruptions during automated stashing. (Jelmer Vernooij, #2012) |
| 820 |
|
| 821 |
* Improve error handling when trying to remove non-empty directories during |
| 822 |
worktree operations. (Jelmer Vernooij, #2004) |
| 823 |
|
| 824 |
* Move greenthreads support to dulwich/contrib. |
| 825 |
This code isn't really developed and only used |
| 826 |
by the swift support. |
| 827 |
(Jelmer Vernooij) |
| 828 |
|
| 829 |
* Move protocol-level peeled tags functions (``serialize_refs()``, |
| 830 |
``write_info_refs()``, ``split_peeled_refs()``, ``strip_peeled_refs()``) |
| 831 |
from ``dulwich.refs`` to ``dulwich.protocol``. The ``^{}`` peeled tags syntax |
| 832 |
is now properly isolated to protocol-level code. Remove ``InfoRefsContainer`` |
| 833 |
class (functionality inlined into ``SwiftInfoRefsContainer``). |
| 834 |
(Jelmer Vernooij, #2009) |
| 835 |
|
| 836 |
* Fix ``get_unstaged_changes()`` to correctly pass Blob objects to filter |
| 837 |
callbacks instead of raw bytes. This fixes crashes when using ``.gitattributes`` |
| 838 |
files with filter callbacks like ``checkin_normalize``. |
| 839 |
(Jelmer Vernooij, #2010) |
| 840 |
|
| 841 |
* The ``ObjectID`` and ``Ref`` types are now newtypes, making it harder to |
| 842 |
accidentally pass the wrong type - as notified by mypy. Most of this is in |
| 843 |
lower-level code. (Jelmer Vernooij) |
| 844 |
|
| 845 |
* Implement support for ``core.sharedRepository`` configuration option. |
| 846 |
Repository files and directories now respect shared repository permissions |
| 847 |
for group-writable or world-writable repositories. Affects loose objects, |
| 848 |
pack files, pack indexes, index files, and other git metadata files. |
| 849 |
(Jelmer Vernooij, #1804) |
| 850 |
|
| 851 |
* Optimize status performance by using stat matching to skip reading |
| 852 |
and filtering unchanged files. This provides significant performance |
| 853 |
improvements for repositories with LFS filters, where filter operations can |
| 854 |
be very expensive. The optimization matches Git's behavior of using mtime |
| 855 |
and size comparisons to determine if files need processing. File entries |
| 856 |
now use nanosecond-resolution timestamps for more accurate change detection. |
| 857 |
(Jelmer Vernooij, #1999, #2013) |
| 858 |
|
| 859 |
* Add support for multi-pack index (MIDX) files for improved performance with |
| 860 |
multiple pack files. Supports reading and writing MIDX files, including mmap |
| 861 |
support for efficient loading. Enables faster object lookups across multiple |
| 862 |
packs. (Jelmer Vernooij, #1998) |
| 863 |
|
| 864 |
* Implement ``git restore`` and ``git switch`` commands with corresponding |
| 865 |
porcelain functions. The ``restore`` command allows restoring files from |
| 866 |
commits or the index, while ``switch`` provides branch switching functionality. |
| 867 |
(Jelmer Vernooij, #2003) |
| 868 |
|
| 869 |
* Add support for ``core.protectHFS`` configuration option to protect against |
| 870 |
HFS+ filesystem vulnerabilities. (Jelmer Vernooij) |
| 871 |
|
| 872 |
* Skip tests that require the merge3 module when it is not available, improving |
| 873 |
test compatibility across different Python environments. (Jelmer Vernooij, #2002) |
| 874 |
|
| 875 |
* Drop support for Python 3.9. (Jelmer Vernooij) |
| 876 |
|
| 877 |
* Add support for pack bitmap indexes for fast reachability queries. |
| 878 |
(Jelmer Vernooij, #1792) |
| 879 |
|
| 880 |
* Add support for ``git rerere`` (reuse recorded resolution) with CLI |
| 881 |
subcommands and porcelain functions. Supports ``rerere.enabled`` and |
| 882 |
``rerere.autoupdate`` configuration. (Jelmer Vernooij, #1786) |
| 883 |
|
| 884 |
* Add support for ``git mailinfo`` command to extract patch information from |
| 885 |
email messages. Implements ``dulwich mailinfo`` CLI command, |
| 886 |
``porcelain.mailinfo()``, and ``patch.mailinfo()`` with support for subject |
| 887 |
munging, -k/-b flags, --scissors, --encoding, and --message-id options. |
| 888 |
(Jelmer Vernooij, #1839) |
| 889 |
|
| 890 |
* Add support for column formatting. (Jelmer Vernooij, #1837) |
| 891 |
|
| 892 |
* Add ``dulwich diagnose`` command to display diagnostic information about |
| 893 |
the Python environment including Python version, PYTHONPATH, sys.path, |
| 894 |
Dulwich version, and installed dependencies with their versions. |
| 895 |
(Jelmer Vernooij, #1835) |
| 896 |
|
| 897 |
* Add support for SHA256 repositories. Dulwich can now read and write Git |
| 898 |
repositories using SHA256 object format. This includes support for loose |
| 899 |
objects, pack files (v1 and v2 indexes), tree parsing with SHA256 hashes, |
| 900 |
pack bitmap indexes, commit graphs, and network protocol operations |
| 901 |
(clone, fetch, push). The Rust extensions have been updated to support |
| 902 |
variable hash lengths. SHA256 repositories require format version 1 and the |
| 903 |
objectFormat extension. The ``dulwich init`` command now supports |
| 904 |
``--objectformat`` option to create SHA256 repositories. Client and server |
| 905 |
implementations advertise and negotiate object-format capabilities. |
| 906 |
(Jelmer Vernooij, #1115, #1604) |
| 907 |
|
| 908 |
0.24.10 2025-11-10 |
| 909 |
|
| 910 |
* Fix compatibility with python 3.9. (Jelmer Vernooij, #1991) |
| 911 |
|
| 912 |
0.24.9 2025-11-10 |
| 913 |
|
| 914 |
* Fix passing key_filename and ssh_command parameters to SSHGitClient. |
| 915 |
(Saugat Pachhai) |
| 916 |
|
| 917 |
* Relax check to support subclasses of Urllib3HttpGitClient. Fixes |
| 918 |
regression from 0.24.2 where subclasses of Urllib3HttpGitClient would |
| 919 |
not receive the config object. (Saugat Pachhai) |
| 920 |
|
| 921 |
* Fix test_concurrent_ref_operations_compatibility test flakiness. |
| 922 |
(Jelmer Vernooij) |
| 923 |
|
| 924 |
* Fix warnings in test suite. (Jelmer Vernooij) |
| 925 |
|
| 926 |
0.24.8 2025-10-29 |
| 927 |
|
| 928 |
* Add Rust implementation of pack delta creation (create_delta). The |
| 929 |
implementation uses the similar crate for efficient diff computation. |
| 930 |
(Jelmer Vernooij) |
| 931 |
|
| 932 |
* Extend ``http.extraHeader`` configuration to support per-URL settings. |
| 933 |
Allows configuring different HTTP headers for specific URLs using |
| 934 |
``http.<url>.extraHeader`` syntax, enabling authentication in CI/CD |
| 935 |
environments like GitHub Actions. More specific URL configurations |
| 936 |
override less specific ones. (Jelmer Vernooij, #882) |
| 937 |
|
| 938 |
* Add support for ``GIT_REFLOG_ACTION`` environment variable in porcelain |
| 939 |
functions. (Jelmer Vernooij, #1811) |
| 940 |
|
| 941 |
* Add support for namespace isolation via ``NamespacedRefsContainer``. |
| 942 |
Implements Git's namespace feature for isolating refs within a single |
| 943 |
repository using the ``refs/namespaces/`` prefix. (Jelmer Vernooij, #1809) |
| 944 |
|
| 945 |
* Add support for GIT_FLUSH environment variable to control output buffering |
| 946 |
in CLI commands. When GIT_FLUSH=1, output is flushed after each write for |
| 947 |
real-time visibility. (Jelmer Vernooij, #1810) |
| 948 |
|
| 949 |
* Implement ``dulwich interpret-trailers`` functionality to parse and manipulate |
| 950 |
structured metadata (trailers) in commit messages. Adds ``porcelain.interpret_trailers()`` |
| 951 |
with support for parsing, adding, replacing, and formatting trailers. Also fixes |
| 952 |
the ``signoff`` parameter in ``porcelain.commit()`` to add ``Signed-off-by`` trailers. |
| 953 |
(Jelmer Vernooij, #1826) |
| 954 |
|
| 955 |
* Add support for recursive submodule updates via ``--recursive`` flag in |
| 956 |
``dulwich submodule update`` command and ``recursive`` parameter in |
| 957 |
``porcelain.submodule_update()``. |
| 958 |
(Jelmer Vernooij, #1813) |
| 959 |
|
| 960 |
* Add support for ``git maintenance`` command to optimize Git repository data. |
| 961 |
Implements gc, commit-graph, loose-objects, incremental-repack, pack-refs, and |
| 962 |
prefetch tasks. Supports automatic maintenance with ``--auto`` flag and task-specific |
| 963 |
configuration. (Jelmer Vernooij) |
| 964 |
|
| 965 |
* Add support for ``dulwich replace`` command to create refs that replace objects. |
| 966 |
(Jelmer Vernooij, #1834) |
| 967 |
|
| 968 |
* Implement advanced Git object specification support: index path lookup (``:``, ``:0:``, |
| 969 |
``:1:``, ``:2:``, ``:3:``) for accessing files from the index and merge stages, and |
| 970 |
reflog time specifications (``@{time}``) using Git's approxidate format (e.g., |
| 971 |
``HEAD@{yesterday}`, ``master@{2.weeks.ago}``). (Jelmer Vernooij, #1783) |
| 972 |
|
| 973 |
* Add ``dulwich stripspace`` command to remove unnecessary whitespace from text. |
| 974 |
(Jelmer Vernooij, #1838) |
| 975 |
|
| 976 |
0.24.7 2025-10-23 |
| 977 |
|
| 978 |
* Add sparse index support for improved performance with large repositories. |
| 979 |
Implements reading and writing of sparse directory entries, index expansion/ |
| 980 |
collapse operations, and the 'sdir' extension. |
| 981 |
(Jelmer Vernooij, #1797) |
| 982 |
|
| 983 |
* Add support for core.fsyncObjectFiles configuration option. |
| 984 |
(Jelmer Vernooij, #1817) |
| 985 |
|
| 986 |
* Work around typing module bug in Python 3.9.0 and 3.9.1 by using string |
| 987 |
annotation for Callable type in reflog.py. (Jelmer Vernooij, #1948) |
| 988 |
|
| 989 |
* Fix passing ssh_command, password, and key_filename parameters to the SSH |
| 990 |
vendor. Regression from 0.24.2. (Jelmer Vernooij, #1945) |
| 991 |
|
| 992 |
* Fix LFS URL validation to prevent DNS resolution errors when ``lfs.url`` is |
| 993 |
configured with an invalid value. Implement full support for ``file://`` URLs |
| 994 |
to access local LFS repositories, matching git-lfs behavior. |
| 995 |
(Jelmer Vernooij, #1951) |
| 996 |
|
| 997 |
0.24.6 2025-10-19 |
| 998 |
|
| 999 |
* Fix import failure when ``sys.stdin`` is ``None``. The ``dulwich.server`` |
| 1000 |
module can now be imported in environments where ``sys.stdin`` is ``None``, |
| 1001 |
such as Windows GUI apps, apps started with ``pythonw``, or apps using |
| 1002 |
``ProcessPoolExecutor``. (Jelmer Vernooij, #1939) |
| 1003 |
|
| 1004 |
* Add support for ``dulwich reflog expire`` and ``dulwich reflog delete`` commands. |
| 1005 |
(Jelmer Vernooij, #1798) |
| 1006 |
|
| 1007 |
* Add ``dulwich grep`` command. |
| 1008 |
Supports regular expressions, case-insensitive search, line numbers, pathspec |
| 1009 |
filtering, and respecting .gitignore patterns. (Jelmer Vernooij, #1776) |
| 1010 |
|
| 1011 |
* Add support for octopus merge strategy. (Jelmer Vernooij, #1816) |
| 1012 |
|
| 1013 |
* Add support for ``git show-branch`` command to display branches and their |
| 1014 |
|
| 1015 |
* Add ``dulwich cherry`` command to find commits not merged upstream. |
| 1016 |
Compares commits by patch ID to identify equivalent patches regardless of |
| 1017 |
commit metadata. Supports automatic upstream detection from tracking branches |
| 1018 |
and verbose mode to display commit messages. (Jelmer Vernooij, #1782) |
| 1019 |
|
| 1020 |
* Add support for ``dulwich mailsplit`` command to split mbox files and Maildir |
| 1021 |
into individual message files. Supports mboxrd format, custom precision, |
| 1022 |
and all standard git mailsplit options. (Jelmer Vernooij, #1840) |
| 1023 |
|
| 1024 |
* Implement recursive merge strategy for handling multiple merge bases |
| 1025 |
(criss-cross merges). When multiple common ancestors exist, the algorithm |
| 1026 |
creates a virtual merge base by recursively merging them, reducing false |
| 1027 |
conflicts in complex merge scenarios. The recursive strategy is now used |
| 1028 |
automatically by ``porcelain.merge()``. (Jelmer Vernooij, #1815) |
| 1029 |
|
| 1030 |
* Add support for ``dulwich show-branch`` command to display branches and their |
| 1031 |
commits. Supports filtering by local/remote branches, topological ordering, |
| 1032 |
list mode, independent branch detection, and merge base calculation. |
| 1033 |
(Jelmer Vernooij, #1829) |
| 1034 |
|
| 1035 |
* Add ``dulwich config`` command to get and set repository or global |
| 1036 |
configuration options. Supports getting/setting values, listing all config, |
| 1037 |
getting all values for multivars, and unsetting values. |
| 1038 |
(Jelmer Vernooij, #1775) |
| 1039 |
|
| 1040 |
0.24.5 2025-10-15 |
| 1041 |
|
| 1042 |
* Add support for ``dulwich show-ref`` command to list references in a local |
| 1043 |
repository. Supports filtering by branches/tags, pattern matching, |
| 1044 |
dereferencing tags, verification mode, and existence checking. Available |
| 1045 |
as ``porcelain.show_ref()`` and ``dulwich show-ref`` CLI command. |
| 1046 |
(Jelmer Vernooij, #1830) |
| 1047 |
|
| 1048 |
* Fix HTTP authentication to preserve credentials from URLs when storing |
| 1049 |
remote configuration. URLs with embedded credentials (like |
| 1050 |
``https://[email protected]/user/repo.git``) now correctly save those |
| 1051 |
credentials to git config, allowing subsequent push operations to succeed. |
| 1052 |
(Jelmer Vernooij, #1925) |
| 1053 |
|
| 1054 |
* Restore ``pool_manager`` parameter to ``get_transport_and_path`` and |
| 1055 |
``get_transport_and_path_from_url`` functions that was accidentally removed |
| 1056 |
during type annotation refactoring. (Jelmer Vernooij, #1928) |
| 1057 |
|
| 1058 |
0.24.4 2025-10-14 |
| 1059 |
|
| 1060 |
* Add compatibility for Python 3.14. (Jelmer Vernooij) |
| 1061 |
|
| 1062 |
* Re-enable android build. (Malcolm Smith) |
| 1063 |
|
| 1064 |
0.24.3 2025-10-12 |
| 1065 |
|
| 1066 |
* Add ``dulwich merge-base`` command. (Jelmer Vernooij, #1831) |
| 1067 |
|
| 1068 |
* Add support for ``dulwich var`` command to display Git's logical variables |
| 1069 |
(GIT_AUTHOR_IDENT, GIT_COMMITTER_IDENT, GIT_EDITOR, GIT_SEQUENCE_EDITOR, |
| 1070 |
GIT_PAGER, GIT_DEFAULT_BRANCH). Available as ``porcelain.var()`` and |
| 1071 |
``dulwich var`` CLI command. (Jelmer Vernooij, #1841) |
| 1072 |
|
| 1073 |
* Add support for ``GIT_TRACE`` environment variable for debugging. Supports |
| 1074 |
output to stderr (values "1", "2", or "true"), file descriptors (3-9), |
| 1075 |
file paths, and directories (creates per-process trace files). |
| 1076 |
(Jelmer Vernooij, #1863) |
| 1077 |
|
| 1078 |
* Add ``extract_signature()`` method to ``Commit`` and ``Tag`` classes that |
| 1079 |
returns (payload, signature, signature_type) tuple. Supports both PGP and SSH |
| 1080 |
signature detection. (Jelmer Vernooij) |
| 1081 |
|
| 1082 |
* Fix Git filter protocol implementation to properly handle the two-phase |
| 1083 |
response format (initial headers, content, final headers) as specified in |
| 1084 |
the Git protocol documentation. This fixes compatibility with Git LFS and |
| 1085 |
other filters that send status messages in final headers. |
| 1086 |
(Jelmer Vernooij, #1889) |
| 1087 |
|
| 1088 |
* Add ``dulwich worktree repair`` command to repair worktree administrative files |
| 1089 |
after worktrees or the main repository have been moved. |
| 1090 |
(Jelmer Vernooij, #1799) |
| 1091 |
|
| 1092 |
* Add ``dulwich verify-tag`` command to check GPG signatures of tags. |
| 1093 |
(Jelmer Vernooij, #1833) |
| 1094 |
|
| 1095 |
* Add ``dulwich verify-commit`` command to check GPG signatures of tags. |
| 1096 |
(Jelmer Vernooij, #1832) |
| 1097 |
|
| 1098 |
0.24.2 2025-09-25 |
| 1099 |
|
| 1100 |
* Added ``porcelain.shortlog`` function to summarize commits by author, |
| 1101 |
similar to git shortlog. (Muhammad Usama, #1693) |
| 1102 |
|
| 1103 |
* Fix merge functionality to gracefully handle missing optional merge3 dependency |
| 1104 |
by raising informative ImportError with installation instructions. |
| 1105 |
(Jelmer Vernooij, #1759) |
| 1106 |
|
| 1107 |
* Fix worktree CLI tests to properly change to repository directory. |
| 1108 |
(Jelmer Vernooij, #1738) |
| 1109 |
|
| 1110 |
* Add ``temporary_worktree`` context manager for creating temporary worktrees |
| 1111 |
that are automatically cleaned up. (Jelmer Vernooij) |
| 1112 |
|
| 1113 |
* Add ``exist_ok`` parameter to ``add_worktree`` to allow creation with |
| 1114 |
existing directories. (Jelmer Vernooij) |
| 1115 |
|
| 1116 |
* Add colorized diff support for the ``show`` command with ``--color`` |
| 1117 |
argument. (Jelmer Vernooij, #1741) |
| 1118 |
|
| 1119 |
* Fix Windows path handling in ``_ensure_parent_dir_exists`` to correctly |
| 1120 |
handle drive letters during checkout operations. (Jelmer Vernooij, #1751) |
| 1121 |
|
| 1122 |
* Fix Windows config loading to only use current Git config path, |
| 1123 |
avoiding loading older config files. (Jelmer Vernooij, #1732) |
| 1124 |
|
| 1125 |
* Add interactive rebase support with ``dulwich rebase -i``, including support |
| 1126 |
for pick, reword, edit, squash, fixup, drop, exec, and break commands. |
| 1127 |
(Jelmer Vernooij, #1696) |
| 1128 |
|
| 1129 |
* Fix handling of CRLF line endings with ``core.autocrlf = input`` to prevent |
| 1130 |
unchanged files from appearing as unstaged in status. |
| 1131 |
(Jelmer Vernooij, #1773) |
| 1132 |
|
| 1133 |
* Add support for ``core.whitespace`` configuration for whitespace error |
| 1134 |
detection and fixing. Supports blank-at-eol, space-before-tab, indent-with-non-tab, |
| 1135 |
tab-in-indent, blank-at-eof, cr-at-eol, and tabwidth settings. |
| 1136 |
(Jelmer Vernooij, #1806) |
| 1137 |
|
| 1138 |
* Add support for ``core.safecrlf`` configuration to check if CRLF/LF conversions |
| 1139 |
would be reversible and optionally abort or warn on potentially lossy conversions. |
| 1140 |
(Jelmer Vernooij, #1806) |
| 1141 |
|
| 1142 |
* Add support for ``http.extraHeader`` configuration to pass additional HTTP |
| 1143 |
headers to the server when communicating over HTTP(S). |
| 1144 |
(Jelmer Vernooij, #1769) |
| 1145 |
|
| 1146 |
* Optimize LFS filter performance by avoiding redundant disk writes when |
| 1147 |
checking file status. The LFS store now checks if objects already exist |
| 1148 |
before writing them to disk, significantly improving ``dulwich status`` |
| 1149 |
performance in repositories with many LFS-tracked files. |
| 1150 |
(Jelmer Vernooij, #1789) |
| 1151 |
|
| 1152 |
* Add filter server support. (Jelmer Vernooij, #1789) |
| 1153 |
|
| 1154 |
* Add support for ``patiencediff`` algorithm in diff. |
| 1155 |
(Jelmer Vernooij, #1795) |
| 1156 |
|
| 1157 |
* Add IPv6 support for git:// protocol URLs. |
| 1158 |
(Jelmer Vernooij, #1796) |
| 1159 |
|
| 1160 |
* Add support for ``core.preloadIndex`` configuration setting to enable |
| 1161 |
parallel stat operations when checking for unstaged changes. This improves |
| 1162 |
performance on slow filesystems like NFS. (Jelmer Vernooij, #1851) |
| 1163 |
|
| 1164 |
0.24.1 2025-08-01 |
| 1165 |
|
| 1166 |
* Require ``typing_extensions`` on Python 3.10. |
| 1167 |
(Jelmer Vernooij, #1735) |
| 1168 |
|
| 1169 |
0.24.0 2025-08-01 |
| 1170 |
|
| 1171 |
* Split out ``WorkTree`` from ``Repo``. (Jelmer Vernooij) |
| 1172 |
|
| 1173 |
* Add comprehensive git worktree support including ``WorkTreeContainer`` |
| 1174 |
class, ``WorkTreeInfo`` objects, and full CLI/porcelain implementations |
| 1175 |
for add, list, remove, prune, lock, unlock, and move operations. |
| 1176 |
(Jelmer Vernooij, #1710, #1632) |
| 1177 |
|
| 1178 |
* Add support for ``-a`` argument to |
| 1179 |
``dulwich.cli.commit``. (Jelmer Vernooij) |
| 1180 |
|
| 1181 |
* Add support for ``--amend`` argument to |
| 1182 |
``dulwich.cli.commit`` and ``dulwich.porcelain.commit``. (Jelmer Vernooij) |
| 1183 |
|
| 1184 |
* Add support for merge drivers. |
| 1185 |
(Jelmer Vernooij) |
| 1186 |
|
| 1187 |
* Add support for Git revision syntax operators ``~``, ``^``, ``^{}``, |
| 1188 |
``@{N}``, and ``:path`` in ``dulwich.objectspec.parse_object``, |
| 1189 |
e.g. ``HEAD~1``, ``HEAD^2``, ``v1.0^{}``, ``HEAD@{1}``, ``HEAD:README``. |
| 1190 |
(Jelmer Vernooij) |
| 1191 |
|
| 1192 |
* Add support for ``GIT_CONFIG_GLOBAL`` and ``GIT_CONFIG_SYSTEM`` |
| 1193 |
environment variables to override global and system configuration |
| 1194 |
paths. (Jelmer Vernooij, #1193) |
| 1195 |
|
| 1196 |
* ``dulwich.porcelain.diff``: Support diffing two commits |
| 1197 |
and diffing cached and working tree. (Jelmer Vernooij) |
| 1198 |
|
| 1199 |
* Add ``format-patch`` command in porcelain. (Jelmer Vernooij) |
| 1200 |
|
| 1201 |
* Add functions for creating bundles and ``BundleClient`` |
| 1202 |
for interacting with bundles. (Jelmer Vernooij, #1246) |
| 1203 |
|
| 1204 |
* Add support for ``core.commitGraph`` configuration setting to control |
| 1205 |
whether commit-graph files are used for performance optimization. |
| 1206 |
(Jelmer Vernooij) |
| 1207 |
|
| 1208 |
* Add ``reflog`` command in porcelain. (Jelmer Vernooij) |
| 1209 |
|
| 1210 |
* Add ``locked_ref`` context manager for atomic ref operations. |
| 1211 |
(Jelmer Vernooij) |
| 1212 |
|
| 1213 |
* Fix bug in ``DiskRefsContainer._remove_packed_ref`` that prevented |
| 1214 |
packed ref deletions from being persisted to disk. |
| 1215 |
(Jelmer Vernooij) |
| 1216 |
|
| 1217 |
* Optimize writing unchanged refs by avoiding unnecessary fsync |
| 1218 |
when ref already has the desired value. File locking behavior |
| 1219 |
is preserved to ensure proper concurrency control. |
| 1220 |
(Dan Villiom Podlaski Christiansen, Jelmer Vernooij, #1120) |
| 1221 |
|
| 1222 |
* Fix Unicode filename encoding issue on Windows where non-ASCII |
| 1223 |
filenames were corrupted during clone/checkout operations. |
| 1224 |
(Jelmer Vernooij, #203) |
| 1225 |
|
| 1226 |
0.23.2 2025-07-07 |
| 1227 |
|
| 1228 |
* Print deprecations on usage, not import. |
| 1229 |
(Alyssa Coghlan, #1650) |
| 1230 |
|
| 1231 |
* Add support for ``core.protectHFS`` configuration setting to protect |
| 1232 |
against paths that could be misinterpreted on HFS+ filesystems. |
| 1233 |
(Jelmer Vernooij, #246) |
| 1234 |
|
| 1235 |
* Only write Git index extensions when they contain meaningful data. |
| 1236 |
Previously, dulwich would write empty extensions to the index file, |
| 1237 |
causing unnecessary bloat. |
| 1238 |
(Andrew Shadura, Jelmer Vernooij, #1643) |
| 1239 |
|
| 1240 |
* Document that ``porcelain.push`` returns per-ref status information |
| 1241 |
in the ``SendPackResult`` object. Added test coverage to verify this |
| 1242 |
functionality works as expected. |
| 1243 |
(Jelmer Vernooij, #780) |
| 1244 |
|
| 1245 |
* Add porcelain submodule commands: ``submodule_update``, ``submodule_add``g |
| 1246 |
CLI command, and ``submodule_update`` CLI command. Add ``--recurse-submodules`` |
| 1247 |
option to ``clone`` command. (#506, Jelmer Vernooij) |
| 1248 |
|
| 1249 |
* Support popping stashes. (Jelmer Vernooij) |
| 1250 |
|
| 1251 |
* Add support for parsing Git attributes from .gitattributes files. |
| 1252 |
This enables proper handling of text/binary detection, line ending |
| 1253 |
normalization, and filter specifications for files. |
| 1254 |
(Jelmer Vernooij, #1211) |
| 1255 |
|
| 1256 |
* Add git bisect functionality including core bisect logic, porcelain |
| 1257 |
commands (bisect_start, bisect_bad, bisect_good, bisect_skip, |
| 1258 |
bisect_reset, bisect_log, bisect_replay), and CLI support. |
| 1259 |
(Jelmer Vernooij, #1631) |
| 1260 |
|
| 1261 |
* Fix ``porcelain.describe()`` to dynamically determine hash length |
| 1262 |
based on uniqueness, matching git describe behavior more closely. |
| 1263 |
Previously used a hardcoded 7-character hash length. |
| 1264 |
(Jelmer Vernooij, #824) |
| 1265 |
|
| 1266 |
* Add test for ``porcelain.add()`` to verify files can be added when |
| 1267 |
the current working directory is within a gitignored directory. |
| 1268 |
(Jelmer Vernooij, #550) |
| 1269 |
|
| 1270 |
* ParamikoSSHVendor now reads SSH configuration from ~/.ssh/config. |
| 1271 |
Host settings including hostname, user, port, and identity file are |
| 1272 |
now respected when establishing SSH connections. |
| 1273 |
(Jelmer Vernooij, #443) |
| 1274 |
|
| 1275 |
0.23.1 2025-06-30 |
| 1276 |
|
| 1277 |
* Support ``untracked_files="normal"`` argument to ``porcelain.status``, |
| 1278 |
and make this the default. |
| 1279 |
(Jelmer Vernooij, #835) |
| 1280 |
|
| 1281 |
* Fix ``parse_commit`` to properly dereference annotated tags when |
| 1282 |
checking out tags. Previously, checking out an annotated tag would |
| 1283 |
fail with a KeyError. |
| 1284 |
(Jelmer Vernooij, #1638) |
| 1285 |
|
| 1286 |
* Handle different file type transitions properly in ``update_working_tree`` |
| 1287 |
(Jelmer Vernooij, #1638) |
| 1288 |
|
| 1289 |
* Fix KeyError when pulling from a shallow clone. Handle missing commits |
| 1290 |
gracefully in graph traversal operations for shallow repositories. |
| 1291 |
(Jelmer Vernooij, #813) |
| 1292 |
|
| 1293 |
* Return symrefs from ls_refs. (Jelmer Vernooij, #863) |
| 1294 |
|
| 1295 |
* Support short commit hashes in ``porcelain.reset()``. |
| 1296 |
(Jelmer Vernooij, #1154) |
| 1297 |
|
| 1298 |
* Support dumb repository access. |
| 1299 |
(Jelmer Vernooij, #1097) |
| 1300 |
|
| 1301 |
* Fix TypeError when cloning repositories with bytes paths on Windows. |
| 1302 |
(Jelmer Vernooij, #973) |
| 1303 |
|
| 1304 |
* Support ``depth`` for local clones. |
| 1305 |
(Jelmer Vernooij) |
| 1306 |
|
| 1307 |
* Add basic support for managing Notes. (Jelmer Vernooij) |
| 1308 |
|
| 1309 |
* Add basic ``cherry-pick`` subcommand. (#1599, Jelmer Vernooij) |
| 1310 |
|
| 1311 |
* Add ``revert`` command to ``dulwich.porcelain`` and CLI. |
| 1312 |
(#1599, Jelmer Vernooij) |
| 1313 |
|
| 1314 |
* Add annotate support as well as ``annotate`` and ``blame`` |
| 1315 |
commands. (#245, Jelmer Vernooij) |
| 1316 |
|
| 1317 |
* Fix ``apply_delta`` to raise ``ApplyDeltaError`` instead of ``AssertionError`` |
| 1318 |
when the source buffer size doesn't match the delta header. This issue only |
| 1319 |
affected the pure Python implementation when the Rust extension was not |
| 1320 |
available. The Rust implementation already raised the correct exception. |
| 1321 |
(#1606, Jelmer Vernooij) |
| 1322 |
|
| 1323 |
* Fix ``porcelain.reset --hard`` to properly delete files that don't exist in |
| 1324 |
the target tree. Previously, when resetting to a remote branch, files deleted |
| 1325 |
in the remote were not removed locally due to incorrect path normalization |
| 1326 |
on Windows. (#840, Jelmer Vernooij) |
| 1327 |
|
| 1328 |
* Add support for includes in configuration files. |
| 1329 |
(#1216, Jelmer Vernooij) |
| 1330 |
|
| 1331 |
* Support timeouts for HTTP client operations. (Jelmer Vernooij) |
| 1332 |
|
| 1333 |
* Add support for ``reset --mixed`` and ``reset --soft`` modes in |
| 1334 |
``porcelain.reset()`` and the CLI. Mixed reset updates HEAD and index |
| 1335 |
but leaves working tree unchanged. Soft reset only updates HEAD. |
| 1336 |
(Jelmer Vernooij) |
| 1337 |
|
| 1338 |
* Apply line-ending normalization in ``build_index_from_tree`` to respect |
| 1339 |
``core.autocrlf`` configuration during checkout operations. |
| 1340 |
(Jelmer Vernooij, #663) |
| 1341 |
|
| 1342 |
* Add ``prune`` method to object stores for cleaning up orphaned temporary |
| 1343 |
pack files. This is now called by ``garbage_collect()`` to match Git's |
| 1344 |
behavior. Also added ``prune`` command to ``dulwich.porcelain``. |
| 1345 |
(Jelmer Vernooij, #558) |
| 1346 |
|
| 1347 |
* Fix ``porcelain.remove()`` to work correctly when called from a directory |
| 1348 |
other than the repository root. Relative paths are now interpreted as |
| 1349 |
relative to the repository root rather than the current working directory. |
| 1350 |
(Jelmer Vernooij, #821) |
| 1351 |
|
| 1352 |
* Add support for auto garbage collection, and invoke from |
| 1353 |
some porcelain commands. (Jelmer Vernooij, #1600) |
| 1354 |
|
| 1355 |
* Add ``filter-branch`` support to ``dulwich.porcelain`` and |
| 1356 |
``dulwich.filter_branch`` module for rewriting commit history. |
| 1357 |
Supports filtering author, committer, and message fields. |
| 1358 |
(#745, Jelmer Vernooij) |
| 1359 |
|
| 1360 |
* Add ``mv`` porcelain command. (Jelmer Vernooij, #1633) |
| 1361 |
|
| 1362 |
0.23.0 2025-06-21 |
| 1363 |
|
| 1364 |
* Add basic ``rebase`` subcommand. (Jelmer Vernooij) |
| 1365 |
|
| 1366 |
* Add ``gc`` command to ``dulwich.porcelain.`` (Jelmer Vernooij, #92) |
| 1367 |
|
| 1368 |
* Add ``unpack-objects`` plumbing command to unpack objects from pack files |
| 1369 |
into loose objects in the repository. This command extracts all objects |
| 1370 |
from a pack file and writes them to the object store as individual files. |
| 1371 |
Available in both ``dulwich.porcelain.unpack_objects()`` and as a CLI |
| 1372 |
command ``dulwich unpack-objects``. (Jelmer Vernooij) |
| 1373 |
|
| 1374 |
* Add ``merge-tree`` plumbing command to ``dulwich.porcelain`` and CLI. |
| 1375 |
This command performs three-way tree merges without touching the working |
| 1376 |
directory or creating commits, similar to ``dulwich merge-tree``. It outputs |
| 1377 |
the merged tree SHA and lists any conflicted paths. (Jelmer Vernooij) |
| 1378 |
|
| 1379 |
* Add ``porcelain.count_objects()`` function to count unpacked objects and |
| 1380 |
their disk usage. Returns a tuple of (count, size) for simple usage or |
| 1381 |
a ``CountObjectsResult`` dataclass with detailed statistics when |
| 1382 |
``verbose=True``. (Jelmer Vernooij) |
| 1383 |
|
| 1384 |
* Add support for pack index format version 3. This format supports variable |
| 1385 |
hash sizes to enable future SHA-256 support. The implementation includes |
| 1386 |
reading and writing v3 indexes with proper hash algorithm identification |
| 1387 |
(1 for SHA-1, 2 for SHA-256). (Jelmer Vernooij) |
| 1388 |
|
| 1389 |
* Fix ``LocalGitClient`` assertion error when fetching externally cloned repositories |
| 1390 |
into ``MemoryRepo``. Previously, the client would fail with an AssertionError |
| 1391 |
when trying to process pack data from repositories that were cloned externally. |
| 1392 |
(Jelmer Vernooij, #1179) |
| 1393 |
|
| 1394 |
* Add support for ``os.PathLike`` objects throughout the API. Functions that |
| 1395 |
accept file paths now support ``pathlib.Path`` objects in addition to |
| 1396 |
strings and bytes. This includes repository operations, configuration file |
| 1397 |
handling, ignore file processing, and all major entry points. |
| 1398 |
(Jelmer Vernooij, #1074) |
| 1399 |
|
| 1400 |
* Add support for ``format`` argument to ``Repo.init()`` and ``Repo.init_bare()`` |
| 1401 |
to specify repository format version (0 or 1). This allows creating repositories |
| 1402 |
with different format versions by setting the ``core.repositoryformatversion`` |
| 1403 |
configuration value. (Jelmer Vernooij) |
| 1404 |
|
| 1405 |
* Fix Rust implementation of ``sorted_tree_items()`` to correctly handle submodules. |
| 1406 |
Previously, submodules (mode 0o160000) were incorrectly treated as directories |
| 1407 |
in the sorting order, causing different results compared to the Python |
| 1408 |
implementation. (Jelmer Vernooij, #1325) |
| 1409 |
|
| 1410 |
* Fix ``porcelain.add()`` to stage both untracked and modified files when no |
| 1411 |
paths are specified. Previously, only untracked files were staged, inconsistent |
| 1412 |
with Git's behavior. Now behaves like ``git add -A`` when called without paths. |
| 1413 |
(Jelmer Vernooij, #746) |
| 1414 |
|
| 1415 |
* Fix ``porcelain.add()`` symlink handling to allow adding symlinks that point |
| 1416 |
outside the repository. Previously, the function would fail when trying to |
| 1417 |
add a symlink pointing outside the repo due to aggressive path resolution. |
| 1418 |
Now only resolves the parent directory for symlinks, matching Git's behavior. |
| 1419 |
(Jelmer Vernooij, #789) |
| 1420 |
|
| 1421 |
* Fix ``porcelain.add()`` when adding repository root path or directories. |
| 1422 |
Previously, adding the repository path itself would incorrectly stage |
| 1423 |
``b'./'`` instead of the actual untracked files, leading to |
| 1424 |
repository corruption. (Jelmer Vernooij, #1178, #655) |
| 1425 |
|
| 1426 |
* Improve ``porcelain.add()`` documentation to correctly describe default |
| 1427 |
behavior. (Jelmer Vernooij, #895) |
| 1428 |
|
| 1429 |
* Fix gitignore pattern matching for directory negation patterns. Patterns like |
| 1430 |
``!data/*/`` now correctly unignore direct subdirectories while still ignoring |
| 1431 |
files in the parent directory, matching Git's behavior. The ``is_ignored()`` method |
| 1432 |
now documents that directory paths should end with ``/`` for consistent behavior. |
| 1433 |
(Jelmer Vernooij, #1203) |
| 1434 |
|
| 1435 |
* Support quote_path flag for ignore checking. (Jelmer Vernooij) |
| 1436 |
|
| 1437 |
* Clarify documentation for ``IgnoreFilter`` and ``IgnoreFilterManager`` to |
| 1438 |
explicitly state that directory paths should include trailing slashes when |
| 1439 |
checking if they are ignored. This matches Git's behavior and ensures |
| 1440 |
consistent results. (Jelmer Vernooij, #972) |
| 1441 |
|
| 1442 |
* Add support for Git's ``feature.manyFiles`` configuration and index version 4. |
| 1443 |
This enables faster Git operations in large repositories through path prefix |
| 1444 |
compression (30-50% smaller index files) and optional hash skipping for faster |
| 1445 |
writes. Supports ``feature.manyFiles``, ``index.version``, and ``index.skipHash`` |
| 1446 |
configuration options. |
| 1447 |
(Jelmer Vernooij, #1061, #1462) |
| 1448 |
|
| 1449 |
* In dulwich.porcelain docstring, list functions by their Python identifiers. |
| 1450 |
(Marnanel Thurman) |
| 1451 |
|
| 1452 |
* cli: add basic branch management commands (James Addison, #1514) |
| 1453 |
|
| 1454 |
* Fix wheels workflow. (Jelmer Vernooij) |
| 1455 |
|
| 1456 |
* ``Config.set`` replaces values by default, ``Config.add`` |
| 1457 |
appends them. (Jelmer Vernooij, #1545) |
| 1458 |
|
| 1459 |
* Support ``core.sshCommand`` setting. |
| 1460 |
(Jelmer Vernooij, #1548) |
| 1461 |
|
| 1462 |
* Bump PyO3 to 0.25. (Jelmer Vernooij) |
| 1463 |
|
| 1464 |
* In ``SubprocessClient`` time out after 60 seconds |
| 1465 |
when the subprocess hasn't terminated when closing |
| 1466 |
the channel. (Jelmer Vernooij) |
| 1467 |
|
| 1468 |
* Add type hint for ``dulwich.client.get_ssh_vendor``. |
| 1469 |
(Jelmer Vernooij, #1471) |
| 1470 |
|
| 1471 |
* Add basic merge command. (Jelmer Vernooij) |
| 1472 |
|
| 1473 |
* Update working tree in pull. (Jelmer Vernooij, #452) |
| 1474 |
|
| 1475 |
* Support switching branch in a way that updates |
| 1476 |
working tree. (Jelmer Vernooij, #576) |
| 1477 |
|
| 1478 |
* Fix typing for ``dulwich.client`` methods that take repositories. |
| 1479 |
(Jelmer Vernooij, #1521) |
| 1480 |
|
| 1481 |
* Fix handling of casing of subsection names in config. |
| 1482 |
(Jelmer Vernooij, #1183) |
| 1483 |
|
| 1484 |
* Update working tree in pull. (Jelmer Vernooij, #452) |
| 1485 |
|
| 1486 |
* Use ``dissolve`` to manage deprecations. (Jelmer Vernooij) |
| 1487 |
|
| 1488 |
* Handle trailing backslashes in config files appropriately. |
| 1489 |
(Jelmer Vernooij, #1088) |
| 1490 |
|
| 1491 |
* Add basic support for reading git commit graphs. |
| 1492 |
(Jelmer Vernooij, #1191) |
| 1493 |
|
| 1494 |
* Port remaining ``dulwich.cli`` commands from getopt to argparse. |
| 1495 |
(Jelmer Vernooij) |
| 1496 |
|
| 1497 |
* Add basic support for reftables. |
| 1498 |
(Jelmer Vernooij, #1366) |
| 1499 |
|
| 1500 |
0.22.8 2025-03-02 |
| 1501 |
|
| 1502 |
* Allow passing in plain strings to ``dulwich.porcelain.tag_create`` |
| 1503 |
(Jelmer Vernooij, #1499) |
| 1504 |
|
| 1505 |
* Bump PyO3 to 0.23.5. (Jelmer Vernooij) |
| 1506 |
|
| 1507 |
* Add sparse checkout cone mode support (Louis Maddox, #1497) |
| 1508 |
|
| 1509 |
* Add skip-worktree support. (Louis Maddox) |
| 1510 |
|
| 1511 |
* Add "index.skipHash" option support. (Jan Rűegg) |
| 1512 |
|
| 1513 |
* Repo docstring improvements. (Marnanel Thurman) |
| 1514 |
|
| 1515 |
0.22.7 2024-12-19 |
| 1516 |
|
| 1517 |
* Fix serializing of commits with empty commit messages. |
| 1518 |
(Castedo Ellerman, #1429) |
| 1519 |
|
| 1520 |
0.22.6 2024-11-16 |
| 1521 |
|
| 1522 |
* ``ObjectStore.iter_prefix``: fix handling of missing |
| 1523 |
loose object directories. (Jelmer Vernooij) |
| 1524 |
|
| 1525 |
* Reject invalid refcontainer values (not 40 characters or symref). |
| 1526 |
(Arun Babu Neelicattu) |
| 1527 |
|
| 1528 |
* Add type hints to various functions. (Castedo Ellerman) |
| 1529 |
|
| 1530 |
0.22.5 2024-11-07 |
| 1531 |
|
| 1532 |
* Drop support for Python 3.8. (Jelmer Vernooij) |
| 1533 |
|
| 1534 |
* Fix refspec handling in porcelain.pull. (Jelmer Vernooij) |
| 1535 |
|
| 1536 |
* Drop broken refspec support in porcelain.clone. |
| 1537 |
(Jelmer Vernooij) |
| 1538 |
|
| 1539 |
* Provide ``ref_prefix`` functionality client-side |
| 1540 |
if the server does not support it. (Jelmer Vernooij) |
| 1541 |
|
| 1542 |
* Consistently honor ``ref_prefix`` and ``protocol_version`` |
| 1543 |
arguments in client. (Jelmer Vernooij) |
| 1544 |
|
| 1545 |
* Strip pkt-line when negotiating protocol v2. Fixes |
| 1546 |
compatibility with gerrit. (Rémy Pecqueur, #1423) |
| 1547 |
|
| 1548 |
* Don't pull in ``setuptools_rust`` when building pure |
| 1549 |
package. (Eli Schwartz) |
| 1550 |
|
| 1551 |
* Return peeled refs from ``GitClient.get_refs`` if protocol-v2 |
| 1552 |
is used. (Stefan Sperling, #1410) |
| 1553 |
|
| 1554 |
* Drop outdated performance file. (Jelmer Vernooij, #1411) |
| 1555 |
|
| 1556 |
|
| 1557 |
0.22.4 2024-11-01 |
| 1558 |
|
| 1559 |
* Fix handling of symrefs with protocol v2. |
| 1560 |
(Jelmer Vernooij, #1389) |
| 1561 |
|
| 1562 |
* Add ``ObjectStore.iter_prefix``. (Jelmer Vernooij) |
| 1563 |
|
| 1564 |
* Revert back to version 3 of ``Cargo.lock``, to allow |
| 1565 |
building with older Cargo versions. |
| 1566 |
(Jelmer Vernooij) |
| 1567 |
|
| 1568 |
* Use a default ref-prefix when fetching with git protocol v2 |
| 1569 |
(Stefan Sperling, #1389) |
| 1570 |
|
| 1571 |
* Add `ObjectStore.iter_prefix`. (Jelmer Vernooij) |
| 1572 |
|
| 1573 |
0.22.3 2024-10-15 |
| 1574 |
|
| 1575 |
* Improve wheel building in CI, so we can upload wheels for the next release. |
| 1576 |
(Jelmer Vernooij) |
| 1577 |
|
| 1578 |
0.22.2 2024-10-09 |
| 1579 |
|
| 1580 |
* Ship ``Cargo.lock``. (Jelmer Vernooij, #1287) |
| 1581 |
|
| 1582 |
* Ship ``tests/`` and ``testdata/`` in sdist. (Jelmer Vernooij, #1292) |
| 1583 |
|
| 1584 |
* Add initial integration with OSS-Fuzz for continuous fuzz testing and first fuzzing test (David Lakin, #1302) |
| 1585 |
|
| 1586 |
* Drop Python 3.7 support. (Jelmer Vernooij) |
| 1587 |
|
| 1588 |
* Improve fuzzing coverage (David Lakin) |
| 1589 |
|
| 1590 |
* Support Python 3.13. (Edgar Ramírez-Mondragón, #1352) |
| 1591 |
|
| 1592 |
* Initial support for smart protocol v2. (Stefan Sperling) |
| 1593 |
|
| 1594 |
0.22.1 2024-04-23 |
| 1595 |
|
| 1596 |
* Handle alternate case for worktreeconfig setting (Will Shanks, #1285) |
| 1597 |
|
| 1598 |
* Ship rust files. (Jelmer Vernooij, #1287) |
| 1599 |
|
| 1600 |
0.22.0 2024-04-22 |
| 1601 |
|
| 1602 |
* Stop installing docs/ as part of package code. (Jelmer Vernooij, #1248) |
| 1603 |
|
| 1604 |
* Move tests to root. (Jelmer Vernooij, #1024) |
| 1605 |
|
| 1606 |
* Convert the optional C implementations to Rust. |
| 1607 |
(Jelmer Vernooij) |
| 1608 |
|
| 1609 |
0.21.7 2023-12-05 |
| 1610 |
* Fix NameError when encountering errors during HTTP operation. |
| 1611 |
(Jelmer Vernooij, #1208) |
| 1612 |
|
| 1613 |
* Raise exception when default identity can't be found. |
| 1614 |
(Jelmer Vernooij) |
| 1615 |
|
| 1616 |
* Add a dedicated exception class for unresolved |
| 1617 |
deltas. (Jelmer Vernooij, #1221) |
| 1618 |
|
| 1619 |
* Support credentials in proxy URL. (Jelmer Vernooij, #1227) |
| 1620 |
|
| 1621 |
* Add ``dulwich.porcelain.for_each_ref``. (Daniele Trifirò) |
| 1622 |
|
| 1623 |
0.21.6 2023-09-02 |
| 1624 |
|
| 1625 |
* Convert _objects.c to rust. |
| 1626 |
(Jelmer Vernooij) |
| 1627 |
|
| 1628 |
* index: Handle different stages of conflicted paths. |
| 1629 |
(Kevin Hendricks, Jelmer Vernooij) |
| 1630 |
|
| 1631 |
* Improve LCA finding performance. (Kevin Hendricks) |
| 1632 |
|
| 1633 |
* client: Handle Content-Type with encoding set. |
| 1634 |
(Antoine Lambert) |
| 1635 |
|
| 1636 |
* Only import _hashlib for type checking. |
| 1637 |
(David Hotham) |
| 1638 |
|
| 1639 |
* Update docs regarding building dulwich without c bindings (#103) |
| 1640 |
(Adam Plaice) |
| 1641 |
|
| 1642 |
* objects: Define a stricter return type for _parse_message |
| 1643 |
(Vincent Lorentz) |
| 1644 |
|
| 1645 |
* Raise GitProtocolError when encountering HTTP Errors in |
| 1646 |
HTTPGitClient. (Jelmer Vernooij, #1199) |
| 1647 |
|
| 1648 |
0.21.5 2023-05-04 |
| 1649 |
|
| 1650 |
* Be more tolerant to non-3-length tuple versions. |
| 1651 |
(Jelmer Vernooij) |
| 1652 |
|
| 1653 |
0.21.4.1 2023-05-04 |
| 1654 |
|
| 1655 |
* Support ``core.symlinks=false``. (Jelmer Vernooij, #1169) |
| 1656 |
|
| 1657 |
* Deprecate ``dulwich.objects.parse_commit``. |
| 1658 |
|
| 1659 |
* Fix fetching into MemoryRepo. (Jelmer Vernooij, #1157) |
| 1660 |
|
| 1661 |
* Support ``init.defaultBranch`` config. |
| 1662 |
(Jelmer Vernooij) |
| 1663 |
|
| 1664 |
* Fix ``ObjectStore.iterobjects_subset()`` when |
| 1665 |
hex shas are passed for objects that live in packs. |
| 1666 |
(Jelmer Vernooij, #1166) |
| 1667 |
|
| 1668 |
* client: Handle absolute path as redirect location in HTTP client. |
| 1669 |
(Antoine Lambert) |
| 1670 |
|
| 1671 |
0.21.3 2023-02-17 |
| 1672 |
|
| 1673 |
* Add support for ``worktreeconfig`` extension. |
| 1674 |
(Jelmer Vernooij) |
| 1675 |
|
| 1676 |
* Deprecate ``Commit.extra``; the Git project specifically |
| 1677 |
discourages adding custom lines, and the contents of |
| 1678 |
``Commit.extra`` are unpredictable as contents |
| 1679 |
may be different between different versions of Dulwich |
| 1680 |
with support for different headers. |
| 1681 |
|
| 1682 |
``Commit._extra`` still exists. |
| 1683 |
(Jelmer Vernooij) |
| 1684 |
|
| 1685 |
0.21.2 2023-01-18 |
| 1686 |
|
| 1687 |
* Fix early file close bug in ``dulwich.pack.extend_pack``. |
| 1688 |
(Jelmer Vernooij) |
| 1689 |
|
| 1690 |
0.21.1 2023-01-17 |
| 1691 |
|
| 1692 |
* Factor out ``dulwich.pack.extend_pack``. |
| 1693 |
(Jelmer Vernooij) |
| 1694 |
|
| 1695 |
0.21.0 2023-01-16 |
| 1696 |
|
| 1697 |
* Pack internals have been significantly refactored, including |
| 1698 |
significant low-level API changes. |
| 1699 |
|
| 1700 |
As a consequence of this, Dulwich now reuses pack deltas |
| 1701 |
when communicating with remote servers, which brings a |
| 1702 |
big boost to network performance. |
| 1703 |
(Jelmer Vernooij) |
| 1704 |
|
| 1705 |
* Add 'pack-refs' command. |
| 1706 |
(Dan Villiom Podlaski Christiansen) |
| 1707 |
|
| 1708 |
* Handle more errors when trying to read a ref |
| 1709 |
(Dan Villiom Podlaski Christiansen) |
| 1710 |
|
| 1711 |
* Allow for reuse of existing deltas while creating pack files |
| 1712 |
(Stefan Sperling) |
| 1713 |
|
| 1714 |
* cli: fix argument parsing for pack-objects --stdout |
| 1715 |
(Stefan Sperling) |
| 1716 |
|
| 1717 |
* cli: open pack-objects output files in binary mode to avoid write() error |
| 1718 |
(Stefan Sperling) |
| 1719 |
|
| 1720 |
* Bump minimum python version to 3.7. (Jelmer Vernooij) |
| 1721 |
|
| 1722 |
* honor no_proxy environment variable (#1098, afaul) |
| 1723 |
|
| 1724 |
* In HTTP Git Client, allow missing Content-Type. |
| 1725 |
(Jelmer Vernooij) |
| 1726 |
|
| 1727 |
* Fix --pure builds (Jelmer Vernooij, #1093) |
| 1728 |
|
| 1729 |
* Allow passing abbrev to describe (#1084, Seppo Yli-Olli) |
| 1730 |
|
| 1731 |
0.20.50 2022-10-30 |
| 1732 |
|
| 1733 |
* Add --deltify option to ``dulwich pack-objects`` which enables |
| 1734 |
deltification, and add initial support for reusing suitable |
| 1735 |
deltas found in an existing pack file. |
| 1736 |
(Stefan Sperling) |
| 1737 |
|
| 1738 |
* Fix Repo.reset_index. |
| 1739 |
Previously, it instead took the union with the given tree. |
| 1740 |
(Christian Sattler, #1072) |
| 1741 |
|
| 1742 |
* Add -b argument to ``dulwich clone``. |
| 1743 |
(Jelmer Vernooij) |
| 1744 |
|
| 1745 |
* On Windows, provide a hint about developer mode |
| 1746 |
when creating symlinks fails due to a permission |
| 1747 |
error. (Jelmer Vernooij, #1005) |
| 1748 |
|
| 1749 |
* Add new ``ObjectID`` type in ``dulwich.objects``, |
| 1750 |
currently just an alias for ``bytes``. |
| 1751 |
(Jelmer Vernooij) |
| 1752 |
|
| 1753 |
* Support repository format version 1. |
| 1754 |
(Jelmer Vernooij, #1056) |
| 1755 |
|
| 1756 |
* Support \r\n line endings with continuations when parsing |
| 1757 |
configuration files. (Jelmer Vernooij) |
| 1758 |
|
| 1759 |
* Fix handling of SymrefLoop in RefsContainer.__setitem__. |
| 1760 |
(Dominic Davis-Foster, Jelmer Vernooij) |
| 1761 |
|
| 1762 |
0.20.46 2022-09-06 |
| 1763 |
|
| 1764 |
* Apply insteadOf to rsync-style location strings |
| 1765 |
(previously it was just applied to URLs). |
| 1766 |
(Jelmer Vernooij, python-poetry/poetry#6329) |
| 1767 |
|
| 1768 |
* Drop use of certifi, instead relying on urllib3's default |
| 1769 |
code to find system CAs. (Jelmer Vernooij, #1025) |
| 1770 |
|
| 1771 |
* Implement timezone parsing in porcelain. |
| 1772 |
(springheeledjack0, #1026) |
| 1773 |
|
| 1774 |
* Drop support for running without setuptools. |
| 1775 |
(Jelmer Vernooij) |
| 1776 |
|
| 1777 |
* Ensure configuration is loaded when |
| 1778 |
running "dulwich clone". |
| 1779 |
(Jelmer Vernooij) |
| 1780 |
|
| 1781 |
* Build 32 bit wheels for Windows. |
| 1782 |
(Benjamin Parzella) |
| 1783 |
|
| 1784 |
* tests: Ignore errors when deleting GNUPGg |
| 1785 |
home directory. Fixes spurious errors racing |
| 1786 |
gnupg-agent. Thanks, Matěj Cepl. Fixes #1000 |
| 1787 |
|
| 1788 |
* config: Support closing brackets in quotes in section |
| 1789 |
names. (Jelmer Vernooij, #10124) |
| 1790 |
|
| 1791 |
* Various and formatting fixes. (Kian-Meng Ang) |
| 1792 |
|
| 1793 |
* Document basic authentication in dulwich.porcelain.clone. |
| 1794 |
(TuringTux) |
| 1795 |
|
| 1796 |
* Flush before calling fsync, ensuring buffers |
| 1797 |
are filled. (wernha) |
| 1798 |
|
| 1799 |
* Support GPG commit signing. (springheeledjack0) |
| 1800 |
|
| 1801 |
* Add python 3.11 support. (Saugat Pachhai) |
| 1802 |
|
| 1803 |
* Allow missing GPG during tests. (Jakub Kulík) |
| 1804 |
|
| 1805 |
* status: return posix-style untracked paths instead of nt-style paths on |
| 1806 |
win32 (Daniele Trifirò) |
| 1807 |
|
| 1808 |
* Honour PATH environment when running C Git for testing. |
| 1809 |
(Stefan Sperling) |
| 1810 |
|
| 1811 |
* Split out exception for symbolic reference loops. |
| 1812 |
(Jelmer Vernooij) |
| 1813 |
|
| 1814 |
* Move various long-deprecated methods. |
| 1815 |
(Jelmer Vernooij) |
| 1816 |
|
| 1817 |
|
| 1818 |
0.20.45 2022-07-15 |
| 1819 |
|
| 1820 |
* Add basic ``dulwich.porcelain.submodule_list`` and ``dulwich.porcelain.submodule_add`` |
| 1821 |
(Jelmer Vernooij) |
| 1822 |
|
| 1823 |
0.20.44 2022-06-30 |
| 1824 |
|
| 1825 |
* Fix reading of chunks in server. (Jelmer Vernooij, #977) |
| 1826 |
|
| 1827 |
* Support applying of URL rewriting using ``insteadOf`` / ``pushInsteadOf``. |
| 1828 |
(Jelmer Vernooij, #706) |
| 1829 |
|
| 1830 |
0.20.43 2022-06-07 |
| 1831 |
|
| 1832 |
* Lazily import url2pathname. |
| 1833 |
(Jelmer Vernooij) |
| 1834 |
|
| 1835 |
* Drop caching of full HTTP response. Attempt #2. |
| 1836 |
(jelmer Vernooij, Antoine Lambert, #966) |
| 1837 |
|
| 1838 |
0.20.42 2022-05-24 |
| 1839 |
|
| 1840 |
* Drop ``RefsContainer.watch`` that was always flaky. |
| 1841 |
(Jelmer Vernooij, #886) |
| 1842 |
|
| 1843 |
0.20.41 2022-05-24 |
| 1844 |
|
| 1845 |
* Fix wheel uploading, properly. (Ruslan Kuprieiev) |
| 1846 |
|
| 1847 |
0.20.40 2022-05-19 |
| 1848 |
|
| 1849 |
* Fix wheel uploading. (Daniele Trifirò, Jelmer Vernooij) |
| 1850 |
|
| 1851 |
0.20.39 2022-05-19 |
| 1852 |
|
| 1853 |
0.20.38 2022-05-17 |
| 1854 |
|
| 1855 |
* Disable paramiko tests if paramiko is not available. (Michał Górny) |
| 1856 |
|
| 1857 |
* Set flag to re-enable paramiko server side on gentoo for running paramiko |
| 1858 |
tests. (Michał Górny) |
| 1859 |
|
| 1860 |
* Increase tolerance when comparing time stamps; fixes some |
| 1861 |
spurious test failures on slow CI systems. (Jelmer Vernooij) |
| 1862 |
|
| 1863 |
* Revert removal of caching of full HTTP response. This breaks |
| 1864 |
access to some HTTP servers. |
| 1865 |
(Jelmer Vernooij) |
| 1866 |
|
| 1867 |
0.20.37 2022-05-16 |
| 1868 |
|
| 1869 |
* Avoid making an extra copy when fetching pack files. |
| 1870 |
(Jelmer Vernooij) |
| 1871 |
|
| 1872 |
* Add ``porcelain.remote_remove``. |
| 1873 |
(Jelmer Vernooij, #923) |
| 1874 |
|
| 1875 |
0.20.36 2022-05-15 |
| 1876 |
|
| 1877 |
* Add ``walk_untracked`` argument to ``porcelain.status``. |
| 1878 |
(Daniele Trifirò) |
| 1879 |
|
| 1880 |
* Add tests for paramiko SSH Vendor. |
| 1881 |
(Filipp Frizzy) |
| 1882 |
|
| 1883 |
0.20.35 2022-03-20 |
| 1884 |
|
| 1885 |
* Document the ``path`` attribute for ``Repo``. |
| 1886 |
(Jelmer Vernooij, #854) |
| 1887 |
|
| 1888 |
0.20.34 2022-03-14 |
| 1889 |
|
| 1890 |
* Add support for multivars in configuration. |
| 1891 |
(Jelmer Vernooij, #718) |
| 1892 |
|
| 1893 |
0.20.33 2022-03-05 |
| 1894 |
|
| 1895 |
* Fix handling of escaped characters in ignore patterns. |
| 1896 |
(Jelmer Vernooij, #930) |
| 1897 |
|
| 1898 |
* Add ``dulwich.contrib.requests_vendor``. (epopcon) |
| 1899 |
|
| 1900 |
* Ensure git config is available in a linked working tree. |
| 1901 |
(Jesse Cureton, #926) |
| 1902 |
|
| 1903 |
0.20.32 2022-01-24 |
| 1904 |
|
| 1905 |
* Properly close result repository during test. |
| 1906 |
(Jelmer Vernooij, #928) |
| 1907 |
|
| 1908 |
0.20.31 2022-01-21 |
| 1909 |
|
| 1910 |
* Add GitClient.clone(). (Jelmer Vernooij, #920) |
| 1911 |
|
| 1912 |
0.20.30 2022-01-08 |
| 1913 |
|
| 1914 |
0.20.29 2022-01-08 |
| 1915 |
|
| 1916 |
* Support staging submodules. |
| 1917 |
(Jelmer Vernooij) |
| 1918 |
|
| 1919 |
* Drop deprecated Index.iterblobs and iter_fresh_blobs. |
| 1920 |
(Jelmer Vernooij) |
| 1921 |
|
| 1922 |
* Unify clone behaviour of ``Repo.clone`` and |
| 1923 |
``porcelain.clone``, and add branch parameter for |
| 1924 |
clone. (Peter Rowlands, #851) |
| 1925 |
|
| 1926 |
0.20.28 2022-01-05 |
| 1927 |
|
| 1928 |
* Fix hook test on Mac OSX / Linux when dulwich is |
| 1929 |
not installed system-wide. (Jelmer Vernooij, #919) |
| 1930 |
|
| 1931 |
* Cope with gecos being unset. |
| 1932 |
(Jelmer Vernooij, #917) |
| 1933 |
|
| 1934 |
0.20.27 2022-01-04 |
| 1935 |
|
| 1936 |
* Allow adding files to repository in pre-commit hook. |
| 1937 |
(Jelmer Vernooij, #916) |
| 1938 |
|
| 1939 |
* Raise SubmoduleEncountered in ``tree_lookup_path``. |
| 1940 |
(Jelmer Vernooij) |
| 1941 |
|
| 1942 |
0.20.26 2021-10-29 |
| 1943 |
|
| 1944 |
* Support os.PathLike arguments to Repo.stage(). |
| 1945 |
(Jan Wiśniewski, #907) |
| 1946 |
|
| 1947 |
* Drop support for Python 3.5. (Jelmer Vernooij) |
| 1948 |
|
| 1949 |
* Add ``dulwich.porcelain._reset_file``. |
| 1950 |
(Ded_Secer) |
| 1951 |
|
| 1952 |
* Add ``Repo.unstage``. (Ded_Secer) |
| 1953 |
|
| 1954 |
0.20.25 2021-08-23 |
| 1955 |
|
| 1956 |
* Fix ``dulwich`` script when installed via setup.py. |
| 1957 |
(Dan Villiom Podlaski Christiansen) |
| 1958 |
|
| 1959 |
* Make default file mask consistent |
| 1960 |
with Git. (Dan Villiom Podlaski Christiansen, #884) |
| 1961 |
|
| 1962 |
0.20.24 2021-07-18 |
| 1963 |
|
| 1964 |
* config: disregard UTF-8 BOM when reading file. |
| 1965 |
(Dan Villiom Podlaski Christiansen) |
| 1966 |
|
| 1967 |
* Skip lines with spaces only in .gitignore. (Andrey Torsunov, #878) |
| 1968 |
|
| 1969 |
* Add a separate HTTPProxyUnauthorized exception for 407 errors. |
| 1970 |
(Jelmer Vernooij, #822) |
| 1971 |
|
| 1972 |
* Split out a AbstractHTTPGitClient class. |
| 1973 |
(Jelmer Vernooij) |
| 1974 |
|
| 1975 |
0.20.23 2021-05-24 |
| 1976 |
|
| 1977 |
* Fix installation of GPG during package publishing. |
| 1978 |
(Ruslan Kuprieiev) |
| 1979 |
|
| 1980 |
0.20.22 2021-05-24 |
| 1981 |
|
| 1982 |
* Prevent removal of refs directory when the last ref is |
| 1983 |
deleted. (Jelmer Vernooij) |
| 1984 |
|
| 1985 |
* Fix filename: MERGE_HEADS => MERGE_HEAD. |
| 1986 |
(Jelmer Vernooij, #861) |
| 1987 |
|
| 1988 |
* For ignored directories, porcelain.add and porcelain.status now only return |
| 1989 |
the path to directory itself in the list of ignored paths. Previously, paths |
| 1990 |
for all files within the directory would also be included in the list. |
| 1991 |
(Peter Rowlands, #853) |
| 1992 |
|
| 1993 |
* Provide depth argument to ``determine_wants``. |
| 1994 |
(Peter Rowlands) |
| 1995 |
|
| 1996 |
* Various tag signature handling improvements. |
| 1997 |
(Daniel Murphy) |
| 1998 |
|
| 1999 |
* Add separate Tag.verify(). (Peter Rowlands) |
| 2000 |
|
| 2001 |
* Add support for version 3 index files. (Jelmer Vernooij) |
| 2002 |
|
| 2003 |
* Fix autocrlf=input handling. (Peter Rowlands, Boris Feld) |
| 2004 |
|
| 2005 |
* Attempt to find C Git global config on Windows. |
| 2006 |
(Peter Rowlands) |
| 2007 |
|
| 2008 |
API CHANGES |
| 2009 |
|
| 2010 |
* The APIs for writing and reading individual index entries have changed |
| 2011 |
to handle lists of (name, entry) tuples rather than tuples. |
| 2012 |
|
| 2013 |
0.20.21 2021-03-20 |
| 2014 |
|
| 2015 |
* Add basic support for a GcsObjectStore that stores |
| 2016 |
pack files in gcs. (Jelmer Vernooij) |
| 2017 |
|
| 2018 |
* In porcelain.push, default to local active branch. |
| 2019 |
(Jelmer Vernooij, #846) |
| 2020 |
|
| 2021 |
* Support fetching symrefs. |
| 2022 |
(Jelmer Vernooij, #485, #847) |
| 2023 |
|
| 2024 |
* Add aarch64 wheel building. |
| 2025 |
(odidev, Jelmer Vernooij) |
| 2026 |
|
| 2027 |
0.20.20 2021-03-03 |
| 2028 |
|
| 2029 |
* Implement ``Stash.drop``. (Peter Rowlands) |
| 2030 |
|
| 2031 |
* Support untracked symlinks to paths outside the |
| 2032 |
repository. (Peter Rowlands, #842) |
| 2033 |
|
| 2034 |
0.20.19 2021-02-11 |
| 2035 |
|
| 2036 |
* Fix handling of negative matches in nested gitignores. |
| 2037 |
(Corentin Hembise, #836) |
| 2038 |
|
| 2039 |
0.20.18 2021-02-04 |
| 2040 |
|
| 2041 |
* Fix formatting in setup.py. (Jelmer Vernooij) |
| 2042 |
|
| 2043 |
* Add release configuration. (Jelmer Vernooij) |
| 2044 |
|
| 2045 |
0.20.17 2021-02-04 |
| 2046 |
|
| 2047 |
* credentials: ignore end-of-line character. (Georges Racinet) |
| 2048 |
|
| 2049 |
* Fix failure in get_untracked_paths when the repository contains symlinks. |
| 2050 |
(#830, #793, mattseddon) |
| 2051 |
|
| 2052 |
* docs: Clarify that Git objects are created on `git add`. |
| 2053 |
(Utku Gultopu) |
| 2054 |
|
| 2055 |
0.20.16 2021-01-16 |
| 2056 |
|
| 2057 |
* Add flag to only attempt to fetch ignored untracked files when specifically requested. |
| 2058 |
(Matt Seddon) |
| 2059 |
|
| 2060 |
0.20.15 2020-12-23 |
| 2061 |
|
| 2062 |
* Add some functions for parsing and writing bundles. |
| 2063 |
(Jelmer Vernooij) |
| 2064 |
|
| 2065 |
* Add ``no_verify`` flag to ``porcelain.commit`` and ``Repo.do_commit``. |
| 2066 |
(Peter Rowlands) |
| 2067 |
|
| 2068 |
* Remove dependency on external mock module. |
| 2069 |
(Matěj Cepl, #820) |
| 2070 |
|
| 2071 |
0.20.14 2020-11-26 |
| 2072 |
|
| 2073 |
* Fix some stash functions on Python 3. (Peter Rowlands) |
| 2074 |
|
| 2075 |
* Fix handling of relative paths in alternates files on Python 3. |
| 2076 |
(Georges Racinet) |
| 2077 |
|
| 2078 |
0.20.13 2020-11-22 |
| 2079 |
|
| 2080 |
* Add py.typed to allow type checking. (David Caro) |
| 2081 |
|
| 2082 |
* Add tests demonstrating a bug in the walker code. |
| 2083 |
(Doug Hellman) |
| 2084 |
|
| 2085 |
0.20.11 2020-10-30 |
| 2086 |
|
| 2087 |
* Fix wheels build on Linux. (Ruslan Kuprieiev) |
| 2088 |
|
| 2089 |
* Enable wheels build for Python 3.9 on Linux. (Jelmer Vernooij) |
| 2090 |
|
| 2091 |
0.20.8 2020-10-29 |
| 2092 |
|
| 2093 |
* Build wheels on Mac OS X / Windows for Python 3.9. |
| 2094 |
(Jelmer Vernooij) |
| 2095 |
|
| 2096 |
0.20.7 2020-10-29 |
| 2097 |
|
| 2098 |
* Check core.repositoryformatversion. (Jelmer Vernooij, #803) |
| 2099 |
|
| 2100 |
* Fix ACK/NACK handling in archive command handling in dulwich.client. |
| 2101 |
(DzmitrySudnik, #805) |
| 2102 |
|
| 2103 |
0.20.6 2020-08-29 |
| 2104 |
|
| 2105 |
* Add a ``RefsContainer.watch`` interface. |
| 2106 |
(Jelmer Vernooij, #751) |
| 2107 |
|
| 2108 |
* Fix pushing of new branches from porcelain.push. |
| 2109 |
(Jelmer Vernooij, #788) |
| 2110 |
|
| 2111 |
* Honor shallows when pushing from a shallow clone. |
| 2112 |
(Jelmer Vernooij, #794) |
| 2113 |
|
| 2114 |
* Fix porcelain.path_to_tree_path for Python 3.5. |
| 2115 |
(Boris Feld, #777) |
| 2116 |
|
| 2117 |
* Add support for honor proxy environment variables for HTTP. |
| 2118 |
(Aurélien Campéas, #797) |
| 2119 |
|
| 2120 |
0.20.5 2020-06-22 |
| 2121 |
|
| 2122 |
* Print a clearer exception when setup.py is executed on Python < 3.5. |
| 2123 |
(Jelmer Vernooij, #783) |
| 2124 |
|
| 2125 |
* Send an empty pack to clients if they requested objects, even if they |
| 2126 |
already have those objects. Thanks to Martijn Pieters for |
| 2127 |
the detailed bug report. (Jelmer Vernooij, #781) |
| 2128 |
|
| 2129 |
* porcelain.pull: Don't ask for objects that we already have. |
| 2130 |
(Jelmer Vernooij, #782) |
| 2131 |
|
| 2132 |
* Add LCA implementation. (Kevin Hendricks) |
| 2133 |
|
| 2134 |
* Add functionality for finding the merge base. (Kevin Hendricks) |
| 2135 |
|
| 2136 |
* Check for diverged branches during push. |
| 2137 |
(Jelmer Vernooij, #494) |
| 2138 |
|
| 2139 |
* Check for fast-forward during pull. (Jelmer Vernooij, #666) |
| 2140 |
|
| 2141 |
* Return a SendPackResult object from |
| 2142 |
GitClient.send_pack(). (Jelmer Vernooij) |
| 2143 |
|
| 2144 |
* ``GitClient.send_pack`` now sets the ``ref_status`` attribute |
| 2145 |
on its return value to a dictionary mapping ref names |
| 2146 |
to error messages. Previously, it raised UpdateRefsError |
| 2147 |
if any of the refs failed to update. |
| 2148 |
(Jelmer Vernooij, #780) |
| 2149 |
|
| 2150 |
* Add a ``porcelain.Error`` object that most errors in porcelain |
| 2151 |
derive from. (Jelmer Vernooij) |
| 2152 |
|
| 2153 |
* Fix argument parsing in dulwich command-line app. |
| 2154 |
(Jelmer Vernooij, #784) |
| 2155 |
|
| 2156 |
0.20.3 2020-06-14 |
| 2157 |
|
| 2158 |
* Add support for remembering remote refs after push/pull. |
| 2159 |
(Jelmer Vernooij, #752) |
| 2160 |
|
| 2161 |
* Support passing tree and output encoding to |
| 2162 |
dulwich.patch.unified_diff. (Jelmer Vernooij, #763) |
| 2163 |
|
| 2164 |
* Fix pushing of new refs over HTTP(S) when there are |
| 2165 |
no new objects to be sent. |
| 2166 |
(Jelmer Vernooij, #739) |
| 2167 |
|
| 2168 |
* Raise new error HTTPUnauthorized when the server sends |
| 2169 |
back a 401. The client can then retry with credentials. |
| 2170 |
(Jelmer Vernooij, #691) |
| 2171 |
|
| 2172 |
* Move the guts of bin/dulwich to dulwich.cli, so it is easier to |
| 2173 |
test or import. (Jelmer Vernooij) |
| 2174 |
|
| 2175 |
* Install dulwich script from entry_points when setuptools is available, |
| 2176 |
making it slightly easier to use on Windows. (Jelmer Vernooij, #540) |
| 2177 |
|
| 2178 |
* Set python_requires>=3.5 in setup.py. (Manuel Jacob) |
| 2179 |
|
| 2180 |
0.20.2 2020-06-01 |
| 2181 |
|
| 2182 |
* Brown bag release to fix uploads of Windows wheels. |
| 2183 |
|
| 2184 |
0.20.1 2020-06-01 |
| 2185 |
|
| 2186 |
* Publish binary wheels for: Windows, Linux, Mac OS X. |
| 2187 |
(Jelmer Vernooij, #711, #710, #629) |
| 2188 |
|
| 2189 |
0.20.0 2020-06-01 |
| 2190 |
|
| 2191 |
* Drop support for Python 2. (Jelmer Vernooij) |
| 2192 |
|
| 2193 |
* Only return files from the loose store that look like git objects. |
| 2194 |
(Nicolas Dandrimont) |
| 2195 |
|
| 2196 |
* Ignore agent= capability if sent by client. |
| 2197 |
(Jelmer Vernooij) |
| 2198 |
|
| 2199 |
* Don't break when encountering block devices. |
| 2200 |
(Jelmer Vernooij) |
| 2201 |
|
| 2202 |
* Decode URL paths in HttpGitClient using utf-8 rather than file system |
| 2203 |
encoding. (Manuel Jacob) |
| 2204 |
|
| 2205 |
* Fix pushing from a shallow clone. |
| 2206 |
(Brecht Machiels, #705) |
| 2207 |
|
| 2208 |
0.19.16 2020-04-17 |
| 2209 |
|
| 2210 |
* Don't send "deepen None" to server if graph walker |
| 2211 |
supports shallow. (Jelmer Vernooij, #747) |
| 2212 |
|
| 2213 |
* Support tweaking the compression level for |
| 2214 |
loose objects through the "core.looseCompression" and |
| 2215 |
"core.compression" settings. (Jelmer Vernooij) |
| 2216 |
|
| 2217 |
* Support tweaking the compression level for |
| 2218 |
pack objects through the "core.packCompression" and |
| 2219 |
"core.compression" settings. (Jelmer Vernooij) |
| 2220 |
|
| 2221 |
* Add a "dulwich.contrib.diffstat" module. |
| 2222 |
(Kevin Hendricks) |
| 2223 |
|
| 2224 |
0.19.15 2020-01-26 |
| 2225 |
|
| 2226 |
* Properly handle files that are just executable for the |
| 2227 |
current user. (Jelmer Vernooij, #734) |
| 2228 |
|
| 2229 |
* Fix handling of stored encoding in |
| 2230 |
``dulwich.porcelain.get_object_by_path`` on Python 3. |
| 2231 |
(Jelmer Vernooij) |
| 2232 |
|
| 2233 |
* Support the include_trees and rename_detector arguments |
| 2234 |
at the same time when diffing trees. |
| 2235 |
(Jelmer Vernooij) |
| 2236 |
|
| 2237 |
0.19.14 2019-11-30 |
| 2238 |
|
| 2239 |
* Strip superfluous <> around email. (monnerat) |
| 2240 |
|
| 2241 |
* Stop checking for ref validity client-side. Users can |
| 2242 |
still call check_wants manually. (Jelmer Vernooij) |
| 2243 |
|
| 2244 |
* Switch over to Google-style docstrings. |
| 2245 |
(Jelmer Vernooij) |
| 2246 |
|
| 2247 |
* Add a ``dulwich.porcelain.active_branch`` function. |
| 2248 |
(Jelmer Vernooij) |
| 2249 |
|
| 2250 |
* Cleanup new directory if clone fails. (Jelmer Vernooij, #733) |
| 2251 |
|
| 2252 |
* Expand "~" in global exclude path. (Jelmer Vernooij) |
| 2253 |
|
| 2254 |
0.19.13 2019-08-19 |
| 2255 |
|
| 2256 |
BUG FIXES |
| 2257 |
|
| 2258 |
* Avoid ``PermissionError``, since it is Python3-specific. |
| 2259 |
(Jelmer Vernooij) |
| 2260 |
|
| 2261 |
* Fix regression that added a dependency on C git for the |
| 2262 |
test suite. (Jelmer Vernooij, #720) |
| 2263 |
|
| 2264 |
* Fix compatibility with Python 3.8 - mostly deprecation warnings. |
| 2265 |
(Jelmer Vernooij) |
| 2266 |
|
| 2267 |
0.19.12 2019-08-13 |
| 2268 |
|
| 2269 |
BUG FIXES |
| 2270 |
|
| 2271 |
* Update directory detection for `get_unstaged_changes` for Python 3. |
| 2272 |
(Boris Feld, #684) |
| 2273 |
|
| 2274 |
* Add a basic ``porcelain.clean``. (Lane Barlow, #398) |
| 2275 |
|
| 2276 |
* Fix output format of ``porcelain.diff`` to match that of |
| 2277 |
C Git. (Boris Feld) |
| 2278 |
|
| 2279 |
* Return a 404 not found error when repository is not found. |
| 2280 |
|
| 2281 |
* Mark ``.git`` directories as hidden on Windows. |
| 2282 |
(Martin Packman, #585) |
| 2283 |
|
| 2284 |
* Implement ``RefsContainer.__iter__`` |
| 2285 |
(Jelmer Vernooij, #717) |
| 2286 |
|
| 2287 |
* Don't trust modes if they can't be modified after a file has been created. |
| 2288 |
(Jelmer Vernooij, #719) |
| 2289 |
|
| 2290 |
0.19.11 2019-02-07 |
| 2291 |
|
| 2292 |
IMPROVEMENTS |
| 2293 |
|
| 2294 |
* Use fullname from gecos field, if available. |
| 2295 |
(Jelmer Vernooij) |
| 2296 |
|
| 2297 |
* Support ``GIT_AUTHOR_NAME`` / ``GIT_AUTHOR_EMAIL``. |
| 2298 |
(Jelmer Vernooij) |
| 2299 |
|
| 2300 |
* Add support for short ids in parse_commit. (Jelmer Vernooij) |
| 2301 |
|
| 2302 |
* Add support for ``prune`` and ``prune_tags`` arguments |
| 2303 |
to ``porcelain.fetch``. (Jelmer Vernooij, #681) |
| 2304 |
|
| 2305 |
BUG FIXES |
| 2306 |
|
| 2307 |
* Fix handling of race conditions when new packs appear. |
| 2308 |
(Jelmer Vernooij) |
| 2309 |
|
| 2310 |
0.19.10 2018-01-15 |
| 2311 |
|
| 2312 |
IMPROVEMENTS |
| 2313 |
|
| 2314 |
* Add `dulwich.porcelain.write_tree`. |
| 2315 |
(Jelmer Vernooij) |
| 2316 |
|
| 2317 |
* Support reading ``MERGE_HEADS`` in ``Repo.do_commit``. |
| 2318 |
(Jelmer Vernooij) |
| 2319 |
|
| 2320 |
* Import from ``collections.abc`` rather than ``collections`` where |
| 2321 |
applicable. Required for 3.8 compatibility. |
| 2322 |
(Jelmer Vernooij) |
| 2323 |
|
| 2324 |
* Support plain strings as refspec arguments to |
| 2325 |
``dulwich.porcelain.push``. (Jelmer Vernooij) |
| 2326 |
|
| 2327 |
* Add support for creating signed tags. |
| 2328 |
(Jelmer Vernooij, #542) |
| 2329 |
|
| 2330 |
BUG FIXES |
| 2331 |
|
| 2332 |
* Handle invalid ref that pretends to be a sub-folder under a valid ref. |
| 2333 |
(KS Chan) |
| 2334 |
|
| 2335 |
0.19.9 2018-11-17 |
| 2336 |
|
| 2337 |
BUG FIXES |
| 2338 |
|
| 2339 |
* Avoid fetching ghosts in ``Repo.fetch``. |
| 2340 |
(Jelmer Vernooij) |
| 2341 |
|
| 2342 |
* Preserve port and username in parsed HTTP URLs. |
| 2343 |
(Jelmer Vernooij) |
| 2344 |
|
| 2345 |
* Add basic server side implementation of ``git-upload-archive``. |
| 2346 |
(Jelmer Vernooij) |
| 2347 |
|
| 2348 |
0.19.8 2018-11-06 |
| 2349 |
|
| 2350 |
* Fix encoding when reading README file in setup.py. |
| 2351 |
(egor <[email protected]>, #668) |
| 2352 |
|
| 2353 |
0.19.7 2018-11-05 |
| 2354 |
|
| 2355 |
CHANGES |
| 2356 |
|
| 2357 |
* Drop support for Python 3 < 3.4. This is because |
| 2358 |
pkg_resources (which get used by setuptools and mock) |
| 2359 |
no longer supports 3.3 and earlier. (Jelmer Vernooij) |
| 2360 |
|
| 2361 |
IMPROVEMENTS |
| 2362 |
|
| 2363 |
* Support ``depth`` argument to ``GitClient.fetch_pack`` and support |
| 2364 |
fetching and updating shallow metadata. (Jelmer Vernooij, #240) |
| 2365 |
|
| 2366 |
BUG FIXES |
| 2367 |
|
| 2368 |
* Don't write to stdout and stderr when they are not available |
| 2369 |
(such as is the case for pythonw). (Sylvia van Os, #652) |
| 2370 |
|
| 2371 |
* Fix compatibility with newer versions of git, which expect CONTENT_LENGTH |
| 2372 |
to be set to 0 for empty body requests. (Jelmer Vernooij, #657) |
| 2373 |
|
| 2374 |
* Raise an exception client-side when a caller tries to request |
| 2375 |
SHAs that are not directly referenced the servers' refs. |
| 2376 |
(Jelmer Vernooij) |
| 2377 |
|
| 2378 |
* Raise more informative errors when unable to connect to repository |
| 2379 |
over SSH or subprocess. (Jelmer Vernooij) |
| 2380 |
|
| 2381 |
* Handle commit identity fields with multiple ">" characters. |
| 2382 |
(Nicolas Dandrimont) |
| 2383 |
|
| 2384 |
IMPROVEMENTS |
| 2385 |
|
| 2386 |
* ``dulwich.porcelain.get_object_by_path`` method for easily |
| 2387 |
accessing a path in another tree. (Jelmer Vernooij) |
| 2388 |
|
| 2389 |
* Support the ``i18n.commitEncoding`` setting in config. |
| 2390 |
(Jelmer Vernooij) |
| 2391 |
|
| 2392 |
0.19.6 2018-08-11 |
| 2393 |
|
| 2394 |
BUG FIXES |
| 2395 |
|
| 2396 |
* Fix support for custom transport arguments in ``dulwich.porcelain.clone``. |
| 2397 |
(Semyon Slepov) |
| 2398 |
|
| 2399 |
* Fix compatibility with Python 3.8 (Jelmer Vernooij, Daniel M. Capella) |
| 2400 |
|
| 2401 |
* Fix some corner cases in ``path_to_tree_path``. (Romain Keramitas) |
| 2402 |
|
| 2403 |
* Support paths as bytestrings in various places in ``dulwich.index`` |
| 2404 |
(Jelmer Vernooij) |
| 2405 |
|
| 2406 |
* Avoid setup.cfg for now, since it seems to break pypi metadata. |
| 2407 |
(Jelmer Vernooij, #658) |
| 2408 |
|
| 2409 |
0.19.5 2018-07-08 |
| 2410 |
|
| 2411 |
IMPROVEMENTS |
| 2412 |
|
| 2413 |
* Add ``porcelain.describe``. (Sylvia van Os) |
| 2414 |
|
| 2415 |
BUG FIXES |
| 2416 |
|
| 2417 |
* Fix regression in ``dulwich.porcelain.clone`` that prevented cloning |
| 2418 |
of remote repositories. (Jelmer Vernooij, #639) |
| 2419 |
|
| 2420 |
* Don't leave around empty parent directories for removed refs. |
| 2421 |
(Damien Tournoud, #640) |
| 2422 |
|
| 2423 |
0.19.4 2018-06-24 |
| 2424 |
|
| 2425 |
IMPROVEMENTS |
| 2426 |
|
| 2427 |
* Add ``porcelain.ls_files``. (Jelmer Vernooij) |
| 2428 |
|
| 2429 |
* Add ``Index.items``. (Jelmer Vernooij) |
| 2430 |
|
| 2431 |
BUG FIXES |
| 2432 |
|
| 2433 |
* Avoid unicode characters (e.g. the digraph ij in my surname) in setup.cfg, |
| 2434 |
since setuptools doesn't deal well with them. See |
| 2435 |
https://github.com/pypa/setuptools/issues/1062. (Jelmer Vernooij, #637) |
| 2436 |
|
| 2437 |
0.19.3 2018-06-17 |
| 2438 |
|
| 2439 |
IMPROVEMENTS |
| 2440 |
|
| 2441 |
* Add really basic `dulwich.porcelain.fsck` implementation. |
| 2442 |
(Jelmer Vernooij) |
| 2443 |
|
| 2444 |
* When the `DULWICH_PDB` environment variable is set, make |
| 2445 |
SIGQUIT open pdb in the 'dulwich' command. |
| 2446 |
|
| 2447 |
* Add `checkout` argument to `Repo.clone`. |
| 2448 |
(Jelmer Vernooij, #503) |
| 2449 |
|
| 2450 |
* Add `Repo.get_shallow` method. (Jelmer Vernooij) |
| 2451 |
|
| 2452 |
* Add basic `dulwich.stash` module. (Jelmer Vernooij) |
| 2453 |
|
| 2454 |
* Support a `prefix` argument to `dulwich.archive.tar_stream`. |
| 2455 |
(Jelmer Vernooij) |
| 2456 |
|
| 2457 |
BUG FIXES |
| 2458 |
|
| 2459 |
* Fix handling of encoding for tags. (Jelmer Vernooij, #608) |
| 2460 |
|
| 2461 |
* Fix tutorial tests on Python 3. (Jelmer Vernooij, #573) |
| 2462 |
|
| 2463 |
* Fix remote refs created by `porcelain.fetch`. (Daniel Andersson, #623) |
| 2464 |
|
| 2465 |
* More robust pack creation on Windows. (Daniel Andersson) |
| 2466 |
|
| 2467 |
* Fix recursive option for `porcelain.ls_tree`. (Romain Keramitas) |
| 2468 |
|
| 2469 |
TESTS |
| 2470 |
|
| 2471 |
* Some improvements to paramiko tests. (Filipp Frizzy) |
| 2472 |
|
| 2473 |
0.19.2 2018-04-07 |
| 2474 |
|
| 2475 |
BUG FIXES |
| 2476 |
|
| 2477 |
* Fix deprecated Index.iterblobs method. |
| 2478 |
(Jelmer Vernooij) |
| 2479 |
|
| 2480 |
0.19.1 2018-04-05 |
| 2481 |
|
| 2482 |
IMPROVEMENTS |
| 2483 |
|
| 2484 |
* Add 'dulwich.mailmap' file for reading mailmap files. |
| 2485 |
(Jelmer Vernooij) |
| 2486 |
|
| 2487 |
* Dulwich no longer depends on urllib3[secure]. Instead, |
| 2488 |
"dulwich[https]" can be used to pull in the necessary |
| 2489 |
dependencies for HTTPS support. (Jelmer Vernooij, #616) |
| 2490 |
|
| 2491 |
* Support the `http.sslVerify` and `http.sslCAInfo` |
| 2492 |
configuration options. (Jelmer Vernooij) |
| 2493 |
|
| 2494 |
* Factor out `dulwich.client.parse_rsync_url` function. |
| 2495 |
(Jelmer Vernooij) |
| 2496 |
|
| 2497 |
* Fix repeat HTTP requests using the same smart HTTP client. |
| 2498 |
(Jelmer Vernooij) |
| 2499 |
|
| 2500 |
* New 'client.PLinkSSHVendor' for creating connections using PuTTY's plink.exe. |
| 2501 |
(Adam Bradley, Filipp Frizzy) |
| 2502 |
|
| 2503 |
* Only pass in `key_filename` and `password` to SSHVendor |
| 2504 |
implementations if those parameters are set. |
| 2505 |
(This helps with older SSHVendor implementations) |
| 2506 |
(Jelmer Vernooij) |
| 2507 |
|
| 2508 |
API CHANGES |
| 2509 |
|
| 2510 |
* Index.iterblobs has been renamed to Index.iterobjects. |
| 2511 |
(Jelmer Vernooij) |
| 2512 |
|
| 2513 |
0.19.0 2018-03-10 |
| 2514 |
|
| 2515 |
BUG FIXES |
| 2516 |
|
| 2517 |
* Make `dulwich.archive` set the gzip header file modification time so that |
| 2518 |
archives created from the same Git tree are always identical. |
| 2519 |
(#577, Jonas Haag) |
| 2520 |
|
| 2521 |
* Allow comment characters (#, ;) within configuration file strings |
| 2522 |
(Daniel Andersson, #579) |
| 2523 |
|
| 2524 |
* Raise exception when passing in invalid author/committer values |
| 2525 |
to Repo.do_commit(). (Jelmer Vernooij, #602) |
| 2526 |
|
| 2527 |
IMPROVEMENTS |
| 2528 |
|
| 2529 |
* Add a fastimport ``extra``. (Jelmer Vernooij) |
| 2530 |
|
| 2531 |
* Start writing reflog entries. (Jelmer Vernooij) |
| 2532 |
|
| 2533 |
* Add ability to use password and keyfile ssh options with SSHVendor. (Filipp Kucheryavy) |
| 2534 |
|
| 2535 |
* Add ``change_type_same`` flag to ``tree_changes``. |
| 2536 |
(Jelmer Vernooij) |
| 2537 |
|
| 2538 |
API CHANGES |
| 2539 |
|
| 2540 |
* ``GitClient.send_pack`` now accepts a ``generate_pack_data`` |
| 2541 |
rather than a ``generate_pack_contents`` function for |
| 2542 |
performance reasons. (Jelmer Vernooij) |
| 2543 |
|
| 2544 |
* Dulwich now uses urllib3 internally for HTTP requests. |
| 2545 |
The `opener` argument to `dulwich.client.HttpGitClient` that took a |
| 2546 |
`urllib2` opener instance has been replaced by a `pool_manager` argument |
| 2547 |
that takes a `urllib3` pool manager instance. |
| 2548 |
(Daniel Andersson) |
| 2549 |
|
| 2550 |
0.18.6 2017-11-11 |
| 2551 |
|
| 2552 |
BUG FIXES |
| 2553 |
|
| 2554 |
* Fix handling of empty repositories in ``porcelain.clone``. |
| 2555 |
(#570, Jelmer Vernooij) |
| 2556 |
|
| 2557 |
* Raise an error when attempting to add paths that are not under the |
| 2558 |
repository. (Jelmer Vernooij) |
| 2559 |
|
| 2560 |
* Fix error message for missing trailing ]. (Daniel Andersson) |
| 2561 |
|
| 2562 |
* Raise EmptyFileException when corruption (in the form of an empty |
| 2563 |
file) is detected. (Antoine R. Dumont, #582) |
| 2564 |
|
| 2565 |
IMPROVEMENTS |
| 2566 |
|
| 2567 |
* Enforce date field parsing consistency. This also add checks on |
| 2568 |
those date fields for potential overflow. |
| 2569 |
(Antoine R. Dumont, #567) |
| 2570 |
|
| 2571 |
0.18.5 2017-10-29 |
| 2572 |
|
| 2573 |
BUG FIXES |
| 2574 |
|
| 2575 |
* Fix cwd for hooks. (Fabian Grünbichler) |
| 2576 |
|
| 2577 |
* Fix setting of origin in config when non-standard origin is passed into |
| 2578 |
``Repo.clone``. (Kenneth Lareau, #565) |
| 2579 |
|
| 2580 |
* Prevent setting SSH arguments from SSH URLs when using SSH through a |
| 2581 |
subprocess. Note that Dulwich doesn't support cloning submodules. |
| 2582 |
(CVE-2017-16228) (Jelmer Vernooij) |
| 2583 |
|
| 2584 |
IMPROVEMENTS |
| 2585 |
|
| 2586 |
* Silently ignored directories in ``Repo.stage``. |
| 2587 |
(Jelmer Vernooij, #564) |
| 2588 |
|
| 2589 |
API CHANGES |
| 2590 |
|
| 2591 |
* GitFile now raises ``FileLocked`` when encountering a lock |
| 2592 |
rather than OSError(EEXIST). (Jelmer Vernooij) |
| 2593 |
|
| 2594 |
0.18.4 2017-10-01 |
| 2595 |
|
| 2596 |
BUG FIXES |
| 2597 |
|
| 2598 |
* Make default User-Agent start with "git/" because GitHub won't response to |
| 2599 |
HTTP smart server requests otherwise (and reply with a 404). |
| 2600 |
(Jelmer vernooij, #562) |
| 2601 |
|
| 2602 |
0.18.3 2017-09-03 |
| 2603 |
|
| 2604 |
BUG FIXES |
| 2605 |
|
| 2606 |
* Read config during porcelain operations that involve remotes. |
| 2607 |
(Jelmer Vernooij, #545) |
| 2608 |
|
| 2609 |
* Fix headers of empty chunks in unified diffs. (Taras Postument, #543) |
| 2610 |
|
| 2611 |
* Properly follow redirects over HTTP. (Jelmer Vernooij, #117) |
| 2612 |
|
| 2613 |
IMPROVEMENTS |
| 2614 |
|
| 2615 |
* Add ``dulwich.porcelain.update_head``. (Jelmer Vernooij, #439) |
| 2616 |
|
| 2617 |
* ``GitClient.fetch_pack`` now returns symrefs. |
| 2618 |
(Jelmer Vernooij, #485) |
| 2619 |
|
| 2620 |
* The server now supports providing symrefs. |
| 2621 |
(Jelmer Vernooij, #485) |
| 2622 |
|
| 2623 |
* Add ``dulwich.object_store.commit_tree_changes`` to incrementally |
| 2624 |
commit changes to a tree structure. (Jelmer Vernooij) |
| 2625 |
|
| 2626 |
* Add basic ``PackBasedObjectStore.repack`` method. |
| 2627 |
(Jelmer Vernooij, Earl Chew, #296, #549, #552) |
| 2628 |
|
| 2629 |
0.18.2 2017-08-01 |
| 2630 |
|
| 2631 |
TEST FIXES |
| 2632 |
|
| 2633 |
* Use constant timestamp so tests pass in all timezones, not just BST. |
| 2634 |
(Jelmer Vernooij) |
| 2635 |
|
| 2636 |
0.18.1 2017-07-31 |
| 2637 |
|
| 2638 |
BUG FIXES |
| 2639 |
|
| 2640 |
* Fix syntax error in dulwich.contrib.test_swift_smoke. |
| 2641 |
(Jelmer Vernooij) |
| 2642 |
|
| 2643 |
0.18.0 2017-07-31 |
| 2644 |
|
| 2645 |
BUG FIXES |
| 2646 |
|
| 2647 |
* Fix remaining tests on Windows. (Jelmer Vernooij, #493) |
| 2648 |
|
| 2649 |
* Fix build of C extensions with Python 3 on Windows. |
| 2650 |
(Jelmer Vernooij) |
| 2651 |
|
| 2652 |
* Pass 'mkdir' argument onto Repo.init_bare in Repo.clone. |
| 2653 |
(Jelmer Vernooij, #504) |
| 2654 |
|
| 2655 |
* In ``dulwich.porcelain.add``, if no files are specified, |
| 2656 |
add from current working directory rather than repository root. |
| 2657 |
(Jelmer Vernooij, #521) |
| 2658 |
|
| 2659 |
* Properly deal with submodules in 'porcelain.status'. |
| 2660 |
(Jelmer Vernooij, #517) |
| 2661 |
|
| 2662 |
* ``dulwich.porcelain.remove`` now actually removes files from |
| 2663 |
disk, not just from the index. (Jelmer Vernooij, #488) |
| 2664 |
|
| 2665 |
* Fix handling of "reset" command with markers and without |
| 2666 |
"from". (Antoine Pietri) |
| 2667 |
|
| 2668 |
* Fix handling of "merge" command with markers. (Antoine Pietri) |
| 2669 |
|
| 2670 |
* Support treeish argument to porcelain.reset(), rather than |
| 2671 |
requiring a ref/commit id. (Jelmer Vernooij) |
| 2672 |
|
| 2673 |
* Handle race condition when mtime doesn't change between writes/reads. |
| 2674 |
(Jelmer Vernooij, #541) |
| 2675 |
|
| 2676 |
* Fix ``dulwich.porcelain.show`` on commits with Python 3. |
| 2677 |
(Jelmer Vernooij, #532) |
| 2678 |
|
| 2679 |
IMPROVEMENTS |
| 2680 |
|
| 2681 |
* Add basic support for reading ignore files in ``dulwich.ignore``. |
| 2682 |
``dulwich.porcelain.add`` and ``dulwich.porcelain.status`` now honor |
| 2683 |
ignores. (Jelmer Vernooij, Segev Finer, #524, #526) |
| 2684 |
|
| 2685 |
* New ``dulwich.porcelain.check_ignore`` command. |
| 2686 |
(Jelmer Vernooij) |
| 2687 |
|
| 2688 |
* ``dulwich.porcelain.status`` now supports a ``ignored`` argument. |
| 2689 |
(Jelmer Vernooij) |
| 2690 |
|
| 2691 |
DOCUMENTATION |
| 2692 |
|
| 2693 |
* Clarified docstrings for Client.{send_pack,fetch_pack} implementations. |
| 2694 |
(Jelmer Vernooij, #523) |
| 2695 |
|
| 2696 |
0.17.3 2017-03-20 |
| 2697 |
|
| 2698 |
PLATFORM SUPPORT |
| 2699 |
|
| 2700 |
* List Python 3.3 as supported. (Jelmer Vernooij, #513) |
| 2701 |
|
| 2702 |
BUG FIXES |
| 2703 |
|
| 2704 |
* Fix compatibility with pypy 3. (Jelmer Vernooij) |
| 2705 |
|
| 2706 |
0.17.2 2017-03-19 |
| 2707 |
|
| 2708 |
BUG FIXES |
| 2709 |
|
| 2710 |
* Add workaround for |
| 2711 |
https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work, |
| 2712 |
fixing Dulwich when used with C extensions on pypy < 5.6. (Victor Stinner) |
| 2713 |
|
| 2714 |
* Properly quote config values with a '#' character in them. |
| 2715 |
(Jelmer Vernooij, #511) |
| 2716 |
|
| 2717 |
0.17.1 2017-03-01 |
| 2718 |
|
| 2719 |
IMPROVEMENTS |
| 2720 |
|
| 2721 |
* Add basic 'dulwich pull' command. (Jelmer Vernooij) |
| 2722 |
|
| 2723 |
BUG FIXES |
| 2724 |
|
| 2725 |
* Cope with existing submodules during pull. |
| 2726 |
(Jelmer Vernooij, #505) |
| 2727 |
|
| 2728 |
0.17.0 2017-03-01 |
| 2729 |
|
| 2730 |
TEST FIXES |
| 2731 |
|
| 2732 |
* Skip test that requires sync to synchronize filesystems if os.sync is |
| 2733 |
not available. (Koen Martens) |
| 2734 |
|
| 2735 |
IMPROVEMENTS |
| 2736 |
|
| 2737 |
* Implement MemoryRepo.{set_description,get_description}. |
| 2738 |
(Jelmer Vernooij) |
| 2739 |
|
| 2740 |
* Raise exception in Repo.stage() when absolute paths are |
| 2741 |
passed in. Allow passing in relative paths to |
| 2742 |
porcelain.add().(Jelmer Vernooij) |
| 2743 |
|
| 2744 |
BUG FIXES |
| 2745 |
|
| 2746 |
* Handle multi-line quoted values in config files. |
| 2747 |
(Jelmer Vernooij, #495) |
| 2748 |
|
| 2749 |
* Allow porcelain.clone of repository without HEAD. |
| 2750 |
(Jelmer Vernooij, #501) |
| 2751 |
|
| 2752 |
* Support passing tag ids to Walker()'s include argument. |
| 2753 |
(Jelmer Vernooij) |
| 2754 |
|
| 2755 |
* Don't strip trailing newlines from extra headers. |
| 2756 |
(Nicolas Dandrimont) |
| 2757 |
|
| 2758 |
* Set bufsize=0 for subprocess interaction with SSH client. |
| 2759 |
Fixes hangs on Python 3. (René Stern, #434) |
| 2760 |
|
| 2761 |
* Don't drop first slash for SSH paths, except for those |
| 2762 |
starting with "~". (Jelmer Vernooij, René Stern, #463) |
| 2763 |
|
| 2764 |
* Properly log off after retrieving just refs. |
| 2765 |
(Jelmer Vernooij) |
| 2766 |
|
| 2767 |
0.16.3 2016-01-14 |
| 2768 |
|
| 2769 |
TEST FIXES |
| 2770 |
|
| 2771 |
* Remove racy check that relies on clock time changing between writes. |
| 2772 |
(Jelmer Vernooij) |
| 2773 |
|
| 2774 |
IMPROVEMENTS |
| 2775 |
|
| 2776 |
* Add porcelain.remote_add. (Jelmer Vernooij) |
| 2777 |
|
| 2778 |
0.16.2 2016-01-14 |
| 2779 |
|
| 2780 |
IMPROVEMENTS |
| 2781 |
|
| 2782 |
* Fixed failing test-cases on windows. |
| 2783 |
(Koen Martens) |
| 2784 |
|
| 2785 |
API CHANGES |
| 2786 |
|
| 2787 |
* Repo is now a context manager, so that it can be easily |
| 2788 |
closed using a ``with`` statement. (Søren Løvborg) |
| 2789 |
|
| 2790 |
IMPROVEMENTS |
| 2791 |
|
| 2792 |
* Add naive annotate implementation in ``dulwich.annotate``. |
| 2793 |
It works, but performance needs work. (Jelmer Vernooij) |
| 2794 |
|
| 2795 |
TEST FIXES |
| 2796 |
|
| 2797 |
* Only run worktree list compat tests against git 2.7.0, |
| 2798 |
when 'git worktree list' was introduced. (Jelmer Vernooij) |
| 2799 |
|
| 2800 |
BUG FIXES |
| 2801 |
|
| 2802 |
* Ignore filemode when building index when core.filemode |
| 2803 |
is false. |
| 2804 |
(Koen Martens) |
| 2805 |
|
| 2806 |
* Initialize core.filemode configuration setting by |
| 2807 |
probing the filesystem for trustable permissions. |
| 2808 |
(Koen Martens) |
| 2809 |
|
| 2810 |
* Fix ``porcelain.reset`` to respect the committish argument. |
| 2811 |
(Koen Martens) |
| 2812 |
|
| 2813 |
* Fix dulwich.porcelain.ls_remote() on Python 3. |
| 2814 |
(#471, Jelmer Vernooij) |
| 2815 |
|
| 2816 |
* Allow both unicode and byte strings for host paths |
| 2817 |
in dulwich.client. (#435, Jelmer Vernooij) |
| 2818 |
|
| 2819 |
* Add remote from porcelain.clone. (#466, Jelmer Vernooij) |
| 2820 |
|
| 2821 |
* Fix unquoting of credentials before passing to urllib2. |
| 2822 |
(#475, Volodymyr Holovko) |
| 2823 |
|
| 2824 |
* Cope with submodules in `build_index_from_tree`. |
| 2825 |
(#477, Jelmer Vernooij) |
| 2826 |
|
| 2827 |
* Handle deleted files in `get_unstaged_changes`. |
| 2828 |
(#483, Doug Hellmann) |
| 2829 |
|
| 2830 |
* Don't overwrite files when they haven't changed in |
| 2831 |
`build_file_from_blob`. |
| 2832 |
(#479, Benoît HERVIER) |
| 2833 |
|
| 2834 |
* Check for existence of index file before opening pack. |
| 2835 |
Fixes a race when new packs are being added. |
| 2836 |
(#482, wme) |
| 2837 |
|
| 2838 |
0.16.1 2016-12-25 |
| 2839 |
|
| 2840 |
BUG FIXES |
| 2841 |
|
| 2842 |
* Fix python3 compatibility for dulwich.contrib.release_robot. |
| 2843 |
(Jelmer Vernooij) |
| 2844 |
|
| 2845 |
0.16.0 2016-12-24 |
| 2846 |
|
| 2847 |
IMPROVEMENTS |
| 2848 |
|
| 2849 |
* Add support for worktrees. See `git-worktree(1)` and |
| 2850 |
`gitrepository-layout(5)`. (Laurent Rineau) |
| 2851 |
|
| 2852 |
* Add support for `commondir` file in Git control |
| 2853 |
directories. (Laurent Rineau) |
| 2854 |
|
| 2855 |
* Add support for passwords in HTTP URLs. |
| 2856 |
(Jon Bain, Mika Mäenpää) |
| 2857 |
|
| 2858 |
* Add `release_robot` script to contrib, |
| 2859 |
allowing easy finding of current version based on Git tags. |
| 2860 |
(Mark Mikofski) |
| 2861 |
|
| 2862 |
* Add ``Blob.splitlines`` method. |
| 2863 |
(Jelmer Vernooij) |
| 2864 |
|
| 2865 |
BUG FIXES |
| 2866 |
|
| 2867 |
* Fix handling of ``Commit.tree`` being set to an actual |
| 2868 |
tree object rather than a tree id. (Jelmer Vernooij) |
| 2869 |
|
| 2870 |
* Return remote refs from LocalGitClient.fetch_pack(), |
| 2871 |
consistent with the documentation for that method. |
| 2872 |
(#461, Jelmer Vernooij) |
| 2873 |
|
| 2874 |
* Fix handling of unknown URL schemes in get_transport_and_path. |
| 2875 |
(#465, Jelmer Vernooij) |
| 2876 |
|
| 2877 |
0.15.0 2016-10-09 |
| 2878 |
|
| 2879 |
BUG FIXES |
| 2880 |
|
| 2881 |
* Allow missing trailing LF when reading service name from |
| 2882 |
HTTP servers. (Jelmer Vernooij, Andrew Shadura, #442) |
| 2883 |
|
| 2884 |
* Fix dulwich.porcelain.pull() on Python3. (Jelmer Vernooij, #451) |
| 2885 |
|
| 2886 |
* Properly pull in tags during dulwich.porcelain.clone. |
| 2887 |
(Jelmer Vernooij, #408) |
| 2888 |
|
| 2889 |
CHANGES |
| 2890 |
|
| 2891 |
* Changed license from "GNU General Public License, version 2.0 or later" |
| 2892 |
to "Apache License, version 2.0 or later or GNU General Public License, |
| 2893 |
version 2.0 or later". (#153) |
| 2894 |
|
| 2895 |
IMPROVEMENTS |
| 2896 |
|
| 2897 |
* Add ``dulwich.porcelain.ls_tree`` implementation. (Jelmer Vernooij) |
| 2898 |
|
| 2899 |
0.14.1 2016-07-05 |
| 2900 |
|
| 2901 |
BUG FIXES |
| 2902 |
|
| 2903 |
* Fix regression removing untouched refs when pushing over SSH. |
| 2904 |
(Jelmer Vernooij #441) |
| 2905 |
|
| 2906 |
* Skip Python3 tests for SWIFT contrib module, as it has not yet |
| 2907 |
been ported. |
| 2908 |
|
| 2909 |
0.14.0 2016-07-03 |
| 2910 |
|
| 2911 |
BUG FIXES |
| 2912 |
|
| 2913 |
* Fix ShaFile.id after modification of a copied ShaFile. |
| 2914 |
(Félix Mattrat, Jelmer Vernooij) |
| 2915 |
|
| 2916 |
* Support removing refs from porcelain.push. |
| 2917 |
(Jelmer Vernooij, #437) |
| 2918 |
|
| 2919 |
* Stop magic protocol ref `capabilities^{}` from leaking out |
| 2920 |
to clients. (Jelmer Vernooij, #254) |
| 2921 |
|
| 2922 |
IMPROVEMENTS |
| 2923 |
|
| 2924 |
* Add `dulwich.config.parse_submodules` function. |
| 2925 |
|
| 2926 |
* Add `RefsContainer.follow` method. (#438) |
| 2927 |
|
| 2928 |
0.13.0 2016-04-24 |
| 2929 |
|
| 2930 |
IMPROVEMENTS |
| 2931 |
|
| 2932 |
* Support `ssh://` URLs in get_transport_and_path_from_url(). |
| 2933 |
(Jelmer Vernooij, #402) |
| 2934 |
|
| 2935 |
* Support missing empty line after headers in Git commits and tags. |
| 2936 |
(Nicolas Dandrimont, #413) |
| 2937 |
|
| 2938 |
* Fix `dulwich.porcelain.status` when used in empty trees. |
| 2939 |
(Jelmer Vernooij, #415) |
| 2940 |
|
| 2941 |
* Return copies of objects in MemoryObjectStore rather than |
| 2942 |
references, making the behaviour more consistent with that of |
| 2943 |
DiskObjectStore. (Félix Mattrat, Jelmer Vernooij) |
| 2944 |
|
| 2945 |
* Fix ``dulwich.web`` on Python3. (#295, Jonas Haag) |
| 2946 |
|
| 2947 |
CHANGES |
| 2948 |
|
| 2949 |
* Drop support for Python 2.6. |
| 2950 |
|
| 2951 |
* Fix python3 client web support. (Jelmer Vernooij) |
| 2952 |
|
| 2953 |
BUG FIXES |
| 2954 |
|
| 2955 |
* Fix hang on Gzip decompression. (Jonas Haag) |
| 2956 |
|
| 2957 |
* Don't rely on working tell() and seek() methods |
| 2958 |
on wsgi.input. (Jonas Haag) |
| 2959 |
|
| 2960 |
* Support fastexport/fastimport functionality on python3 with newer |
| 2961 |
versions of fastimport (>= 0.9.5). (Jelmer Vernooij, Félix Mattrat) |
| 2962 |
|
| 2963 |
0.12.0 2015-12-13 |
| 2964 |
|
| 2965 |
IMPROVEMENTS |
| 2966 |
|
| 2967 |
* Add a `dulwich.archive` module that can create tarballs. |
| 2968 |
Based on code from Jonas Haag in klaus. |
| 2969 |
|
| 2970 |
* Add a `dulwich.reflog` module for reading and writing reflogs. |
| 2971 |
(Jelmer Vernooij) |
| 2972 |
|
| 2973 |
* Fix handling of ambiguous refs in `parse_ref` to make |
| 2974 |
it match the behaviour described in https://git-scm.com/docs/gitrevisions. |
| 2975 |
(Chris Bunney) |
| 2976 |
|
| 2977 |
* Support Python3 in C modules. (Lele Gaifax) |
| 2978 |
|
| 2979 |
BUG FIXES |
| 2980 |
|
| 2981 |
* Simplify handling of SSH command invocation. |
| 2982 |
Fixes quoting of paths. Thanks, Thomas Liebetraut. (#384) |
| 2983 |
|
| 2984 |
* Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383) |
| 2985 |
|
| 2986 |
* Add hack to support thin packs duing fetch(), albeit while requiring the |
| 2987 |
entire pack file to be loaded into memory. (jsbain) |
| 2988 |
|
| 2989 |
CHANGES |
| 2990 |
|
| 2991 |
* This will be the last release to support Python 2.6. |
| 2992 |
|
| 2993 |
0.11.2 2015-09-18 |
| 2994 |
|
| 2995 |
IMPROVEMENTS |
| 2996 |
|
| 2997 |
* Add support for agent= capability. (Jelmer Vernooij, #298) |
| 2998 |
|
| 2999 |
* Add support for quiet capability. (Jelmer Vernooij) |
| 3000 |
|
| 3001 |
CHANGES |
| 3002 |
|
| 3003 |
* The ParamikoSSHVendor class has been moved to |
| 3004 |
* dulwich.contrib.paramiko_vendor, as it's currently untested. |
| 3005 |
(Jelmer Vernooij, #364) |
| 3006 |
|
| 3007 |
0.11.1 2015-09-13 |
| 3008 |
|
| 3009 |
Fix-up release to exclude broken blame.py file. |
| 3010 |
|
| 3011 |
0.11.0 2015-09-13 |
| 3012 |
|
| 3013 |
IMPROVEMENTS |
| 3014 |
|
| 3015 |
* Extended Python3 support to most of the codebase. |
| 3016 |
(Gary van der Merwe, Jelmer Vernooij) |
| 3017 |
* The `Repo` object has a new `close` method that can be called to close any |
| 3018 |
open resources. (Gary van der Merwe) |
| 3019 |
* Support 'git.bat' in SubprocessGitClient on Windows. |
| 3020 |
(Stefan Zimmermann) |
| 3021 |
* Advertise 'ofs-delta' capability in receive-pack server side |
| 3022 |
capabilities. (Jelmer Vernooij) |
| 3023 |
* Switched `default_local_git_client_cls` to `LocalGitClient`. |
| 3024 |
(Gary van der Merwe) |
| 3025 |
* Add `porcelain.ls_remote` and `GitClient.get_refs`. |
| 3026 |
(Michael Edgar) |
| 3027 |
* Add `Repo.discover` method. (B. M. Corser) |
| 3028 |
* Add `dulwich.objectspec.parse_refspec`. (Jelmer Vernooij) |
| 3029 |
* Add `porcelain.pack_objects` and `porcelain.repack`. |
| 3030 |
(Jelmer Vernooij) |
| 3031 |
|
| 3032 |
BUG FIXES |
| 3033 |
|
| 3034 |
* Fix handling of 'done' in graph walker and implement the |
| 3035 |
'no-done' capability. (Tommy Yu, #88) |
| 3036 |
|
| 3037 |
* Avoid recursion limit issues resolving deltas. (William Grant, #81) |
| 3038 |
|
| 3039 |
* Allow arguments in local client binary path overrides. |
| 3040 |
(Jelmer Vernooij) |
| 3041 |
|
| 3042 |
* Fix handling of commands with arguments in paramiko SSH |
| 3043 |
client. (Andreas Klöckner, Jelmer Vernooij, #363) |
| 3044 |
|
| 3045 |
* Fix parsing of quoted strings in configs. (Jelmer Vernooij, #305) |
| 3046 |
|
| 3047 |
0.10.1 2015-03-25 |
| 3048 |
|
| 3049 |
BUG FIXES |
| 3050 |
|
| 3051 |
* Return `ApplyDeltaError` when encountering delta errors |
| 3052 |
in both C extensions and native delta application code. |
| 3053 |
(Jelmer Vernooij, #259) |
| 3054 |
|
| 3055 |
0.10.0 2015-03-22 |
| 3056 |
|
| 3057 |
BUG FIXES |
| 3058 |
|
| 3059 |
* In dulwich.index.build_index_from_tree, by default |
| 3060 |
refuse to create entries that start with .git/. |
| 3061 |
(Jelmer Vernooij, CVE-2014-9706) |
| 3062 |
|
| 3063 |
* Fix running of testsuite when installed. |
| 3064 |
(Jelmer Vernooij, #223) |
| 3065 |
|
| 3066 |
* Use a block cache in _find_content_rename_candidates(), |
| 3067 |
improving performance. (Mike Williams) |
| 3068 |
|
| 3069 |
* Add support for ``core.protectNTFS`` setting. |
| 3070 |
(Jelmer Vernooij) |
| 3071 |
|
| 3072 |
* Fix TypeError when fetching empty updates. |
| 3073 |
(Hwee Miin Koh) |
| 3074 |
|
| 3075 |
* Resolve delta refs when pulling into a MemoryRepo. |
| 3076 |
(Max Shawabkeh, #256) |
| 3077 |
|
| 3078 |
* Fix handling of tags of non-commits in missing object finder. |
| 3079 |
(Augie Fackler, #211) |
| 3080 |
|
| 3081 |
* Explicitly disable mmap on plan9 where it doesn't work. |
| 3082 |
(Jeff Sickel) |
| 3083 |
|
| 3084 |
IMPROVEMENTS |
| 3085 |
|
| 3086 |
* New public method `Repo.reset_index`. (Jelmer Vernooij) |
| 3087 |
|
| 3088 |
* Prevent duplicate parsing of loose files in objects |
| 3089 |
directory when reading. Thanks to David Keijser for the |
| 3090 |
report. (Jelmer Vernooij, #231) |
| 3091 |
|
| 3092 |
0.9.9 2015-03-20 |
| 3093 |
|
| 3094 |
SECURITY BUG FIXES |
| 3095 |
|
| 3096 |
* Fix buffer overflow in C implementation of pack apply_delta(). |
| 3097 |
(CVE-2015-0838) |
| 3098 |
|
| 3099 |
Thanks to Ivan Fratric of the Google Security Team for |
| 3100 |
reporting this issue. |
| 3101 |
(Jelmer Vernooij) |
| 3102 |
|
| 3103 |
0.9.8 2014-11-30 |
| 3104 |
|
| 3105 |
BUG FIXES |
| 3106 |
|
| 3107 |
* Various fixes to improve test suite running on Windows. |
| 3108 |
(Gary van der Merwe) |
| 3109 |
|
| 3110 |
* Limit delta copy length to 64K in v2 pack files. (Robert Brown) |
| 3111 |
|
| 3112 |
* Strip newline from final ACKed SHA while fetching packs. |
| 3113 |
(Michael Edgar) |
| 3114 |
|
| 3115 |
* Remove assignment to PyList_SIZE() that was causing segfaults on |
| 3116 |
pypy. (Jelmer Vernooij, #196) |
| 3117 |
|
| 3118 |
IMPROVEMENTS |
| 3119 |
|
| 3120 |
* Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij) |
| 3121 |
|
| 3122 |
* Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij) |
| 3123 |
|
| 3124 |
* Add 'status' support to bin/dulwich. (Jelmer Vernooij) |
| 3125 |
|
| 3126 |
* Add 'branch_create', 'branch_list', 'branch_delete' porcelain. |
| 3127 |
(Jelmer Vernooij) |
| 3128 |
|
| 3129 |
* Add 'fetch' porcelain. (Jelmer Vernooij) |
| 3130 |
|
| 3131 |
* Add 'tag_delete' porcelain. (Jelmer Vernooij) |
| 3132 |
|
| 3133 |
* Add support for serializing/deserializing 'gpgsig' attributes in Commit. |
| 3134 |
(Jelmer Vernooij) |
| 3135 |
|
| 3136 |
CHANGES |
| 3137 |
|
| 3138 |
* dul-web is now available as 'dulwich web-daemon'. |
| 3139 |
(Jelmer Vernooij) |
| 3140 |
|
| 3141 |
* dulwich.porcelain.tag has been renamed to tag_create. |
| 3142 |
dulwich.porcelain.list_tags has been renamed to tag_list. |
| 3143 |
(Jelmer Vernooij) |
| 3144 |
|
| 3145 |
API CHANGES |
| 3146 |
|
| 3147 |
* Restore support for Python 2.6. (Jelmer Vernooij, Gary van der Merwe) |
| 3148 |
|
| 3149 |
|
| 3150 |
0.9.7 2014-06-08 |
| 3151 |
|
| 3152 |
BUG FIXES |
| 3153 |
|
| 3154 |
* Fix tests dependent on hash ordering. (Michael Edgar) |
| 3155 |
|
| 3156 |
* Support staging symbolic links in Repo.stage. |
| 3157 |
(Robert Brown) |
| 3158 |
|
| 3159 |
* Ensure that all files object are closed when running the test suite. |
| 3160 |
(Gary van der Merwe) |
| 3161 |
|
| 3162 |
* When writing OFS_DELTA pack entries, write correct offset. |
| 3163 |
(Augie Fackler) |
| 3164 |
|
| 3165 |
* Fix handler of larger copy operations in packs. (Augie Fackler) |
| 3166 |
|
| 3167 |
* Various fixes to improve test suite running on Windows. |
| 3168 |
(Gary van der Merwe) |
| 3169 |
|
| 3170 |
* Fix logic for extra adds of identical files in rename detector. |
| 3171 |
(Robert Brown) |
| 3172 |
|
| 3173 |
IMPROVEMENTS |
| 3174 |
|
| 3175 |
* Add porcelain 'status'. (Ryan Faulkner) |
| 3176 |
|
| 3177 |
* Add porcelain 'daemon'. (Jelmer Vernooij) |
| 3178 |
|
| 3179 |
* Add `dulwich.greenthreads` module which provides support |
| 3180 |
for concurrency of some object store operations. |
| 3181 |
(Fabien Boucher) |
| 3182 |
|
| 3183 |
* Various changes to improve compatibility with Python 3. |
| 3184 |
(Gary van der Merwe, Hannu Valtonen, michael-k) |
| 3185 |
|
| 3186 |
* Add OpenStack Swift backed repository implementation |
| 3187 |
in dulwich.contrib. See README.swift for details. (Fabien Boucher) |
| 3188 |
|
| 3189 |
API CHANGES |
| 3190 |
|
| 3191 |
* An optional close function can be passed to the Protocol class. This will |
| 3192 |
be called by its close method. (Gary van der Merwe) |
| 3193 |
|
| 3194 |
* All classes with close methods are now context managers, so that they can |
| 3195 |
be easily closed using a `with` statement. (Gary van der Merwe) |
| 3196 |
|
| 3197 |
* Remove deprecated `num_objects` argument to `write_pack` methods. |
| 3198 |
(Jelmer Vernooij) |
| 3199 |
|
| 3200 |
OTHER CHANGES |
| 3201 |
|
| 3202 |
* The 'dul-daemon' script has been removed. The same functionality |
| 3203 |
is now available as 'dulwich daemon'. (Jelmer Vernooij) |
| 3204 |
|
| 3205 |
0.9.6 2014-04-23 |
| 3206 |
|
| 3207 |
IMPROVEMENTS |
| 3208 |
|
| 3209 |
* Add support for recursive add in 'git add'. |
| 3210 |
(Ryan Faulkner, Jelmer Vernooij) |
| 3211 |
|
| 3212 |
* Add porcelain 'list_tags'. (Ryan Faulkner) |
| 3213 |
|
| 3214 |
* Add porcelain 'push'. (Ryan Faulkner) |
| 3215 |
|
| 3216 |
* Add porcelain 'pull'. (Ryan Faulkner) |
| 3217 |
|
| 3218 |
* Support 'http.proxy' in HttpGitClient. |
| 3219 |
(Jelmer Vernooij, #1096030) |
| 3220 |
|
| 3221 |
* Support 'http.useragent' in HttpGitClient. |
| 3222 |
(Jelmer Vernooij) |
| 3223 |
|
| 3224 |
* In server, wait for clients to send empty list of |
| 3225 |
wants when talking to empty repository. |
| 3226 |
(Damien Tournoud) |
| 3227 |
|
| 3228 |
* Various changes to improve compatibility with |
| 3229 |
Python 3. (Gary van der Merwe) |
| 3230 |
|
| 3231 |
BUG FIXES |
| 3232 |
|
| 3233 |
* Support unseekable 'wsgi.input' streams. |
| 3234 |
(Jonas Haag) |
| 3235 |
|
| 3236 |
* Raise TypeError when passing unicode() object |
| 3237 |
to Repo.__getitem__. |
| 3238 |
(Jonas Haag) |
| 3239 |
|
| 3240 |
* Fix handling of `reset` command in dulwich.fastexport. |
| 3241 |
(Jelmer Vernooij, #1249029) |
| 3242 |
|
| 3243 |
* In client, don't wait for server to close connection |
| 3244 |
first. Fixes hang when used against GitHub |
| 3245 |
server implementation. (Siddharth Agarwal) |
| 3246 |
|
| 3247 |
* DeltaChainIterator: fix a corner case where an object is inflated as an |
| 3248 |
object already in the repository. |
| 3249 |
(Damien Tournoud, #135) |
| 3250 |
|
| 3251 |
* Stop leaking file handles during pack reload. (Damien Tournoud) |
| 3252 |
|
| 3253 |
* Avoid reopening packs during pack cache reload. (Jelmer Vernooij) |
| 3254 |
|
| 3255 |
API CHANGES |
| 3256 |
|
| 3257 |
* Drop support for Python 2.6. (Jelmer Vernooij) |
| 3258 |
|
| 3259 |
0.9.5 2014-02-23 |
| 3260 |
|
| 3261 |
IMPROVEMENTS |
| 3262 |
|
| 3263 |
* Add porcelain 'tag'. (Ryan Faulkner) |
| 3264 |
|
| 3265 |
* New module `dulwich.objectspec` for parsing strings referencing |
| 3266 |
objects and commit ranges. (Jelmer Vernooij) |
| 3267 |
|
| 3268 |
* Add shallow branch support. (milki) |
| 3269 |
|
| 3270 |
* Allow passing urllib2 `opener` into HttpGitClient. |
| 3271 |
(Dov Feldstern, #909037) |
| 3272 |
|
| 3273 |
CHANGES |
| 3274 |
|
| 3275 |
* Drop support for Python 2.4 and 2.5. (Jelmer Vernooij) |
| 3276 |
|
| 3277 |
API CHANGES |
| 3278 |
|
| 3279 |
* Remove long deprecated ``Repo.commit``, ``Repo.get_blob``, |
| 3280 |
``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij) |
| 3281 |
|
| 3282 |
* Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``. |
| 3283 |
(Jelmer Vernooij) |
| 3284 |
|
| 3285 |
* Remove long deprecated ``Tree.entries``. (Jelmer Vernooij) |
| 3286 |
|
| 3287 |
BUG FIXES |
| 3288 |
|
| 3289 |
* Raise KeyError rather than TypeError when passing in |
| 3290 |
unicode object of length 20 or 40 to Repo.__getitem__. |
| 3291 |
(Jelmer Vernooij) |
| 3292 |
|
| 3293 |
* Use 'rm' rather than 'unlink' in tests, since the latter |
| 3294 |
does not exist on OpenBSD and other platforms. |
| 3295 |
(Dmitrij D. Czarkoff) |
| 3296 |
|
| 3297 |
0.9.4 2013-11-30 |
| 3298 |
|
| 3299 |
IMPROVEMENTS |
| 3300 |
|
| 3301 |
* Add ssh_kwargs attribute to ParamikoSSHVendor. (milki) |
| 3302 |
|
| 3303 |
* Add Repo.set_description(). (Víðir Valberg Guðmundsson) |
| 3304 |
|
| 3305 |
* Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski) |
| 3306 |
|
| 3307 |
* Various performance improvements for object access. |
| 3308 |
(Jelmer Vernooij) |
| 3309 |
|
| 3310 |
* New function `get_transport_and_path_from_url`, |
| 3311 |
similar to `get_transport_and_path` but only |
| 3312 |
supports URLs. |
| 3313 |
(Jelmer Vernooij) |
| 3314 |
|
| 3315 |
* Add support for file:// URLs in `get_transport_and_path_from_url`. |
| 3316 |
(Jelmer Vernooij) |
| 3317 |
|
| 3318 |
* Add LocalGitClient implementation. |
| 3319 |
(Jelmer Vernooij) |
| 3320 |
|
| 3321 |
BUG FIXES |
| 3322 |
|
| 3323 |
* Support filesystems with 64bit inode and device numbers. |
| 3324 |
(André Roth) |
| 3325 |
|
| 3326 |
CHANGES |
| 3327 |
|
| 3328 |
* Ref handling has been moved to dulwich.refs. |
| 3329 |
(Jelmer Vernooij) |
| 3330 |
|
| 3331 |
API CHANGES |
| 3332 |
|
| 3333 |
* Remove long deprecated RefsContainer.set_ref(). |
| 3334 |
(Jelmer Vernooij) |
| 3335 |
|
| 3336 |
* Repo.ref() is now deprecated in favour of Repo.refs[]. |
| 3337 |
(Jelmer Vernooij) |
| 3338 |
|
| 3339 |
FEATURES |
| 3340 |
|
| 3341 |
* Add support for graftpoints. (milki) |
| 3342 |
|
| 3343 |
0.9.3 2013-09-27 |
| 3344 |
|
| 3345 |
BUG FIXES |
| 3346 |
|
| 3347 |
* Fix path for stdint.h in MANIFEST.in. (Jelmer Vernooij) |
| 3348 |
|
| 3349 |
0.9.2 2013-09-26 |
| 3350 |
|
| 3351 |
BUG FIXES |
| 3352 |
|
| 3353 |
* Include stdint.h in MANIFEST.in (Mark Mikofski) |
| 3354 |
|
| 3355 |
0.9.1 2013-09-22 |
| 3356 |
|
| 3357 |
BUG FIXES |
| 3358 |
|
| 3359 |
* Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij) |
| 3360 |
|
| 3361 |
* Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij) |
| 3362 |
|
| 3363 |
* Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes. |
| 3364 |
(milki, #1063087) |
| 3365 |
|
| 3366 |
* Fix capability negotiation when fetching packs over HTTP. |
| 3367 |
(#1072461, William Grant) |
| 3368 |
|
| 3369 |
* Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij) |
| 3370 |
|
| 3371 |
* In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij) |
| 3372 |
|
| 3373 |
IMPROVEMENTS |
| 3374 |
|
| 3375 |
* Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions.g |
| 3376 |
(Alberto Ruiz) |
| 3377 |
|
| 3378 |
* Add `Repo.get_description` method. (Jelmer Vernooij) |
| 3379 |
|
| 3380 |
* Support thin packs in Pack.iterobjects() and Pack.get_raw(). |
| 3381 |
(William Grant) |
| 3382 |
|
| 3383 |
* Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods. |
| 3384 |
(David Bennett) |
| 3385 |
|
| 3386 |
* Add paramiko-based SSH vendor. (Aaron O'Mullan) |
| 3387 |
|
| 3388 |
* Support running 'dulwich.server' and 'dulwich.web' using 'python -m'. |
| 3389 |
(Jelmer Vernooij) |
| 3390 |
|
| 3391 |
* Add ObjectStore.close(). (Jelmer Vernooij) |
| 3392 |
|
| 3393 |
* Raise appropriate NotImplementedError when encountering dumb HTTP servers. |
| 3394 |
(Jelmer Vernooij) |
| 3395 |
|
| 3396 |
API CHANGES |
| 3397 |
|
| 3398 |
* SSHVendor.connect_ssh has been renamed to SSHVendor.run_command. |
| 3399 |
(Jelmer Vernooij) |
| 3400 |
|
| 3401 |
* ObjectStore.add_pack() now returns a 3-tuple. The last element will be an |
| 3402 |
abort() method that can be used to cancel the pack operation. |
| 3403 |
(Jelmer Vernooij) |
| 3404 |
|
| 3405 |
0.9.0 2013-05-31 |
| 3406 |
|
| 3407 |
BUG FIXES |
| 3408 |
|
| 3409 |
* Push efficiency - report missing objects only. (#562676, Artem Tikhomirov) |
| 3410 |
|
| 3411 |
* Use indentation consistent with C Git in config files. |
| 3412 |
(#1031356, Curt Moore, Jelmer Vernooij) |
| 3413 |
|
| 3414 |
* Recognize and skip binary files in diff function. |
| 3415 |
(Takeshi Kanemoto) |
| 3416 |
|
| 3417 |
* Fix handling of relative paths in dulwich.client.get_transport_and_path. |
| 3418 |
(Brian Visel, #1169368) |
| 3419 |
|
| 3420 |
* Preserve ordering of entries in configuration. |
| 3421 |
(Benjamin Pollack) |
| 3422 |
|
| 3423 |
* Support ~ expansion in SSH client paths. (milki, #1083439) |
| 3424 |
|
| 3425 |
* Support relative paths in alternate paths. |
| 3426 |
(milki, Michel Lespinasse, #1175007) |
| 3427 |
|
| 3428 |
* Log all error messages from wsgiref server to the logging module. This |
| 3429 |
makes the test suit quiet again. (Gary van der Merwe) |
| 3430 |
|
| 3431 |
* Support passing None for empty tree in changes_from_tree. |
| 3432 |
(Kevin Watters) |
| 3433 |
|
| 3434 |
* Support fetching empty repository in client. (milki, #1060462) |
| 3435 |
|
| 3436 |
IMPROVEMENTS: |
| 3437 |
|
| 3438 |
* Add optional honor_filemode flag to build_index_from_tree. |
| 3439 |
(Mark Mikofski) |
| 3440 |
|
| 3441 |
* Support core/filemode setting when building trees. (Jelmer Vernooij) |
| 3442 |
|
| 3443 |
* Add chapter on tags in tutorial. (Ryan Faulkner) |
| 3444 |
|
| 3445 |
FEATURES |
| 3446 |
|
| 3447 |
* Add support for mergetags. (milki, #963525) |
| 3448 |
|
| 3449 |
* Add support for posix shell hooks. (milki) |
| 3450 |
|
| 3451 |
0.8.7 2012-11-27 |
| 3452 |
|
| 3453 |
BUG FIXES |
| 3454 |
|
| 3455 |
* Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}. |
| 3456 |
(Dmitriy) |
| 3457 |
|
| 3458 |
* Fix compatibility with Python 2.4. (David Carr) |
| 3459 |
|
| 3460 |
0.8.6 2012-11-09 |
| 3461 |
|
| 3462 |
API CHANGES |
| 3463 |
|
| 3464 |
* dulwich.__init__ no longer imports client, protocol, repo and |
| 3465 |
server modules. (Jelmer Vernooij) |
| 3466 |
|
| 3467 |
FEATURES |
| 3468 |
|
| 3469 |
* ConfigDict now behaves more like a dictionary. |
| 3470 |
(Adam 'Cezar' Jenkins, issue #58) |
| 3471 |
|
| 3472 |
* HTTPGitApplication now takes an optional |
| 3473 |
`fallback_app` argument. (Jonas Haag, issue #67) |
| 3474 |
|
| 3475 |
* Support for large pack index files. (Jameson Nash) |
| 3476 |
|
| 3477 |
TESTING |
| 3478 |
|
| 3479 |
* Make index entry tests a little bit less strict, to cope with |
| 3480 |
slightly different behaviour on various platforms. |
| 3481 |
(Jelmer Vernooij) |
| 3482 |
|
| 3483 |
* ``setup.py test`` (available when setuptools is installed) now |
| 3484 |
runs all tests, not just the basic unit tests. |
| 3485 |
(Jelmer Vernooij) |
| 3486 |
|
| 3487 |
BUG FIXES |
| 3488 |
|
| 3489 |
* Commit._deserialize now actually deserializes the current state rather than |
| 3490 |
the previous one. (Yifan Zhang, issue #59) |
| 3491 |
|
| 3492 |
* Handle None elements in lists of TreeChange objects. (Alex Holmes) |
| 3493 |
|
| 3494 |
* Support cloning repositories without HEAD set. |
| 3495 |
(D-Key, Jelmer Vernooij, issue #69) |
| 3496 |
|
| 3497 |
* Support ``MemoryRepo.get_config``. (Jelmer Vernooij) |
| 3498 |
|
| 3499 |
* In ``get_transport_and_path``, pass extra keyword arguments on to |
| 3500 |
HttpGitClient. (Jelmer Vernooij) |
| 3501 |
|
| 3502 |
0.8.5 2012-03-29 |
| 3503 |
|
| 3504 |
BUG FIXES |
| 3505 |
|
| 3506 |
* Avoid use of 'with' in dulwich.index. (Jelmer Vernooij) |
| 3507 |
|
| 3508 |
* Be a little bit strict about OS behaviour in index tests. |
| 3509 |
Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij) |
| 3510 |
|
| 3511 |
0.8.4 2012-03-28 |
| 3512 |
|
| 3513 |
BUG FIXES |
| 3514 |
|
| 3515 |
* Options on the same line as sections in config files are now supported. |
| 3516 |
(Jelmer Vernooij, #920553) |
| 3517 |
|
| 3518 |
* Only negotiate capabilities that are also supported by the server. |
| 3519 |
(Rod Cloutier, Risto Kankkunen) |
| 3520 |
|
| 3521 |
* Fix parsing of invalid timezone offsets with two minus signs. |
| 3522 |
(Jason R. Coombs, #697828) |
| 3523 |
|
| 3524 |
* Reset environment variables during tests, to avoid |
| 3525 |
test isolation leaks reading ~/.gitconfig. (Risto Kankkunen) |
| 3526 |
|
| 3527 |
TESTS |
| 3528 |
|
| 3529 |
* $HOME is now explicitly specified for tests that use it to read |
| 3530 |
``~/.gitconfig``, to prevent test isolation issues. |
| 3531 |
(Jelmer Vernooij, #920330) |
| 3532 |
|
| 3533 |
FEATURES |
| 3534 |
|
| 3535 |
* Additional arguments to get_transport_and_path are now passed |
| 3536 |
on to the constructor of the transport. (Sam Vilain) |
| 3537 |
|
| 3538 |
* The WSGI server now transparently handles when a git client submits data |
| 3539 |
using Content-Encoding: gzip. |
| 3540 |
(David Blewett, Jelmer Vernooij) |
| 3541 |
|
| 3542 |
* Add dulwich.index.build_index_from_tree(). (milki) |
| 3543 |
|
| 3544 |
0.8.3 2012-01-21 |
| 3545 |
|
| 3546 |
FEATURES |
| 3547 |
|
| 3548 |
* The config parser now supports the git-config file format as |
| 3549 |
described in git-config(1) and can write git config files. |
| 3550 |
(Jelmer Vernooij, #531092, #768687) |
| 3551 |
|
| 3552 |
* ``Repo.do_commit`` will now use the user identity from |
| 3553 |
.git/config or ~/.gitconfig if none was explicitly specified. |
| 3554 |
(Jelmer Vernooij) |
| 3555 |
|
| 3556 |
BUG FIXES |
| 3557 |
|
| 3558 |
* Allow ``determine_wants`` methods to include the zero sha in their |
| 3559 |
return value. (Jelmer Vernooij) |
| 3560 |
|
| 3561 |
0.8.2 2011-12-18 |
| 3562 |
|
| 3563 |
BUG FIXES |
| 3564 |
|
| 3565 |
* Cope with different zlib buffer sizes in sha1 file parser. |
| 3566 |
(Jelmer Vernooij) |
| 3567 |
|
| 3568 |
* Fix get_transport_and_path for HTTP/HTTPS URLs. |
| 3569 |
(Bruno Renié) |
| 3570 |
|
| 3571 |
* Avoid calling free_objects() on NULL in error cases. (Chris Eberle) |
| 3572 |
|
| 3573 |
* Fix use --bare argument to 'dulwich init'. (Chris Eberle) |
| 3574 |
|
| 3575 |
* Properly abort connections when the determine_wants function |
| 3576 |
raises an exception. (Jelmer Vernooij, #856769) |
| 3577 |
|
| 3578 |
* Tweak xcodebuild hack to deal with more error output. |
| 3579 |
(Jelmer Vernooij, #903840) |
| 3580 |
|
| 3581 |
FEATURES |
| 3582 |
|
| 3583 |
* Add support for retrieving tarballs from remote servers. |
| 3584 |
(Jelmer Vernooij, #379087) |
| 3585 |
|
| 3586 |
* New method ``update_server_info`` which generates data |
| 3587 |
for dumb server access. (Jelmer Vernooij, #731235) |
| 3588 |
|
| 3589 |
0.8.1 2011-10-31 |
| 3590 |
|
| 3591 |
FEATURES |
| 3592 |
|
| 3593 |
* Repo.do_commit has a new argument 'ref'. |
| 3594 |
|
| 3595 |
* Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij) |
| 3596 |
|
| 3597 |
* New ``Repo.get_walker`` method. (Jelmer Vernooij) |
| 3598 |
|
| 3599 |
* New ``Repo.clone`` method. (Jelmer Vernooij, #725369) |
| 3600 |
|
| 3601 |
* ``GitClient.send_pack`` now supports the 'side-band-64k' capability. |
| 3602 |
(Jelmer Vernooij) |
| 3603 |
|
| 3604 |
* ``HttpGitClient`` which supports the smart server protocol over |
| 3605 |
HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688) |
| 3606 |
|
| 3607 |
* Add basic support for alternates. (Jelmer Vernooij, #810429) |
| 3608 |
|
| 3609 |
CHANGES |
| 3610 |
|
| 3611 |
* unittest2 or python >= 2.7 is now required for the testsuite. |
| 3612 |
testtools is no longer supported. (Jelmer Vernooij, #830713) |
| 3613 |
|
| 3614 |
BUG FIXES |
| 3615 |
|
| 3616 |
* Fix compilation with older versions of MSVC. (Martin gz) |
| 3617 |
|
| 3618 |
* Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577) |
| 3619 |
|
| 3620 |
* Smart protocol clients can now change refs even if they are |
| 3621 |
not uploading new data. (Jelmer Vernooij, #855993) |
| 3622 |
|
| 3623 |
* Don't compile C extensions when running in pypy. |
| 3624 |
(Ronny Pfannschmidt, #881546) |
| 3625 |
|
| 3626 |
* Use different name for strnlen replacement function to avoid clashing |
| 3627 |
with system strnlen. (Jelmer Vernooij, #880362) |
| 3628 |
|
| 3629 |
API CHANGES |
| 3630 |
|
| 3631 |
* ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``. |
| 3632 |
(Jelmer Vernooij) |
| 3633 |
|
| 3634 |
0.8.0 2011-08-07 |
| 3635 |
|
| 3636 |
FEATURES |
| 3637 |
|
| 3638 |
* New DeltaChainIterator abstract class for quickly iterating all objects in |
| 3639 |
a pack, with implementations for pack indexing and inflation. |
| 3640 |
(Dave Borowitz) |
| 3641 |
|
| 3642 |
* New walk module with a Walker class for customizable commit walking. |
| 3643 |
(Dave Borowitz) |
| 3644 |
|
| 3645 |
* New tree_changes_for_merge function in diff_tree. (Dave Borowitz) |
| 3646 |
|
| 3647 |
* Easy rename detection in RenameDetector even without find_copies_harder. |
| 3648 |
(Dave Borowitz) |
| 3649 |
|
| 3650 |
BUG FIXES |
| 3651 |
|
| 3652 |
* Avoid storing all objects in memory when writing pack. |
| 3653 |
(Jelmer Vernooij, #813268) |
| 3654 |
|
| 3655 |
* Support IPv6 for git:// connections. (Jelmer Vernooij, #801543) |
| 3656 |
|
| 3657 |
* Improve performance of Repo.revision_history(). (Timo Schmid, #535118) |
| 3658 |
|
| 3659 |
* Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035) |
| 3660 |
|
| 3661 |
* Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543) |
| 3662 |
|
| 3663 |
* Prevent raising ValueError for correct refs in RefContainer.__delitem__. |
| 3664 |
|
| 3665 |
* Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz) |
| 3666 |
|
| 3667 |
* Fix a bug in reading the pack checksum when there are fewer than 20 bytes |
| 3668 |
left in the buffer. (Dave Borowitz) |
| 3669 |
|
| 3670 |
* Support ~ in git:// URL paths. (Jelmer Vernooij, #813555) |
| 3671 |
|
| 3672 |
* Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz) |
| 3673 |
|
| 3674 |
* ObjectStore.get_graph_walker() now no longer yields the same |
| 3675 |
revision more than once. This has a significant improvement for |
| 3676 |
performance when wide revision graphs are involved. |
| 3677 |
(Jelmer Vernooij, #818168) |
| 3678 |
|
| 3679 |
* Teach ReceivePackHandler how to read empty packs. (Dave Borowitz) |
| 3680 |
|
| 3681 |
* Don't send a pack with duplicates of the same object. (Dave Borowitz) |
| 3682 |
|
| 3683 |
* Teach the server how to serve a clone of an empty repo. (Dave Borowitz) |
| 3684 |
|
| 3685 |
* Correctly advertise capabilities during receive-pack. (Dave Borowitz) |
| 3686 |
|
| 3687 |
* Fix add/add and add/rename conflicts in tree_changes_for_merge. |
| 3688 |
(Dave Borowitz) |
| 3689 |
|
| 3690 |
* Use correct MIME types in web server. (Dave Borowitz) |
| 3691 |
|
| 3692 |
API CHANGES |
| 3693 |
|
| 3694 |
* write_pack no longer takes the num_objects argument and requires an object |
| 3695 |
to be passed in that is iterable (rather than an iterator) and that |
| 3696 |
provides __len__. (Jelmer Vernooij) |
| 3697 |
|
| 3698 |
* write_pack_data has been renamed to write_pack_objects and no longer takes a |
| 3699 |
num_objects argument. (Jelmer Vernooij) |
| 3700 |
|
| 3701 |
* take_msb_bytes, read_zlib_chunks, unpack_objects, and |
| 3702 |
PackStreamReader.read_objects now take an additional argument indicating a |
| 3703 |
crc32 to compute. (Dave Borowitz) |
| 3704 |
|
| 3705 |
* PackObjectIterator was removed; its functionality is still exposed by |
| 3706 |
PackData.iterobjects. (Dave Borowitz) |
| 3707 |
|
| 3708 |
* Add a sha arg to write_pack_object to incrementally compute a SHA. |
| 3709 |
(Dave Borowitz) |
| 3710 |
|
| 3711 |
* Include offset in PackStreamReader results. (Dave Borowitz) |
| 3712 |
|
| 3713 |
* Move PackStreamReader from server to pack. (Dave Borowitz) |
| 3714 |
|
| 3715 |
* Extract a check_length_and_checksum, compute_file_sha, and |
| 3716 |
pack_object_header pack helper functions. (Dave Borowitz) |
| 3717 |
|
| 3718 |
* Extract a compute_file_sha function. (Dave Borowitz) |
| 3719 |
|
| 3720 |
* Remove move_in_thin_pack as a separate method; add_thin_pack now completes |
| 3721 |
the thin pack and moves it in in one step. Remove ThinPackData as well. |
| 3722 |
(Dave Borowitz) |
| 3723 |
|
| 3724 |
* Custom buffer size in read_zlib_chunks. (Dave Borowitz) |
| 3725 |
|
| 3726 |
* New UnpackedObject data class that replaces ad-hoc tuples in the return |
| 3727 |
value of unpack_object and various DeltaChainIterator methods. |
| 3728 |
(Dave Borowitz) |
| 3729 |
|
| 3730 |
* Add a lookup_path convenience method to Tree. (Dave Borowitz) |
| 3731 |
|
| 3732 |
* Optionally create RenameDetectors without passing in tree SHAs. |
| 3733 |
(Dave Borowitz) |
| 3734 |
|
| 3735 |
* Optionally include unchanged entries in RenameDetectors. (Dave Borowitz) |
| 3736 |
|
| 3737 |
* Optionally pass a RenameDetector to tree_changes. (Dave Borowitz) |
| 3738 |
|
| 3739 |
* Optionally pass a request object through to server handlers. (Dave Borowitz) |
| 3740 |
|
| 3741 |
TEST CHANGES |
| 3742 |
|
| 3743 |
* If setuptools is installed, "python setup.py test" will now run the testsuite. |
| 3744 |
(Jelmer Vernooij) |
| 3745 |
|
| 3746 |
* Add a new build_pack test utility for building packs from a simple spec. |
| 3747 |
(Dave Borowitz) |
| 3748 |
|
| 3749 |
* Add a new build_commit_graph test utility for building commits from a |
| 3750 |
simple spec. (Dave Borowitz) |
| 3751 |
|
| 3752 |
0.7.1 2011-04-12 |
| 3753 |
|
| 3754 |
BUG FIXES |
| 3755 |
|
| 3756 |
* Fix double decref in _diff_tree.c. (Ted Horst, #715528) |
| 3757 |
|
| 3758 |
* Fix the build on Windows. (Pascal Quantin) |
| 3759 |
|
| 3760 |
* Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python. |
| 3761 |
(Max Bowsher, #707438) |
| 3762 |
|
| 3763 |
* BaseObjectStore.determine_wants_all no longer breaks on zero SHAs. |
| 3764 |
(Jelmer Vernooij) |
| 3765 |
|
| 3766 |
* write_tree_diff() now supports submodules. |
| 3767 |
(Jelmer Vernooij) |
| 3768 |
|
| 3769 |
* Fix compilation for XCode 4 and older versions of distutils.sysconfig. |
| 3770 |
(Daniele Sluijters) |
| 3771 |
|
| 3772 |
IMPROVEMENTS |
| 3773 |
|
| 3774 |
* Sphinxified documentation. (Lukasz Balcerzak) |
| 3775 |
|
| 3776 |
* Add Pack.keep.(Marc Brinkmann) |
| 3777 |
|
| 3778 |
API CHANGES |
| 3779 |
|
| 3780 |
* The order of the parameters to Tree.add(name, mode, sha) has changed, and |
| 3781 |
is now consistent with the rest of Dulwich. Existing code will still |
| 3782 |
work but print a DeprecationWarning. (Jelmer Vernooij, #663550) |
| 3783 |
|
| 3784 |
* Tree.entries() is now deprecated in favour of Tree.items() and |
| 3785 |
Tree.iteritems(). (Jelmer Vernooij) |
| 3786 |
|
| 3787 |
0.7.0 2011-01-21 |
| 3788 |
|
| 3789 |
FEATURES |
| 3790 |
|
| 3791 |
* New `dulwich.diff_tree` module for simple content-based rename detection. |
| 3792 |
(Dave Borowitz) |
| 3793 |
|
| 3794 |
* Add Tree.items(). (Jelmer Vernooij) |
| 3795 |
|
| 3796 |
* Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz) |
| 3797 |
|
| 3798 |
* Add write_tree_diff(). (Jelmer Vernooij) |
| 3799 |
|
| 3800 |
* Add `serve_command` function for git server commands as executables. |
| 3801 |
(Jelmer Vernooij) |
| 3802 |
|
| 3803 |
* dulwich.client.get_transport_and_path now supports rsync-style repository URLs. |
| 3804 |
(Dave Borowitz, #568493) |
| 3805 |
|
| 3806 |
BUG FIXES |
| 3807 |
|
| 3808 |
* Correct short-circuiting operation for no-op fetches in the server. |
| 3809 |
(Dave Borowitz) |
| 3810 |
|
| 3811 |
* Support parsing git mbox patches without a version tail, as generated by |
| 3812 |
Mercurial. (Jelmer Vernooij) |
| 3813 |
|
| 3814 |
* Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij) |
| 3815 |
|
| 3816 |
* Zero-padded file modes in Tree objects no longer trigger an exception but |
| 3817 |
the check code warns about them. (Augie Fackler, #581064) |
| 3818 |
|
| 3819 |
* Repo.init() now honors the mkdir flag. (#671159) |
| 3820 |
|
| 3821 |
* The ref format is now checked when setting a ref rather than when reading it back. |
| 3822 |
(Dave Borowitz, #653527) |
| 3823 |
|
| 3824 |
* Make sure pack files are closed correctly. (Tay Ray Chuan) |
| 3825 |
|
| 3826 |
DOCUMENTATION |
| 3827 |
|
| 3828 |
* Run the tutorial inside the test suite. (Jelmer Vernooij) |
| 3829 |
|
| 3830 |
* Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550, |
| 3831 |
#610540) |
| 3832 |
|
| 3833 |
|
| 3834 |
0.6.2 2010-10-16 |
| 3835 |
|
| 3836 |
BUG FIXES |
| 3837 |
|
| 3838 |
* HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz) |
| 3839 |
|
| 3840 |
* Don't error when creating GitFiles with the default mode. (Dave Borowitz) |
| 3841 |
|
| 3842 |
* ThinPackData.from_file now works with resolve_ext_ref callback. |
| 3843 |
(Dave Borowitz) |
| 3844 |
|
| 3845 |
* Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek) |
| 3846 |
|
| 3847 |
* Set bare=true in the configuration for bare repositories. (Dirk Neumann) |
| 3848 |
|
| 3849 |
FEATURES |
| 3850 |
|
| 3851 |
* Use slots for core objects to save up on memory. (Jelmer Vernooij) |
| 3852 |
|
| 3853 |
* Web server supports streaming progress/pack output. (Dave Borowitz) |
| 3854 |
|
| 3855 |
* New public function dulwich.pack.write_pack_header. (Dave Borowitz) |
| 3856 |
|
| 3857 |
* Distinguish between missing files and read errors in HTTP server. |
| 3858 |
(Dave Borowitz) |
| 3859 |
|
| 3860 |
* Initial work on support for fastimport using python-fastimport. |
| 3861 |
(Jelmer Vernooij) |
| 3862 |
|
| 3863 |
* New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij) |
| 3864 |
|
| 3865 |
* Delegate SHA peeling to the object store. (Dave Borowitz) |
| 3866 |
|
| 3867 |
TESTS |
| 3868 |
|
| 3869 |
* Use GitFile when modifying packed-refs in tests. (Dave Borowitz) |
| 3870 |
|
| 3871 |
* New tests in test_web with better coverage and fewer ad-hoc mocks. |
| 3872 |
(Dave Borowitz) |
| 3873 |
|
| 3874 |
* Standardize quote delimiters in test_protocol. (Dave Borowitz) |
| 3875 |
|
| 3876 |
* Fix use when testtools is installed. (Jelmer Vernooij) |
| 3877 |
|
| 3878 |
* Add trivial test for write_pack_header. (Jelmer Vernooij) |
| 3879 |
|
| 3880 |
* Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz) |
| 3881 |
|
| 3882 |
* Allow overwriting id property of objects in test utils. (Dave Borowitz) |
| 3883 |
|
| 3884 |
* Use real in-memory objects rather than stubs for server tests. |
| 3885 |
(Dave Borowitz) |
| 3886 |
|
| 3887 |
* Clean up MissingObjectFinder. (Dave Borowitz) |
| 3888 |
|
| 3889 |
API CHANGES |
| 3890 |
|
| 3891 |
* ObjectStore.iter_tree_contents now walks contents in depth-first, sorted |
| 3892 |
order. (Dave Borowitz) |
| 3893 |
|
| 3894 |
* ObjectStore.iter_tree_contents can optionally yield tree objects as well. |
| 3895 |
(Dave Borowitz). |
| 3896 |
|
| 3897 |
* Add side-band-64k support to ReceivePackHandler. (Dave Borowitz) |
| 3898 |
|
| 3899 |
* Change server capabilities methods to classmethods. (Dave Borowitz) |
| 3900 |
|
| 3901 |
* Tweak server handler injection. (Dave Borowitz) |
| 3902 |
|
| 3903 |
* PackIndex1 and PackIndex2 now subclass FilePackIndex, which isg |
| 3904 |
itself a subclass of PackIndex. (Jelmer Vernooij) |
| 3905 |
|
| 3906 |
DOCUMENTATION |
| 3907 |
|
| 3908 |
* Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij) |
| 3909 |
|
| 3910 |
* Clean up docstrings in dulwich.protocol. (Dave Borowitz) |
| 3911 |
|
| 3912 |
* Explicitly specify allowed protocol commands to |
| 3913 |
ProtocolGraphWalker.read_proto_line. (Dave Borowitz) |
| 3914 |
|
| 3915 |
* Add utility functions to DictRefsContainer. (Dave Borowitz) |
| 3916 |
|
| 3917 |
|
| 3918 |
0.6.1 2010-07-22 |
| 3919 |
|
| 3920 |
BUG FIXES |
| 3921 |
|
| 3922 |
* Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz) |
| 3923 |
|
| 3924 |
* Use correct path separators for named repo files. (Dave Borowitz) |
| 3925 |
|
| 3926 |
* python > 2.7 and testtools-based test runners will now also pick up skipped |
| 3927 |
tests correctly. (Jelmer Vernooij) |
| 3928 |
|
| 3929 |
FEATURES |
| 3930 |
|
| 3931 |
* Move named file initialization to BaseRepo. (Dave Borowitz) |
| 3932 |
|
| 3933 |
* Add logging utilities and git/HTTP server logging. (Dave Borowitz) |
| 3934 |
|
| 3935 |
* The GitClient interface has been cleaned up and instances are now reusable. |
| 3936 |
(Augie Fackler) |
| 3937 |
|
| 3938 |
* Allow overriding paths to executables in GitSSHClient.g |
| 3939 |
(Ross Light, Jelmer Vernooij, #585204) |
| 3940 |
|
| 3941 |
* Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij) |
| 3942 |
|
| 3943 |
TESTS |
| 3944 |
|
| 3945 |
* Add tests for sorted_tree_items and C implementation. (Dave Borowitz) |
| 3946 |
|
| 3947 |
* Add a MemoryRepo that stores everything in memory. (Dave Borowitz) |
| 3948 |
|
| 3949 |
* Quiet logging output from web tests. (Dave Borowitz) |
| 3950 |
|
| 3951 |
* More flexible version checking for compat tests. (Dave Borowitz) |
| 3952 |
|
| 3953 |
* Compat tests for servers with and without side-band-64k. (Dave Borowitz) |
| 3954 |
|
| 3955 |
CLEANUP |
| 3956 |
|
| 3957 |
* Clean up file headers. (Dave Borowitz) |
| 3958 |
|
| 3959 |
TESTS |
| 3960 |
|
| 3961 |
* Use GitFile when modifying packed-refs in tests. (Dave Borowitz) |
| 3962 |
|
| 3963 |
API CHANGES |
| 3964 |
|
| 3965 |
* dulwich.pack.write_pack_index_v{1,2} now take a file-like object |
| 3966 |
rather than a filename. (Jelmer Vernooij) |
| 3967 |
|
| 3968 |
* Make dul-daemon/dul-web trivial wrappers around server functionality. |
| 3969 |
(Dave Borowitz) |
| 3970 |
|
| 3971 |
* Move reference WSGI handler to web.py. (Dave Borowitz) |
| 3972 |
|
| 3973 |
* Factor out _report_status in ReceivePackHandler. (Dave Borowitz) |
| 3974 |
|
| 3975 |
* Factor out a function to convert a line to a pkt-line. (Dave Borowitz) |
| 3976 |
|
| 3977 |
|
| 3978 |
0.6.0 2010-05-22 |
| 3979 |
|
| 3980 |
note: This list is most likely incomplete for 0.6.0. |
| 3981 |
|
| 3982 |
BUG FIXES |
| 3983 |
g |
| 3984 |
* Fix ReceivePackHandler to disallow removing refs without delete-refs. |
| 3985 |
(Dave Borowitz) |
| 3986 |
|
| 3987 |
* Deal with capabilities required by the client, even if theyg |
| 3988 |
can not be disabled in the server. (Dave Borowitz) |
| 3989 |
|
| 3990 |
* Fix trailing newlines in generated patch files. |
| 3991 |
(Jelmer Vernooij) |
| 3992 |
|
| 3993 |
* Implement RefsContainer.__contains__. (Jelmer Vernooij) |
| 3994 |
|
| 3995 |
* Cope with \r in ref files on Windows. ( |
| 3996 |
http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij) |
| 3997 |
|
| 3998 |
* Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585) |
| 3999 |
|
| 4000 |
* Support packed ref deletion with no peeled refs. (Augie Fackler) |
| 4001 |
|
| 4002 |
* Fix send pack when there is nothing to fetch. (Augie Fackler) |
| 4003 |
|
| 4004 |
* Fix fetch if no progress function is specified. (Augie Fackler) |
| 4005 |
|
| 4006 |
* Allow double-staging of files that are deleted in the index.g |
| 4007 |
(Dave Borowitz) |
| 4008 |
|
| 4009 |
* Fix RefsContainer.add_if_new to support dangling symrefs. |
| 4010 |
(Dave Borowitz) |
| 4011 |
|
| 4012 |
* Non-existent index files in non-bare repositories are now treated asg |
| 4013 |
empty. (Dave Borowitz) |
| 4014 |
|
| 4015 |
* Always update ShaFile.id when the contents of the object get changed.g |
| 4016 |
(Jelmer Vernooij) |
| 4017 |
|
| 4018 |
* Various Python2.4-compatibility fixes. (Dave Borowitz) |
| 4019 |
|
| 4020 |
* Fix thin pack handling. (Dave Borowitz) |
| 4021 |
g |
| 4022 |
FEATURES |
| 4023 |
|
| 4024 |
* Add include-tag capability to server. (Dave Borowitz) |
| 4025 |
|
| 4026 |
* New dulwich.fastexport module that can generate fastexportg |
| 4027 |
streams. (Jelmer Vernooij) |
| 4028 |
|
| 4029 |
* Implemented BaseRepo.__contains__. (Jelmer Vernooij) |
| 4030 |
|
| 4031 |
* Add __setitem__ to DictRefsContainer. (Dave Borowitz) |
| 4032 |
|
| 4033 |
* Overall improvements checking Git objects. (Dave Borowitz) |
| 4034 |
|
| 4035 |
* Packs are now verified while they are received. (Dave Borowitz) |
| 4036 |
|
| 4037 |
TESTS |
| 4038 |
|
| 4039 |
* Add framework for testing compatibility with C Git. (Dave Borowitz) |
| 4040 |
|
| 4041 |
* Add various tests for the use of non-bare repositories. (Dave Borowitz) |
| 4042 |
|
| 4043 |
* Cope with diffstat not being available on all platforms.g |
| 4044 |
(Tay Ray Chuan, Jelmer Vernooij) |
| 4045 |
|
| 4046 |
* Add make_object and make_commit convenience functions to test utils. |
| 4047 |
(Dave Borowitz) |
| 4048 |
|
| 4049 |
API BREAKAGES |
| 4050 |
|
| 4051 |
* The 'committer' and 'message' arguments to Repo.do_commit() haveg |
| 4052 |
been swapped. 'committer' is now optional. (Jelmer Vernooij) |
| 4053 |
|
| 4054 |
* Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated. |
| 4055 |
(Jelmer Vernooij) |
| 4056 |
|
| 4057 |
* RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(), |
| 4058 |
for clarity. (Jelmer Vernooij) |
| 4059 |
|
| 4060 |
API CHANGES |
| 4061 |
|
| 4062 |
* The primary serialization APIs in dulwich.objects now workg |
| 4063 |
with chunks of strings rather than with full-text strings.g |
| 4064 |
(Jelmer Vernooij) |
| 4065 |
|
| 4066 |
0.5.02010-03-03 |
| 4067 |
|
| 4068 |
BUG FIXES |
| 4069 |
|
| 4070 |
* Support custom fields in commits (readonly). (Jelmer Vernooij) |
| 4071 |
|
| 4072 |
* Improved ref handling. (Dave Borowitz) |
| 4073 |
|
| 4074 |
* Rework server protocol to be smarter and interoperate with cgit client. |
| 4075 |
(Dave Borowitz) |
| 4076 |
|
| 4077 |
* Add a GitFile class that uses the same locking protocol for writes asg |
| 4078 |
cgit. (Dave Borowitz) |
| 4079 |
|
| 4080 |
* Cope with forward slashes correctly in the index on Windows. |
| 4081 |
(Jelmer Vernooij, #526793) |
| 4082 |
|
| 4083 |
FEATURES |
| 4084 |
|
| 4085 |
* --pure option to setup.py to allow building/installing without the Cg |
| 4086 |
extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326) |
| 4087 |
|
| 4088 |
* Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler) |
| 4089 |
|
| 4090 |
* HTTP dumb and smart server. (Dave Borowitz) |
| 4091 |
|
| 4092 |
* Add abstract baseclass for Repo that does not require file systemg |
| 4093 |
operations. (Dave Borowitz) |
| 4094 |
|
| 4095 |
0.4.1 2010-01-03 |
| 4096 |
|
| 4097 |
FEATURES |
| 4098 |
|
| 4099 |
* Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij) |
| 4100 |
|
| 4101 |
* Add Index.changes_from_tree(). (Jelmer Vernooij) |
| 4102 |
|
| 4103 |
* Add ObjectStore.tree_changes(). (Jelmer Vernooij) |
| 4104 |
|
| 4105 |
* Add functionality for writing patches in dulwich.patch. |
| 4106 |
(Jelmer Vernooij) |
| 4107 |
|
| 4108 |
0.4.0 2009-10-07 |
| 4109 |
|
| 4110 |
DOCUMENTATION |
| 4111 |
|
| 4112 |
* Added tutorial. |
| 4113 |
|
| 4114 |
API CHANGES |
| 4115 |
|
| 4116 |
* dulwich.object_store.tree_lookup_path will now return the mode andg |
| 4117 |
sha of the object found rather than the object itself. |
| 4118 |
|
| 4119 |
BUG FIXES |
| 4120 |
|
| 4121 |
* Use binascii.hexlify / binascii.unhexlify for better performance. |
| 4122 |
|
| 4123 |
* Cope with extra unknown data in index files by ignoring it (for now). |
| 4124 |
|
| 4125 |
* Add proper error message when server unexpectedly hangs up. (#415843) |
| 4126 |
|
| 4127 |
* Correctly write opcode for equal in create_delta. |
| 4128 |
|
| 4129 |
0.3.3 2009-07-23 |
| 4130 |
|
| 4131 |
FEATURES |
| 4132 |
|
| 4133 |
* Implement ShaFile.__hash__(). |
| 4134 |
|
| 4135 |
* Implement Tree.__len__() |
| 4136 |
|
| 4137 |
BUG FIXES |
| 4138 |
g |
| 4139 |
* Check for 'objects' and 'refs' directories |
| 4140 |
when looking for a Git repository. (#380818) |
| 4141 |
|
| 4142 |
0.3.2 2009-05-20 |
| 4143 |
|
| 4144 |
BUG FIXES |
| 4145 |
|
| 4146 |
* Support the encoding field in Commits. |
| 4147 |
g |
| 4148 |
* Some Windows compatibility fixes. |
| 4149 |
|
| 4150 |
* Fixed several issues in commit support. |
| 4151 |
|
| 4152 |
FEATURES |
| 4153 |
|
| 4154 |
* Basic support for handling submodules. |
| 4155 |
|
| 4156 |
0.3.1 2009-05-13 |
| 4157 |
|
| 4158 |
FEATURES |
| 4159 |
|
| 4160 |
* Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ tog |
| 4161 |
access content. |
| 4162 |
|
| 4163 |
API CHANGES |
| 4164 |
|
| 4165 |
* Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs andg |
| 4166 |
Repo.heads in favor of Repo.refs, a dictionary-like object for accessing |
| 4167 |
refs. |
| 4168 |
|
| 4169 |
BUG FIXES |
| 4170 |
|
| 4171 |
* Removed import of 'sha' module in objects.py, which was causingg |
| 4172 |
deprecation warnings on Python 2.6. |
| 4173 |
|
| 4174 |
0.3.0 2009-05-10 |
| 4175 |
|
| 4176 |
FEATURES |
| 4177 |
|
| 4178 |
* A new function 'commit_tree' has been added that can commit a treeg |
| 4179 |
based on an index. |
| 4180 |
|
| 4181 |
BUG FIXES |
| 4182 |
|
| 4183 |
* The memory usage when generating indexes has been significantly reduced. |
| 4184 |
g |
| 4185 |
* A memory leak in the C implementation of parse_tree has been fixed. |
| 4186 |
|
| 4187 |
* The send-pack smart server command now works. (Thanks Scott Chacon) |
| 4188 |
|
| 4189 |
* The handling of short timestamps (less than 10 digits) has been fixed. |
| 4190 |
|
| 4191 |
* The handling of timezones has been fixed. |
| 4192 |
|
| 4193 |
0.2.1 2009-04-30 |
| 4194 |
|
| 4195 |
BUG FIXES |
| 4196 |
|
| 4197 |
* Fix compatibility with Python2.4. |
| 4198 |
|
| 4199 |
0.2.0 2009-04-30 |
| 4200 |
|
| 4201 |
FEATURES |
| 4202 |
|
| 4203 |
* Support for activity reporting in smart protocol client. |
| 4204 |
|
| 4205 |
* Optional C extensions for better performance in a couple ofg |
| 4206 |
places that are performance-critical. |
| 4207 |
|
| 4208 |
0.1.1 2009-03-13 |
| 4209 |
|
| 4210 |
BUG FIXES |
| 4211 |
|
| 4212 |
* Fixed regression in Repo.find_missing_objects() |
| 4213 |
|
| 4214 |
* Don't fetch ^{} objects from remote hosts, as requesting themg |
| 4215 |
causes a hangup. |
| 4216 |
|
| 4217 |
* Always write pack to disk completely before calculating checksum. |
| 4218 |
|
| 4219 |
FEATURES |
| 4220 |
|
| 4221 |
* Allow disabling thin packs when talking to remote hosts. |
| 4222 |
|
| 4223 |
0.1.0 2009-01-24 |
| 4224 |
|
| 4225 |
* Initial release. |