diff --git a/.changes/2.7.0.md b/.changes/2.7.0.md new file mode 100644 index 0000000..aa82f3e --- /dev/null +++ b/.changes/2.7.0.md @@ -0,0 +1,9 @@ +## 2.7.0 - 2023-08-17 +### Added +* Weeder now supports type class instances. Type class instances can be marked as roots with the `root-instances` configuration option. (#126, #133, #136) +* Weeder now optionally detects uses of types, excluding type family instances. This can be enabled with the `unused-types` configuration option. (#132) +* Weeder's analysis now runs in parallel. This can almost halve execution time when given enough cores. Enabled by calling Weeder with `-j X` or `-N`. (#137) +* `--write-default-config` flag to write and read a default configuration, if no configuration file is found. (#133) +### Changed +* All configuration options now have default values. This can be disabled with the `--no-default-fields` flag. (#133) +* Weeder will now use distinct exit codes for certain failures. See `README.md` for more details. (#134) diff --git a/.changes/unreleased/Added-20230809-210333.yaml b/.changes/unreleased/Added-20230809-210333.yaml deleted file mode 100644 index f132ffb..0000000 --- a/.changes/unreleased/Added-20230809-210333.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Added -body: Default values for all configuration options. This can be disabled with the - `--no-default-fields` flag. (#133) -time: 2023-08-09T21:03:33.94346998+01:00 diff --git a/.changes/unreleased/Added-20230809-210449.yaml b/.changes/unreleased/Added-20230809-210449.yaml deleted file mode 100644 index d4cebce..0000000 --- a/.changes/unreleased/Added-20230809-210449.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Added -body: '`--write-default-config` flag to write and read Weeder's default configuration, - if no configuration file is found. (#133)' -time: 2023-08-09T21:04:49.879975564+01:00 diff --git a/.changes/unreleased/Added-20230809-213152.yaml b/.changes/unreleased/Added-20230809-213152.yaml deleted file mode 100644 index 83dbf6b..0000000 --- a/.changes/unreleased/Added-20230809-213152.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Added -body: Weeder now optionally detects uses of types, excluding type family instances. - This can be enabled with the `unused-types` configuration option. (#132) -time: 2023-08-09T21:31:52.932296947+01:00 diff --git a/.changes/unreleased/Added-20230809-213311.yaml b/.changes/unreleased/Added-20230809-213311.yaml deleted file mode 100644 index d1eb3a0..0000000 --- a/.changes/unreleased/Added-20230809-213311.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Added -body: 'Weeder now supports type class instances. Type class instances can be marked - as roots with the `root-instances` configuration option. (#126, #133, #136)' -time: 2023-08-09T21:33:11.701883962+01:00 diff --git a/.changes/unreleased/Changed-20230809-211755.yaml b/.changes/unreleased/Changed-20230809-211755.yaml deleted file mode 100644 index ac0d66b..0000000 --- a/.changes/unreleased/Changed-20230809-211755.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Changed -body: Weeder's analysis now runs in parallel. This can almost halve execution time - when given enough cores. Enabled by calling Weeder with `-j X` or `-N`. (#137) -time: 2023-08-09T21:17:55.466230076+01:00 diff --git a/.changes/unreleased/Changed-20230809-213454.yaml b/.changes/unreleased/Changed-20230809-213454.yaml deleted file mode 100644 index 5a64e36..0000000 --- a/.changes/unreleased/Changed-20230809-213454.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Changed -body: Weeder will now use distinct exit codes for certain failures. See `README.md` - for more details. (#134) -time: 2023-08-09T21:34:54.138024763+01:00 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d4ed31..3e81c20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and is generated by [Changie](https://github.com/miniscruff/changie). +## 2.7.0 - 2023-08-17 +### Added +* Weeder now supports type class instances. Type class instances can be marked as roots with the `root-instances` configuration option. (#126, #133, #136) +* Weeder now optionally detects uses of types, excluding type family instances. This can be enabled with the `unused-types` configuration option. (#132) +* Weeder's analysis now runs in parallel. This can almost halve execution time when given enough cores. Enabled by calling Weeder with `-j X` or `-N`. (#137) +* `--write-default-config` flag to write and read a default configuration, if no configuration file is found. (#133) +### Changed +* All configuration options now have default values. This can be disabled with the `--no-default-fields` flag. (#133) +* Weeder will now use distinct exit codes for certain failures. See `README.md` for more details. (#134) + ## 2.6.0 - 2023-07-07 ### Added * Weeder now supports GHC 9.6. diff --git a/weeder.cabal b/weeder.cabal index ca35f80..d9dc992 100644 --- a/weeder.cabal +++ b/weeder.cabal @@ -5,7 +5,7 @@ name: weeder author: Ollie Charles maintainer: Ollie Charles build-type: Simple -version: 2.6.0 +version: 2.7.0 copyright: Neil Mitchell 2017-2020, Oliver Charles 2020-2023 synopsis: Detect dead code description: Find declarations.