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.4.0 (2023-01-06)
New Features
-
Support git default date format This is the format output by default by
git logor when using--pretty=%ad.The new git_date::time::format::GIT_DEFAULT format description may be used to output date strings in this format. It is also now used by git_date::parse() to accept date strings that may be in this format.
-
Format git-style RFC 2822 date strings Git outputs the day-of-month field as a non-padded number whereas strict RFC 2822 date strings are supposed to use a zero-padded two-digit number.
The new git_date::time::format::GIT_RFC2822 format description allows Time to be formatted in git's RFC 2822 style. (Whereas the existing RFC2822 format description produces a strict RFC 2822 date string).
Bug Fixes
-
Stricter raw date parsing The raw date parser (git_date::parse::function::parse_raw()) accepted some inputs that it should not have. Specifically, it would accept:
- Any character for the timezone offset's sign
-
Trailing, non-whitespace characters after the timezone offset
Other (BREAKING)
-
time::format::GIT_DEFAULT->*::DEFAULTand*::DEFAULT->*::GITOXIDE. That way we properly indicate what we are doing and don't try to somewhat sneakily suggest that the default for git dates is something else due to personal preference.
Commit Statistics
- 9 commits contributed to the release over the course of 6 calendar days.
- 18 days passed between releases.
- 5 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- prepare changelogs prior to release (
d679f5b) time::format::GIT_DEFAULT->*::DEFAULTand*::DEFAULT->*::GITOXIDE. (41fc2bb)- Merge branch 'strict-raw-dates' (
c65ce7e) - Stricter raw date parsing (
046af94) - Merge branch 'issue-679' (
a910d9e) - refactor (
26597b9) - Support git default date format (
4066ac7) - Format git-style RFC 2822 date strings (
8094351) - Parse git-styled RFC 2822 date strings (
dff0aa0)
- prepare changelogs prior to release (
0.3.1 (2022-12-19)
Bug Fixes
- Negative system timezone offsets should be serialized as such
- correctly parse raw dates with negative timezone offsets
- always consider timestamps as UTC when loading from commits
Commit Statistics
- 15 commits contributed to the release over the course of 27 calendar days.
- 27 days passed between releases.
- 3 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.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 'adjustments-for-cargo' (
083909b) - Merge branch 'bugfix/system-time-correct-offset-sign' (
6e40433) - Add non-isolated test that, depending on region, would catch the invalid-sign bug. (
b649965) - Negative system timezone offsets should be serialized as such (
39655f5) - adjust to changes in
git-testtools(4eb842c) - Merge branch 'bugfix/signed-raw-time' (
f50b9f5) - thanks clippy (
75d6e88) - refactor (
f4e8051) - correctly parse raw dates with negative timezone offsets (
f4ea59d) - Extend git-date's baseline tests to also re-format the parsed dates (
9f95f7f) - Merge branch 'bugfix/timestamp-to-datetime-conversion' (
be0bbf5) - always consider timestamps as UTC when loading from commits (
be603f5) - Merge branch 'main' into http-config (
bcd9654)
- 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 (
0.3.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.
Commit Statistics
- 5 commits contributed to the release over the course of 62 calendar days.
- 62 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) - Merge branch 'diff' (
25a7726)
- 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 (
0.2.0 (2022-09-20)
Changed (BREAKING)
- upgrade
bstrto1.0.1 - parse now takes the current time
parse(…, Option<time>)as parameter.
Commit Statistics
- 34 commits contributed to the release over the course of 27 calendar days.
- 27 days passed between releases.
- 2 commits were understood as conventional.
- 2 unique issues were worked on: #450, #470
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- #450
- upgrade
bstrto1.0.1(99905ba)
- upgrade
- #470
- update changelogs prior to release (
caa7a1b)
- update changelogs prior to release (
- 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 'git_date_relative' (
83a3832) - refactor (
c5c6bf6) - refactor (
956613f) - refactor (
1026b7c) - WIP. (
79d82d4) - Parse the output while parsing the baseline file. (
70fe59f) - make fmt (
535e967) - Merge branch 'main' into filter-refs-by-spec (
1f6e5ab) - parse now takes the current time
parse(…, Option<time>)as parameter. (c24ea67) - Merge branch 'git_date_parse' (
75591fb) - thanks clippy (
590fcc9) - a sample on how to more easily test relative date parsing (
c585c9b) - add test to check times before unix epoch (
eb304ea) - refactor (
0e231eb) - refactor (
5793465) - refactor; add failing test to see invalid date error in action (
90008aa) - Merge branch 'main' into index-from-tree (
bc64b96) - PR comments. (
1eac4de) parseis pure function. (9ad1a5f)- Fallible timestamp cast i64 -> u32. (
cce7616) parse()returns Result. (206f392)- Add output to baseline. (
5c3b733) parsereturns Result. (67c8c6a)- Add fixtures. (
6c40ac1) - Add git baseline. (
b747a60) - refactor (
3e6e0f9) - Draft. (
95b4902) - Draft. (
43b6c06) - Merge branch 'main' into filter-refs-by-spec (
cfa1440) - Merge branch 'fix-ci-installation' (
9245083)
- 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.1.0 (2022-08-24)
New Features
- bump version to 1.0 to prevent accidental inclusions downstream For some reason, cargo considers different patch releases breaking, so creating a new patch can break installation of gitoxide entirely.
Commit Statistics
- 3 commits contributed to the release.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Release git-date v0.1.0, git-actor v0.11.4, git-revision v0.4.3, git-repository v0.22.1, cargo-smart-release v0.11.0, git-commitgraph v0.8.2, gitoxide-core v0.17.0, gitoxide v0.15.0 (
1fb931a) - update changelogs prior to release (
23cb58f) - bump version to 1.0 to prevent accidental inclusions downstream (
034c8dc)
- Release git-date v0.1.0, git-actor v0.11.4, git-revision v0.4.3, git-repository v0.22.1, cargo-smart-release v0.11.0, git-commitgraph v0.8.2, gitoxide-core v0.17.0, gitoxide v0.15.0 (
0.0.5 (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
Commit Statistics
- 10 commits contributed to the release over the course of 4 calendar days.
- 4 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.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 pull request #497 from svetli-n/patch-2 (
bd02b39) - Fix doc comment (
51cd9ce) - 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 (
c82bbfa)
- 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 (
0.0.4 (2022-08-19)
New Features
- Raw and Unix formats.
- Add ISO-strict format
Commit Statistics
- 10 commits contributed to the release.
- 1 day passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Release git-date v0.0.4, git-actor v0.11.2, git-revision v0.4.1, git-repository v0.21.1 (
2f9dc84) - update changelogs prior to release (
1b5fd86) - prepare for release of git-repository (
8aa5389) - Merge branch 'add_common_git_formats' (
c53e5a4) - Raw and Unix formats. (
8f7f9ce) - Foundation for custom formats that aren't easily done with
timeformatting (b74eaf8) - Add ISO-strict format (
4b0c219) - refinements (
b1fea0f) - Add common git date formats. (
090795b) - Merge branch 'main' into remote-ls-refs (
bd5f3e8)
- Release git-date v0.0.4, git-actor v0.11.2, git-revision v0.4.1, git-repository v0.21.1 (
0.0.3 (2022-08-17)
A maintenance release without user facing changes.
Commit Statistics
- 21 commits contributed to the release over the course of 25 calendar days.
- 26 days passed between releases.
- 0 commits were understood as conventional.
- 1 unique issue was worked on: #427
Commit Details
view details
- #427
- 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) - Merge branch 'main' into remote-ls-refs (
c4bf958) - adjust
git_date::parsea(str)to use a str (0f8680a) - refactor (
11a5fa2) - refactor (
8e6f4a9) - Merge branch 'format_git_date_time' (
99e12be) - thanks clipppy (
b139d70) - refactor (
bd64387) - Use time format strings. (
f84e8f5) - refactor (
556dd8c) - refactor (
5bbcbcd) - Format
git-date::Timewithtime::format_description. (d4243bc) - Merge branch 'rev-parse-delegate' (
2f506c7) - 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) - make fmt (
47724c0)
- 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 (
0.0.2 (2022-07-22)
New Features
-
initialize
Timefromnow_utcandnow_localLocaltime support depends on some other factors now, but that will only get better over time.We might have to document
unsound_local_timeat some point. -
Time::is_set()to see if the time is more than just the default.
Commit Statistics
- 8 commits contributed to the release over the course of 32 calendar days.
- 39 days passed between releases.
- 2 commits were understood as conventional.
- 1 unique issue was worked on: #331
Commit Details
view details
- #331
- 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 branch 'config-cascade' (
f144eaf) - Merge pull request #1 from Byron/main (
085e76b) - Merge branch 'main' into pathspec (
89ea12b) - 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.0.1 (2022-06-13)
New Features
- Add
Timetype. It was originally from thegit-actorcrate.
Commit Statistics
- 6 commits contributed to the release over the course of 57 calendar days.
- 59 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #427
Commit Details
view details
- #427
- 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 'revspec-parsing' (
a2c8969) - Merge branch 'main' into repo-status (
0eb2372)
- 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.0.0 (2022-04-14)
An empty crate without any content to reserve the name for the gitoxide project.
Commit Statistics
- 2 commits contributed to the release.
- 0 commits were understood as conventional.
- 1 unique issue was worked on: #331