NEWS 82 KB

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