mirror of
https://github.com/ocharles/weeder.git
synced 2024-11-27 02:33:03 +03:00
Release 2.3.1 (#101)
This commit is contained in:
parent
1228a6e969
commit
1d7f6f0298
25
CHANGELOG.md
25
CHANGELOG.md
@ -1,5 +1,29 @@
|
|||||||
## Changelog for Weeder
|
## Changelog for Weeder
|
||||||
|
|
||||||
|
### [`2.3.1`][v2.3.1] - *2022-05-21*
|
||||||
|
|
||||||
|
This is the last release of `weeder` compatible with GHC 9.0.
|
||||||
|
|
||||||
|
- Weeder now analyzes top-level pattern bindings. For example, with the following input:
|
||||||
|
|
||||||
|
```haskell
|
||||||
|
module Dep (a, b) where
|
||||||
|
|
||||||
|
xxx :: Int
|
||||||
|
xxx = 3
|
||||||
|
|
||||||
|
a, b :: Int
|
||||||
|
(a, b) = (xxx, 1)
|
||||||
|
```
|
||||||
|
|
||||||
|
... `weeder` will determine that both `a` and `b` depend on `xxx`. While this is an over-approximation, it prevents weeder from reporting false positives. For more information, see [#92](https://github.com/ocharles/weeder/issues/92).
|
||||||
|
|
||||||
|
- Corrected a typo in `--help` ([#96](https://github.com/ocharles/weeder/pull/96)).
|
||||||
|
- Shorten the help text for `--require-hs-files` ([#97](https://github.com/ocharles/weeder/pull/97)).
|
||||||
|
- Allow `algebraic-graphs-0.6` ([#95](https://github.com/ocharles/weeder/pull/95)).
|
||||||
|
- Allow Dhall 1.41 ([#99](https://github.com/ocharles/weeder/pull/99)).
|
||||||
|
- Allow `optparse-applicative-0.17` ([#100](https://github.com/ocharles/weeder/pull/100)).
|
||||||
|
|
||||||
### [`2.3.0`][v2.3.0] - *2021-10-11*
|
### [`2.3.0`][v2.3.0] - *2021-10-11*
|
||||||
|
|
||||||
- Switch to GHC 9
|
- Switch to GHC 9
|
||||||
@ -201,6 +225,7 @@ maintained by Ollie Charles (@ocharles on GitHub).
|
|||||||
- Initial version
|
- Initial version
|
||||||
|
|
||||||
|
|
||||||
|
[v2.3.1]: https://github.com/ocharles/weeder/releases/tag/2.3.1
|
||||||
[v2.3.0 ]: https://github.com/ocharles/weeder/releases/tag/2.3.0
|
[v2.3.0 ]: https://github.com/ocharles/weeder/releases/tag/2.3.0
|
||||||
[v2.2.0 ]: https://github.com/ocharles/weeder/releases/tag/2.2.0
|
[v2.2.0 ]: https://github.com/ocharles/weeder/releases/tag/2.2.0
|
||||||
[v2.1.3 ]: https://github.com/ocharles/weeder/releases/tag/2.1.3
|
[v2.1.3 ]: https://github.com/ocharles/weeder/releases/tag/2.1.3
|
||||||
|
@ -5,7 +5,7 @@ name: weeder
|
|||||||
author: Ollie Charles <ollie@ocharles.org.uk>
|
author: Ollie Charles <ollie@ocharles.org.uk>
|
||||||
maintainer: Ollie Charles <ollie@ocharles.org.uk>
|
maintainer: Ollie Charles <ollie@ocharles.org.uk>
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
version: 2.3.0
|
version: 2.3.1
|
||||||
copyright: Neil Mitchell 2017-2020, Oliver Charles 2020
|
copyright: Neil Mitchell 2017-2020, Oliver Charles 2020
|
||||||
synopsis: Detect dead code
|
synopsis: Detect dead code
|
||||||
description: Find declarations.
|
description: Find declarations.
|
||||||
|
Loading…
Reference in New Issue
Block a user