560 lines · 42.3 KB · Markdown
RawDownload

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.9.1 (2023-02-09)

Documentation

  • fix typos

Commit Statistics

  • 5 commits contributed to the release over the course of 28 calendar days.
  • 40 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #691

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details

0.9.0 (2022-12-30)

New Features

  • helper::Cascade::query_user_only() can avoid to ask for the password if the transport wouldn't use it. That way, ssh while using ssh programs can query the user to try next.

Commit Statistics

  • 4 commits contributed to the release over the course of 1 calendar day.
  • 11 days passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release git-features v0.26.0, git-actor v0.16.0, git-attributes v0.8.0, git-object v0.25.0, git-ref v0.22.0, git-config v0.14.0, git-command v0.2.1, git-url v0.13.0, git-credentials v0.9.0, git-diff v0.25.0, git-discover v0.11.0, git-traverse v0.21.0, git-index v0.11.0, git-mailmap v0.8.0, git-pack v0.29.0, git-odb v0.39.0, git-transport v0.25.0, git-protocol v0.26.0, git-revision v0.9.0, git-refspec v0.6.0, git-worktree v0.11.0, git-repository v0.31.0, safety bump 24 crates (5ac9fbe)
    • prepare changelogs prior to release (30d8ca1)
    • Merge branch 'adjustments-for-cargo' (f8c562a)
    • helper::Cascade::query_user_only() can avoid to ask for the password if the transport wouldn't use it. (6b375d3)

0.8.0 (2022-12-19)

A maintenance release without user-facing changes.

Commit Statistics

  • 4 commits contributed to the release over the course of 27 calendar days.
  • 27 days passed between releases.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release git-date v0.3.1, git-features v0.25.0, git-actor v0.15.0, git-glob v0.5.1, git-path v0.7.0, git-attributes v0.7.0, git-config-value v0.10.0, git-lock v3.0.1, git-validate v0.7.1, git-object v0.24.0, git-ref v0.21.0, git-sec v0.6.0, git-config v0.13.0, git-prompt v0.3.0, git-url v0.12.0, git-credentials v0.8.0, git-diff v0.24.0, git-discover v0.10.0, git-traverse v0.20.0, git-index v0.10.0, git-mailmap v0.7.0, git-pack v0.28.0, git-odb v0.38.0, git-packetline v0.14.1, git-transport v0.24.0, git-protocol v0.25.0, git-revision v0.8.0, git-refspec v0.5.0, git-worktree v0.10.0, git-repository v0.30.0, safety bump 26 crates (e6b9906)
    • prepare chnagelogs prior to git-repository release (7114bbb)
    • Merge branch 'http-config' (a4ff140)
    • Merge branch 'main' into http-config (bcd9654)

0.7.0 (2022-11-21)

New Features (BREAKING)

  • upgrade edition to 2021 in most crates. MSRV for this is 1.56, and we are now at 1.60 so should be compatible. This isn't more than a patch release as it should break nobody who is adhering to the MSRV, but let's be careful and mark it breaking.

    Note that git-features and git-pack are still on edition 2018 as they make use of a workaround to support (safe) mutable access to non-overlapping entries in a slice which doesn't work anymore in edition 2021.

Commit Statistics

  • 5 commits contributed to the release over the course of 3 calendar days.
  • 14 days passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release git-hash v0.10.0, git-features v0.24.0, git-date v0.3.0, git-actor v0.14.0, git-glob v0.5.0, git-path v0.6.0, git-quote v0.4.0, git-attributes v0.6.0, git-config-value v0.9.0, git-tempfile v3.0.0, git-lock v3.0.0, git-validate v0.7.0, git-object v0.23.0, git-ref v0.20.0, git-sec v0.5.0, git-config v0.12.0, git-command v0.2.0, git-prompt v0.2.0, git-url v0.11.0, git-credentials v0.7.0, git-diff v0.23.0, git-discover v0.9.0, git-bitmap v0.2.0, git-traverse v0.19.0, git-index v0.9.0, git-mailmap v0.6.0, git-chunk v0.4.0, git-pack v0.27.0, git-odb v0.37.0, git-packetline v0.14.0, git-transport v0.23.0, git-protocol v0.24.0, git-revision v0.7.0, git-refspec v0.4.0, git-worktree v0.9.0, git-repository v0.29.0, git-commitgraph v0.11.0, gitoxide-core v0.21.0, gitoxide v0.19.0, safety bump 28 crates (b2c301e)
    • prepare changelogs prior to release (e4648f8)
    • Merge branch 'version2021' (0e4462d)
    • upgrade edition to 2021 in most crates. (3d8fa8f)
    • Improve docs ever so slightly (ca5d89c)

