NEWS 95 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311
  1. 0.25.0 UNRELEASED
  2. * Drop support for Python 3.9. (Jelmer Vernooij)
  3. * Add support for ``git mailinfo`` command to extract patch information from
  4. email messages. Implements ``dulwich mailinfo`` CLI command,
  5. ``porcelain.mailinfo()``, and ``patch.mailinfo()`` with support for subject
  6. munging, -k/-b flags, --scissors, --encoding, and --message-id options.
  7. (Jelmer Vernooij, #1839)
  8. 0.24.8 2025-10-29
  9. * Add Rust implementation of pack delta creation (create_delta). The
  10. implementation uses the similar crate for efficient diff computation.
  11. (Jelmer Vernooij)
  12. * Extend ``http.extraHeader`` configuration to support per-URL settings.
  13. Allows configuring different HTTP headers for specific URLs using
  14. ``http.<url>.extraHeader`` syntax, enabling authentication in CI/CD
  15. environments like GitHub Actions. More specific URL configurations
  16. override less specific ones. (Jelmer Vernooij, #882)
  17. * Add support for ``GIT_REFLOG_ACTION`` environment variable in porcelain
  18. functions. (Jelmer Vernooij, #1811)
  19. * Add support for namespace isolation via ``NamespacedRefsContainer``.
  20. Implements Git's namespace feature for isolating refs within a single
  21. repository using the ``refs/namespaces/`` prefix. (Jelmer Vernooij, #1809)
  22. * Add support for GIT_FLUSH environment variable to control output buffering
  23. in CLI commands. When GIT_FLUSH=1, output is flushed after each write for
  24. real-time visibility. (Jelmer Vernooij, #1810)
  25. * Implement ``dulwich interpret-trailers`` functionality to parse and manipulate
  26. structured metadata (trailers) in commit messages. Adds ``porcelain.interpret_trailers()``
  27. with support for parsing, adding, replacing, and formatting trailers. Also fixes
  28. the ``signoff`` parameter in ``porcelain.commit()`` to add ``Signed-off-by`` trailers.
  29. (Jelmer Vernooij, #1826)
  30. * Add support for recursive submodule updates via ``--recursive`` flag in
  31. ``dulwich submodule update`` command and ``recursive`` parameter in
  32. ``porcelain.submodule_update()``.
  33. (Jelmer Vernooij, #1813)
  34. * Add support for ``git maintenance`` command to optimize Git repository data.
  35. Implements gc, commit-graph, loose-objects, incremental-repack, pack-refs, and
  36. prefetch tasks. Supports automatic maintenance with ``--auto`` flag and task-specific
  37. configuration. (Jelmer Vernooij)
  38. * Add support for ``dulwich replace`` command to create refs that replace objects.
  39. (Jelmer Vernooij, #1834)
  40. * Implement advanced Git object specification support: index path lookup (``:``, ``:0:``,
  41. ``:1:``, ``:2:``, ``:3:``) for accessing files from the index and merge stages, and
  42. reflog time specifications (``@{time}``) using Git's approxidate format (e.g.,
  43. ``HEAD@{yesterday}`, ``master@{2.weeks.ago}``). (Jelmer Vernooij, #1783)
  44. * Add ``dulwich stripspace`` command to remove unnecessary whitespace from text.
  45. (Jelmer Vernooij, #1838)
  46. 0.24.7 2025-10-23
  47. * Add sparse index support for improved performance with large repositories.
  48. Implements reading and writing of sparse directory entries, index expansion/
  49. collapse operations, and the 'sdir' extension.
  50. (Jelmer Vernooij, #1797)
  51. * Add support for core.fsyncObjectFiles configuration option.
  52. (Jelmer Vernooij, #1817)
  53. * Work around typing module bug in Python 3.9.0 and 3.9.1 by using string
  54. annotation for Callable type in reflog.py. (Jelmer Vernooij, #1948)
  55. * Fix passing ssh_command, password, and key_filename parameters to the SSH
  56. vendor. Regression from 0.24.2. (Jelmer Vernooij, #1945)
  57. * Fix LFS URL validation to prevent DNS resolution errors when ``lfs.url`` is
  58. configured with an invalid value. Implement full support for ``file://`` URLs
  59. to access local LFS repositories, matching git-lfs behavior.
  60. (Jelmer Vernooij, #1951)
  61. 0.24.6 2025-10-19
  62. * Fix import failure when ``sys.stdin`` is ``None``. The ``dulwich.server``
  63. module can now be imported in environments where ``sys.stdin`` is ``None``,
  64. such as Windows GUI apps, apps started with ``pythonw``, or apps using
  65. ``ProcessPoolExecutor``. (Jelmer Vernooij, #1939)
  66. * Add support for ``dulwich reflog expire`` and ``dulwich reflog delete`` commands.
  67. (Jelmer Vernooij, #1798)
  68. * Add ``dulwich grep`` command.
  69. Supports regular expressions, case-insensitive search, line numbers, pathspec
  70. filtering, and respecting .gitignore patterns. (Jelmer Vernooij, #1776)
  71. * Add support for octopus merge strategy. (Jelmer Vernooij, #1816)
  72. * Add support for ``git show-branch`` command to display branches and their
  73. * Add ``dulwich cherry`` command to find commits not merged upstream.
  74. Compares commits by patch ID to identify equivalent patches regardless of
  75. commit metadata. Supports automatic upstream detection from tracking branches
  76. and verbose mode to display commit messages. (Jelmer Vernooij, #1782)
  77. * Add support for ``git mailsplit`` command to split mbox files and Maildir
  78. into individual message files. Supports mboxrd format, custom precision,
  79. and all standard git mailsplit options. (Jelmer Vernooij, #1840)
  80. * Implement recursive merge strategy for handling multiple merge bases
  81. (criss-cross merges). When multiple common ancestors exist, the algorithm
  82. creates a virtual merge base by recursively merging them, reducing false
  83. conflicts in complex merge scenarios. The recursive strategy is now used
  84. automatically by ``porcelain.merge()``. (Jelmer Vernooij, #1815)
  85. * Add support for ``dulwich show-branch`` command to display branches and their
  86. commits. Supports filtering by local/remote branches, topological ordering,
  87. list mode, independent branch detection, and merge base calculation.
  88. (Jelmer Vernooij, #1829)
  89. * Add ``dulwich config`` command to get and set repository or global
  90. configuration options. Supports getting/setting values, listing all config,
  91. getting all values for multivars, and unsetting values.
  92. (Jelmer Vernooij, #1775)
  93. 0.24.5 2025-10-15
  94. * Add support for ``dulwich show-ref`` command to list references in a local
  95. repository. Supports filtering by branches/tags, pattern matching,
  96. dereferencing tags, verification mode, and existence checking. Available
  97. as ``porcelain.show_ref()`` and ``dulwich show-ref`` CLI command.
  98. (Jelmer Vernooij, #1830)
  99. * Fix HTTP authentication to preserve credentials from URLs when storing
  100. remote configuration. URLs with embedded credentials (like
  101. ``https://token@github.com/user/repo.git``) now correctly save those
  102. credentials to git config, allowing subsequent push operations to succeed.
  103. (Jelmer Vernooij, #1925)
  104. * Restore ``pool_manager`` parameter to ``get_transport_and_path`` and
  105. ``get_transport_and_path_from_url`` functions that was accidentally removed
  106. during type annotation refactoring. (Jelmer Vernooij, #1928)
  107. 0.24.4 2025-10-14
  108. * Add compatibility for Python 3.14. (Jelmer Vernooij)
  109. * Re-enable android build. (Malcolm Smith)
  110. 0.24.3 2025-10-12
  111. * Add ``dulwich merge-base`` command. (Jelmer Vernooij, #1831)
  112. * Add support for ``dulwich var`` command to display Git's logical variables
  113. (GIT_AUTHOR_IDENT, GIT_COMMITTER_IDENT, GIT_EDITOR, GIT_SEQUENCE_EDITOR,
  114. GIT_PAGER, GIT_DEFAULT_BRANCH). Available as ``porcelain.var()`` and
  115. ``dulwich var`` CLI command. (Jelmer Vernooij, #1841)
  116. * Add support for ``GIT_TRACE`` environment variable for debugging. Supports
  117. output to stderr (values "1", "2", or "true"), file descriptors (3-9),
  118. file paths, and directories (creates per-process trace files).
  119. (Jelmer Vernooij, #1863)
  120. * Add ``extract_signature()`` method to ``Commit`` and ``Tag`` classes that
  121. returns (payload, signature, signature_type) tuple. Supports both PGP and SSH
  122. signature detection. (Jelmer Vernooij)
  123. * Fix Git filter protocol implementation to properly handle the two-phase
  124. response format (initial headers, content, final headers) as specified in
  125. the Git protocol documentation. This fixes compatibility with Git LFS and
  126. other filters that send status messages in final headers.
  127. (Jelmer Vernooij, #1889)
  128. * Add ``dulwich worktree repair`` command to repair worktree administrative files
  129. after worktrees or the main repository have been moved.
  130. (Jelmer Vernooij, #1799)
  131. * Add ``dulwich verify-tag`` command to check GPG signatures of tags.
  132. (Jelmer Vernooij, #1833)
  133. * Add ``dulwich verify-commit`` command to check GPG signatures of tags.
  134. (Jelmer Vernooij, #1832)
  135. 0.24.2 2025-09-25
  136. * Added ``porcelain.shortlog`` function to summarize commits by author,
  137. similar to git shortlog. (Muhammad Usama, #1693)
  138. * Fix merge functionality to gracefully handle missing optional merge3 dependency
  139. by raising informative ImportError with installation instructions.
  140. (Jelmer Vernooij, #1759)
  141. * Fix worktree CLI tests to properly change to repository directory.
  142. (Jelmer Vernooij, #1738)
  143. * Add ``temporary_worktree`` context manager for creating temporary worktrees
  144. that are automatically cleaned up. (Jelmer Vernooij)
  145. * Add ``exist_ok`` parameter to ``add_worktree`` to allow creation with
  146. existing directories. (Jelmer Vernooij)
  147. * Add colorized diff support for the ``show`` command with ``--color``
  148. argument. (Jelmer Vernooij, #1741)
  149. * Fix Windows path handling in ``_ensure_parent_dir_exists`` to correctly
  150. handle drive letters during checkout operations. (Jelmer Vernooij, #1751)
  151. * Fix Windows config loading to only use current Git config path,
  152. avoiding loading older config files. (Jelmer Vernooij, #1732)
  153. * Add interactive rebase support with ``dulwich rebase -i``, including support
  154. for pick, reword, edit, squash, fixup, drop, exec, and break commands.
  155. (Jelmer Vernooij, #1696)
  156. * Fix handling of CRLF line endings with ``core.autocrlf = input`` to prevent
  157. unchanged files from appearing as unstaged in status.
  158. (Jelmer Vernooij, #1773)
  159. * Add support for ``core.whitespace`` configuration for whitespace error
  160. detection and fixing. Supports blank-at-eol, space-before-tab, indent-with-non-tab,
  161. tab-in-indent, blank-at-eof, cr-at-eol, and tabwidth settings.
  162. (Jelmer Vernooij, #1806)
  163. * Add support for ``core.safecrlf`` configuration to check if CRLF/LF conversions
  164. would be reversible and optionally abort or warn on potentially lossy conversions.
  165. (Jelmer Vernooij, #1806)
  166. * Add support for ``http.extraHeader`` configuration to pass additional HTTP
  167. headers to the server when communicating over HTTP(S).
  168. (Jelmer Vernooij, #1769)
  169. * Optimize LFS filter performance by avoiding redundant disk writes when
  170. checking file status. The LFS store now checks if objects already exist
  171. before writing them to disk, significantly improving ``dulwich status``
  172. performance in repositories with many LFS-tracked files.
  173. (Jelmer Vernooij, #1789)
  174. * Add filter server support. (Jelmer Vernooij, #1789)
  175. * Add support for ``patiencediff`` algorithm in diff.
  176. (Jelmer Vernooij, #1795)
  177. * Add IPv6 support for git:// protocol URLs.
  178. (Jelmer Vernooij, #1796)
  179. * Add support for ``core.preloadIndex`` configuration setting to enable
  180. parallel stat operations when checking for unstaged changes. This improves
  181. performance on slow filesystems like NFS. (Jelmer Vernooij, #1851)
  182. 0.24.1 2025-08-01
  183. * Require ``typing_extensions`` on Python 3.10.
  184. (Jelmer Vernooij, #1735)
  185. 0.24.0 2025-08-01
  186. * Split out ``WorkTree`` from ``Repo``. (Jelmer Vernooij)
  187. * Add comprehensive git worktree support including ``WorkTreeContainer``
  188. class, ``WorkTreeInfo`` objects, and full CLI/porcelain implementations
  189. for add, list, remove, prune, lock, unlock, and move operations.
  190. (Jelmer Vernooij, #1710, #1632)
  191. * Add support for ``-a`` argument to
  192. ``dulwich.cli.commit``. (Jelmer Vernooij)
  193. * Add support for ``--amend`` argument to
  194. ``dulwich.cli.commit`` and ``dulwich.porcelain.commit``. (Jelmer Vernooij)
  195. * Add support for merge drivers.
  196. (Jelmer Vernooij)
  197. * Add support for Git revision syntax operators ``~``, ``^``, ``^{}``,
  198. ``@{N}``, and ``:path`` in ``dulwich.objectspec.parse_object``,
  199. e.g. ``HEAD~1``, ``HEAD^2``, ``v1.0^{}``, ``HEAD@{1}``, ``HEAD:README``.
  200. (Jelmer Vernooij)
  201. * Add support for ``GIT_CONFIG_GLOBAL`` and ``GIT_CONFIG_SYSTEM``
  202. environment variables to override global and system configuration
  203. paths. (Jelmer Vernooij, #1193)
  204. * ``dulwich.porcelain.diff``: Support diffing two commits
  205. and diffing cached and working tree. (Jelmer Vernooij)
  206. * Add ``format-patch`` command in porcelain. (Jelmer Vernooij)
  207. * Add functions for creating bundles and ``BundleClient``
  208. for interacting with bundles. (Jelmer Vernooij, #1246)
  209. * Add support for ``core.commitGraph`` configuration setting to control
  210. whether commit-graph files are used for performance optimization.
  211. (Jelmer Vernooij)
  212. * Add ``reflog`` command in porcelain. (Jelmer Vernooij)
  213. * Add ``locked_ref`` context manager for atomic ref operations.
  214. (Jelmer Vernooij)
  215. * Fix bug in ``DiskRefsContainer._remove_packed_ref`` that prevented
  216. packed ref deletions from being persisted to disk.
  217. (Jelmer Vernooij)
  218. * Optimize writing unchanged refs by avoiding unnecessary fsync
  219. when ref already has the desired value. File locking behavior
  220. is preserved to ensure proper concurrency control.
  221. (Dan Villiom Podlaski Christiansen, Jelmer Vernooij, #1120)
  222. * Fix Unicode filename encoding issue on Windows where non-ASCII
  223. filenames were corrupted during clone/checkout operations.
  224. (Jelmer Vernooij, #203)
  225. 0.23.2 2025-07-07
  226. * Print deprecations on usage, not import.
  227. (Alyssa Coghlan, #1650)
  228. * Add support for ``core.protectHFS`` configuration setting to protect
  229. against paths that could be misinterpreted on HFS+ filesystems.
  230. (Jelmer Vernooij, #246)
  231. * Only write Git index extensions when they contain meaningful data.
  232. Previously, dulwich would write empty extensions to the index file,
  233. causing unnecessary bloat.
  234. (Andrew Shadura, Jelmer Vernooij, #1643)
  235. * Document that ``porcelain.push`` returns per-ref status information
  236. in the ``SendPackResult`` object. Added test coverage to verify this
  237. functionality works as expected.
  238. (Jelmer Vernooij, #780)
  239. * Add porcelain submodule commands: ``submodule_update``, ``submodule_add``g
  240. CLI command, and ``submodule_update`` CLI command. Add ``--recurse-submodules``
  241. option to ``clone`` command. (#506, Jelmer Vernooij)
  242. * Support popping stashes. (Jelmer Vernooij)
  243. * Add support for parsing Git attributes from .gitattributes files.
  244. This enables proper handling of text/binary detection, line ending
  245. normalization, and filter specifications for files.
  246. (Jelmer Vernooij, #1211)
  247. * Add git bisect functionality including core bisect logic, porcelain
  248. commands (bisect_start, bisect_bad, bisect_good, bisect_skip,
  249. bisect_reset, bisect_log, bisect_replay), and CLI support.
  250. (Jelmer Vernooij, #1631)
  251. * Fix ``porcelain.describe()`` to dynamically determine hash length
  252. based on uniqueness, matching git describe behavior more closely.
  253. Previously used a hardcoded 7-character hash length.
  254. (Jelmer Vernooij, #824)
  255. * Add test for ``porcelain.add()`` to verify files can be added when
  256. the current working directory is within a gitignored directory.
  257. (Jelmer Vernooij, #550)
  258. * ParamikoSSHVendor now reads SSH configuration from ~/.ssh/config.
  259. Host settings including hostname, user, port, and identity file are
  260. now respected when establishing SSH connections.
  261. (Jelmer Vernooij, #443)
  262. 0.23.1 2025-06-30
  263. * Support ``untracked_files="normal"`` argument to ``porcelain.status``,
  264. and make this the default.
  265. (Jelmer Vernooij, #835)
  266. * Fix ``parse_commit`` to properly dereference annotated tags when
  267. checking out tags. Previously, checking out an annotated tag would
  268. fail with a KeyError.
  269. (Jelmer Vernooij, #1638)
  270. * Handle different file type transitions properly in ``update_working_tree``
  271. (Jelmer Vernooij, #1638)
  272. * Fix KeyError when pulling from a shallow clone. Handle missing commits
  273. gracefully in graph traversal operations for shallow repositories.
  274. (Jelmer Vernooij, #813)
  275. * Return symrefs from ls_refs. (Jelmer Vernooij, #863)
  276. * Support short commit hashes in ``porcelain.reset()``.
  277. (Jelmer Vernooij, #1154)
  278. * Support dumb repository access.
  279. (Jelmer Vernooij, #1097)
  280. * Fix TypeError when cloning repositories with bytes paths on Windows.
  281. (Jelmer Vernooij, #973)
  282. * Support ``depth`` for local clones.
  283. (Jelmer Vernooij)
  284. * Add basic support for managing Notes. (Jelmer Vernooij)
  285. * Add basic ``cherry-pick`` subcommand. (#1599, Jelmer Vernooij)
  286. * Add ``revert`` command to ``dulwich.porcelain`` and CLI.
  287. (#1599, Jelmer Vernooij)
  288. * Add annotate support as well as ``annotate`` and ``blame``
  289. commands. (#245, Jelmer Vernooij)
  290. * Fix ``apply_delta`` to raise ``ApplyDeltaError`` instead of ``AssertionError``
  291. when the source buffer size doesn't match the delta header. This issue only
  292. affected the pure Python implementation when the Rust extension was not
  293. available. The Rust implementation already raised the correct exception.
  294. (#1606, Jelmer Vernooij)
  295. * Fix ``porcelain.reset --hard`` to properly delete files that don't exist in
  296. the target tree. Previously, when resetting to a remote branch, files deleted
  297. in the remote were not removed locally due to incorrect path normalization
  298. on Windows. (#840, Jelmer Vernooij)
  299. * Add support for includes in configuration files.
  300. (#1216, Jelmer Vernooij)
  301. * Support timeouts for HTTP client operations. (Jelmer Vernooij)
  302. * Add support for ``reset --mixed`` and ``reset --soft`` modes in
  303. ``porcelain.reset()`` and the CLI. Mixed reset updates HEAD and index
  304. but leaves working tree unchanged. Soft reset only updates HEAD.
  305. (Jelmer Vernooij)
  306. * Apply line-ending normalization in ``build_index_from_tree`` to respect
  307. ``core.autocrlf`` configuration during checkout operations.
  308. (Jelmer Vernooij, #663)
  309. * Add ``prune`` method to object stores for cleaning up orphaned temporary
  310. pack files. This is now called by ``garbage_collect()`` to match Git's
  311. behavior. Also added ``prune`` command to ``dulwich.porcelain``.
  312. (Jelmer Vernooij, #558)
  313. * Fix ``porcelain.remove()`` to work correctly when called from a directory
  314. other than the repository root. Relative paths are now interpreted as
  315. relative to the repository root rather than the current working directory.
  316. (Jelmer Vernooij, #821)
  317. * Add support for auto garbage collection, and invoke from
  318. some porcelain commands. (Jelmer Vernooij, #1600)
  319. * Add ``filter-branch`` support to ``dulwich.porcelain`` and
  320. ``dulwich.filter_branch`` module for rewriting commit history.
  321. Supports filtering author, committer, and message fields.
  322. (#745, Jelmer Vernooij)
  323. * Add ``mv`` porcelain command. (Jelmer Vernooij, #1633)
  324. 0.23.0 2025-06-21
  325. * Add basic ``rebase`` subcommand. (Jelmer Vernooij)
  326. * Add ``gc`` command to ``dulwich.porcelain.`` (Jelmer Vernooij, #92)
  327. * Add ``unpack-objects`` plumbing command to unpack objects from pack files
  328. into loose objects in the repository. This command extracts all objects
  329. from a pack file and writes them to the object store as individual files.
  330. Available in both ``dulwich.porcelain.unpack_objects()`` and as a CLI
  331. command ``dulwich unpack-objects``. (Jelmer Vernooij)
  332. * Add ``merge-tree`` plumbing command to ``dulwich.porcelain`` and CLI.
  333. This command performs three-way tree merges without touching the working
  334. directory or creating commits, similar to ``git merge-tree``. It outputs
  335. the merged tree SHA and lists any conflicted paths. (Jelmer Vernooij)
  336. * Add ``porcelain.count_objects()`` function to count unpacked objects and
  337. their disk usage. Returns a tuple of (count, size) for simple usage or
  338. a ``CountObjectsResult`` dataclass with detailed statistics when
  339. ``verbose=True``. (Jelmer Vernooij)
  340. * Add support for pack index format version 3. This format supports variable
  341. hash sizes to enable future SHA-256 support. The implementation includes
  342. reading and writing v3 indexes with proper hash algorithm identification
  343. (1 for SHA-1, 2 for SHA-256). Note that SHA-256 support itself is not yet
  344. implemented and will raise NotImplementedError. (Jelmer Vernooij)
  345. * Fix ``LocalGitClient`` assertion error when fetching externally cloned repositories
  346. into ``MemoryRepo``. Previously, the client would fail with an AssertionError
  347. when trying to process pack data from repositories that were cloned externally.
  348. (Jelmer Vernooij, #1179)
  349. * Add support for ``os.PathLike`` objects throughout the API. Functions that
  350. accept file paths now support ``pathlib.Path`` objects in addition to
  351. strings and bytes. This includes repository operations, configuration file
  352. handling, ignore file processing, and all major entry points.
  353. (Jelmer Vernooij, #1074)
  354. * Add support for ``format`` argument to ``Repo.init()`` and ``Repo.init_bare()``
  355. to specify repository format version (0 or 1). This allows creating repositories
  356. with different format versions by setting the ``core.repositoryformatversion``
  357. configuration value. (Jelmer Vernooij)
  358. * Fix Rust implementation of ``sorted_tree_items()`` to correctly handle submodules.
  359. Previously, submodules (mode 0o160000) were incorrectly treated as directories
  360. in the sorting order, causing different results compared to the Python
  361. implementation. (Jelmer Vernooij, #1325)
  362. * Fix ``porcelain.add()`` to stage both untracked and modified files when no
  363. paths are specified. Previously, only untracked files were staged, inconsistent
  364. with Git's behavior. Now behaves like ``git add -A`` when called without paths.
  365. (Jelmer Vernooij, #746)
  366. * Fix ``porcelain.add()`` symlink handling to allow adding symlinks that point
  367. outside the repository. Previously, the function would fail when trying to
  368. add a symlink pointing outside the repo due to aggressive path resolution.
  369. Now only resolves the parent directory for symlinks, matching Git's behavior.
  370. (Jelmer Vernooij, #789)
  371. * Fix ``porcelain.add()`` when adding repository root path or directories.
  372. Previously, adding the repository path itself would incorrectly stage
  373. ``b'./'`` instead of the actual untracked files, leading to
  374. repository corruption. (Jelmer Vernooij, #1178, #655)
  375. * Improve ``porcelain.add()`` documentation to correctly describe default
  376. behavior. (Jelmer Vernooij, #895)
  377. * Fix gitignore pattern matching for directory negation patterns. Patterns like
  378. ``!data/*/`` now correctly unignore direct subdirectories while still ignoring
  379. files in the parent directory, matching Git's behavior. The ``is_ignored()`` method
  380. now documents that directory paths should end with ``/`` for consistent behavior.
  381. (Jelmer Vernooij, #1203)
  382. * Support quote_path flag for ignore checking. (Jelmer Vernooij)
  383. * Clarify documentation for ``IgnoreFilter`` and ``IgnoreFilterManager`` to
  384. explicitly state that directory paths should include trailing slashes when
  385. checking if they are ignored. This matches Git's behavior and ensures
  386. consistent results. (Jelmer Vernooij, #972)
  387. * Add support for Git's ``feature.manyFiles`` configuration and index version 4.
  388. This enables faster Git operations in large repositories through path prefix
  389. compression (30-50% smaller index files) and optional hash skipping for faster
  390. writes. Supports ``feature.manyFiles``, ``index.version``, and ``index.skipHash``
  391. configuration options.
  392. (Jelmer Vernooij, #1061, #1462)
  393. * In dulwich.porcelain docstring, list functions by their Python identifiers.
  394. (Marnanel Thurman)
  395. * cli: add basic branch management commands (James Addison, #1514)
  396. * Fix wheels workflow. (Jelmer Vernooij)
  397. * ``Config.set`` replaces values by default, ``Config.add``
  398. appends them. (Jelmer Vernooij, #1545)
  399. * Support ``core.sshCommand`` setting.
  400. (Jelmer Vernooij, #1548)
  401. * Bump PyO3 to 0.25. (Jelmer Vernooij)
  402. * In ``SubprocessClient`` time out after 60 seconds
  403. when the subprocess hasn't terminated when closing
  404. the channel. (Jelmer Vernooij)
  405. * Add type hint for ``dulwich.client.get_ssh_vendor``.
  406. (Jelmer Vernooij, #1471)
  407. * Add basic merge command. (Jelmer Vernooij)
  408. * Update working tree in pull. (Jelmer Vernooij, #452)
  409. * Support switching branch in a way that updates
  410. working tree. (Jelmer Vernooij, #576)
  411. * Fix typing for ``dulwich.client`` methods that take repositories.
  412. (Jelmer Vernooij, #1521)
  413. * Fix handling of casing of subsection names in config.
  414. (Jelmer Vernooij, #1183)
  415. * Update working tree in pull. (Jelmer Vernooij, #452)
  416. * Use ``dissolve`` to manage deprecations. (Jelmer Vernooij)
  417. * Handle trailing backslashes in config files appropriately.
  418. (Jelmer Vernooij, #1088)
  419. * Add basic support for reading git commit graphs.
  420. (Jelmer Vernooij, #1191)
  421. * Port remaining ``dulwich.cli`` commands from getopt to argparse.
  422. (Jelmer Vernooij)
  423. * Add basic support for reftables.
  424. (Jelmer Vernooij, #1366)
  425. 0.22.8 2025-03-02
  426. * Allow passing in plain strings to ``dulwich.porcelain.tag_create``
  427. (Jelmer Vernooij, #1499)
  428. * Bump PyO3 to 0.23.5. (Jelmer Vernooij)
  429. * Add sparse checkout cone mode support (Louis Maddox, #1497)
  430. * Add skip-worktree support. (Louis Maddox)
  431. * Add "index.skipHash" option support. (Jan Rűegg)
  432. * Repo docstring improvements. (Marnanel Thurman)
  433. 0.22.7 2024-12-19
  434. * Fix serializing of commits with empty commit messages.
  435. (Castedo Ellerman, #1429)
  436. 0.22.6 2024-11-16
  437. * ``ObjectStore.iter_prefix``: fix handling of missing
  438. loose object directories. (Jelmer Vernooij)
  439. * Reject invalid refcontainer values (not 40 characters or symref).
  440. (Arun Babu Neelicattu)
  441. * Add type hints to various functions. (Castedo Ellerman)
  442. 0.22.5 2024-11-07
  443. * Drop support for Python 3.8. (Jelmer Vernooij)
  444. * Fix refspec handling in porcelain.pull. (Jelmer Vernooij)
  445. * Drop broken refspec support in porcelain.clone.
  446. (Jelmer Vernooij)
  447. * Provide ``ref_prefix`` functionality client-side
  448. if the server does not support it. (Jelmer Vernooij)
  449. * Consistently honor ``ref_prefix`` and ``protocol_version``
  450. arguments in client. (Jelmer Vernooij)
  451. * Strip pkt-line when negotiating protocol v2. Fixes
  452. compatibility with gerrit. (Rémy Pecqueur, #1423)
  453. * Don't pull in ``setuptools_rust`` when building pure
  454. package. (Eli Schwartz)
  455. * Return peeled refs from ``GitClient.get_refs`` if protocol-v2
  456. is used. (Stefan Sperling, #1410)
  457. * Drop outdated performance file. (Jelmer Vernooij, #1411)
  458. 0.22.4 2024-11-01
  459. * Fix handling of symrefs with protocol v2.
  460. (Jelmer Vernooij, #1389)
  461. * Add ``ObjectStore.iter_prefix``. (Jelmer Vernooij)
  462. * Revert back to version 3 of ``Cargo.lock``, to allow
  463. building with older Cargo versions.
  464. (Jelmer Vernooij)
  465. * Use a default ref-prefix when fetching with git protocol v2
  466. (Stefan Sperling, #1389)
  467. * Add `ObjectStore.iter_prefix`. (Jelmer Vernooij)
  468. 0.22.3 2024-10-15
  469. * Improve wheel building in CI, so we can upload wheels for the next release.
  470. (Jelmer Vernooij)
  471. 0.22.2 2024-10-09
  472. * Ship ``Cargo.lock``. (Jelmer Vernooij, #1287)
  473. * Ship ``tests/`` and ``testdata/`` in sdist. (Jelmer Vernooij, #1292)
  474. * Add initial integration with OSS-Fuzz for continuous fuzz testing and first fuzzing test (David Lakin, #1302)
  475. * Drop Python 3.7 support. (Jelmer Vernooij)
  476. * Improve fuzzing coverage (David Lakin)
  477. * Support Python 3.13. (Edgar Ramírez-Mondragón, #1352)
  478. * Initial support for smart protocol v2. (Stefan Sperling)
  479. 0.22.1 2024-04-23
  480. * Handle alternate case for worktreeconfig setting (Will Shanks, #1285)
  481. * Ship rust files. (Jelmer Vernooij, #1287)
  482. 0.22.0 2024-04-22
  483. * Stop installing docs/ as part of package code. (Jelmer Vernooij, #1248)
  484. * Move tests to root. (Jelmer Vernooij, #1024)
  485. * Convert the optional C implementations to Rust.
  486. (Jelmer Vernooij)
  487. 0.21.7 2023-12-05
  488. * Fix NameError when encountering errors during HTTP operation.
  489. (Jelmer Vernooij, #1208)
  490. * Raise exception when default identity can't be found.
  491. (Jelmer Vernooij)
  492. * Add a dedicated exception class for unresolved
  493. deltas. (Jelmer Vernooij, #1221)
  494. * Support credentials in proxy URL. (Jelmer Vernooij, #1227)
  495. * Add ``dulwich.porcelain.for_each_ref``. (Daniele Trifirò)
  496. 0.21.6 2023-09-02
  497. * Convert _objects.c to rust.
  498. (Jelmer Vernooij)
  499. * index: Handle different stages of conflicted paths.
  500. (Kevin Hendricks, Jelmer Vernooij)
  501. * Improve LCA finding performance. (Kevin Hendricks)
  502. * client: Handle Content-Type with encoding set.
  503. (Antoine Lambert)
  504. * Only import _hashlib for type checking.
  505. (David Hotham)
  506. * Update docs regarding building dulwich without c bindings (#103)
  507. (Adam Plaice)
  508. * objects: Define a stricter return type for _parse_message
  509. (Vincent Lorentz)
  510. * Raise GitProtocolError when encountering HTTP Errors in
  511. HTTPGitClient. (Jelmer Vernooij, #1199)
  512. 0.21.5 2023-05-04
  513. * Be more tolerant to non-3-length tuple versions.
  514. (Jelmer Vernooij)
  515. 0.21.4.1 2023-05-04
  516. * Support ``core.symlinks=false``. (Jelmer Vernooij, #1169)
  517. * Deprecate ``dulwich.objects.parse_commit``.
  518. * Fix fetching into MemoryRepo. (Jelmer Vernooij, #1157)
  519. * Support ``init.defaultBranch`` config.
  520. (Jelmer Vernooij)
  521. * Fix ``ObjectStore.iterobjects_subset()`` when
  522. hex shas are passed for objects that live in packs.
  523. (Jelmer Vernooij, #1166)
  524. * client: Handle absolute path as redirect location in HTTP client.
  525. (Antoine Lambert)
  526. 0.21.3 2023-02-17
  527. * Add support for ``worktreeconfig`` extension.
  528. (Jelmer Vernooij)
  529. * Deprecate ``Commit.extra``; the Git project specifically
  530. discourages adding custom lines, and the contents of
  531. ``Commit.extra`` are unpredictable as contents
  532. may be different between different versions of Dulwich
  533. with support for different headers.
  534. ``Commit._extra`` still exists.
  535. (Jelmer Vernooij)
  536. 0.21.2 2023-01-18
  537. * Fix early file close bug in ``dulwich.pack.extend_pack``.
  538. (Jelmer Vernooij)
  539. 0.21.1 2023-01-17
  540. * Factor out ``dulwich.pack.extend_pack``.
  541. (Jelmer Vernooij)
  542. 0.21.0 2023-01-16
  543. * Pack internals have been significantly refactored, including
  544. significant low-level API changes.
  545. As a consequence of this, Dulwich now reuses pack deltas
  546. when communicating with remote servers, which brings a
  547. big boost to network performance.
  548. (Jelmer Vernooij)
  549. * Add 'pack-refs' command.
  550. (Dan Villiom Podlaski Christiansen)
  551. * Handle more errors when trying to read a ref
  552. (Dan Villiom Podlaski Christiansen)
  553. * Allow for reuse of existing deltas while creating pack files
  554. (Stefan Sperling)
  555. * cli: fix argument parsing for pack-objects --stdout
  556. (Stefan Sperling)
  557. * cli: open pack-objects output files in binary mode to avoid write() error
  558. (Stefan Sperling)
  559. * Bump minimum python version to 3.7. (Jelmer Vernooij)
  560. * honor no_proxy environment variable (#1098, afaul)
  561. * In HTTP Git Client, allow missing Content-Type.
  562. (Jelmer Vernooij)
  563. * Fix --pure builds (Jelmer Vernooij, #1093)
  564. * Allow passing abbrev to describe (#1084, Seppo Yli-Olli)
  565. 0.20.50 2022-10-30
  566. * Add --deltify option to ``dulwich pack-objects`` which enables
  567. deltification, and add initial support for reusing suitable
  568. deltas found in an existing pack file.
  569. (Stefan Sperling)
  570. * Fix Repo.reset_index.
  571. Previously, it instead took the union with the given tree.
  572. (Christian Sattler, #1072)
  573. * Add -b argument to ``dulwich clone``.
  574. (Jelmer Vernooij)
  575. * On Windows, provide a hint about developer mode
  576. when creating symlinks fails due to a permission
  577. error. (Jelmer Vernooij, #1005)
  578. * Add new ``ObjectID`` type in ``dulwich.objects``,
  579. currently just an alias for ``bytes``.
  580. (Jelmer Vernooij)
  581. * Support repository format version 1.
  582. (Jelmer Vernooij, #1056)
  583. * Support \r\n line endings with continuations when parsing
  584. configuration files. (Jelmer Vernooij)
  585. * Fix handling of SymrefLoop in RefsContainer.__setitem__.
  586. (Dominic Davis-Foster, Jelmer Vernooij)
  587. 0.20.46 2022-09-06
  588. * Apply insteadOf to rsync-style location strings
  589. (previously it was just applied to URLs).
  590. (Jelmer Vernooij, python-poetry/poetry#6329)
  591. * Drop use of certifi, instead relying on urllib3's default
  592. code to find system CAs. (Jelmer Vernooij, #1025)
  593. * Implement timezone parsing in porcelain.
  594. (springheeledjack0, #1026)
  595. * Drop support for running without setuptools.
  596. (Jelmer Vernooij)
  597. * Ensure configuration is loaded when
  598. running "dulwich clone".
  599. (Jelmer Vernooij)
  600. * Build 32 bit wheels for Windows.
  601. (Benjamin Parzella)
  602. * tests: Ignore errors when deleting GNUPGg
  603. home directory. Fixes spurious errors racing
  604. gnupg-agent. Thanks, Matěj Cepl. Fixes #1000
  605. * config: Support closing brackets in quotes in section
  606. names. (Jelmer Vernooij, #10124)
  607. * Various and formatting fixes. (Kian-Meng Ang)
  608. * Document basic authentication in dulwich.porcelain.clone.
  609. (TuringTux)
  610. * Flush before calling fsync, ensuring buffers
  611. are filled. (wernha)
  612. * Support GPG commit signing. (springheeledjack0)
  613. * Add python 3.11 support. (Saugat Pachhai)
  614. * Allow missing GPG during tests. (Jakub Kulík)
  615. * status: return posix-style untracked paths instead of nt-style paths on
  616. win32 (Daniele Trifirò)
  617. * Honour PATH environment when running C Git for testing.
  618. (Stefan Sperling)
  619. * Split out exception for symbolic reference loops.
  620. (Jelmer Vernooij)
  621. * Move various long-deprecated methods.
  622. (Jelmer Vernooij)
  623. 0.20.45 2022-07-15
  624. * Add basic ``dulwich.porcelain.submodule_list`` and ``dulwich.porcelain.submodule_add``
  625. (Jelmer Vernooij)
  626. 0.20.44 2022-06-30
  627. * Fix reading of chunks in server. (Jelmer Vernooij, #977)
  628. * Support applying of URL rewriting using ``insteadOf`` / ``pushInsteadOf``.
  629. (Jelmer Vernooij, #706)
  630. 0.20.43 2022-06-07
  631. * Lazily import url2pathname.
  632. (Jelmer Vernooij)
  633. * Drop caching of full HTTP response. Attempt #2.
  634. (jelmer Vernooij, Antoine Lambert, #966)
  635. 0.20.42 2022-05-24
  636. * Drop ``RefsContainer.watch`` that was always flaky.
  637. (Jelmer Vernooij, #886)
  638. 0.20.41 2022-05-24
  639. * Fix wheel uploading, properly. (Ruslan Kuprieiev)
  640. 0.20.40 2022-05-19
  641. * Fix wheel uploading. (Daniele Trifirò, Jelmer Vernooij)
  642. 0.20.39 2022-05-19
  643. 0.20.38 2022-05-17
  644. * Disable paramiko tests if paramiko is not available. (Michał Górny)
  645. * Set flag to re-enable paramiko server side on gentoo for running paramiko
  646. tests. (Michał Górny)
  647. * Increase tolerance when comparing time stamps; fixes some
  648. spurious test failures on slow CI systems. (Jelmer Vernooij)
  649. * Revert removal of caching of full HTTP response. This breaks
  650. access to some HTTP servers.
  651. (Jelmer Vernooij)
  652. 0.20.37 2022-05-16
  653. * Avoid making an extra copy when fetching pack files.
  654. (Jelmer Vernooij)
  655. * Add ``porcelain.remote_remove``.
  656. (Jelmer Vernooij, #923)
  657. 0.20.36 2022-05-15
  658. * Add ``walk_untracked`` argument to ``porcelain.status``.
  659. (Daniele Trifirò)
  660. * Add tests for paramiko SSH Vendor.
  661. (Filipp Frizzy)
  662. 0.20.35 2022-03-20
  663. * Document the ``path`` attribute for ``Repo``.
  664. (Jelmer Vernooij, #854)
  665. 0.20.34 2022-03-14
  666. * Add support for multivars in configuration.
  667. (Jelmer Vernooij, #718)
  668. 0.20.33 2022-03-05
  669. * Fix handling of escaped characters in ignore patterns.
  670. (Jelmer Vernooij, #930)
  671. * Add ``dulwich.contrib.requests_vendor``. (epopcon)
  672. * Ensure git config is available in a linked working tree.
  673. (Jesse Cureton, #926)
  674. 0.20.32 2022-01-24
  675. * Properly close result repository during test.
  676. (Jelmer Vernooij, #928)
  677. 0.20.31 2022-01-21
  678. * Add GitClient.clone(). (Jelmer Vernooij, #920)
  679. 0.20.30 2022-01-08
  680. 0.20.29 2022-01-08
  681. * Support staging submodules.
  682. (Jelmer Vernooij)
  683. * Drop deprecated Index.iterblobs and iter_fresh_blobs.
  684. (Jelmer Vernooij)
  685. * Unify clone behaviour of ``Repo.clone`` and
  686. ``porcelain.clone``, and add branch parameter for
  687. clone. (Peter Rowlands, #851)
  688. 0.20.28 2022-01-05
  689. * Fix hook test on Mac OSX / Linux when dulwich is
  690. not installed system-wide. (Jelmer Vernooij, #919)
  691. * Cope with gecos being unset.
  692. (Jelmer Vernooij, #917)
  693. 0.20.27 2022-01-04
  694. * Allow adding files to repository in pre-commit hook.
  695. (Jelmer Vernooij, #916)
  696. * Raise SubmoduleEncountered in ``tree_lookup_path``.
  697. (Jelmer Vernooij)
  698. 0.20.26 2021-10-29
  699. * Support os.PathLike arguments to Repo.stage().
  700. (Jan Wiśniewski, #907)
  701. * Drop support for Python 3.5. (Jelmer Vernooij)
  702. * Add ``dulwich.porcelain._reset_file``.
  703. (Ded_Secer)
  704. * Add ``Repo.unstage``. (Ded_Secer)
  705. 0.20.25 2021-08-23
  706. * Fix ``dulwich`` script when installed via setup.py.
  707. (Dan Villiom Podlaski Christiansen)
  708. * Make default file mask consistent
  709. with Git. (Dan Villiom Podlaski Christiansen, #884)
  710. 0.20.24 2021-07-18
  711. * config: disregard UTF-8 BOM when reading file.
  712. (Dan Villiom Podlaski Christiansen)
  713. * Skip lines with spaces only in .gitignore. (Andrey Torsunov, #878)
  714. * Add a separate HTTPProxyUnauthorized exception for 407 errors.
  715. (Jelmer Vernooij, #822)
  716. * Split out a AbstractHTTPGitClient class.
  717. (Jelmer Vernooij)
  718. 0.20.23 2021-05-24
  719. * Fix installation of GPG during package publishing.
  720. (Ruslan Kuprieiev)
  721. 0.20.22 2021-05-24
  722. * Prevent removal of refs directory when the last ref is
  723. deleted. (Jelmer Vernooij)
  724. * Fix filename: MERGE_HEADS => MERGE_HEAD.
  725. (Jelmer Vernooij, #861)
  726. * For ignored directories, porcelain.add and porcelain.status now only return
  727. the path to directory itself in the list of ignored paths. Previously, paths
  728. for all files within the directory would also be included in the list.
  729. (Peter Rowlands, #853)
  730. * Provide depth argument to ``determine_wants``.
  731. (Peter Rowlands)
  732. * Various tag signature handling improvements.
  733. (Daniel Murphy)
  734. * Add separate Tag.verify(). (Peter Rowlands)
  735. * Add support for version 3 index files. (Jelmer Vernooij)
  736. * Fix autocrlf=input handling. (Peter Rowlands, Boris Feld)
  737. * Attempt to find C Git global config on Windows.
  738. (Peter Rowlands)
  739. API CHANGES
  740. * The APIs for writing and reading individual index entries have changed
  741. to handle lists of (name, entry) tuples rather than tuples.
  742. 0.20.21 2021-03-20
  743. * Add basic support for a GcsObjectStore that stores
  744. pack files in gcs. (Jelmer Vernooij)
  745. * In porcelain.push, default to local active branch.
  746. (Jelmer Vernooij, #846)
  747. * Support fetching symrefs.
  748. (Jelmer Vernooij, #485, #847)
  749. * Add aarch64 wheel building.
  750. (odidev, Jelmer Vernooij)
  751. 0.20.20 2021-03-03
  752. * Implement ``Stash.drop``. (Peter Rowlands)
  753. * Support untracked symlinks to paths outside the
  754. repository. (Peter Rowlands, #842)
  755. 0.20.19 2021-02-11
  756. * Fix handling of negative matches in nested gitignores.
  757. (Corentin Hembise, #836)
  758. 0.20.18 2021-02-04
  759. * Fix formatting in setup.py. (Jelmer Vernooij)
  760. * Add release configuration. (Jelmer Vernooij)
  761. 0.20.17 2021-02-04
  762. * credentials: ignore end-of-line character. (Georges Racinet)
  763. * Fix failure in get_untracked_paths when the repository contains symlinks.
  764. (#830, #793, mattseddon)
  765. * docs: Clarify that Git objects are created on `git add`.
  766. (Utku Gultopu)
  767. 0.20.16 2021-01-16
  768. * Add flag to only attempt to fetch ignored untracked files when specifically requested.
  769. (Matt Seddon)
  770. 0.20.15 2020-12-23
  771. * Add some functions for parsing and writing bundles.
  772. (Jelmer Vernooij)
  773. * Add ``no_verify`` flag to ``porcelain.commit`` and ``Repo.do_commit``.
  774. (Peter Rowlands)
  775. * Remove dependency on external mock module.
  776. (Matěj Cepl, #820)
  777. 0.20.14 2020-11-26
  778. * Fix some stash functions on Python 3. (Peter Rowlands)
  779. * Fix handling of relative paths in alternates files on Python 3.
  780. (Georges Racinet)
  781. 0.20.13 2020-11-22
  782. * Add py.typed to allow type checking. (David Caro)
  783. * Add tests demonstrating a bug in the walker code.
  784. (Doug Hellman)
  785. 0.20.11 2020-10-30
  786. * Fix wheels build on Linux. (Ruslan Kuprieiev)
  787. * Enable wheels build for Python 3.9 on Linux. (Jelmer Vernooij)
  788. 0.20.8 2020-10-29
  789. * Build wheels on Mac OS X / Windows for Python 3.9.
  790. (Jelmer Vernooij)
  791. 0.20.7 2020-10-29
  792. * Check core.repositoryformatversion. (Jelmer Vernooij, #803)
  793. * Fix ACK/NACK handling in archive command handling in dulwich.client.
  794. (DzmitrySudnik, #805)
  795. 0.20.6 2020-08-29
  796. * Add a ``RefsContainer.watch`` interface.
  797. (Jelmer Vernooij, #751)
  798. * Fix pushing of new branches from porcelain.push.
  799. (Jelmer Vernooij, #788)
  800. * Honor shallows when pushing from a shallow clone.
  801. (Jelmer Vernooij, #794)
  802. * Fix porcelain.path_to_tree_path for Python 3.5.
  803. (Boris Feld, #777)
  804. * Add support for honor proxy environment variables for HTTP.
  805. (Aurélien Campéas, #797)
  806. 0.20.5 2020-06-22
  807. * Print a clearer exception when setup.py is executed on Python < 3.5.
  808. (Jelmer Vernooij, #783)
  809. * Send an empty pack to clients if they requested objects, even if they
  810. already have those objects. Thanks to Martijn Pieters for
  811. the detailed bug report. (Jelmer Vernooij, #781)
  812. * porcelain.pull: Don't ask for objects that we already have.
  813. (Jelmer Vernooij, #782)
  814. * Add LCA implementation. (Kevin Hendricks)
  815. * Add functionality for finding the merge base. (Kevin Hendricks)
  816. * Check for diverged branches during push.
  817. (Jelmer Vernooij, #494)
  818. * Check for fast-forward during pull. (Jelmer Vernooij, #666)
  819. * Return a SendPackResult object from
  820. GitClient.send_pack(). (Jelmer Vernooij)
  821. * ``GitClient.send_pack`` now sets the ``ref_status`` attribute
  822. on its return value to a dictionary mapping ref names
  823. to error messages. Previously, it raised UpdateRefsError
  824. if any of the refs failed to update.
  825. (Jelmer Vernooij, #780)
  826. * Add a ``porcelain.Error`` object that most errors in porcelain
  827. derive from. (Jelmer Vernooij)
  828. * Fix argument parsing in dulwich command-line app.
  829. (Jelmer Vernooij, #784)
  830. 0.20.3 2020-06-14
  831. * Add support for remembering remote refs after push/pull.
  832. (Jelmer Vernooij, #752)
  833. * Support passing tree and output encoding to
  834. dulwich.patch.unified_diff. (Jelmer Vernooij, #763)
  835. * Fix pushing of new refs over HTTP(S) when there are
  836. no new objects to be sent.
  837. (Jelmer Vernooij, #739)
  838. * Raise new error HTTPUnauthorized when the server sends
  839. back a 401. The client can then retry with credentials.
  840. (Jelmer Vernooij, #691)
  841. * Move the guts of bin/dulwich to dulwich.cli, so it is easier to
  842. test or import. (Jelmer Vernooij)
  843. * Install dulwich script from entry_points when setuptools is available,
  844. making it slightly easier to use on Windows. (Jelmer Vernooij, #540)
  845. * Set python_requires>=3.5 in setup.py. (Manuel Jacob)
  846. 0.20.2 2020-06-01
  847. * Brown bag release to fix uploads of Windows wheels.
  848. 0.20.1 2020-06-01
  849. * Publish binary wheels for: Windows, Linux, Mac OS X.
  850. (Jelmer Vernooij, #711, #710, #629)
  851. 0.20.0 2020-06-01
  852. * Drop support for Python 2. (Jelmer Vernooij)
  853. * Only return files from the loose store that look like git objects.
  854. (Nicolas Dandrimont)
  855. * Ignore agent= capability if sent by client.
  856. (Jelmer Vernooij)
  857. * Don't break when encountering block devices.
  858. (Jelmer Vernooij)
  859. * Decode URL paths in HttpGitClient using utf-8 rather than file system
  860. encoding. (Manuel Jacob)
  861. * Fix pushing from a shallow clone.
  862. (Brecht Machiels, #705)
  863. 0.19.16 2020-04-17
  864. * Don't send "deepen None" to server if graph walker
  865. supports shallow. (Jelmer Vernooij, #747)
  866. * Support tweaking the compression level for
  867. loose objects through the "core.looseCompression" and
  868. "core.compression" settings. (Jelmer Vernooij)
  869. * Support tweaking the compression level for
  870. pack objects through the "core.packCompression" and
  871. "core.compression" settings. (Jelmer Vernooij)
  872. * Add a "dulwich.contrib.diffstat" module.
  873. (Kevin Hendricks)
  874. 0.19.15 2020-01-26
  875. * Properly handle files that are just executable for the
  876. current user. (Jelmer Vernooij, #734)
  877. * Fix handling of stored encoding in
  878. ``dulwich.porcelain.get_object_by_path`` on Python 3.
  879. (Jelmer Vernooij)
  880. * Support the include_trees and rename_detector arguments
  881. at the same time when diffing trees.
  882. (Jelmer Vernooij)
  883. 0.19.14 2019-11-30
  884. * Strip superfluous <> around email. (monnerat)
  885. * Stop checking for ref validity client-side. Users can
  886. still call check_wants manually. (Jelmer Vernooij)
  887. * Switch over to Google-style docstrings.
  888. (Jelmer Vernooij)
  889. * Add a ``dulwich.porcelain.active_branch`` function.
  890. (Jelmer Vernooij)
  891. * Cleanup new directory if clone fails. (Jelmer Vernooij, #733)
  892. * Expand "~" in global exclude path. (Jelmer Vernooij)
  893. 0.19.13 2019-08-19
  894. BUG FIXES
  895. * Avoid ``PermissionError``, since it is Python3-specific.
  896. (Jelmer Vernooij)
  897. * Fix regression that added a dependency on C git for the
  898. test suite. (Jelmer Vernooij, #720)
  899. * Fix compatibility with Python 3.8 - mostly deprecation warnings.
  900. (Jelmer Vernooij)
  901. 0.19.12 2019-08-13
  902. BUG FIXES
  903. * Update directory detection for `get_unstaged_changes` for Python 3.
  904. (Boris Feld, #684)
  905. * Add a basic ``porcelain.clean``. (Lane Barlow, #398)
  906. * Fix output format of ``porcelain.diff`` to match that of
  907. C Git. (Boris Feld)
  908. * Return a 404 not found error when repository is not found.
  909. * Mark ``.git`` directories as hidden on Windows.
  910. (Martin Packman, #585)
  911. * Implement ``RefsContainer.__iter__``
  912. (Jelmer Vernooij, #717)
  913. * Don't trust modes if they can't be modified after a file has been created.
  914. (Jelmer Vernooij, #719)
  915. 0.19.11 2019-02-07
  916. IMPROVEMENTS
  917. * Use fullname from gecos field, if available.
  918. (Jelmer Vernooij)
  919. * Support ``GIT_AUTHOR_NAME`` / ``GIT_AUTHOR_EMAIL``.
  920. (Jelmer Vernooij)
  921. * Add support for short ids in parse_commit. (Jelmer Vernooij)
  922. * Add support for ``prune`` and ``prune_tags`` arguments
  923. to ``porcelain.fetch``. (Jelmer Vernooij, #681)
  924. BUG FIXES
  925. * Fix handling of race conditions when new packs appear.
  926. (Jelmer Vernooij)
  927. 0.19.10 2018-01-15
  928. IMPROVEMENTS
  929. * Add `dulwich.porcelain.write_tree`.
  930. (Jelmer Vernooij)
  931. * Support reading ``MERGE_HEADS`` in ``Repo.do_commit``.
  932. (Jelmer Vernooij)
  933. * Import from ``collections.abc`` rather than ``collections`` where
  934. applicable. Required for 3.8 compatibility.
  935. (Jelmer Vernooij)
  936. * Support plain strings as refspec arguments to
  937. ``dulwich.porcelain.push``. (Jelmer Vernooij)
  938. * Add support for creating signed tags.
  939. (Jelmer Vernooij, #542)
  940. BUG FIXES
  941. * Handle invalid ref that pretends to be a sub-folder under a valid ref.
  942. (KS Chan)
  943. 0.19.9 2018-11-17
  944. BUG FIXES
  945. * Avoid fetching ghosts in ``Repo.fetch``.
  946. (Jelmer Vernooij)
  947. * Preserve port and username in parsed HTTP URLs.
  948. (Jelmer Vernooij)
  949. * Add basic server side implementation of ``git-upload-archive``.
  950. (Jelmer Vernooij)
  951. 0.19.8 2018-11-06
  952. * Fix encoding when reading README file in setup.py.
  953. (egor <egor@sourced.tech>, #668)
  954. 0.19.7 2018-11-05
  955. CHANGES
  956. * Drop support for Python 3 < 3.4. This is because
  957. pkg_resources (which get used by setuptools and mock)
  958. no longer supports 3.3 and earlier. (Jelmer Vernooij)
  959. IMPROVEMENTS
  960. * Support ``depth`` argument to ``GitClient.fetch_pack`` and support
  961. fetching and updating shallow metadata. (Jelmer Vernooij, #240)
  962. BUG FIXES
  963. * Don't write to stdout and stderr when they are not available
  964. (such as is the case for pythonw). (Sylvia van Os, #652)
  965. * Fix compatibility with newer versions of git, which expect CONTENT_LENGTH
  966. to be set to 0 for empty body requests. (Jelmer Vernooij, #657)
  967. * Raise an exception client-side when a caller tries to request
  968. SHAs that are not directly referenced the servers' refs.
  969. (Jelmer Vernooij)
  970. * Raise more informative errors when unable to connect to repository
  971. over SSH or subprocess. (Jelmer Vernooij)
  972. * Handle commit identity fields with multiple ">" characters.
  973. (Nicolas Dandrimont)
  974. IMPROVEMENTS
  975. * ``dulwich.porcelain.get_object_by_path`` method for easily
  976. accessing a path in another tree. (Jelmer Vernooij)
  977. * Support the ``i18n.commitEncoding`` setting in config.
  978. (Jelmer Vernooij)
  979. 0.19.6 2018-08-11
  980. BUG FIXES
  981. * Fix support for custom transport arguments in ``dulwich.porcelain.clone``.
  982. (Semyon Slepov)
  983. * Fix compatibility with Python 3.8 (Jelmer Vernooij, Daniel M. Capella)
  984. * Fix some corner cases in ``path_to_tree_path``. (Romain Keramitas)
  985. * Support paths as bytestrings in various places in ``dulwich.index``
  986. (Jelmer Vernooij)
  987. * Avoid setup.cfg for now, since it seems to break pypi metadata.
  988. (Jelmer Vernooij, #658)
  989. 0.19.5 2018-07-08
  990. IMPROVEMENTS
  991. * Add ``porcelain.describe``. (Sylvia van Os)
  992. BUG FIXES
  993. * Fix regression in ``dulwich.porcelain.clone`` that prevented cloning
  994. of remote repositories. (Jelmer Vernooij, #639)
  995. * Don't leave around empty parent directories for removed refs.
  996. (Damien Tournoud, #640)
  997. 0.19.4 2018-06-24
  998. IMPROVEMENTS
  999. * Add ``porcelain.ls_files``. (Jelmer Vernooij)
  1000. * Add ``Index.items``. (Jelmer Vernooij)
  1001. BUG FIXES
  1002. * Avoid unicode characters (e.g. the digraph ij in my surname) in setup.cfg,
  1003. since setuptools doesn't deal well with them. See
  1004. https://github.com/pypa/setuptools/issues/1062. (Jelmer Vernooij, #637)
  1005. 0.19.3 2018-06-17
  1006. IMPROVEMENTS
  1007. * Add really basic `dulwich.porcelain.fsck` implementation.
  1008. (Jelmer Vernooij)
  1009. * When the `DULWICH_PDB` environment variable is set, make
  1010. SIGQUIT open pdb in the 'dulwich' command.
  1011. * Add `checkout` argument to `Repo.clone`.
  1012. (Jelmer Vernooij, #503)
  1013. * Add `Repo.get_shallow` method. (Jelmer Vernooij)
  1014. * Add basic `dulwich.stash` module. (Jelmer Vernooij)
  1015. * Support a `prefix` argument to `dulwich.archive.tar_stream`.
  1016. (Jelmer Vernooij)
  1017. BUG FIXES
  1018. * Fix handling of encoding for tags. (Jelmer Vernooij, #608)
  1019. * Fix tutorial tests on Python 3. (Jelmer Vernooij, #573)
  1020. * Fix remote refs created by `porcelain.fetch`. (Daniel Andersson, #623)
  1021. * More robust pack creation on Windows. (Daniel Andersson)
  1022. * Fix recursive option for `porcelain.ls_tree`. (Romain Keramitas)
  1023. TESTS
  1024. * Some improvements to paramiko tests. (Filipp Frizzy)
  1025. 0.19.2 2018-04-07
  1026. BUG FIXES
  1027. * Fix deprecated Index.iterblobs method.
  1028. (Jelmer Vernooij)
  1029. 0.19.1 2018-04-05
  1030. IMPROVEMENTS
  1031. * Add 'dulwich.mailmap' file for reading mailmap files.
  1032. (Jelmer Vernooij)
  1033. * Dulwich no longer depends on urllib3[secure]. Instead,
  1034. "dulwich[https]" can be used to pull in the necessary
  1035. dependencies for HTTPS support. (Jelmer Vernooij, #616)
  1036. * Support the `http.sslVerify` and `http.sslCAInfo`
  1037. configuration options. (Jelmer Vernooij)
  1038. * Factor out `dulwich.client.parse_rsync_url` function.
  1039. (Jelmer Vernooij)
  1040. * Fix repeat HTTP requests using the same smart HTTP client.
  1041. (Jelmer Vernooij)
  1042. * New 'client.PLinkSSHVendor' for creating connections using PuTTY's plink.exe.
  1043. (Adam Bradley, Filipp Frizzy)
  1044. * Only pass in `key_filename` and `password` to SSHVendor
  1045. implementations if those parameters are set.
  1046. (This helps with older SSHVendor implementations)
  1047. (Jelmer Vernooij)
  1048. API CHANGES
  1049. * Index.iterblobs has been renamed to Index.iterobjects.
  1050. (Jelmer Vernooij)
  1051. 0.19.0 2018-03-10
  1052. BUG FIXES
  1053. * Make `dulwich.archive` set the gzip header file modification time so that
  1054. archives created from the same Git tree are always identical.
  1055. (#577, Jonas Haag)
  1056. * Allow comment characters (#, ;) within configuration file strings
  1057. (Daniel Andersson, #579)
  1058. * Raise exception when passing in invalid author/committer values
  1059. to Repo.do_commit(). (Jelmer Vernooij, #602)
  1060. IMPROVEMENTS
  1061. * Add a fastimport ``extra``. (Jelmer Vernooij)
  1062. * Start writing reflog entries. (Jelmer Vernooij)
  1063. * Add ability to use password and keyfile ssh options with SSHVendor. (Filipp Kucheryavy)
  1064. * Add ``change_type_same`` flag to ``tree_changes``.
  1065. (Jelmer Vernooij)
  1066. API CHANGES
  1067. * ``GitClient.send_pack`` now accepts a ``generate_pack_data``
  1068. rather than a ``generate_pack_contents`` function for
  1069. performance reasons. (Jelmer Vernooij)
  1070. * Dulwich now uses urllib3 internally for HTTP requests.
  1071. The `opener` argument to `dulwich.client.HttpGitClient` that took a
  1072. `urllib2` opener instance has been replaced by a `pool_manager` argument
  1073. that takes a `urllib3` pool manager instance.
  1074. (Daniel Andersson)
  1075. 0.18.6 2017-11-11
  1076. BUG FIXES
  1077. * Fix handling of empty repositories in ``porcelain.clone``.
  1078. (#570, Jelmer Vernooij)
  1079. * Raise an error when attempting to add paths that are not under the
  1080. repository. (Jelmer Vernooij)
  1081. * Fix error message for missing trailing ]. (Daniel Andersson)
  1082. * Raise EmptyFileException when corruption (in the form of an empty
  1083. file) is detected. (Antoine R. Dumont, #582)
  1084. IMPROVEMENTS
  1085. * Enforce date field parsing consistency. This also add checks on
  1086. those date fields for potential overflow.
  1087. (Antoine R. Dumont, #567)
  1088. 0.18.5 2017-10-29
  1089. BUG FIXES
  1090. * Fix cwd for hooks. (Fabian Grünbichler)
  1091. * Fix setting of origin in config when non-standard origin is passed into
  1092. ``Repo.clone``. (Kenneth Lareau, #565)
  1093. * Prevent setting SSH arguments from SSH URLs when using SSH through a
  1094. subprocess. Note that Dulwich doesn't support cloning submodules.
  1095. (CVE-2017-16228) (Jelmer Vernooij)
  1096. IMPROVEMENTS
  1097. * Silently ignored directories in ``Repo.stage``.
  1098. (Jelmer Vernooij, #564)
  1099. API CHANGES
  1100. * GitFile now raises ``FileLocked`` when encountering a lock
  1101. rather than OSError(EEXIST). (Jelmer Vernooij)
  1102. 0.18.4 2017-10-01
  1103. BUG FIXES
  1104. * Make default User-Agent start with "git/" because GitHub won't response to
  1105. HTTP smart server requests otherwise (and reply with a 404).
  1106. (Jelmer vernooij, #562)
  1107. 0.18.3 2017-09-03
  1108. BUG FIXES
  1109. * Read config during porcelain operations that involve remotes.
  1110. (Jelmer Vernooij, #545)
  1111. * Fix headers of empty chunks in unified diffs. (Taras Postument, #543)
  1112. * Properly follow redirects over HTTP. (Jelmer Vernooij, #117)
  1113. IMPROVEMENTS
  1114. * Add ``dulwich.porcelain.update_head``. (Jelmer Vernooij, #439)
  1115. * ``GitClient.fetch_pack`` now returns symrefs.
  1116. (Jelmer Vernooij, #485)
  1117. * The server now supports providing symrefs.
  1118. (Jelmer Vernooij, #485)
  1119. * Add ``dulwich.object_store.commit_tree_changes`` to incrementally
  1120. commit changes to a tree structure. (Jelmer Vernooij)
  1121. * Add basic ``PackBasedObjectStore.repack`` method.
  1122. (Jelmer Vernooij, Earl Chew, #296, #549, #552)
  1123. 0.18.2 2017-08-01
  1124. TEST FIXES
  1125. * Use constant timestamp so tests pass in all timezones, not just BST.
  1126. (Jelmer Vernooij)
  1127. 0.18.1 2017-07-31
  1128. BUG FIXES
  1129. * Fix syntax error in dulwich.contrib.test_swift_smoke.
  1130. (Jelmer Vernooij)
  1131. 0.18.0 2017-07-31
  1132. BUG FIXES
  1133. * Fix remaining tests on Windows. (Jelmer Vernooij, #493)
  1134. * Fix build of C extensions with Python 3 on Windows.
  1135. (Jelmer Vernooij)
  1136. * Pass 'mkdir' argument onto Repo.init_bare in Repo.clone.
  1137. (Jelmer Vernooij, #504)
  1138. * In ``dulwich.porcelain.add``, if no files are specified,
  1139. add from current working directory rather than repository root.
  1140. (Jelmer Vernooij, #521)
  1141. * Properly deal with submodules in 'porcelain.status'.
  1142. (Jelmer Vernooij, #517)
  1143. * ``dulwich.porcelain.remove`` now actually removes files from
  1144. disk, not just from the index. (Jelmer Vernooij, #488)
  1145. * Fix handling of "reset" command with markers and without
  1146. "from". (Antoine Pietri)
  1147. * Fix handling of "merge" command with markers. (Antoine Pietri)
  1148. * Support treeish argument to porcelain.reset(), rather than
  1149. requiring a ref/commit id. (Jelmer Vernooij)
  1150. * Handle race condition when mtime doesn't change between writes/reads.
  1151. (Jelmer Vernooij, #541)
  1152. * Fix ``dulwich.porcelain.show`` on commits with Python 3.
  1153. (Jelmer Vernooij, #532)
  1154. IMPROVEMENTS
  1155. * Add basic support for reading ignore files in ``dulwich.ignore``.
  1156. ``dulwich.porcelain.add`` and ``dulwich.porcelain.status`` now honor
  1157. ignores. (Jelmer Vernooij, Segev Finer, #524, #526)
  1158. * New ``dulwich.porcelain.check_ignore`` command.
  1159. (Jelmer Vernooij)
  1160. * ``dulwich.porcelain.status`` now supports a ``ignored`` argument.
  1161. (Jelmer Vernooij)
  1162. DOCUMENTATION
  1163. * Clarified docstrings for Client.{send_pack,fetch_pack} implementations.
  1164. (Jelmer Vernooij, #523)
  1165. 0.17.3 2017-03-20
  1166. PLATFORM SUPPORT
  1167. * List Python 3.3 as supported. (Jelmer Vernooij, #513)
  1168. BUG FIXES
  1169. * Fix compatibility with pypy 3. (Jelmer Vernooij)
  1170. 0.17.2 2017-03-19
  1171. BUG FIXES
  1172. * Add workaround for
  1173. https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work,
  1174. fixing Dulwich when used with C extensions on pypy < 5.6. (Victor Stinner)
  1175. * Properly quote config values with a '#' character in them.
  1176. (Jelmer Vernooij, #511)
  1177. 0.17.1 2017-03-01
  1178. IMPROVEMENTS
  1179. * Add basic 'dulwich pull' command. (Jelmer Vernooij)
  1180. BUG FIXES
  1181. * Cope with existing submodules during pull.
  1182. (Jelmer Vernooij, #505)
  1183. 0.17.0 2017-03-01
  1184. TEST FIXES
  1185. * Skip test that requires sync to synchronize filesystems if os.sync is
  1186. not available. (Koen Martens)
  1187. IMPROVEMENTS
  1188. * Implement MemoryRepo.{set_description,get_description}.
  1189. (Jelmer Vernooij)
  1190. * Raise exception in Repo.stage() when absolute paths are
  1191. passed in. Allow passing in relative paths to
  1192. porcelain.add().(Jelmer Vernooij)
  1193. BUG FIXES
  1194. * Handle multi-line quoted values in config files.
  1195. (Jelmer Vernooij, #495)
  1196. * Allow porcelain.clone of repository without HEAD.
  1197. (Jelmer Vernooij, #501)
  1198. * Support passing tag ids to Walker()'s include argument.
  1199. (Jelmer Vernooij)
  1200. * Don't strip trailing newlines from extra headers.
  1201. (Nicolas Dandrimont)
  1202. * Set bufsize=0 for subprocess interaction with SSH client.
  1203. Fixes hangs on Python 3. (René Stern, #434)
  1204. * Don't drop first slash for SSH paths, except for those
  1205. starting with "~". (Jelmer Vernooij, René Stern, #463)
  1206. * Properly log off after retrieving just refs.
  1207. (Jelmer Vernooij)
  1208. 0.16.3 2016-01-14
  1209. TEST FIXES
  1210. * Remove racy check that relies on clock time changing between writes.
  1211. (Jelmer Vernooij)
  1212. IMPROVEMENTS
  1213. * Add porcelain.remote_add. (Jelmer Vernooij)
  1214. 0.16.2 2016-01-14
  1215. IMPROVEMENTS
  1216. * Fixed failing test-cases on windows.
  1217. (Koen Martens)
  1218. API CHANGES
  1219. * Repo is now a context manager, so that it can be easily
  1220. closed using a ``with`` statement. (Søren Løvborg)
  1221. IMPROVEMENTS
  1222. * Add naive annotate implementation in ``dulwich.annotate``.
  1223. It works, but performance needs work. (Jelmer Vernooij)
  1224. TEST FIXES
  1225. * Only run worktree list compat tests against git 2.7.0,
  1226. when 'git worktree list' was introduced. (Jelmer Vernooij)
  1227. BUG FIXES
  1228. * Ignore filemode when building index when core.filemode
  1229. is false.
  1230. (Koen Martens)
  1231. * Initialize core.filemode configuration setting by
  1232. probing the filesystem for trustable permissions.
  1233. (Koen Martens)
  1234. * Fix ``porcelain.reset`` to respect the committish argument.
  1235. (Koen Martens)
  1236. * Fix dulwich.porcelain.ls_remote() on Python 3.
  1237. (#471, Jelmer Vernooij)
  1238. * Allow both unicode and byte strings for host paths
  1239. in dulwich.client. (#435, Jelmer Vernooij)
  1240. * Add remote from porcelain.clone. (#466, Jelmer Vernooij)
  1241. * Fix unquoting of credentials before passing to urllib2.
  1242. (#475, Volodymyr Holovko)
  1243. * Cope with submodules in `build_index_from_tree`.
  1244. (#477, Jelmer Vernooij)
  1245. * Handle deleted files in `get_unstaged_changes`.
  1246. (#483, Doug Hellmann)
  1247. * Don't overwrite files when they haven't changed in
  1248. `build_file_from_blob`.
  1249. (#479, Benoît HERVIER)
  1250. * Check for existence of index file before opening pack.
  1251. Fixes a race when new packs are being added.
  1252. (#482, wme)
  1253. 0.16.1 2016-12-25
  1254. BUG FIXES
  1255. * Fix python3 compatibility for dulwich.contrib.release_robot.
  1256. (Jelmer Vernooij)
  1257. 0.16.0 2016-12-24
  1258. IMPROVEMENTS
  1259. * Add support for worktrees. See `git-worktree(1)` and
  1260. `gitrepository-layout(5)`. (Laurent Rineau)
  1261. * Add support for `commondir` file in Git control
  1262. directories. (Laurent Rineau)
  1263. * Add support for passwords in HTTP URLs.
  1264. (Jon Bain, Mika Mäenpää)
  1265. * Add `release_robot` script to contrib,
  1266. allowing easy finding of current version based on Git tags.
  1267. (Mark Mikofski)
  1268. * Add ``Blob.splitlines`` method.
  1269. (Jelmer Vernooij)
  1270. BUG FIXES
  1271. * Fix handling of ``Commit.tree`` being set to an actual
  1272. tree object rather than a tree id. (Jelmer Vernooij)
  1273. * Return remote refs from LocalGitClient.fetch_pack(),
  1274. consistent with the documentation for that method.
  1275. (#461, Jelmer Vernooij)
  1276. * Fix handling of unknown URL schemes in get_transport_and_path.
  1277. (#465, Jelmer Vernooij)
  1278. 0.15.0 2016-10-09
  1279. BUG FIXES
  1280. * Allow missing trailing LF when reading service name from
  1281. HTTP servers. (Jelmer Vernooij, Andrew Shadura, #442)
  1282. * Fix dulwich.porcelain.pull() on Python3. (Jelmer Vernooij, #451)
  1283. * Properly pull in tags during dulwich.porcelain.clone.
  1284. (Jelmer Vernooij, #408)
  1285. CHANGES
  1286. * Changed license from "GNU General Public License, version 2.0 or later"
  1287. to "Apache License, version 2.0 or later or GNU General Public License,
  1288. version 2.0 or later". (#153)
  1289. IMPROVEMENTS
  1290. * Add ``dulwich.porcelain.ls_tree`` implementation. (Jelmer Vernooij)
  1291. 0.14.1 2016-07-05
  1292. BUG FIXES
  1293. * Fix regression removing untouched refs when pushing over SSH.
  1294. (Jelmer Vernooij #441)
  1295. * Skip Python3 tests for SWIFT contrib module, as it has not yet
  1296. been ported.
  1297. 0.14.0 2016-07-03
  1298. BUG FIXES
  1299. * Fix ShaFile.id after modification of a copied ShaFile.
  1300. (Félix Mattrat, Jelmer Vernooij)
  1301. * Support removing refs from porcelain.push.
  1302. (Jelmer Vernooij, #437)
  1303. * Stop magic protocol ref `capabilities^{}` from leaking out
  1304. to clients. (Jelmer Vernooij, #254)
  1305. IMPROVEMENTS
  1306. * Add `dulwich.config.parse_submodules` function.
  1307. * Add `RefsContainer.follow` method. (#438)
  1308. 0.13.0 2016-04-24
  1309. IMPROVEMENTS
  1310. * Support `ssh://` URLs in get_transport_and_path_from_url().
  1311. (Jelmer Vernooij, #402)
  1312. * Support missing empty line after headers in Git commits and tags.
  1313. (Nicolas Dandrimont, #413)
  1314. * Fix `dulwich.porcelain.status` when used in empty trees.
  1315. (Jelmer Vernooij, #415)
  1316. * Return copies of objects in MemoryObjectStore rather than
  1317. references, making the behaviour more consistent with that of
  1318. DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
  1319. * Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
  1320. CHANGES
  1321. * Drop support for Python 2.6.
  1322. * Fix python3 client web support. (Jelmer Vernooij)
  1323. BUG FIXES
  1324. * Fix hang on Gzip decompression. (Jonas Haag)
  1325. * Don't rely on working tell() and seek() methods
  1326. on wsgi.input. (Jonas Haag)
  1327. * Support fastexport/fastimport functionality on python3 with newer
  1328. versions of fastimport (>= 0.9.5). (Jelmer Vernooij, Félix Mattrat)
  1329. 0.12.0 2015-12-13
  1330. IMPROVEMENTS
  1331. * Add a `dulwich.archive` module that can create tarballs.
  1332. Based on code from Jonas Haag in klaus.
  1333. * Add a `dulwich.reflog` module for reading and writing reflogs.
  1334. (Jelmer Vernooij)
  1335. * Fix handling of ambiguous refs in `parse_ref` to make
  1336. it match the behaviour described in https://git-scm.com/docs/gitrevisions.
  1337. (Chris Bunney)
  1338. * Support Python3 in C modules. (Lele Gaifax)
  1339. BUG FIXES
  1340. * Simplify handling of SSH command invocation.
  1341. Fixes quoting of paths. Thanks, Thomas Liebetraut. (#384)
  1342. * Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383)
  1343. * Add hack to support thin packs duing fetch(), albeit while requiring the
  1344. entire pack file to be loaded into memory. (jsbain)
  1345. CHANGES
  1346. * This will be the last release to support Python 2.6.
  1347. 0.11.2 2015-09-18
  1348. IMPROVEMENTS
  1349. * Add support for agent= capability. (Jelmer Vernooij, #298)
  1350. * Add support for quiet capability. (Jelmer Vernooij)
  1351. CHANGES
  1352. * The ParamikoSSHVendor class has been moved to
  1353. * dulwich.contrib.paramiko_vendor, as it's currently untested.
  1354. (Jelmer Vernooij, #364)
  1355. 0.11.1 2015-09-13
  1356. Fix-up release to exclude broken blame.py file.
  1357. 0.11.0 2015-09-13
  1358. IMPROVEMENTS
  1359. * Extended Python3 support to most of the codebase.
  1360. (Gary van der Merwe, Jelmer Vernooij)
  1361. * The `Repo` object has a new `close` method that can be called to close any
  1362. open resources. (Gary van der Merwe)
  1363. * Support 'git.bat' in SubprocessGitClient on Windows.
  1364. (Stefan Zimmermann)
  1365. * Advertise 'ofs-delta' capability in receive-pack server side
  1366. capabilities. (Jelmer Vernooij)
  1367. * Switched `default_local_git_client_cls` to `LocalGitClient`.
  1368. (Gary van der Merwe)
  1369. * Add `porcelain.ls_remote` and `GitClient.get_refs`.
  1370. (Michael Edgar)
  1371. * Add `Repo.discover` method. (B. M. Corser)
  1372. * Add `dulwich.objectspec.parse_refspec`. (Jelmer Vernooij)
  1373. * Add `porcelain.pack_objects` and `porcelain.repack`.
  1374. (Jelmer Vernooij)
  1375. BUG FIXES
  1376. * Fix handling of 'done' in graph walker and implement the
  1377. 'no-done' capability. (Tommy Yu, #88)
  1378. * Avoid recursion limit issues resolving deltas. (William Grant, #81)
  1379. * Allow arguments in local client binary path overrides.
  1380. (Jelmer Vernooij)
  1381. * Fix handling of commands with arguments in paramiko SSH
  1382. client. (Andreas Klöckner, Jelmer Vernooij, #363)
  1383. * Fix parsing of quoted strings in configs. (Jelmer Vernooij, #305)
  1384. 0.10.1 2015-03-25
  1385. BUG FIXES
  1386. * Return `ApplyDeltaError` when encountering delta errors
  1387. in both C extensions and native delta application code.
  1388. (Jelmer Vernooij, #259)
  1389. 0.10.0 2015-03-22
  1390. BUG FIXES
  1391. * In dulwich.index.build_index_from_tree, by default
  1392. refuse to create entries that start with .git/.
  1393. (Jelmer Vernooij, CVE-2014-9706)
  1394. * Fix running of testsuite when installed.
  1395. (Jelmer Vernooij, #223)
  1396. * Use a block cache in _find_content_rename_candidates(),
  1397. improving performance. (Mike Williams)
  1398. * Add support for ``core.protectNTFS`` setting.
  1399. (Jelmer Vernooij)
  1400. * Fix TypeError when fetching empty updates.
  1401. (Hwee Miin Koh)
  1402. * Resolve delta refs when pulling into a MemoryRepo.
  1403. (Max Shawabkeh, #256)
  1404. * Fix handling of tags of non-commits in missing object finder.
  1405. (Augie Fackler, #211)
  1406. * Explicitly disable mmap on plan9 where it doesn't work.
  1407. (Jeff Sickel)
  1408. IMPROVEMENTS
  1409. * New public method `Repo.reset_index`. (Jelmer Vernooij)
  1410. * Prevent duplicate parsing of loose files in objects
  1411. directory when reading. Thanks to David Keijser for the
  1412. report. (Jelmer Vernooij, #231)
  1413. 0.9.9 2015-03-20
  1414. SECURITY BUG FIXES
  1415. * Fix buffer overflow in C implementation of pack apply_delta().
  1416. (CVE-2015-0838)
  1417. Thanks to Ivan Fratric of the Google Security Team for
  1418. reporting this issue.
  1419. (Jelmer Vernooij)
  1420. 0.9.8 2014-11-30
  1421. BUG FIXES
  1422. * Various fixes to improve test suite running on Windows.
  1423. (Gary van der Merwe)
  1424. * Limit delta copy length to 64K in v2 pack files. (Robert Brown)
  1425. * Strip newline from final ACKed SHA while fetching packs.
  1426. (Michael Edgar)
  1427. * Remove assignment to PyList_SIZE() that was causing segfaults on
  1428. pypy. (Jelmer Vernooij, #196)
  1429. IMPROVEMENTS
  1430. * Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij)
  1431. * Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij)
  1432. * Add 'status' support to bin/dulwich. (Jelmer Vernooij)
  1433. * Add 'branch_create', 'branch_list', 'branch_delete' porcelain.
  1434. (Jelmer Vernooij)
  1435. * Add 'fetch' porcelain. (Jelmer Vernooij)
  1436. * Add 'tag_delete' porcelain. (Jelmer Vernooij)
  1437. * Add support for serializing/deserializing 'gpgsig' attributes in Commit.
  1438. (Jelmer Vernooij)
  1439. CHANGES
  1440. * dul-web is now available as 'dulwich web-daemon'.
  1441. (Jelmer Vernooij)
  1442. * dulwich.porcelain.tag has been renamed to tag_create.
  1443. dulwich.porcelain.list_tags has been renamed to tag_list.
  1444. (Jelmer Vernooij)
  1445. API CHANGES
  1446. * Restore support for Python 2.6. (Jelmer Vernooij, Gary van der Merwe)
  1447. 0.9.7 2014-06-08
  1448. BUG FIXES
  1449. * Fix tests dependent on hash ordering. (Michael Edgar)
  1450. * Support staging symbolic links in Repo.stage.
  1451. (Robert Brown)
  1452. * Ensure that all files object are closed when running the test suite.
  1453. (Gary van der Merwe)
  1454. * When writing OFS_DELTA pack entries, write correct offset.
  1455. (Augie Fackler)
  1456. * Fix handler of larger copy operations in packs. (Augie Fackler)
  1457. * Various fixes to improve test suite running on Windows.
  1458. (Gary van der Merwe)
  1459. * Fix logic for extra adds of identical files in rename detector.
  1460. (Robert Brown)
  1461. IMPROVEMENTS
  1462. * Add porcelain 'status'. (Ryan Faulkner)
  1463. * Add porcelain 'daemon'. (Jelmer Vernooij)
  1464. * Add `dulwich.greenthreads` module which provides support
  1465. for concurrency of some object store operations.
  1466. (Fabien Boucher)
  1467. * Various changes to improve compatibility with Python 3.
  1468. (Gary van der Merwe, Hannu Valtonen, michael-k)
  1469. * Add OpenStack Swift backed repository implementation
  1470. in dulwich.contrib. See README.swift for details. (Fabien Boucher)
  1471. API CHANGES
  1472. * An optional close function can be passed to the Protocol class. This will
  1473. be called by its close method. (Gary van der Merwe)
  1474. * All classes with close methods are now context managers, so that they can
  1475. be easily closed using a `with` statement. (Gary van der Merwe)
  1476. * Remove deprecated `num_objects` argument to `write_pack` methods.
  1477. (Jelmer Vernooij)
  1478. OTHER CHANGES
  1479. * The 'dul-daemon' script has been removed. The same functionality
  1480. is now available as 'dulwich daemon'. (Jelmer Vernooij)
  1481. 0.9.6 2014-04-23
  1482. IMPROVEMENTS
  1483. * Add support for recursive add in 'git add'.
  1484. (Ryan Faulkner, Jelmer Vernooij)
  1485. * Add porcelain 'list_tags'. (Ryan Faulkner)
  1486. * Add porcelain 'push'. (Ryan Faulkner)
  1487. * Add porcelain 'pull'. (Ryan Faulkner)
  1488. * Support 'http.proxy' in HttpGitClient.
  1489. (Jelmer Vernooij, #1096030)
  1490. * Support 'http.useragent' in HttpGitClient.
  1491. (Jelmer Vernooij)
  1492. * In server, wait for clients to send empty list of
  1493. wants when talking to empty repository.
  1494. (Damien Tournoud)
  1495. * Various changes to improve compatibility with
  1496. Python 3. (Gary van der Merwe)
  1497. BUG FIXES
  1498. * Support unseekable 'wsgi.input' streams.
  1499. (Jonas Haag)
  1500. * Raise TypeError when passing unicode() object
  1501. to Repo.__getitem__.
  1502. (Jonas Haag)
  1503. * Fix handling of `reset` command in dulwich.fastexport.
  1504. (Jelmer Vernooij, #1249029)
  1505. * In client, don't wait for server to close connection
  1506. first. Fixes hang when used against GitHub
  1507. server implementation. (Siddharth Agarwal)
  1508. * DeltaChainIterator: fix a corner case where an object is inflated as an
  1509. object already in the repository.
  1510. (Damien Tournoud, #135)
  1511. * Stop leaking file handles during pack reload. (Damien Tournoud)
  1512. * Avoid reopening packs during pack cache reload. (Jelmer Vernooij)
  1513. API CHANGES
  1514. * Drop support for Python 2.6. (Jelmer Vernooij)
  1515. 0.9.5 2014-02-23
  1516. IMPROVEMENTS
  1517. * Add porcelain 'tag'. (Ryan Faulkner)
  1518. * New module `dulwich.objectspec` for parsing strings referencing
  1519. objects and commit ranges. (Jelmer Vernooij)
  1520. * Add shallow branch support. (milki)
  1521. * Allow passing urllib2 `opener` into HttpGitClient.
  1522. (Dov Feldstern, #909037)
  1523. CHANGES
  1524. * Drop support for Python 2.4 and 2.5. (Jelmer Vernooij)
  1525. API CHANGES
  1526. * Remove long deprecated ``Repo.commit``, ``Repo.get_blob``,
  1527. ``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij)
  1528. * Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``.
  1529. (Jelmer Vernooij)
  1530. * Remove long deprecated ``Tree.entries``. (Jelmer Vernooij)
  1531. BUG FIXES
  1532. * Raise KeyError rather than TypeError when passing in
  1533. unicode object of length 20 or 40 to Repo.__getitem__.
  1534. (Jelmer Vernooij)
  1535. * Use 'rm' rather than 'unlink' in tests, since the latter
  1536. does not exist on OpenBSD and other platforms.
  1537. (Dmitrij D. Czarkoff)
  1538. 0.9.4 2013-11-30
  1539. IMPROVEMENTS
  1540. * Add ssh_kwargs attribute to ParamikoSSHVendor. (milki)
  1541. * Add Repo.set_description(). (Víðir Valberg Guðmundsson)
  1542. * Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski)
  1543. * Various performance improvements for object access.
  1544. (Jelmer Vernooij)
  1545. * New function `get_transport_and_path_from_url`,
  1546. similar to `get_transport_and_path` but only
  1547. supports URLs.
  1548. (Jelmer Vernooij)
  1549. * Add support for file:// URLs in `get_transport_and_path_from_url`.
  1550. (Jelmer Vernooij)
  1551. * Add LocalGitClient implementation.
  1552. (Jelmer Vernooij)
  1553. BUG FIXES
  1554. * Support filesystems with 64bit inode and device numbers.
  1555. (André Roth)
  1556. CHANGES
  1557. * Ref handling has been moved to dulwich.refs.
  1558. (Jelmer Vernooij)
  1559. API CHANGES
  1560. * Remove long deprecated RefsContainer.set_ref().
  1561. (Jelmer Vernooij)
  1562. * Repo.ref() is now deprecated in favour of Repo.refs[].
  1563. (Jelmer Vernooij)
  1564. FEATURES
  1565. * Add support for graftpoints. (milki)
  1566. 0.9.3 2013-09-27
  1567. BUG FIXES
  1568. * Fix path for stdint.h in MANIFEST.in. (Jelmer Vernooij)
  1569. 0.9.2 2013-09-26
  1570. BUG FIXES
  1571. * Include stdint.h in MANIFEST.in (Mark Mikofski)
  1572. 0.9.1 2013-09-22
  1573. BUG FIXES
  1574. * Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij)
  1575. * Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij)
  1576. * Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes.
  1577. (milki, #1063087)
  1578. * Fix capability negotiation when fetching packs over HTTP.
  1579. (#1072461, William Grant)
  1580. * Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij)
  1581. * In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij)
  1582. IMPROVEMENTS
  1583. * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions.g
  1584. (Alberto Ruiz)
  1585. * Add `Repo.get_description` method. (Jelmer Vernooij)
  1586. * Support thin packs in Pack.iterobjects() and Pack.get_raw().
  1587. (William Grant)
  1588. * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
  1589. (David Bennett)
  1590. * Add paramiko-based SSH vendor. (Aaron O'Mullan)
  1591. * Support running 'dulwich.server' and 'dulwich.web' using 'python -m'.
  1592. (Jelmer Vernooij)
  1593. * Add ObjectStore.close(). (Jelmer Vernooij)
  1594. * Raise appropriate NotImplementedError when encountering dumb HTTP servers.
  1595. (Jelmer Vernooij)
  1596. API CHANGES
  1597. * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
  1598. (Jelmer Vernooij)
  1599. * ObjectStore.add_pack() now returns a 3-tuple. The last element will be an
  1600. abort() method that can be used to cancel the pack operation.
  1601. (Jelmer Vernooij)
  1602. 0.9.0 2013-05-31
  1603. BUG FIXES
  1604. * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
  1605. * Use indentation consistent with C Git in config files.
  1606. (#1031356, Curt Moore, Jelmer Vernooij)
  1607. * Recognize and skip binary files in diff function.
  1608. (Takeshi Kanemoto)
  1609. * Fix handling of relative paths in dulwich.client.get_transport_and_path.
  1610. (Brian Visel, #1169368)
  1611. * Preserve ordering of entries in configuration.
  1612. (Benjamin Pollack)
  1613. * Support ~ expansion in SSH client paths. (milki, #1083439)
  1614. * Support relative paths in alternate paths.
  1615. (milki, Michel Lespinasse, #1175007)
  1616. * Log all error messages from wsgiref server to the logging module. This
  1617. makes the test suit quiet again. (Gary van der Merwe)
  1618. * Support passing None for empty tree in changes_from_tree.
  1619. (Kevin Watters)
  1620. * Support fetching empty repository in client. (milki, #1060462)
  1621. IMPROVEMENTS:
  1622. * Add optional honor_filemode flag to build_index_from_tree.
  1623. (Mark Mikofski)
  1624. * Support core/filemode setting when building trees. (Jelmer Vernooij)
  1625. * Add chapter on tags in tutorial. (Ryan Faulkner)
  1626. FEATURES
  1627. * Add support for mergetags. (milki, #963525)
  1628. * Add support for posix shell hooks. (milki)
  1629. 0.8.7 2012-11-27
  1630. BUG FIXES
  1631. * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
  1632. (Dmitriy)
  1633. * Fix compatibility with Python 2.4. (David Carr)
  1634. 0.8.6 2012-11-09
  1635. API CHANGES
  1636. * dulwich.__init__ no longer imports client, protocol, repo and
  1637. server modules. (Jelmer Vernooij)
  1638. FEATURES
  1639. * ConfigDict now behaves more like a dictionary.
  1640. (Adam 'Cezar' Jenkins, issue #58)
  1641. * HTTPGitApplication now takes an optional
  1642. `fallback_app` argument. (Jonas Haag, issue #67)
  1643. * Support for large pack index files. (Jameson Nash)
  1644. TESTING
  1645. * Make index entry tests a little bit less strict, to cope with
  1646. slightly different behaviour on various platforms.
  1647. (Jelmer Vernooij)
  1648. * ``setup.py test`` (available when setuptools is installed) now
  1649. runs all tests, not just the basic unit tests.
  1650. (Jelmer Vernooij)
  1651. BUG FIXES
  1652. * Commit._deserialize now actually deserializes the current state rather than
  1653. the previous one. (Yifan Zhang, issue #59)
  1654. * Handle None elements in lists of TreeChange objects. (Alex Holmes)
  1655. * Support cloning repositories without HEAD set.
  1656. (D-Key, Jelmer Vernooij, issue #69)
  1657. * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
  1658. * In ``get_transport_and_path``, pass extra keyword arguments on to
  1659. HttpGitClient. (Jelmer Vernooij)
  1660. 0.8.5 2012-03-29
  1661. BUG FIXES
  1662. * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
  1663. * Be a little bit strict about OS behaviour in index tests.
  1664. Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
  1665. 0.8.4 2012-03-28
  1666. BUG FIXES
  1667. * Options on the same line as sections in config files are now supported.
  1668. (Jelmer Vernooij, #920553)
  1669. * Only negotiate capabilities that are also supported by the server.
  1670. (Rod Cloutier, Risto Kankkunen)
  1671. * Fix parsing of invalid timezone offsets with two minus signs.
  1672. (Jason R. Coombs, #697828)
  1673. * Reset environment variables during tests, to avoid
  1674. test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
  1675. TESTS
  1676. * $HOME is now explicitly specified for tests that use it to read
  1677. ``~/.gitconfig``, to prevent test isolation issues.
  1678. (Jelmer Vernooij, #920330)
  1679. FEATURES
  1680. * Additional arguments to get_transport_and_path are now passed
  1681. on to the constructor of the transport. (Sam Vilain)
  1682. * The WSGI server now transparently handles when a git client submits data
  1683. using Content-Encoding: gzip.
  1684. (David Blewett, Jelmer Vernooij)
  1685. * Add dulwich.index.build_index_from_tree(). (milki)
  1686. 0.8.3 2012-01-21
  1687. FEATURES
  1688. * The config parser now supports the git-config file format as
  1689. described in git-config(1) and can write git config files.
  1690. (Jelmer Vernooij, #531092, #768687)
  1691. * ``Repo.do_commit`` will now use the user identity from
  1692. .git/config or ~/.gitconfig if none was explicitly specified.
  1693. (Jelmer Vernooij)
  1694. BUG FIXES
  1695. * Allow ``determine_wants`` methods to include the zero sha in their
  1696. return value. (Jelmer Vernooij)
  1697. 0.8.2 2011-12-18
  1698. BUG FIXES
  1699. * Cope with different zlib buffer sizes in sha1 file parser.
  1700. (Jelmer Vernooij)
  1701. * Fix get_transport_and_path for HTTP/HTTPS URLs.
  1702. (Bruno Renié)
  1703. * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
  1704. * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
  1705. * Properly abort connections when the determine_wants function
  1706. raises an exception. (Jelmer Vernooij, #856769)
  1707. * Tweak xcodebuild hack to deal with more error output.
  1708. (Jelmer Vernooij, #903840)
  1709. FEATURES
  1710. * Add support for retrieving tarballs from remote servers.
  1711. (Jelmer Vernooij, #379087)
  1712. * New method ``update_server_info`` which generates data
  1713. for dumb server access. (Jelmer Vernooij, #731235)
  1714. 0.8.1 2011-10-31
  1715. FEATURES
  1716. * Repo.do_commit has a new argument 'ref'.
  1717. * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
  1718. * New ``Repo.get_walker`` method. (Jelmer Vernooij)
  1719. * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
  1720. * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
  1721. (Jelmer Vernooij)
  1722. * ``HttpGitClient`` which supports the smart server protocol over
  1723. HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
  1724. * Add basic support for alternates. (Jelmer Vernooij, #810429)
  1725. CHANGES
  1726. * unittest2 or python >= 2.7 is now required for the testsuite.
  1727. testtools is no longer supported. (Jelmer Vernooij, #830713)
  1728. BUG FIXES
  1729. * Fix compilation with older versions of MSVC. (Martin gz)
  1730. * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
  1731. * Smart protocol clients can now change refs even if they are
  1732. not uploading new data. (Jelmer Vernooij, #855993)
  1733. * Don't compile C extensions when running in pypy.
  1734. (Ronny Pfannschmidt, #881546)
  1735. * Use different name for strnlen replacement function to avoid clashing
  1736. with system strnlen. (Jelmer Vernooij, #880362)
  1737. API CHANGES
  1738. * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
  1739. (Jelmer Vernooij)
  1740. 0.8.0 2011-08-07
  1741. FEATURES
  1742. * New DeltaChainIterator abstract class for quickly iterating all objects in
  1743. a pack, with implementations for pack indexing and inflation.
  1744. (Dave Borowitz)
  1745. * New walk module with a Walker class for customizable commit walking.
  1746. (Dave Borowitz)
  1747. * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
  1748. * Easy rename detection in RenameDetector even without find_copies_harder.
  1749. (Dave Borowitz)
  1750. BUG FIXES
  1751. * Avoid storing all objects in memory when writing pack.
  1752. (Jelmer Vernooij, #813268)
  1753. * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
  1754. * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
  1755. * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
  1756. * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
  1757. * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
  1758. * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
  1759. * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
  1760. left in the buffer. (Dave Borowitz)
  1761. * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
  1762. * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
  1763. * ObjectStore.get_graph_walker() now no longer yields the same
  1764. revision more than once. This has a significant improvement for
  1765. performance when wide revision graphs are involved.
  1766. (Jelmer Vernooij, #818168)
  1767. * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
  1768. * Don't send a pack with duplicates of the same object. (Dave Borowitz)
  1769. * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
  1770. * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
  1771. * Fix add/add and add/rename conflicts in tree_changes_for_merge.
  1772. (Dave Borowitz)
  1773. * Use correct MIME types in web server. (Dave Borowitz)
  1774. API CHANGES
  1775. * write_pack no longer takes the num_objects argument and requires an object
  1776. to be passed in that is iterable (rather than an iterator) and that
  1777. provides __len__. (Jelmer Vernooij)
  1778. * write_pack_data has been renamed to write_pack_objects and no longer takes a
  1779. num_objects argument. (Jelmer Vernooij)
  1780. * take_msb_bytes, read_zlib_chunks, unpack_objects, and
  1781. PackStreamReader.read_objects now take an additional argument indicating a
  1782. crc32 to compute. (Dave Borowitz)
  1783. * PackObjectIterator was removed; its functionality is still exposed by
  1784. PackData.iterobjects. (Dave Borowitz)
  1785. * Add a sha arg to write_pack_object to incrementally compute a SHA.
  1786. (Dave Borowitz)
  1787. * Include offset in PackStreamReader results. (Dave Borowitz)
  1788. * Move PackStreamReader from server to pack. (Dave Borowitz)
  1789. * Extract a check_length_and_checksum, compute_file_sha, and
  1790. pack_object_header pack helper functions. (Dave Borowitz)
  1791. * Extract a compute_file_sha function. (Dave Borowitz)
  1792. * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
  1793. the thin pack and moves it in in one step. Remove ThinPackData as well.
  1794. (Dave Borowitz)
  1795. * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
  1796. * New UnpackedObject data class that replaces ad-hoc tuples in the return
  1797. value of unpack_object and various DeltaChainIterator methods.
  1798. (Dave Borowitz)
  1799. * Add a lookup_path convenience method to Tree. (Dave Borowitz)
  1800. * Optionally create RenameDetectors without passing in tree SHAs.
  1801. (Dave Borowitz)
  1802. * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
  1803. * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
  1804. * Optionally pass a request object through to server handlers. (Dave Borowitz)
  1805. TEST CHANGES
  1806. * If setuptools is installed, "python setup.py test" will now run the testsuite.
  1807. (Jelmer Vernooij)
  1808. * Add a new build_pack test utility for building packs from a simple spec.
  1809. (Dave Borowitz)
  1810. * Add a new build_commit_graph test utility for building commits from a
  1811. simple spec. (Dave Borowitz)
  1812. 0.7.1 2011-04-12
  1813. BUG FIXES
  1814. * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
  1815. * Fix the build on Windows. (Pascal Quantin)
  1816. * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
  1817. (Max Bowsher, #707438)
  1818. * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
  1819. (Jelmer Vernooij)
  1820. * write_tree_diff() now supports submodules.
  1821. (Jelmer Vernooij)
  1822. * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
  1823. (Daniele Sluijters)
  1824. IMPROVEMENTS
  1825. * Sphinxified documentation. (Lukasz Balcerzak)
  1826. * Add Pack.keep.(Marc Brinkmann)
  1827. API CHANGES
  1828. * The order of the parameters to Tree.add(name, mode, sha) has changed, and
  1829. is now consistent with the rest of Dulwich. Existing code will still
  1830. work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
  1831. * Tree.entries() is now deprecated in favour of Tree.items() and
  1832. Tree.iteritems(). (Jelmer Vernooij)
  1833. 0.7.0 2011-01-21
  1834. FEATURES
  1835. * New `dulwich.diff_tree` module for simple content-based rename detection.
  1836. (Dave Borowitz)
  1837. * Add Tree.items(). (Jelmer Vernooij)
  1838. * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
  1839. * Add write_tree_diff(). (Jelmer Vernooij)
  1840. * Add `serve_command` function for git server commands as executables.
  1841. (Jelmer Vernooij)
  1842. * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
  1843. (Dave Borowitz, #568493)
  1844. BUG FIXES
  1845. * Correct short-circuiting operation for no-op fetches in the server.
  1846. (Dave Borowitz)
  1847. * Support parsing git mbox patches without a version tail, as generated by
  1848. Mercurial. (Jelmer Vernooij)
  1849. * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
  1850. * Zero-padded file modes in Tree objects no longer trigger an exception but
  1851. the check code warns about them. (Augie Fackler, #581064)
  1852. * Repo.init() now honors the mkdir flag. (#671159)
  1853. * The ref format is now checked when setting a ref rather than when reading it back.
  1854. (Dave Borowitz, #653527)
  1855. * Make sure pack files are closed correctly. (Tay Ray Chuan)
  1856. DOCUMENTATION
  1857. * Run the tutorial inside the test suite. (Jelmer Vernooij)
  1858. * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
  1859. #610540)
  1860. 0.6.2 2010-10-16
  1861. BUG FIXES
  1862. * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
  1863. * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
  1864. * ThinPackData.from_file now works with resolve_ext_ref callback.
  1865. (Dave Borowitz)
  1866. * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
  1867. * Set bare=true in the configuration for bare repositories. (Dirk Neumann)
  1868. FEATURES
  1869. * Use slots for core objects to save up on memory. (Jelmer Vernooij)
  1870. * Web server supports streaming progress/pack output. (Dave Borowitz)
  1871. * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
  1872. * Distinguish between missing files and read errors in HTTP server.
  1873. (Dave Borowitz)
  1874. * Initial work on support for fastimport using python-fastimport.
  1875. (Jelmer Vernooij)
  1876. * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
  1877. * Delegate SHA peeling to the object store. (Dave Borowitz)
  1878. TESTS
  1879. * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
  1880. * New tests in test_web with better coverage and fewer ad-hoc mocks.
  1881. (Dave Borowitz)
  1882. * Standardize quote delimiters in test_protocol. (Dave Borowitz)
  1883. * Fix use when testtools is installed. (Jelmer Vernooij)
  1884. * Add trivial test for write_pack_header. (Jelmer Vernooij)
  1885. * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
  1886. * Allow overwriting id property of objects in test utils. (Dave Borowitz)
  1887. * Use real in-memory objects rather than stubs for server tests.
  1888. (Dave Borowitz)
  1889. * Clean up MissingObjectFinder. (Dave Borowitz)
  1890. API CHANGES
  1891. * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
  1892. order. (Dave Borowitz)
  1893. * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
  1894. (Dave Borowitz).
  1895. * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
  1896. * Change server capabilities methods to classmethods. (Dave Borowitz)
  1897. * Tweak server handler injection. (Dave Borowitz)
  1898. * PackIndex1 and PackIndex2 now subclass FilePackIndex, which isg
  1899. itself a subclass of PackIndex. (Jelmer Vernooij)
  1900. DOCUMENTATION
  1901. * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
  1902. * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
  1903. * Explicitly specify allowed protocol commands to
  1904. ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
  1905. * Add utility functions to DictRefsContainer. (Dave Borowitz)
  1906. 0.6.1 2010-07-22
  1907. BUG FIXES
  1908. * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
  1909. * Use correct path separators for named repo files. (Dave Borowitz)
  1910. * python > 2.7 and testtools-based test runners will now also pick up skipped
  1911. tests correctly. (Jelmer Vernooij)
  1912. FEATURES
  1913. * Move named file initialization to BaseRepo. (Dave Borowitz)
  1914. * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
  1915. * The GitClient interface has been cleaned up and instances are now reusable.
  1916. (Augie Fackler)
  1917. * Allow overriding paths to executables in GitSSHClient.g
  1918. (Ross Light, Jelmer Vernooij, #585204)
  1919. * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
  1920. TESTS
  1921. * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
  1922. * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
  1923. * Quiet logging output from web tests. (Dave Borowitz)
  1924. * More flexible version checking for compat tests. (Dave Borowitz)
  1925. * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
  1926. CLEANUP
  1927. * Clean up file headers. (Dave Borowitz)
  1928. TESTS
  1929. * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
  1930. API CHANGES
  1931. * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
  1932. rather than a filename. (Jelmer Vernooij)
  1933. * Make dul-daemon/dul-web trivial wrappers around server functionality.
  1934. (Dave Borowitz)
  1935. * Move reference WSGI handler to web.py. (Dave Borowitz)
  1936. * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
  1937. * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
  1938. 0.6.0 2010-05-22
  1939. note: This list is most likely incomplete for 0.6.0.
  1940. BUG FIXES
  1941. g
  1942. * Fix ReceivePackHandler to disallow removing refs without delete-refs.
  1943. (Dave Borowitz)
  1944. * Deal with capabilities required by the client, even if theyg
  1945. can not be disabled in the server. (Dave Borowitz)
  1946. * Fix trailing newlines in generated patch files.
  1947. (Jelmer Vernooij)
  1948. * Implement RefsContainer.__contains__. (Jelmer Vernooij)
  1949. * Cope with \r in ref files on Windows. (
  1950. http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
  1951. * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
  1952. * Support packed ref deletion with no peeled refs. (Augie Fackler)
  1953. * Fix send pack when there is nothing to fetch. (Augie Fackler)
  1954. * Fix fetch if no progress function is specified. (Augie Fackler)
  1955. * Allow double-staging of files that are deleted in the index.g
  1956. (Dave Borowitz)
  1957. * Fix RefsContainer.add_if_new to support dangling symrefs.
  1958. (Dave Borowitz)
  1959. * Non-existent index files in non-bare repositories are now treated asg
  1960. empty. (Dave Borowitz)
  1961. * Always update ShaFile.id when the contents of the object get changed.g
  1962. (Jelmer Vernooij)
  1963. * Various Python2.4-compatibility fixes. (Dave Borowitz)
  1964. * Fix thin pack handling. (Dave Borowitz)
  1965. g
  1966. FEATURES
  1967. * Add include-tag capability to server. (Dave Borowitz)
  1968. * New dulwich.fastexport module that can generate fastexportg
  1969. streams. (Jelmer Vernooij)
  1970. * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
  1971. * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
  1972. * Overall improvements checking Git objects. (Dave Borowitz)
  1973. * Packs are now verified while they are received. (Dave Borowitz)
  1974. TESTS
  1975. * Add framework for testing compatibility with C Git. (Dave Borowitz)
  1976. * Add various tests for the use of non-bare repositories. (Dave Borowitz)
  1977. * Cope with diffstat not being available on all platforms.g
  1978. (Tay Ray Chuan, Jelmer Vernooij)
  1979. * Add make_object and make_commit convenience functions to test utils.
  1980. (Dave Borowitz)
  1981. API BREAKAGES
  1982. * The 'committer' and 'message' arguments to Repo.do_commit() haveg
  1983. been swapped. 'committer' is now optional. (Jelmer Vernooij)
  1984. * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
  1985. (Jelmer Vernooij)
  1986. * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
  1987. for clarity. (Jelmer Vernooij)
  1988. API CHANGES
  1989. * The primary serialization APIs in dulwich.objects now workg
  1990. with chunks of strings rather than with full-text strings.g
  1991. (Jelmer Vernooij)
  1992. 0.5.02010-03-03
  1993. BUG FIXES
  1994. * Support custom fields in commits (readonly). (Jelmer Vernooij)
  1995. * Improved ref handling. (Dave Borowitz)
  1996. * Rework server protocol to be smarter and interoperate with cgit client.
  1997. (Dave Borowitz)
  1998. * Add a GitFile class that uses the same locking protocol for writes asg
  1999. cgit. (Dave Borowitz)
  2000. * Cope with forward slashes correctly in the index on Windows.
  2001. (Jelmer Vernooij, #526793)
  2002. FEATURES
  2003. * --pure option to setup.py to allow building/installing without the Cg
  2004. extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
  2005. * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
  2006. * HTTP dumb and smart server. (Dave Borowitz)
  2007. * Add abstract baseclass for Repo that does not require file systemg
  2008. operations. (Dave Borowitz)
  2009. 0.4.1 2010-01-03
  2010. FEATURES
  2011. * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
  2012. * Add Index.changes_from_tree(). (Jelmer Vernooij)
  2013. * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
  2014. * Add functionality for writing patches in dulwich.patch.
  2015. (Jelmer Vernooij)
  2016. 0.4.0 2009-10-07
  2017. DOCUMENTATION
  2018. * Added tutorial.
  2019. API CHANGES
  2020. * dulwich.object_store.tree_lookup_path will now return the mode andg
  2021. sha of the object found rather than the object itself.
  2022. BUG FIXES
  2023. * Use binascii.hexlify / binascii.unhexlify for better performance.
  2024. * Cope with extra unknown data in index files by ignoring it (for now).
  2025. * Add proper error message when server unexpectedly hangs up. (#415843)
  2026. * Correctly write opcode for equal in create_delta.
  2027. 0.3.3 2009-07-23
  2028. FEATURES
  2029. * Implement ShaFile.__hash__().
  2030. * Implement Tree.__len__()
  2031. BUG FIXES
  2032. g
  2033. * Check for 'objects' and 'refs' directories
  2034. when looking for a Git repository. (#380818)
  2035. 0.3.2 2009-05-20
  2036. BUG FIXES
  2037. * Support the encoding field in Commits.
  2038. g
  2039. * Some Windows compatibility fixes.
  2040. * Fixed several issues in commit support.
  2041. FEATURES
  2042. * Basic support for handling submodules.
  2043. 0.3.1 2009-05-13
  2044. FEATURES
  2045. * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ tog
  2046. access content.
  2047. API CHANGES
  2048. * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs andg
  2049. Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
  2050. refs.
  2051. BUG FIXES
  2052. * Removed import of 'sha' module in objects.py, which was causingg
  2053. deprecation warnings on Python 2.6.
  2054. 0.3.0 2009-05-10
  2055. FEATURES
  2056. * A new function 'commit_tree' has been added that can commit a treeg
  2057. based on an index.
  2058. BUG FIXES
  2059. * The memory usage when generating indexes has been significantly reduced.
  2060. g
  2061. * A memory leak in the C implementation of parse_tree has been fixed.
  2062. * The send-pack smart server command now works. (Thanks Scott Chacon)
  2063. * The handling of short timestamps (less than 10 digits) has been fixed.
  2064. * The handling of timezones has been fixed.
  2065. 0.2.1 2009-04-30
  2066. BUG FIXES
  2067. * Fix compatibility with Python2.4.
  2068. 0.2.0 2009-04-30
  2069. FEATURES
  2070. * Support for activity reporting in smart protocol client.
  2071. * Optional C extensions for better performance in a couple ofg
  2072. places that are performance-critical.
  2073. 0.1.1 2009-03-13
  2074. BUG FIXES
  2075. * Fixed regression in Repo.find_missing_objects()
  2076. * Don't fetch ^{} objects from remote hosts, as requesting themg
  2077. causes a hangup.
  2078. * Always write pack to disk completely before calculating checksum.
  2079. FEATURES
  2080. * Allow disabling thin packs when talking to remote hosts.
  2081. 0.1.0 2009-01-24
  2082. * Initial release.