NEWS 103 KB

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