999 lines · 64.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.13.2 (2023-02-09)

Documentation

  • fix typos

Bug Fixes

  • correctly parse scp-like ssh urls with alias as such. Previously it would falsely consider it a file path, leading to the inability to use the URL at all.

    Now the initial scheme detection has been improved to not rely on the '.' in host names exclusively anymore.

Commit Statistics

  • 6 commits contributed to the release over the course of 28 calendar days.
  • 30 days passed between releases.
  • 2 commits were understood as conventional.
  • 2 unique issues were worked on: #691, #725

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • #691
    • set rust-version to 1.64 (55066ce)
  • #725
    • correctly parse scp-like ssh urls with alias as such. (372cea1)
  • Uncategorized

0.13.1 (2023-01-10)

A maintenance release without user-facing changes.

Commit Statistics

  • 4 commits contributed to the release.
  • 10 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-date v0.4.1, git-features v0.26.1, git-glob v0.5.2, git-attributes v0.8.1, git-tempfile v3.0.1, git-ref v0.23.1, git-sec v0.6.1, git-config v0.15.1, git-prompt v0.3.1, git-url v0.13.1, git-discover v0.12.1, git-index v0.12.2, git-mailmap v0.9.1, git-pack v0.30.1, git-odb v0.40.1, git-transport v0.25.3, git-protocol v0.26.2, git-revision v0.10.1, git-refspec v0.7.1, git-worktree v0.12.1, git-repository v0.33.0 (5b5b380)
    • prepare changelogs prior to release (93bef97)
    • Merge branch 'patch-1' (b93f0c4)
    • thanks clippy (9e04685)

0.13.0 (2022-12-30)

New Features

  • collect ssh-specific options to control how the ssh program is invoked. These are passed through when creating the ssh transport.

Commit Statistics

  • 5 commits contributed to the release over the course of 1 calendar day.
  • 4 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)
    • make fmt (511ed00)
    • Merge branch 'adjustments-for-cargo' (f8c562a)
    • collect ssh-specific options to control how the ssh program is invoked. (61d89f5)

0.12.2 (2022-12-26)

Bug Fixes

  • properly set default SSH port to 22

Commit Statistics

  • 3 commits contributed to the release over the course of 2 calendar days.
  • 3 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.25.1, git-url v0.12.2, git-odb v0.38.1, git-transport v0.24.2, git-repository v0.30.2 (bb0a07b)
    • Merge branch 'fix/ssh-clone' (3678a6a)
    • properly set default SSH port to 22 (1058330)

0.12.1 (2022-12-22)

A maintenance release without user-facing changes.

Commit Statistics

  • 5 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
    • Release git-url v0.12.1, git-transport v0.24.1, git-protocol v0.25.1, git-repository v0.30.1, git-commitgraph v0.12.0, gitoxide-core v0.22.0, gitoxide v0.20.0 (08ec3a9)
    • 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)

Lines 1–500 of 999.

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