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.6.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-featuresandgit-packare 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.
Bug Fixes (BREAKING)
-
absolutize()now takes a mandatorycurrent_dir()parameter and returnsOption<path>Previously the function was willing to return an empty path despite it being invalid. With thecurrent_dirbeing required, this won't be the case anymore and will yield logically consistent results in all cases.This forces the caller to deal with the relative path being invalid or crafted to produce some other path, maybe to bypass sanity checks.
Commit Statistics
- 9 commits contributed to the release over the course of 62 calendar days.
- 62 days passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- prepare changelogs prior to release (
e4648f8) - Merge branch 'discover-rel-path' (
5f908fb) - improve documentation to clarify intent (
b8f73aa) - Merge branch 'cwd-consistency' (
ea7c6a3) - Adapt to changes in
git-discoverandgit-pathandgit-odb(98c2501) absolutize()now takes a mandatorycurrent_dir()parameter and returnsOption<path>(7dbab1c)- Merge branch 'version2021' (
0e4462d) - upgrade edition to 2021 in most crates. (
3d8fa8f) - Merge branch 'diff' (
25a7726)
- prepare changelogs prior to release (
0.5.0 (2022-09-20)
New Features
-
add support for
wasiThis allows path conversions there to be just as efficient as on unix.This was adopted from a PR in the hexlix-editor.
Changed (BREAKING)
- upgrade
bstrto1.0.1
Commit Statistics
- 7 commits contributed to the release over the course of 18 calendar days.
- 21 days passed between releases.
- 2 commits were understood as conventional.
- 2 unique issues were worked on: #450, #470
Commit Details
view details
- #450
- upgrade
bstrto1.0.1(99905ba)
- upgrade
- #470
- Uncategorized
- 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) - Merge branch 'filter-refs-by-spec' (
5c05198) - Merge branch 'main' into index-from-tree (
bc64b96)
- 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 (
0.4.2 (2022-08-29)
New Features
- add
is_absolute()for git-style absolute checks This essentially means that starting slashes are always absolute, even on windows.
Commit Statistics
- 3 commits contributed to the release over the course of 5 calendar days.
- 6 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #450
Commit Details
view details
0.4.1 (2022-08-23)
Chore
- uniformize deny attributes
- remove default link to cargo doc everywhere
Bug Fixes
-
Handle
.specifically inabsolutize(). Previously, absolutizing./../../would lead to one path component of the../to be ignored as.was popped successfully, not realizing that it is a no-op.This could lead to problems with repository discovery if
.was passed.
Commit Statistics
- 10 commits contributed to the release over the course of 30 calendar days.
- 31 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-path v0.4.1 (
5e82346) - Handle
.specifically inabsolutize(). (9171adb) - Merge branch 'main' into remote-ls-refs (
e2ee3de) - Merge branch 'docsrs-show-features' (
31c2351) - uniformize deny attributes (
f7f136d) - 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)
- Release git-path v0.4.1 (
0.4.0 (2022-07-22)
Changed (BREAKING)
-
realpath()handlescwdinternally This makes for more convenient usage in the common case.
Commit Statistics
- 14 commits contributed to the release over the course of 32 calendar days.
- 33 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #331
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- #331
realpath()handlescwdinternally (dfa1e05)
- Uncategorized
- 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) - make fmt (
0700b09) - fix docs (
4f8e3b1) - thanks clippy (
7a2a31e) - Merge branch 'main' into pathspec (
89ea12b) - Merge branch 'main' into cont_include_if (
0e9df36) - generally avoid using
target_os = "windows"in favor ofcfg(windows)and negations (91d5402) - Use git_path::realpath in all places that allow it right now (
229dc91) - avoid unwraps in tests as they are now stable (
efa1423) - remove canonicalized-path abstraction (
9496e55) - Merge branch 'main' into cont_include_if (
41ea8ba)
- 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 (
0.3.0 (2022-06-19)
Bug Fixes (BREAKING)
- Remove
git-configtest utilities fromgit-path.
Commit Statistics
- 4 commits contributed to the release.
- 6 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
0.2.0 (2022-06-13)
New Features (BREAKING)
- Make
realpath()easier to use by introducingrealpath_opt(). That way there is consistency about how many symlinks to follow.
Commit Statistics
- 6 commits contributed to the release over the course of 18 calendar days.
- 20 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-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) - make fmt (
c665aef) - Merge branch 'main' into svetli-n-cont_include_if (
315c87e) - Make
realpath()easier to use by introducingrealpath_opt(). (266d437) - Merge branch 'main' into SidneyDouw-pathspec (
a22b1d8)
- 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 (
0.1.3 (2022-05-23)
A maintenance release without user-facing changes.
Commit Statistics
- 3 commits contributed to the release over the course of 1 calendar day.
- 1 day passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
0.1.2 (2022-05-21)
A maintenance release without user-facing changes.
Commit Statistics
- 7 commits contributed to the release over the course of 2 calendar days.
- 3 days passed between releases.
- 0 commits were understood as conventional.
- 1 unique issue was worked on: #422
Commit Details
view details
- #422
- prepare changelog (
de2d587)
- prepare changelog (
- Uncategorized
- Release git-path v0.1.2, git-sec v0.1.1, git-config v0.4.0, git-discover v0.1.1, git-pack v0.19.1, git-repository v0.18.0, cargo-smart-release v0.10.0, safety bump 2 crates (
ceb6dff) - Merge branch 'svetli-n-git_includeif' (
cf24fbe) - Remove forbid missing_docs (
23acebb) - Merge branch 'main' into git_includeif (
229d938) - declare
git-pathusable (496594d) - Merge branch 'main' into git_includeif (
598c853)
- Release git-path v0.1.2, git-sec v0.1.1, git-config v0.4.0, git-discover v0.1.1, git-pack v0.19.1, git-repository v0.18.0, cargo-smart-release v0.10.0, safety bump 2 crates (
0.1.1 (2022-05-18)
New Features
- Add
absolutize_components()It helps to cleanup paths a little which comes in handy when dealing withcommondirappended paths.
Other
-
:discover()
now returns the shortest path. If and only if it canonicalized the source path. That way, users will still get a familiar path. This is due toparent()not operating in the file system, which otherwise would be equivalent to..`, but that's not how we work.Maybe we should overhaul the way this works to use
../instead and just 'absoluteize' the path later (std::path::absolute()) is on the way for that.
Commit Statistics
- 51 commits contributed to the release over the course of 19 calendar days.
- 20 days passed between releases.
- 2 commits were understood as conventional.
- 1 unique issue was worked on: #301
Thanks Clippy
Clippy helped 2 times to make code idiomatic.
Commit Details
view details
- #301
- update changelogs prior to release (
84cb256) absolutize_*(dir)is nowabsolutize(dir, Option<cwd>)(de87657)- More robust absolutize-paths implementation (
4800ebe) - Add
absolutize_components()(35f146a) - Allow reading patterns from stdin (
0c597fe) - :discover()
now returns the shortest path. ([e4f4c4b`](https://github.com/Byron/gitoxide/commit/e4f4c4b2c75a63a40a174e3a006ea64ef8d78809)) - Basic prefix support as well the first working version of
exclude query(9cb8385)
- update changelogs prior to release (
- Uncategorized
- Release git-hash v0.9.4, git-features v0.21.0, git-actor v0.10.0, git-glob v0.3.0, git-path v0.1.1, git-attributes v0.1.0, git-sec v0.1.0, git-config v0.3.0, git-credentials v0.1.0, git-validate v0.5.4, git-object v0.19.0, git-diff v0.16.0, git-lock v2.1.0, git-ref v0.13.0, git-discover v0.1.0, git-index v0.3.0, git-mailmap v0.2.0, git-traverse v0.15.0, git-pack v0.19.0, git-odb v0.29.0, git-packetline v0.12.5, git-url v0.5.0, git-transport v0.17.0, git-protocol v0.16.0, git-revision v0.2.0, git-worktree v0.2.0, git-repository v0.17.0, safety bump 20 crates (
654cf39) - make fmt (
e043807) - Fix create_symlink (
714db70) - Add includeIf test with symlink. (
5d74404) - Fix realpath tests. (
0426f4d) - Refactor real_path tests. (
b696849) - Refactor real_path tests. (
8ade69f) - Fix windows (probably) (
c980014) - thanks clippy (
da13aff) - refactor (
6bba054) - turn recursion into loop (
9b83c2c) - refactor (
1ca0540) - refactor (
1f6ecd2) - refactor (
5efb972) - refactor (
353c245) - put
realpathinto its own module (d142e01) - refactor (
50583f0) - rename
real_path()torealpath()(478ff6c) - refactor (
8f1daf5) - Fix linux test (
8a36810) - Fix windows test. (
1afb2da) - Temp ignore real_path_tests. (
c2f5db9) - Windows absolute path. (
8dc33cc) - Windows absolute path. (
070f8c7) - Windows absolute path. (
cefc8fb) - Windows absolute path. (
31a71f3) - Fix merge. (
f2b46df) - Merge branch 'main' into git_includeif (
b1bfc8f) - Add custom tempdir in. (
8bfd52a) - Merge branch 'basic-worktree-support' (
e058bda) - thanks clippy (
a084951) - Temp ignore real_path_tests. (
27f4bfc) - Windows fix. (
ce0b408) - Windows fix. (
25dd319) - Windows fix. (
61bc0e7) - Merge branch 'main' into git_includeif (
05eb340) - Handle windows path prefix. (
1723236) - Max symlinks exceeded test. (
cfff300) - Use thiserror in
real_path()(2bd7a44) - input_path is Iterator. (
c993d78) - real_path wip (
3890a61) - Merge branch 'main' into msrv-for-windows (
7cb1972) - make fmt (
251b6df) - Merge branch 'worktree-stack' (
98da8ba)
- Release git-hash v0.9.4, git-features v0.21.0, git-actor v0.10.0, git-glob v0.3.0, git-path v0.1.1, git-attributes v0.1.0, git-sec v0.1.0, git-config v0.3.0, git-credentials v0.1.0, git-validate v0.5.4, git-object v0.19.0, git-diff v0.16.0, git-lock v2.1.0, git-ref v0.13.0, git-discover v0.1.0, git-index v0.3.0, git-mailmap v0.2.0, git-traverse v0.15.0, git-pack v0.19.0, git-odb v0.29.0, git-packetline v0.12.5, git-url v0.5.0, git-transport v0.17.0, git-protocol v0.16.0, git-revision v0.2.0, git-worktree v0.2.0, git-repository v0.17.0, safety bump 20 crates (
0.1.0 (2022-04-28)
Refactor (BREAKING)
- various name changes for more convenient API
Commit Statistics
- 9 commits contributed to the release over the course of 1 calendar day.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #301
Commit Details
view details
- #301
- frame for
gix repo exclude query(a331314) - refactor (
21d4076) - The first indication that directory-based excludes work (
e868acc) - various name changes for more convenient API (
5480159) - Use bstr intead of [u8] (
9380e99) - Use
git-pathcrate instead ofgit_features::path(47e607d) - Copy all existing functions from git-features::path to git-path:: (
725e198) - add empty git-path crate (
8d13f81)
- frame for
- Uncategorized
- Release git-path v0.1.0 (
ca019fc)
- Release git-path v0.1.0 (
0.0.0 (2022-03-31)
An empty crate without any content to reserve the name for the gitoxide project.