0.6.1 (2022-11-06)

A maintenance release without user-facing changes.

Commit Statistics

  • 4 commits contributed to the release over the course of 2 calendar days.
  • 27 days passed between releases.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • Uncategorized
    • Release git-features v0.23.1, git-glob v0.4.1, git-config-value v0.8.1, git-tempfile v2.0.6, git-object v0.22.1, git-ref v0.18.0, git-sec v0.4.2, git-config v0.10.0, git-prompt v0.1.1, git-url v0.10.1, git-credentials v0.6.1, git-diff v0.21.0, git-discover v0.7.0, git-index v0.7.0, git-pack v0.25.0, git-odb v0.35.0, git-transport v0.21.1, git-protocol v0.22.0, git-refspec v0.3.1, git-worktree v0.7.0, git-repository v0.26.0, git-commitgraph v0.10.0, gitoxide-core v0.19.0, gitoxide v0.17.0, safety bump 9 crates (d071583)
    • prepare changelogs prior to release (423af90)
    • Merge branch 'main' into write-sparse-index (upgrade to Rust 1.65) (5406630)
    • thanks clippy (04cfa63)

0.6.0 (2022-10-10)

Maintenance release without user-facing changes.

Commit Statistics

  • 3 commits contributed to the release over the course of 20 calendar days.
  • 20 days passed between releases.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release git-hash v0.9.11, git-features v0.23.0, git-actor v0.13.0, git-attributes v0.5.0, git-object v0.22.0, git-ref v0.17.0, git-sec v0.4.1, git-config v0.9.0, git-url v0.10.0, git-credentials v0.6.0, git-diff v0.20.0, git-discover v0.6.0, git-traverse v0.18.0, git-index v0.6.0, git-mailmap v0.5.0, git-pack v0.24.0, git-odb v0.34.0, git-packetline v0.13.1, git-transport v0.21.0, git-protocol v0.21.0, git-revision v0.6.0, git-refspec v0.3.0, git-worktree v0.6.0, git-repository v0.25.0, safety bump 24 crates (104d922)
    • prepare changelogs for release (d232567)
    • Merge branch 'diff' (25a7726)

0.5.0 (2022-09-20)

Changed

  • use git-config-value crate

New Features

  • protocol::Context::to_bstring(), and use it in example/git-credential-lite
  • an example implementing a custom credential helper program
  • helper::main to easily create credential helper implementations
  • add helper::Action::get_for_url(…)
  • helper::invoke(helper, action, context) function that allows for more flexible helper invocation

