862 lines · 57.8 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.12.1 (2022-12-22)

A maintenance release without user-facing changes.

Commit Statistics

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

Commit Details

view details
  • Uncategorized
    • prepare changelogs prior to release (68ce15d)
    • Merge branch 'fix/relative-scplike-urls' (b688592)
    • don't sanitize SCP-like paths (d21f9eb)
    • refactor (c70bf74)

0.12.0 (2022-12-19)

Bug Fixes

  • reject empty paths where needed, add Url::from_parts_as_alternative_form(). The new constructor allows to create URLs that represent paths which otherwise couldn't be valid URLs.

  • make sure that file:.. isn't considered a valid file url.

  • handle file:///C:/foo/bar urls correctly on windows, as paths now are C:\\foo\bar. These paths are created when using the url::Url::from_file_path() family of methods, which adds an extra slash at the beginning of a windows path which makes it invalid there unless there is further processing.

    This is now applied by using url features, making this case work specifically. Note that all other attributes are still the same and git-url generally tries to keep paths in tact to be a hybrid of type that can handle any file system paths as well as actual urls.

  • scp-like URLs should preserve relative and home-relative paths

Commit Statistics

  • 16 commits contributed to the release over the course of 27 calendar days.
  • 27 days passed between releases.
  • 4 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)
    • scp-like URLs should preserve relative and home-relative paths (f20f272)
    • Merge branch 'adjustments-for-cargo' (70ccbb2)
    • Merge branch 'main' into adjustments-for-cargo (bb60d3d)
    • reject empty paths where needed, add Url::from_parts_as_alternative_form(). (302a2d8)
    • make sure that file:.. isn't considered a valid file url. (3e3aff9)
    • Merge branch 'paulyoung/scheme-ext' (3e27550)
    • realign test expectations (93e6d71)
    • improve documentation (db7577f)
    • cargo fmt (3b61a47)
    • Allow parsing arbitrary URL schemes (4753e64)
    • handle file:///C:/foo/bar urls correctly on windows, as paths now are C:\\foo\bar. (d6f90be)
    • Merge branch 'main' into http-config (6b9632e)
    • Release git-features v0.24.1, git-actor v0.14.1, git-index v0.9.1 (7893502)
    • Merge branch 'main' into http-config (bcd9654)

0.11.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

  • 4 commits contributed to the release over the course of 2 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)

0.10.1 (2022-11-06)

New Features

  • add Url::canonicalized() and Url::canonicalize(). These methods allow to assure file urls are absolute, useful when cloning from any url.

Commit Statistics

  • 6 commits contributed to the release over the course of 25 calendar days.
  • 27 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #450

Commit Details

view details
  • #450
    • add Url::canonicalized() and Url::canonicalize(). (01f2574)
  • 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 (c4e6849)
    • Merge branch 'gix-clone' (def53b3)
    • Make a clearer note of the obvious deviation due to lack of storing passwords (d91bbcc)

0.10.0 (2022-10-10)

New Features

  • Url::try_from(path: &std::path::Path) for more convenient instantiation.

  • (mostly) lossless roundtripping of scp-like urls. Previously git@host:path would turn into ssh://git@host/path, which now remains exactly as is.

  • lossless serialization of file urls. Previously a url like /path/to/repo would serialize to file:///path/to/repo, preventing round-trips.

    Now it serializes like it was parsed. This also means that file://path still serializes as file://path.

Commit Statistics

  • 9 commits contributed to the release over the course of 20 calendar days.
  • 20 days passed between releases.
  • 3 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 'clone' (507dc7e)
    • Url::try_from(path: &std::path::Path) for more convenient instantiation. (22d3b37)
    • more assurance we understand how relative paths in scp-like urls work (5926322)
    • (mostly) lossless roundtripping of scp-like urls. (39ce98b)
    • lossless serialization of file urls. (58a6000)
    • Merge branch 'fix-git-features' (82fd251)
    • Merge branch 'diff' (25a7726)

