Releases: ocharles/weeder
Releases · ocharles/weeder
2.10.0
2.9.0
Changed
- Sort weeds by line number and then by column. (#155)
- Show unit names in output. (#156)
- Significantly improve weeders performance when using
type-class-roots = false. (#172) - Use
Globto find.hiefiles. This can avoid an infinite loop with recursive symlinks. (#165) - Build with
lens-5.3. (#173)
Fixed
- Weeder now correctly reports TOML parse errors. (#161)
2.8.0
2.7.0
Added
- Weeder now supports type class instances. Type class instances can be marked as roots with the
root-instancesconfiguration option. (#126, #133, #136) - Weeder now optionally detects uses of types, excluding type family instances. This can be enabled with the
unused-typesconfiguration 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 Xor-N. (#137) --write-default-configflag to write and read a default configuration, if no configuration file is found. (#133)
Changed
2.6.0
Added
- Weeder now supports GHC 9.6.
Changed
- Weeder now uses TOML as a configuration format. Please see Weeder's
READMEfor more information on the configuration format. - Weeder now sorts weeds in a single file by ascending line number
Fixed
- Weeder now internally adds declarations once. This shouldn't result in any user visible changes, but may improve performance.
2.5.0
2.4.1
2.4.0
2.3.1
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:
module Dep (a, b) where xxx :: Int xxx = 3 a, b :: Int (a, b) = (xxx, 1)
...
weederwill determine that bothaandbdepend onxxx. While this is an over-approximation, it prevents weeder from reporting false positives. For more information, see #92. -
Corrected a typo in
--help(#96). -
Shorten the help text for
--require-hs-files(#97). -
Allow
algebraic-graphs-0.6(#95). -
Allow Dhall 1.41 (#99).
-
Allow
optparse-applicative-0.17(#100).