Other

  • :main::Action::as_str()`

Changed (BREAKING)

  • upgrade bstr to 1.0.1
  • rename git() to builtin()
  • rename Program::Custom* variants to Program::External* It's more true to what it is.
  • differentiate between top-level functions and those which are invoked That way it's easier to use as it can assure an account was actually provided.
  • invoke::Outcome can now represent partial identities That way these can be assembled by multiple helpers called in a row.
  • move helper::(Next)Action into helper::invoke:: module These are only relevant for invoke, hence the change.
  • rename helper::NextAction variants to store and erase
  • rename helper::Action variants to 'Get', 'Store', 'Erase' It's more obvious what it does and is more typical for what credentials helpers do.
  • Use helper::Context in helper::Action::Fill() That way additional information, like from configuration, can be passed as well.
  • move helper::invoke() related types into helper::invoke module. Also allow to pass arbitrary bytes (more or less) as context by not forcing it all into a string. Values can now be everything, which helps with passing paths or other values.
  • use thiserror instead of quickerror
  • hide helper::action() in favor of single path via helper()

Other (BREAKING)

  • helper::Kind to program::Kind
  • helper::(encode|decode)_message(…) to ::message::(encode|decode)(…)

Commit Statistics

  • 113 commits contributed to the release over the course of 27 calendar days.
  • 27 days passed between releases.
  • 21 commits were understood as conventional.
  • 2 unique issues were worked on: #450, #470

Thanks Clippy

Clippy helped 5 times to make code idiomatic.

Commit Details

view details
  • #450
    • upgrade bstr to 1.0.1 (99905ba)
    • :main::Action::as_str() ([d95029e`](https://github.com/Byron/gitoxide/commit/d95029eac0e9179a7cd730d1d60a08696584bfd1))
    • protocol::Context::to_bstring(), and use it in example/git-credential-lite (15f1afc)
    • assure that protocol::Context::to_url() never shows passwords (e9f4d40)
    • Make sure the helper::Cascade never sends the URL to helper programs (9059de8)
    • fix docs (9a5ec7b)
    • move program::Cascade to helper::Cascade which is what it is (6149a14)
    • An example on how to invoke the git credential helper driver (be0f834)
    • Context has to serialize url or else the builtin credential helper may not work. (87ae404)
    • credential context won't send url and quit fields to helpers (337a53b)
    • Cascade supports use_http_path and respects it when setting up the context (959c0bd)
    • make it less easy to start a cascade with platform_defaults() (4b5d63f)
    • make clearer what platform builtins actually are (9788e30)
    • credential-cascade now passes on prompt options (baad8a0)
    • refactor (c8f1b41)
    • always compile prompting support in (bd0ea68)
    • set version of git-prompt to 0.1 and turn prompting on (7657693)
    • fix warnings (e011242)
    • more helpful prompt error messages when asking for credentials (b0c6863)
    • use git-config-value crate (43656d5)
    • proper prompt generation (63ee38d)
    • remove rustyline in favor of git-prompt (b3e5e59)
    • add interactive example for prompt, but… (a3fadea)
    • blindly implement prompting if it is allowed (c78f4b8)
    • frame to support prompting (as compile-time feature) (afaae28)
    • another test (569b7bc)
    • remove unnecessary Helper trait (19b84f0)
    • use fixtures in all tests (24da911)
    • fix tests on linux (89db8ee)
    • more tests (57e9060)
    • refactor (561bb35)
    • another test (52d2e54)
    • fix CI (d526c6d)
    • improve path normalization; a new ignored test (ece5a3f)
    • parse 'quit' according to spec (5e260da)
    • Allow disabling stderr on credential programs (4abec50)
    • refactor (cdfcea4)
    • url-preprocessing for scripts (c00cc35)
    • breaking credential helpers don't stop everything (0cdbde7)
    • refactor; try harder not to spill secrets in errors (525fa97)
    • first step towards our own git credential -like implementation (1d1622a)
    • refactor (ce16f51)
    • Platform specific defaults for the program cascade (b66258f)
    • refactor (85f8cd9)
    • refactor (23fb302)
    • A sketch of how a custom 'git credential' could look like (4767a14)
    • make 'quit' handler request representable and raise it to an error (39b6514)
    • rename git() to builtin() (783a1a7)
    • fix docs (f86364c)
    • rename Program::Custom* variants to Program::External* (bfa2545)
    • refactor (52e958d)
    • fix build (99958c6)
    • differentiate between top-level functions and those which are invoked (811985a)
    • invoke::Outcome can now represent partial identities (49b9bd5)
    • make clear what helper() does by renaming it to git (2edb58b)
    • Make clear in the error type that the helper program couldn't be started (c09d223)
    • improved error when identity could not be obtained (08c1287)
    • support for quit field in context (5a50528)
    • refactor (7487b5a)
    • support for non-consuming operation of Program (bcfe5ca)
    • disable test that seems to fail on linux (419ca56)
    • More tests for custom helper scripts (b396032)
    • Support for script invocations (377cf14)
    • use git_path::is_absolute() (2ba836f)
    • fix tests on windows (f4bc860)
    • also fill in the git credential command prefix (b2f4fe8)
    • initial version of parsing of custom helper definitions (2b2cd00)
    • helper::Kind to program::Kind (b8c54f0)
    • sketch additional credentials programs (46e3045)
    • first test for launching the git credential helper (4d7b1dd)
    • an example implementing a custom credential helper program (b1d528a)
    • add docs (a360594)
    • helper::main to easily create credential helper implementations (eaff67c)
    • move helper::(Next)Action into helper::invoke:: module (4b7d0b6)
    • sketch for helper::invoke (get) test (c48eb39)
    • refactor (cb9d32a)
    • rename helper::NextAction variants to store and erase (ddd5398)
    • fix docs (d9b4ba5)
    • add helper::Action::get_for_url(…) (a253d30)
    • rename helper::Action variants to 'Get', 'Store', 'Erase' (2073b58)
    • Use helper::Context in helper::Action::Fill() (9c6f024)
    • remaining decode tests (0e76efe)
    • test context value validation (20dde9e)
    • basic round-tripping of fully fleshed-out context (280e4a3)
    • flesh out helper::Context as it will soon be used. (0cb1ed4)
    • move helper::invoke() related types into helper::invoke module. (71f6519)
    • refactor (03bf747)
    • express helper() in terms of helper::invoke() (f2a2c5e)
    • helper::invoke(helper, action, context) function that allows for more flexible helper invocation (64bc2ec)
    • refactor (af27d20)
    • prepare for more additional implementations of helpers (486ef98)
    • refactor (167b521)
    • fix docs (db46b60)
    • re-add Result type (de92fce)
    • use thiserror instead of quickerror (4c1a1a2)
    • hide helper::action() in favor of single path via helper() (081934c)
    • helper::(encode|decode)_message(…) to ::message::(encode|decode)(…) (4c39521)
    • refactor (a395308)
  • #470
    • update changelogs prior to release (caa7a1b)
  • Uncategorized
    • Release git-command v0.1.0, git-prompt v0.1.0, git-url v0.9.0, git-credentials v0.5.0, git-diff v0.19.0, git-mailmap v0.4.0, git-chunk v0.3.2, git-pack v0.23.0, git-odb v0.33.0, git-packetline v0.13.0, git-transport v0.20.0, git-protocol v0.20.0, git-revision v0.5.0, git-refspec v0.2.0, git-repository v0.24.0, git-commitgraph v0.9.0, gitoxide-core v0.18.0, gitoxide v0.16.0 (f5c36d8)
    • Release git-hash v0.9.10, git-features v0.22.5, git-date v0.2.0, git-actor v0.12.0, git-glob v0.4.0, git-path v0.5.0, git-quote v0.3.0, git-attributes v0.4.0, git-config-value v0.8.0, git-tempfile v2.0.5, git-validate v0.6.0, git-object v0.21.0, git-ref v0.16.0, git-sec v0.4.0, git-config v0.8.0, git-discover v0.5.0, git-traverse v0.17.0, git-index v0.5.0, git-worktree v0.5.0, git-testtools v0.9.0, git-command v0.1.0, git-prompt v0.1.0, git-url v0.9.0, git-credentials v0.5.0, git-diff v0.19.0, git-mailmap v0.4.0, git-chunk v0.3.2, git-pack v0.23.0, git-odb v0.33.0, git-packetline v0.13.0, git-transport v0.20.0, git-protocol v0.20.0, git-revision v0.5.0, git-refspec v0.2.0, git-repository v0.24.0, git-commitgraph v0.9.0, gitoxide-core v0.18.0, gitoxide v0.16.0, safety bump 28 crates (29a043b)
    • Merge branch 'filter-refs' (fd14489)
    • make fmt (535e967)
    • Merge branch 'filter-refs-by-spec' (5c05198)
    • Merge branch 'main' into filter-refs-by-spec (9aa1d3d)
    • Merge branch 'main' into index-from-tree (bc64b96)
    • Release git-path v0.4.2, git-config-value v0.7.0 (c48fb31)
    • thanks clippy (c1399d1)
    • thanks clippy (e8e80f5)
    • thanks clippy (9b8a6d6)
    • thanks clippy (8317b46)
    • thanks clippy (01efe88)
    • Merge branch 'main' into filter-refs-by-spec (cfa1440)

0.4.0 (2022-08-24)

Chore

  • uniformize deny attributes
  • remove default link to cargo doc everywhere

New Features

  • use docsrs feature in code to show what is feature-gated automatically on docs.rs
  • pass --cfg docsrs when compiling for https://docs.rs

Changed (BREAKING)

  • adapt to changes in git-url and use BString to represent URLs. They can contain paths, which is why String can't represent a URL losslessly.

    For HTTP urls these are ultimately UTF-8 strings though.

Commit Statistics

  • 14 commits contributed to the release over the course of 30 calendar days.
  • 32 days passed between releases.
  • 5 commits were understood as conventional.
  • 1 unique issue was worked on: #450

Commit Details

view details
  • #450
    • adapt to changes in git-url and use BString to represent URLs. (12589cc)
  • Uncategorized
    • Release git-date v0.0.5, git-hash v0.9.8, git-features v0.22.2, git-actor v0.11.3, git-glob v0.3.2, git-quote v0.2.1, git-attributes v0.3.2, git-tempfile v2.0.4, git-lock v2.1.1, git-validate v0.5.5, git-object v0.20.2, git-ref v0.15.2, git-sec v0.3.1, git-config v0.7.0, git-credentials v0.4.0, git-diff v0.17.2, git-discover v0.4.1, git-bitmap v0.1.2, git-index v0.4.2, git-mailmap v0.3.2, git-chunk v0.3.1, git-traverse v0.16.2, git-pack v0.21.2, git-odb v0.31.2, git-packetline v0.12.7, git-url v0.7.2, git-transport v0.19.2, git-protocol v0.19.0, git-revision v0.4.2, git-refspec v0.1.0, git-worktree v0.4.2, git-repository v0.22.0, safety bump 4 crates (4974eca)
    • Merge branch 'remote-ls-refs' (39d585d)
    • Merge branch 'main' into remote-ls-refs (e2ee3de)
    • refactor (1dc342f)
    • Merge branch 'docsrs-show-features' (31c2351)
    • use docsrs feature in code to show what is feature-gated automatically on docs.rs (b1c40b0)
    • uniformize deny attributes (f7f136d)
    • pass --cfg docsrs when compiling for https://docs.rs (5176771)
    • remove default link to cargo doc everywhere (533e887)
    • Merge pull request #2 from SidneyDouw/main (ce885ad)
    • Merge branch 'Byron:main' into main (9b9ea02)
    • Merge branch 'main' into rev-parse-delegate (6da8250)
    • Merge branch 'main' into pathspec (7b61506)

0.3.0 (2022-07-22)

This is a maintenance release with no functional changes.

Commit Statistics

  • 8 commits contributed to the release over the course of 33 calendar days.
  • 39 days passed between releases.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release git-config v0.6.0, git-credentials v0.3.0, git-diff v0.17.0, git-discover v0.3.0, git-index v0.4.0, git-mailmap v0.3.0, git-traverse v0.16.0, git-pack v0.21.0, git-odb v0.31.0, git-url v0.7.0, git-transport v0.19.0, git-protocol v0.18.0, git-revision v0.3.0, git-worktree v0.4.0, git-repository v0.20.0, git-commitgraph v0.8.0, gitoxide-core v0.15.0, gitoxide v0.13.0 (aa639d8)
    • Release git-hash v0.9.6, git-features v0.22.0, git-date v0.0.2, git-actor v0.11.0, git-glob v0.3.1, git-path v0.4.0, git-attributes v0.3.0, git-tempfile v2.0.2, git-object v0.20.0, git-ref v0.15.0, git-sec v0.3.0, git-config v0.6.0, git-credentials v0.3.0, git-diff v0.17.0, git-discover v0.3.0, git-index v0.4.0, git-mailmap v0.3.0, git-traverse v0.16.0, git-pack v0.21.0, git-odb v0.31.0, git-url v0.7.0, git-transport v0.19.0, git-protocol v0.18.0, git-revision v0.3.0, git-worktree v0.4.0, git-repository v0.20.0, git-commitgraph v0.8.0, gitoxide-core v0.15.0, gitoxide v0.13.0, safety bump 22 crates (4737b1e)
    • prepare changelog prior to release (3c50625)
    • Merge pull request #1 from Byron/main (085e76b)
    • assure document-features are available in all 'usable' and 'early' crates (238581c)
    • Merge branch 'main' into pathspec (89ea12b)
    • Merge branch 'main' into cont_include_if (41ea8ba)
    • Release git-path v0.3.0, safety bump 14 crates (400c9be)

0.2.0 (2022-06-13)

A maintenance release without user-facing changes.

Commit Statistics

  • 4 commits contributed to the release over the course of 25 calendar days.
  • 25 days passed between releases.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release git-date v0.0.1, git-hash v0.9.5, git-features v0.21.1, git-actor v0.10.1, git-path v0.2.0, git-attributes v0.2.0, git-ref v0.14.0, git-sec v0.2.0, git-config v0.5.0, git-credentials v0.2.0, git-discover v0.2.0, git-pack v0.20.0, git-odb v0.30.0, git-url v0.6.0, git-transport v0.18.0, git-protocol v0.17.0, git-revision v0.2.1, git-worktree v0.3.0, git-repository v0.19.0, safety bump 13 crates (a417177)
    • update changelogs prior to release (bb424f5)
    • Merge branch 'main' into SidneyDouw-pathspec (a22b1d8)
    • Merge branch 'main' into git_includeif (598c853)

0.1.0 (2022-05-18)

Lines 1–500 of 560.