NEWS 90 KB

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