0.9.0 (2022-09-20)

Changed (BREAKING)

  • upgrade bstr to 1.0.1

Commit Statistics

  • 9 commits contributed to the release over the course of 15 calendar days.
  • 15 days passed between releases.
  • 1 commit was understood as conventional.
  • 2 unique issues were worked on: #450, #470

Commit Details

view details
  • #450
  • #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)
    • Release git-features v0.22.6 (c9eda72)
    • make fmt (535e967)
    • Merge branch 'filter-refs-by-spec' (5c05198)
    • Merge branch 'main' into filter-refs-by-spec (9aa1d3d)

0.8.0 (2022-09-04)

A major release to properly introduce the signature change that happened in 0.7.2, which effectively broke compilation for users of parse() in 0.7.1.

New Features

  • Url::port_or_default() to fill in default numbers for ports if possible.
  • Url::path_is_root() to determine if the path is /. This could also be considered an empty path depending on the context which is what makes it useful.

Changed (BREAKING)

  • Introduce parse(&BStr) (previously it took &[u8]) A &BStr better indicates that we are expecting human-readable input with ascii-compatible or UTF-8 endcoding.

Commit Statistics

  • 10 commits contributed to the release over the course of 6 calendar days.
  • 7 days passed between releases.
  • 3 commits were understood as conventional.
  • 2 unique issues were worked on: #450, #524

Commit Details

view details
  • #450
    • refactor (02e5775)
    • Url::port_or_default() to fill in default numbers for ports if possible. (7484db5)
    • Url::path_is_root() to determine if the path is /. (fbe75c9)
    • make note about why we don't support passwords in URLs (970ec9b)
  • #524
    • prepare changelogs prior to release (6446b39)
    • Introduce parse(&BStr) (previously it took &[u8]) (653ebc5)
  • Uncategorized
    • Release git-features v0.22.4, git-url v0.8.0, safety bump 4 crates (1d4600a)
    • Merge branch 'main' into index-from-tree (bc64b96)
    • Release git-path v0.4.2, git-config-value v0.7.0 (c48fb31)
    • Merge branch 'main' into filter-refs-by-spec (cef0b51)

0.7.3 (2022-08-28)

Maintenance release without user-facing changes.

Commit Statistics

  • 5 commits contributed to the release over the course of 4 calendar days.
  • 4 days passed between releases.
  • 0 commits were understood as conventional.
  • 2 unique issues were worked on: #450, #XXX

Commit Details

view details
  • #450
    • url-preprocessing for scripts (c00cc35)
  • #XXX
    • prepare changelogs prior to release (8c0bca3)
  • Uncategorized
    • Release git-object v0.20.3, git-ref v0.15.4, git-config v0.7.1, git-diff v0.18.0, git-traverse v0.16.3, git-pack v0.22.0, git-odb v0.32.0, git-url v0.7.3, git-transport v0.19.3, git-protocol v0.19.1, git-refspec v0.1.1, git-repository v0.23.0, safety bump 6 crates (85a3bed)
    • Release git-features v0.22.3, git-revision v0.4.4 (c2660e2)
    • Merge branch 'main' into filter-refs-by-spec (cfa1440)

0.7.2 (2022-08-24)

Chore

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

Bug Fixes (BREAKING)

  • make Scheme work with serde, removing Copy in the process. e#450) This wasn't supposed to happen but a requirement to get serde support back.

New Features (BREAKING)

  • generalize extension schemes. Previously this was hard-coded to radicle, now it's just an extension scheme along with a statically known string. This means we have to explicitly support new formats which should be fine.

New Features

  • TryFrom<&OsStr> to allow direct usage of Url in clap. In clap_derive, this needs parse(try_from_os_str = std::convert::TryFrom::try_from).
  • TryFrom<PathBuf> which is useful if urls are obtained from the command-line.
  • use docsrs feature in code to show what is feature-gated automatically on docs.rs
  • pass --cfg docsrs when compiling for https://docs.rs
  • Scheme::try_from(&str)

