NEWS 99 KB

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