561 lines · 36.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.4.2 (2023-02-09)

Documentation

  • fix typos

New Features

  • Adds fuzzer for date parser
  • return the time that failed to parse in the error

Bug Fixes

  • prevent panics from dates which cannot be represented by the time crate
  • panic in parse_raw() (as found by fuzzer)

Commit Statistics

  • 16 commits contributed to the release over the course of 28 calendar days.
  • 30 days passed between releases.
  • 5 commits were understood as conventional.
  • 3 unique issues were worked on: #691, #711, #720

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • #691
    • set rust-version to 1.64 (55066ce)
  • #711
    • assure we get the latest version of the time crate (cb31cd1)
  • #720
    • prevent panics from dates which cannot be represented by the time crate (786f6dc)
  • Uncategorized
    • prepare changelogs prior to release (7c846d2)
    • Merge branch 'Lioness100/main' (1e544e8)
    • fix typos (39ed9ed)
    • thanks clippy (bac57dd)
    • Merge branch 'adjustments-for-cargo' (7bba270)
    • Merge branch 'fix-git-date-panics' (56f5593)
    • panic in parse_raw() (as found by fuzzer) (3d6c810)
    • fix warnings, don't track Cargo.lock to use compatible latest dependencies (96a56a9)
    • Merge pull request #714 from silvergasp/fuzz-git-date (a52c54e)
    • Adds fuzzer for date parser (fe04934)
    • Optimize usage of hex_to_id() (6fa950d)
    • Break cyclical dev dependencies (1fea18f)
    • return the time that failed to parse in the error (f5c9aa8)

0.4.1 (2023-01-10)

A maintenance release without user-facing changes.

Commit Statistics

  • 4 commits contributed to the release.
  • 3 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 (b34c9fe)

0.4.0 (2023-01-06)

New Features

  • Support git default date format This is the format output by default by git log or 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

Other (BREAKING)

  • time::format::GIT_DEFAULT -> *::DEFAULT and *::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

  • 10 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
    • Release git-date v0.4.0, git-actor v0.17.0, git-object v0.26.0, git-traverse v0.22.0, git-index v0.12.0, safety bump 15 crates (0e3d0a5)
    • prepare changelogs prior to release (d679f5b)
    • time::format::GIT_DEFAULT -> *::DEFAULT and *::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)

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

  • 16 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 'main' into read-split-index (c57bdde)
    • 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)

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-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 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)

0.2.0 (2022-09-20)

Changed (BREAKING)

  • upgrade bstr to 1.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
  • #470
    • update changelogs prior to release (caa7a1b)
  • 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)
    • parse is pure function. (9ad1a5f)
    • Fallible timestamp cast i64 -> u32. (cce7616)
    • parse() returns Result. (206f392)
    • Add output to baseline. (5c3b733)
    • parse returns 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)

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)

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)

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 time formatting (b74eaf8)
    • Add ISO-strict format (4b0c219)
    • refinements (b1fea0f)
    • Add common git date formats. (090795b)
    • Merge branch 'main' into remote-ls-refs (bd5f3e8)

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::Time with time::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)

0.0.2 (2022-07-22)

New Features

  • initialize Time from now_utc and now_local Localtime support depends on some other factors now, but that will only get better over time.

    We might have to document unsound_local_time at 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
    • initialize Time from now_utc and now_local (c76fde7)
    • Time::is_set() to see if the time is more than just the default. (aeda76e)
  • 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)

Lines 1–500 of 561.