NEWS 96 KB

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