| 1 | # Changelog |
| 2 | |
| 3 | ## Version 0.4.0 |
| 4 | |
| 5 | * The commit hashes are now always 10 characters long [#13222](https://github.com/rust-lang/rust-clippy/pull/13222) |
| 6 | * `get_commit_date` and `get_commit_hash` now return `None` if the `git` command fails instead of `Some("")` |
| 7 | [#13217](https://github.com/rust-lang/rust-clippy/pull/13217) |
| 8 | * `setup_version_info` will now re-run when the git commit changes |
| 9 | [#13329](https://github.com/rust-lang/rust-clippy/pull/13329) |
| 10 | * New `rerun_if_git_changes` function was added [#13329](https://github.com/rust-lang/rust-clippy/pull/13329) |
| 11 | |
| 12 | ## Version 0.3.0 |
| 13 | |
| 14 | * Added `setup_version_info!();` macro for automated scripts. |
| 15 | * `get_version_info!()` no longer requires the user to import `rustc_tools_util::VersionInfo` and `std::env` |