Commit Statistics

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

Commit Details

view details
  • #450
    • Scheme::try_from(&str) (d40f6e1)
    • generalize extension schemes. (96a265c)
    • TryFrom<&OsStr> to allow direct usage of Url in clap. (7a17690)
    • TryFrom<PathBuf> which is useful if urls are obtained from the command-line. (b7a5f7a)
  • 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)
    • thanks clippy (dc74fbd)
    • make Scheme work with serde, removing Copy in the process. e#450) (2da6c86)
    • Release git-path v0.4.1 (5e82346)
    • Merge branch 'remote-ls-refs' (39d585d)
    • Merge branch 'main' into remote-ls-refs (e2ee3de)
    • 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 branch 'main' into remote-ls-refs (bd5f3e8)

0.7.1 (2022-08-17)

A maintenance release without user facing changes.

Bug Fixes (BREAKING)

  • Prohibit invalid state by making parts the url's data private This fix is meant to improve serialization support which can now happen to_bstring() without possibility for error.

    Empty paths can still be set which won't be valid for all URLs.

Changed (BREAKING)

  • Use &BStr as input instead of [u8] This signals that it's indeed intended to be human readable while allowing it to be a path as well without loss, at least theoretically. After all we currently don't have a way to parse invalid UTF-8.
  • remove impl std::fmt::Display for Url as it's not lossless.

New Features

  • more conversions for TryFrom: String and &str
  • Url::write_to(out) to write itself more flexibly.
  • Add Url::to_bstring() for lossless but fallible bstring conversion.

Commit Statistics

  • 17 commits contributed to the release over the course of 24 calendar days.
  • 26 days passed between releases.
  • 6 commits were understood as conventional.
  • 1 unique issue was worked on: #450

Commit Details

view details
  • #450
    • A first sketch on how connections could be working (e55b43e)
    • Use &BStr as input instead of [u8] (f6506e0)
    • Prohibit invalid state by making parts the url's data private (2bcfdee)
    • remove invalid test as it looks like it parses hosts from paths and that is fine (224c605)
    • switch to thiserror (cfd7c0a)
    • prepare for better error handling around ssh urls (6d8d9b8)
    • more conversions for TryFrom: String and &str (a67fc26)
    • remove impl std::fmt::Display for Url as it's not lossless. (79ab4ae)
    • Url::write_to(out) to write itself more flexibly. (833899d)
    • Add Url::to_bstring() for lossless but fallible bstring conversion. (5f707c7)
  • Uncategorized
    • Release git-date v0.0.3, git-actor v0.11.1, git-attributes v0.3.1, git-tempfile v2.0.3, git-object v0.20.1, git-ref v0.15.1, git-config v0.6.1, git-diff v0.17.1, git-discover v0.4.0, git-bitmap v0.1.1, git-index v0.4.1, git-mailmap v0.3.1, git-traverse v0.16.1, git-pack v0.21.1, git-odb v0.31.1, git-packetline v0.12.6, git-url v0.7.1, git-transport v0.19.1, git-protocol v0.18.1, git-revision v0.4.0, git-worktree v0.4.1, git-repository v0.21.0, safety bump 5 crates (c96473d)
    • prepare changelogs prior to reelase (c06ae1c)
    • Release git-hash v0.9.7, git-features v0.22.1 (232784a)
    • 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.7.0 (2022-07-22)

Changed (BREAKING)

  • From<&[u8]> is now From<&BStr> This better represents the meaning of the input, and simplifies interactions with git-config.

Commit Statistics

  • 9 commits contributed to the release over the course of 33 calendar days.
  • 39 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-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)
    • From<&[u8]> is now From<&BStr> (ffc4a85)
    • 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.6.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)

Lines 1–500 of 862.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t