Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.7.0 #140

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changes/2.7.0.md
Original file line number Diff line number Diff line change
@@ -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)
4 changes: 0 additions & 4 deletions .changes/unreleased/Added-20230809-210333.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .changes/unreleased/Added-20230809-210449.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .changes/unreleased/Added-20230809-213152.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .changes/unreleased/Added-20230809-213311.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .changes/unreleased/Changed-20230809-211755.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .changes/unreleased/Changed-20230809-213454.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion weeder.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: weeder
author: Ollie Charles <[email protected]>
maintainer: Ollie Charles <[email protected]>
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.
Expand Down