NEWS 102 KB

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