diff --git a/CHANGELOG.md b/CHANGELOG.md index 2712044..ff5e097 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,214 +2,193 @@ All notable changes to this project will be documented in this file. -## [1.4.0] - 2023-10-04 +## [1.4.0](https://github.com/dustinblackman/cargo-run-bin/compare/v1.3.2..v1.4.0) - 2023-10-04 -[be3cc40...a97993c](https://github.com/dustinblackman/cargo-run-bin/compare/be3cc4059b7d961819d3c47268f30ee1b87b0ec1...a97993c9abb74259084f37857a40c3f6b2dad576) +### โ›ฐ๏ธ Features -### Documentation +- Support git in package source - ([7151499](https://github.com/dustinblackman/cargo-run-bin/commit/7151499b4b47861f84c63b958af8cd36aa8648a9)) -- Add git ([a97993c](https://github.com/dustinblackman/cargo-run-bin/commit/a97993c9abb74259084f37857a40c3f6b2dad576)) +### ๐Ÿ“š Documentation -### Features +- Add git - ([a97993c](https://github.com/dustinblackman/cargo-run-bin/commit/a97993c9abb74259084f37857a40c3f6b2dad576)) -- Support git in package source ([7151499](https://github.com/dustinblackman/cargo-run-bin/commit/7151499b4b47861f84c63b958af8cd36aa8648a9)) +### ๐Ÿงช Testing -### Miscellaneous Tasks +- Additional git flows - ([a6144eb](https://github.com/dustinblackman/cargo-run-bin/commit/a6144ebcb9bb38479a78b8caf50afbd27551983d)) -- Lint ([ebba9c4](https://github.com/dustinblackman/cargo-run-bin/commit/ebba9c44f97ab0331f8114b72a99caf60c0d8de4)) +### โš™๏ธ Miscellaneous Tasks -### Testing +- Release cargo-run-bin version 1.4.0 - ([32f72e8](https://github.com/dustinblackman/cargo-run-bin/commit/32f72e8b600164ae188af332af66954e177f88e7)) +- Lint - ([ebba9c4](https://github.com/dustinblackman/cargo-run-bin/commit/ebba9c44f97ab0331f8114b72a99caf60c0d8de4)) -- Additional git flows ([a6144eb](https://github.com/dustinblackman/cargo-run-bin/commit/a6144ebcb9bb38479a78b8caf50afbd27551983d)) +## [1.3.2](https://github.com/dustinblackman/cargo-run-bin/compare/v1.3.1..v1.3.2) - 2023-09-20 -## [1.3.2] - 2023-09-20 +### ๐Ÿ› Bug Fixes -[83349f9...be3cc40](https://github.com/dustinblackman/cargo-run-bin/compare/83349f99e01d665336d26ff7753ffb2a5a6ffb12...be3cc4059b7d961819d3c47268f30ee1b87b0ec1) +- Deserailizing default-features - ([3c15340](https://github.com/dustinblackman/cargo-run-bin/commit/3c153408947f3aee7a09d7041c9a1d9fdfe5f3a5)) -### Bug Fixes +### โš™๏ธ Miscellaneous Tasks -- Deserailizing default-features ([3c15340](https://github.com/dustinblackman/cargo-run-bin/commit/3c153408947f3aee7a09d7041c9a1d9fdfe5f3a5)) +- Release cargo-run-bin version 1.3.2 - ([be3cc40](https://github.com/dustinblackman/cargo-run-bin/commit/be3cc4059b7d961819d3c47268f30ee1b87b0ec1)) -### Miscellaneous Tasks +## [1.3.1](https://github.com/dustinblackman/cargo-run-bin/compare/v1.3.0..v1.3.1) - 2023-09-20 -- Release cargo-run-bin version 1.3.2 ([be3cc40](https://github.com/dustinblackman/cargo-run-bin/commit/be3cc4059b7d961819d3c47268f30ee1b87b0ec1)) +### ๐Ÿ› Bug Fixes -## [1.3.1] - 2023-09-20 +- Duplicate PATH entries - ([0914ff7](https://github.com/dustinblackman/cargo-run-bin/commit/0914ff7ba3316d3b9cddc025febf75df3135a002)) -[f044465...83349f9](https://github.com/dustinblackman/cargo-run-bin/compare/f044465c6df800fd4694334982cffa76a7157ec2...83349f99e01d665336d26ff7753ffb2a5a6ffb12) +### โš™๏ธ Miscellaneous Tasks -### Bug Fixes +- Release cargo-run-bin version 1.3.1 - ([83349f9](https://github.com/dustinblackman/cargo-run-bin/commit/83349f99e01d665336d26ff7753ffb2a5a6ffb12)) -- Duplicate PATH entries ([0914ff7](https://github.com/dustinblackman/cargo-run-bin/commit/0914ff7ba3316d3b9cddc025febf75df3135a002)) +## [1.3.0](https://github.com/dustinblackman/cargo-run-bin/compare/v1.2.0..v1.3.0) - 2023-09-20 -### Miscellaneous Tasks +### โ›ฐ๏ธ Features -- Release cargo-run-bin version 1.3.1 ([83349f9](https://github.com/dustinblackman/cargo-run-bin/commit/83349f99e01d665336d26ff7753ffb2a5a6ffb12)) +- Add cargo-gha to path if it exists - ([c404b48](https://github.com/dustinblackman/cargo-run-bin/commit/c404b480e17e9abf12586dc865111d7546609849)) +- Add alias scripts - ([3c6dbac](https://github.com/dustinblackman/cargo-run-bin/commit/3c6dbace4e5f2e1442f7da9805aa5a61e8ba5c9b)) +- Add crate features config - ([e7d0f4d](https://github.com/dustinblackman/cargo-run-bin/commit/e7d0f4d9ccff32aeb9a04088d84ce933d85d4885)) -## [1.3.0] - 2023-09-20 +### โš™๏ธ Miscellaneous Tasks -[b600075...f044465](https://github.com/dustinblackman/cargo-run-bin/compare/b600075b1af551d509fdf9fcfeeff97d74c5d446...f044465c6df800fd4694334982cffa76a7157ec2) +- Release cargo-run-bin version 1.3.0 - ([f044465](https://github.com/dustinblackman/cargo-run-bin/commit/f044465c6df800fd4694334982cffa76a7157ec2)) +- Update lockfile - ([c6f752f](https://github.com/dustinblackman/cargo-run-bin/commit/c6f752f24a01077fb260c9561c7b4aeed1972fdf)) -### Features +## [1.2.0](https://github.com/dustinblackman/cargo-run-bin/compare/v1.1.5..v1.2.0) - 2023-08-26 -- Add crate features config ([e7d0f4d](https://github.com/dustinblackman/cargo-run-bin/commit/e7d0f4d9ccff32aeb9a04088d84ce933d85d4885)) -- Add alias scripts ([3c6dbac](https://github.com/dustinblackman/cargo-run-bin/commit/3c6dbace4e5f2e1442f7da9805aa5a61e8ba5c9b)) -- Add cargo-gha to path if it exists ([c404b48](https://github.com/dustinblackman/cargo-run-bin/commit/c404b480e17e9abf12586dc865111d7546609849)) +### โ›ฐ๏ธ Features -### Miscellaneous Tasks +- Add support for Cargo workspaces - ([208b000](https://github.com/dustinblackman/cargo-run-bin/commit/208b000f47ee7666009a066a9f2a5124275ea381)) -- Update lockfile ([c6f752f](https://github.com/dustinblackman/cargo-run-bin/commit/c6f752f24a01077fb260c9561c7b4aeed1972fdf)) -- Release cargo-run-bin version 1.3.0 ([f044465](https://github.com/dustinblackman/cargo-run-bin/commit/f044465c6df800fd4694334982cffa76a7157ec2)) +### ๐Ÿ› Bug Fixes -## [1.2.0] - 2023-08-26 +- Nightly setup - ([c50b3a5](https://github.com/dustinblackman/cargo-run-bin/commit/c50b3a520f5f0aee7579f816fc8b89b6309fd5d5)) -[d803d74...b600075](https://github.com/dustinblackman/cargo-run-bin/compare/d803d74f79384f6b9707eecc6bc58a156f7d3ba4...b600075b1af551d509fdf9fcfeeff97d74c5d446) +### ๐Ÿ“š Documentation -### Bug Fixes +- Add commit hashes to changelog - ([28e7c84](https://github.com/dustinblackman/cargo-run-bin/commit/28e7c8488da0972b382cb729ad07e208b3535e81)) -- Nightly setup ([c50b3a5](https://github.com/dustinblackman/cargo-run-bin/commit/c50b3a520f5f0aee7579f816fc8b89b6309fd5d5)) +### โš™๏ธ Miscellaneous Tasks -### Documentation +- Release cargo-run-bin version 1.2.0 - ([b600075](https://github.com/dustinblackman/cargo-run-bin/commit/b600075b1af551d509fdf9fcfeeff97d74c5d446)) -- Add commit hashes to changelog ([28e7c84](https://github.com/dustinblackman/cargo-run-bin/commit/28e7c8488da0972b382cb729ad07e208b3535e81)) +## [1.1.5](https://github.com/dustinblackman/cargo-run-bin/compare/v1.1.4..v1.1.5) - 2023-08-12 -### Features +### ๐Ÿ› Bug Fixes -- Add support for Cargo workspaces ([208b000](https://github.com/dustinblackman/cargo-run-bin/commit/208b000f47ee7666009a066a9f2a5124275ea381)) +- Help command when using cargo - ([25ace47](https://github.com/dustinblackman/cargo-run-bin/commit/25ace47c61a1c7d4e46d734619917ac8539fa2df)) -### Miscellaneous Tasks +### ๐Ÿ“š Documentation -- Release cargo-run-bin version 1.2.0 ([b600075](https://github.com/dustinblackman/cargo-run-bin/commit/b600075b1af551d509fdf9fcfeeff97d74c5d446)) +- Fix links - ([c40edbf](https://github.com/dustinblackman/cargo-run-bin/commit/c40edbfb888aec37400dd70bc5dc39b60d5e65b8)) +- Update parameters table - ([5eae9a9](https://github.com/dustinblackman/cargo-run-bin/commit/5eae9a9968478e7fc1eeae6b14333ef83e8283c7)) -## [1.1.5] - 2023-08-12 +### ๐Ÿงช Testing -[494d7ac...d803d74](https://github.com/dustinblackman/cargo-run-bin/compare/494d7acfefc7ac8a3e2124b50fcd3f951fc5d196...d803d74f79384f6b9707eecc6bc58a156f7d3ba4) +- CLI integration snapshots - ([2524b71](https://github.com/dustinblackman/cargo-run-bin/commit/2524b7111f7cb2ac6cbc31f07143c6702f0844ac)) -### Bug Fixes +### โš™๏ธ Miscellaneous Tasks -- Help command when using cargo ([25ace47](https://github.com/dustinblackman/cargo-run-bin/commit/25ace47c61a1c7d4e46d734619917ac8539fa2df)) +- Release cargo-run-bin version 1.1.5 - ([d803d74](https://github.com/dustinblackman/cargo-run-bin/commit/d803d74f79384f6b9707eecc6bc58a156f7d3ba4)) +- Update dprint - ([499c1bc](https://github.com/dustinblackman/cargo-run-bin/commit/499c1bccc3e1b5b7cb4a61f6610892c2c9fbb5b6)) +- Speed up nightly setup command - ([dd30048](https://github.com/dustinblackman/cargo-run-bin/commit/dd30048696a9e7e013415a0ba8820d6afeb763a7)) +- Add release profile - ([e12575c](https://github.com/dustinblackman/cargo-run-bin/commit/e12575ced1d842c29158f17c9826e6fd24517883)) +- Upgrade binstall to 1.2.0 - ([f015f5c](https://github.com/dustinblackman/cargo-run-bin/commit/f015f5ca265c7d0ac9af9db364e7e1456355d956)) +- Remove unused deps - ([2562b7f](https://github.com/dustinblackman/cargo-run-bin/commit/2562b7f16e7b0bed1c92bc1a83301fae5d1697eb)) +- Add commit linting - ([b6b358c](https://github.com/dustinblackman/cargo-run-bin/commit/b6b358cc5781b899d8362ae153564ff9060feda5)) +- Add release and changelog scripts - ([6b0e2b0](https://github.com/dustinblackman/cargo-run-bin/commit/6b0e2b0d9b6ce0bd6302ca87f38d592ef22824a4)) -### Documentation +## [1.1.4](https://github.com/dustinblackman/cargo-run-bin/compare/v1.1.3..v1.1.4) - 2023-08-08 -- Update parameters table ([5eae9a9](https://github.com/dustinblackman/cargo-run-bin/commit/5eae9a9968478e7fc1eeae6b14333ef83e8283c7)) -- Fix links ([c40edbf](https://github.com/dustinblackman/cargo-run-bin/commit/c40edbfb888aec37400dd70bc5dc39b60d5e65b8)) +### โš™๏ธ Miscellaneous Tasks -### Miscellaneous Tasks +- Release v1.1.4 - ([494d7ac](https://github.com/dustinblackman/cargo-run-bin/commit/494d7acfefc7ac8a3e2124b50fcd3f951fc5d196)) +- Drop windows releases - ([d65fb49](https://github.com/dustinblackman/cargo-run-bin/commit/d65fb495283573ee2ecac0c7edba66c9551b6a95)) -- Add release and changelog scripts ([6b0e2b0](https://github.com/dustinblackman/cargo-run-bin/commit/6b0e2b0d9b6ce0bd6302ca87f38d592ef22824a4)) -- Add commit linting ([b6b358c](https://github.com/dustinblackman/cargo-run-bin/commit/b6b358cc5781b899d8362ae153564ff9060feda5)) -- Remove unused deps ([2562b7f](https://github.com/dustinblackman/cargo-run-bin/commit/2562b7f16e7b0bed1c92bc1a83301fae5d1697eb)) -- Upgrade binstall to 1.2.0 ([f015f5c](https://github.com/dustinblackman/cargo-run-bin/commit/f015f5ca265c7d0ac9af9db364e7e1456355d956)) -- Add release profile ([e12575c](https://github.com/dustinblackman/cargo-run-bin/commit/e12575ced1d842c29158f17c9826e6fd24517883)) -- Speed up nightly setup command ([dd30048](https://github.com/dustinblackman/cargo-run-bin/commit/dd30048696a9e7e013415a0ba8820d6afeb763a7)) -- Update dprint ([499c1bc](https://github.com/dustinblackman/cargo-run-bin/commit/499c1bccc3e1b5b7cb4a61f6610892c2c9fbb5b6)) -- Release cargo-run-bin version 1.1.5 ([d803d74](https://github.com/dustinblackman/cargo-run-bin/commit/d803d74f79384f6b9707eecc6bc58a156f7d3ba4)) +## [1.1.3](https://github.com/dustinblackman/cargo-run-bin/compare/v1.1.2..v1.1.3) - 2023-08-08 -### Testing +### ๐Ÿ› Bug Fixes -- CLI integration snapshots ([2524b71](https://github.com/dustinblackman/cargo-run-bin/commit/2524b7111f7cb2ac6cbc31f07143c6702f0844ac)) +- Release workflow - ([f012617](https://github.com/dustinblackman/cargo-run-bin/commit/f012617a3993c58608bcffe9e2d4b9379bbc25d9)) -## [1.1.4] - 2023-08-08 +### โš™๏ธ Miscellaneous Tasks -[7783dbd...494d7ac](https://github.com/dustinblackman/cargo-run-bin/compare/7783dbd4b9f2460c5900c7e00b65d9ec2ab4e54b...494d7acfefc7ac8a3e2124b50fcd3f951fc5d196) +- Release v1.1.3 - ([7783dbd](https://github.com/dustinblackman/cargo-run-bin/commit/7783dbd4b9f2460c5900c7e00b65d9ec2ab4e54b)) -### Miscellaneous Tasks +## [1.1.2](https://github.com/dustinblackman/cargo-run-bin/compare/v1.1.1..v1.1.2) - 2023-08-08 -- Drop windows releases ([d65fb49](https://github.com/dustinblackman/cargo-run-bin/commit/d65fb495283573ee2ecac0c7edba66c9551b6a95)) -- Release v1.1.4 ([494d7ac](https://github.com/dustinblackman/cargo-run-bin/commit/494d7acfefc7ac8a3e2124b50fcd3f951fc5d196)) +### ๐Ÿ› Bug Fixes -## [1.1.3] - 2023-08-08 +- Release workflow - ([27ce8e0](https://github.com/dustinblackman/cargo-run-bin/commit/27ce8e0f63a4a7181ba780791ac8a206fbbe5d5d)) -[883a75f...7783dbd](https://github.com/dustinblackman/cargo-run-bin/compare/883a75ffad28d62d29c7ab87b7cc8bc186898dea...7783dbd4b9f2460c5900c7e00b65d9ec2ab4e54b) +### โš™๏ธ Miscellaneous Tasks -### Bug Fixes +- Release v1.1.2 - ([883a75f](https://github.com/dustinblackman/cargo-run-bin/commit/883a75ffad28d62d29c7ab87b7cc8bc186898dea)) -- Release workflow ([f012617](https://github.com/dustinblackman/cargo-run-bin/commit/f012617a3993c58608bcffe9e2d4b9379bbc25d9)) +## [1.1.1](https://github.com/dustinblackman/cargo-run-bin/compare/v1.0.1..v1.1.1) - 2023-08-08 -### Miscellaneous Tasks +### โ›ฐ๏ธ Features -- Release v1.1.3 ([7783dbd](https://github.com/dustinblackman/cargo-run-bin/commit/7783dbd4b9f2460c5900c7e00b65d9ec2ab4e54b)) +- Add binstall support - ([f702124](https://github.com/dustinblackman/cargo-run-bin/commit/f702124692e23f8c14040cf0935b90c4877ed4ee)) -## [1.1.2] - 2023-08-08 +### ๐Ÿ› Bug Fixes -[a6ddf14...883a75f](https://github.com/dustinblackman/cargo-run-bin/compare/a6ddf14394f1c251f55899257931a374466bed76...883a75ffad28d62d29c7ab87b7cc8bc186898dea) +- Release command - ([af9715b](https://github.com/dustinblackman/cargo-run-bin/commit/af9715b4f741ede4556a6fecfb8d70a9dbd32a9a)) -### Bug Fixes +### โš™๏ธ Miscellaneous Tasks -- Release workflow ([27ce8e0](https://github.com/dustinblackman/cargo-run-bin/commit/27ce8e0f63a4a7181ba780791ac8a206fbbe5d5d)) +- Release v1.1.1 - ([a6ddf14](https://github.com/dustinblackman/cargo-run-bin/commit/a6ddf14394f1c251f55899257931a374466bed76)) +- Drop cargo release - ([f87e73c](https://github.com/dustinblackman/cargo-run-bin/commit/f87e73c8a2b6fa68832363b0e28f3c106f5a622b)) +- Add artifact releases - ([ced0630](https://github.com/dustinblackman/cargo-run-bin/commit/ced06305199c2a47b3465ba23efeeccfd9dfb722)) +- Add cargo-cmd - ([150af5b](https://github.com/dustinblackman/cargo-run-bin/commit/150af5b4e1a75f5ca7b816716dbbcd2be0c66000)) +- Add clippy to toolchain - ([aa7161e](https://github.com/dustinblackman/cargo-run-bin/commit/aa7161e0bf3ff522144e318b26746359801b0b07)) -### Miscellaneous Tasks +## [1.0.1](https://github.com/dustinblackman/cargo-run-bin/compare/v1.0.0..v1.0.1) - 2023-08-07 -- Release v1.1.2 ([883a75f](https://github.com/dustinblackman/cargo-run-bin/commit/883a75ffad28d62d29c7ab87b7cc8bc186898dea)) +### ๐Ÿ› Bug Fixes -## [1.1.1] - 2023-08-08 - -[20fc01d...a6ddf14](https://github.com/dustinblackman/cargo-run-bin/compare/20fc01d5b8e059556e8a28f33a039d28246c7a5f...a6ddf14394f1c251f55899257931a374466bed76) - -### Bug Fixes - -- Release command ([af9715b](https://github.com/dustinblackman/cargo-run-bin/commit/af9715b4f741ede4556a6fecfb8d70a9dbd32a9a)) - -### Features - -- Add binstall support ([f702124](https://github.com/dustinblackman/cargo-run-bin/commit/f702124692e23f8c14040cf0935b90c4877ed4ee)) - -### Miscellaneous Tasks - -- Add clippy to toolchain ([aa7161e](https://github.com/dustinblackman/cargo-run-bin/commit/aa7161e0bf3ff522144e318b26746359801b0b07)) -- Add cargo-cmd ([150af5b](https://github.com/dustinblackman/cargo-run-bin/commit/150af5b4e1a75f5ca7b816716dbbcd2be0c66000)) -- Add artifact releases ([ced0630](https://github.com/dustinblackman/cargo-run-bin/commit/ced06305199c2a47b3465ba23efeeccfd9dfb722)) -- Drop cargo release ([f87e73c](https://github.com/dustinblackman/cargo-run-bin/commit/f87e73c8a2b6fa68832363b0e28f3c106f5a622b)) -- Release v1.1.1 ([a6ddf14](https://github.com/dustinblackman/cargo-run-bin/commit/a6ddf14394f1c251f55899257931a374466bed76)) - -## [1.0.1] - 2023-08-07 - -[4fea16b...20fc01d](https://github.com/dustinblackman/cargo-run-bin/compare/4fea16bbee89161b192488e7aa5fe728e6b0f970...20fc01d5b8e059556e8a28f33a039d28246c7a5f) - -### Bug Fixes - -- Lint ([74b66ad](https://github.com/dustinblackman/cargo-run-bin/commit/74b66ad09d2346e7def0ea7275e16f4bd37bd5e6)) -- Test scripts exiting ([1440910](https://github.com/dustinblackman/cargo-run-bin/commit/1440910eadfc638cb6a1da65807a2e24bb7e0a97)) -- Test lcov ([49ea7c1](https://github.com/dustinblackman/cargo-run-bin/commit/49ea7c10cb3a311dc10dd4bef2f9a76668419378)) -- Integration tests with code coverage commands ([9a940f7](https://github.com/dustinblackman/cargo-run-bin/commit/9a940f7dee59fca6136d4f82a39b141fae95f580)) -- Sorting aliases ([b4ccdd1](https://github.com/dustinblackman/cargo-run-bin/commit/b4ccdd189376506d64d1911de0f17e3c49dda0d0)) +- Sorting aliases - ([b4ccdd1](https://github.com/dustinblackman/cargo-run-bin/commit/b4ccdd189376506d64d1911de0f17e3c49dda0d0)) +- Integration tests with code coverage commands - ([9a940f7](https://github.com/dustinblackman/cargo-run-bin/commit/9a940f7dee59fca6136d4f82a39b141fae95f580)) +- Test lcov - ([49ea7c1](https://github.com/dustinblackman/cargo-run-bin/commit/49ea7c10cb3a311dc10dd4bef2f9a76668419378)) +- Test scripts exiting - ([1440910](https://github.com/dustinblackman/cargo-run-bin/commit/1440910eadfc638cb6a1da65807a2e24bb7e0a97)) +- Lint - ([74b66ad](https://github.com/dustinblackman/cargo-run-bin/commit/74b66ad09d2346e7def0ea7275e16f4bd37bd5e6)) ## [1.0.0] - 2023-08-07 -### Bug Fixes +### โ›ฐ๏ธ Features -- Cargo commands, add initial tests ([66a2271](https://github.com/dustinblackman/cargo-run-bin/commit/66a2271ca4ea57013d85d36a528c749d057d2959)) -- Llvm-cov ([257af9d](https://github.com/dustinblackman/cargo-run-bin/commit/257af9dc7903eddcf923e0ab55b3575917d0baaf)) +- Add sync aliases - ([5d7ffed](https://github.com/dustinblackman/cargo-run-bin/commit/5d7ffed87bb9ff7b78ce7a228379a35492e45f11)) +- Add build and run functionality - ([9a7218c](https://github.com/dustinblackman/cargo-run-bin/commit/9a7218c20c09797097b518a605c1d2b6c365ec30)) +- Rewrite reading cargo.toml - ([12bccba](https://github.com/dustinblackman/cargo-run-bin/commit/12bccbaf5e60f7781f27b6b28fb9c4bd0922acc4)) +- Add metadata options for binaries - ([3d176a1](https://github.com/dustinblackman/cargo-run-bin/commit/3d176a170b7b1bec81eb8a06d98706164b218657)) -### Documentation +### ๐Ÿ› Bug Fixes -- Update readme ([8ab7f77](https://github.com/dustinblackman/cargo-run-bin/commit/8ab7f777fcbd99bb1e50067476ad621b0102013e)) -- Format ([9f1b0db](https://github.com/dustinblackman/cargo-run-bin/commit/9f1b0dbba03293a3f120bfc8f4dcf0eeb1540734)) +- Llvm-cov - ([257af9d](https://github.com/dustinblackman/cargo-run-bin/commit/257af9dc7903eddcf923e0ab55b3575917d0baaf)) +- Cargo commands, add initial tests - ([66a2271](https://github.com/dustinblackman/cargo-run-bin/commit/66a2271ca4ea57013d85d36a528c749d057d2959)) -### Features +### ๐Ÿ“š Documentation -- Add metadata options for binaries ([3d176a1](https://github.com/dustinblackman/cargo-run-bin/commit/3d176a170b7b1bec81eb8a06d98706164b218657)) -- Rewrite reading cargo.toml ([12bccba](https://github.com/dustinblackman/cargo-run-bin/commit/12bccbaf5e60f7781f27b6b28fb9c4bd0922acc4)) -- Add build and run functionality ([9a7218c](https://github.com/dustinblackman/cargo-run-bin/commit/9a7218c20c09797097b518a605c1d2b6c365ec30)) -- Add sync aliases ([5d7ffed](https://github.com/dustinblackman/cargo-run-bin/commit/5d7ffed87bb9ff7b78ce7a228379a35492e45f11)) +- Format - ([9f1b0db](https://github.com/dustinblackman/cargo-run-bin/commit/9f1b0dbba03293a3f120bfc8f4dcf0eeb1540734)) +- Update readme - ([8ab7f77](https://github.com/dustinblackman/cargo-run-bin/commit/8ab7f777fcbd99bb1e50067476ad621b0102013e)) -### Miscellaneous Tasks +### ๐Ÿงช Testing -- Format ([cbc9e3a](https://github.com/dustinblackman/cargo-run-bin/commit/cbc9e3ab710c863ef28fcb68583ab4bb07c9dadc)) -- Drop fstrings ([b5388e3](https://github.com/dustinblackman/cargo-run-bin/commit/b5388e33b000d54444fa5213472546eb3164872d)) -- Upgrade cargo_toml ([b81dcd6](https://github.com/dustinblackman/cargo-run-bin/commit/b81dcd607089b05eb939e915514334b070a4bb35)) -- Clean ([10216bb](https://github.com/dustinblackman/cargo-run-bin/commit/10216bb2399e3d22ef71f6d87954cf207eab1ee0)) -- Clean error outputs, unused deps ([b0171f4](https://github.com/dustinblackman/cargo-run-bin/commit/b0171f4a4d321dae6c783d224ab645ffaa67a555)) -- Lint ([cd157a7](https://github.com/dustinblackman/cargo-run-bin/commit/cd157a727734d06322a4941ff35aa3db6a092670)) -- Update ci ([6671333](https://github.com/dustinblackman/cargo-run-bin/commit/6671333b5978890d804b2be71f2d3f2f1299f83e)) -- Update test commands ([c12a4d6](https://github.com/dustinblackman/cargo-run-bin/commit/c12a4d6c90aed2cc944082dae4f779a5cd8cc5cf)) -- Add release command ([b40f043](https://github.com/dustinblackman/cargo-run-bin/commit/b40f0436e8eb231975168fda87fdb8da0f675d0a)) +- Cli integration tests - ([d087a06](https://github.com/dustinblackman/cargo-run-bin/commit/d087a066c3b160240a33c7096e38d3414b8fcaf1)) +- Cargo_config - ([281b18b](https://github.com/dustinblackman/cargo-run-bin/commit/281b18b52516c8af89f16e2266c11aa33e321939)) +- Binary - ([12146af](https://github.com/dustinblackman/cargo-run-bin/commit/12146afcb515b837a36900afcc3185a0987aec36)) +- Bin target packages - ([edf2c1f](https://github.com/dustinblackman/cargo-run-bin/commit/edf2c1f905c28f68244f5af65bdf79e55b233d8f)) -### Testing +### โš™๏ธ Miscellaneous Tasks -- Bin target packages ([edf2c1f](https://github.com/dustinblackman/cargo-run-bin/commit/edf2c1f905c28f68244f5af65bdf79e55b233d8f)) -- Binary ([12146af](https://github.com/dustinblackman/cargo-run-bin/commit/12146afcb515b837a36900afcc3185a0987aec36)) -- Cargo_config ([281b18b](https://github.com/dustinblackman/cargo-run-bin/commit/281b18b52516c8af89f16e2266c11aa33e321939)) -- Cli integration tests ([d087a06](https://github.com/dustinblackman/cargo-run-bin/commit/d087a066c3b160240a33c7096e38d3414b8fcaf1)) +- Add release command - ([b40f043](https://github.com/dustinblackman/cargo-run-bin/commit/b40f0436e8eb231975168fda87fdb8da0f675d0a)) +- Update test commands - ([c12a4d6](https://github.com/dustinblackman/cargo-run-bin/commit/c12a4d6c90aed2cc944082dae4f779a5cd8cc5cf)) +- Update ci - ([6671333](https://github.com/dustinblackman/cargo-run-bin/commit/6671333b5978890d804b2be71f2d3f2f1299f83e)) +- Lint - ([cd157a7](https://github.com/dustinblackman/cargo-run-bin/commit/cd157a727734d06322a4941ff35aa3db6a092670)) +- Clean error outputs, unused deps - ([b0171f4](https://github.com/dustinblackman/cargo-run-bin/commit/b0171f4a4d321dae6c783d224ab645ffaa67a555)) +- Clean - ([10216bb](https://github.com/dustinblackman/cargo-run-bin/commit/10216bb2399e3d22ef71f6d87954cf207eab1ee0)) +- Upgrade cargo_toml - ([b81dcd6](https://github.com/dustinblackman/cargo-run-bin/commit/b81dcd607089b05eb939e915514334b070a4bb35)) +- Drop fstrings - ([b5388e3](https://github.com/dustinblackman/cargo-run-bin/commit/b5388e33b000d54444fa5213472546eb3164872d)) +- Format - ([cbc9e3a](https://github.com/dustinblackman/cargo-run-bin/commit/cbc9e3ab710c863ef28fcb68583ab4bb07c9dadc)) diff --git a/Cargo.toml b/Cargo.toml index 79b078b..cfdc331 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ cargo-release = { version = "0.24.11" } cargo-watch = { version = "8.4.0" } committed = { version = "1.0.20" } dprint = { version = "0.40.2" } -git-cliff = { version = "1.2.0" } +git-cliff = { version = "1.3.1" } # Just added for testing dustinblackman-hello-world = { version = "0.2.1", git = "https://github.com/dustinblackman/rust-hello-world", bins = ["hello-world-first", "hello-world-second"] } diff --git a/cliff.toml b/cliff.toml index 171141c..a3c2477 100644 --- a/cliff.toml +++ b/cliff.toml @@ -1,4 +1,4 @@ -# git-cliff ~ default configuration file +# git-cliff ~ configuration file # https://git-cliff.org/docs/configuration # # Lines starting with "#" are comments. @@ -12,26 +12,36 @@ header = """ All notable changes to this project will be documented in this file.\n """ # template for the changelog body -# https://tera.netlify.app/docs +# https://keats.github.io/tera/docs/#introduction body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + {% if previous.version %}\ + ## [{{ version | trim_start_matches(pat="v") }}](/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }} + {% else %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + {% endif %}\ {% else %}\ ## [unreleased] {% endif %}\ -{% if previous %}\ - {% if previous.commit_id %} - [{{ previous.commit_id | truncate(length=7, end="") }}...{{ commit_id | truncate(length=7, end="") }}](https://github.com/dustinblackman/cargo-run-bin/compare/{{ previous.commit_id }}...{{ commit_id }})\ - {% endif %}\ -{% endif %}\ + +{% macro commit(commit) -%} + - {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}[**breaking**] {% endif %}\ + {{ commit.message | upper_first }} - ([{{ commit.id | truncate(length=7, end="") }}](/commit/{{ commit.id }}))\ +{% endmacro -%} + {% for group, commits in commits | group_by(attribute="group") %} - ### {{ group | upper_first }} - {% for commit in commits %} - - {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/dustinblackman/cargo-run-bin/commit/{{ commit.id }}))\ - {% for footer in commit.footers -%} - , {{ footer.token }}{{ footer.separator }}{{ footer.value }}\ - {% endfor %}\ - {% endfor %} + ### {{ group | striptags | trim | upper_first }} + {% for commit in commits + | filter(attribute="scope") + | sort(attribute="scope") %} + {{ self::commit(commit=commit) }} + {%- endfor -%} + {% raw %}\n{% endraw %}\ + {%- for commit in commits %} + {%- if not commit.scope -%} + {{ self::commit(commit=commit) }} + {% endif -%} + {% endfor -%} {% endfor %}\n """ # remove the leading and trailing whitespace from the template @@ -40,6 +50,10 @@ trim = true footer = """ """ +# postprocessors +postprocessors = [ + { pattern = '', replace = "https://github.com/dustinblackman/cargo-run-bin" }, # replace repository URL +] [git] # parse the commits based on https://www.conventionalcommits.org @@ -50,22 +64,24 @@ filter_unconventional = true split_commits = false # regex for preprocessing the commit messages commit_preprocessors = [ - - - # { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/orhun/git-cliff/issues/${2}))"}, # replace issue numbers + { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](/issues/${2}))" }, ] # regex for parsing and grouping commits commit_parsers = [ - { message = "^feat", group = "Features" }, - { message = "^fix", group = "Bug Fixes" }, - { message = "^doc", group = "Documentation" }, - { message = "^perf", group = "Performance" }, - { message = "^refactor", group = "Refactor" }, - { message = "^style", group = "Styling" }, - { message = "^test", group = "Testing" }, + { message = "^feat", group = "โ›ฐ๏ธ Features" }, + { message = "^fix", group = "๐Ÿ› Bug Fixes" }, + { message = "^doc", group = "๐Ÿ“š Documentation" }, + { message = "^perf", group = "โšก Performance" }, + { message = "^refactor", group = "๐Ÿšœ Refactor" }, + { message = "^style", group = "๐ŸŽจ Styling" }, + { message = "^test", group = "๐Ÿงช Testing" }, { message = "^chore\\(release\\): prepare for", skip = true }, - { message = "^chore", group = "Miscellaneous Tasks" }, - { body = ".*security", group = "Security" }, + { message = "^chore\\(deps\\)", skip = true }, + { message = "^chore\\(pr\\)", skip = true }, + { message = "^chore\\(pull\\)", skip = true }, + { message = "^chore|ci", group = "โš™๏ธ Miscellaneous Tasks" }, + { body = ".*security", group = "๐Ÿ›ก๏ธ Security" }, + { message = "^revert", group = "โ—€๏ธ Revert" }, ] # protect breaking changes from being skipped due to matching a skipping commit_parser protect_breaking_commits = false @@ -74,12 +90,10 @@ filter_commits = false # glob pattern for matching git tags tag_pattern = "v[0-9]*" # regex for skipping tags -skip_tags = "v0.1.0-beta.1" +skip_tags = "beta|alpha" # regex for ignoring tags -ignore_tags = "" +ignore_tags = "rc" # sort the tags topologically topo_order = false # sort the commits inside sections by oldest/newest order -sort_commits = "oldest" -# limit the number of commits included in the changelog. -# limit_commits = 42 +sort_commits = "newest"