Skip to content

Latest commit

 

History

History
67 lines (38 loc) · 3.25 KB

CHANGELOG.md

File metadata and controls

67 lines (38 loc) · 3.25 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Early Semantic Versioning in addition to Semantic Versioning.

Added

  • #22 - an FS2 linting module was added and the SyncCompiler rule originally written for FS2 was ported into this repo.

  • #30 - an http4s linting module was added and the LiteralsSyntax rule originally written for http4s was ported into this repo.

  • #41 - a TypelevelAs rule to detect opportunities to rewrite .map(_ => x) sequences to .as(x) or .void was added.

Changed

  • #21 - a build plugin for the Scalafix rule project structure was extracted, simplifying the sbt build.

  • #26 - scalafmt was upgraded from version 3.4.3 -> 3.5.8

  • #27 - cats was upgraded from version 2.7.0 -> 2.8.0

  • #39 - sbt was upgraded from version 1.6.2 -> 1.7.1

  • Several patch version dependency updates were applied - see the diff for more details.

Fixed

  • #34 - an issue with the UnusedIO lint where an exception was thrown when traversing throw statements.

0.1.4 - 2022-06-15

Fixed

  • #19 - an issue which occurred when traversing empty statement blocks.

0.1.3 - 2022-06-14

Added

  • #17 - implemented a TypelevelUnusedShowInterpolator rule that detects usages of the show interpolator that do not interpolate any variables.

0.1.2 - 2022-06-09

Added

  • Introduce a typelevel-scalafix aggregate module that depends on all rule modules.

0.1.1 - 2022-06-08

Fixed

  • #14 - a bug where usage of the IO.apply method was not recognised when discarded, since it represented a special case in the Scalameta AST.

0.1.0 - 2022-06-07

The initial release of this project, containing linting rules to detect .map(f).sequence function call chains, and to detect discarded IO expressions.