2
0

NEWS 83 KB

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