From 26190a6e756cb09fbd41e13db81e6becd42c99d1 Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Tue, 23 Aug 2022 17:11:10 +0200 Subject: [PATCH] 2.9.0 --- CHANGELOG.md | 4 +++- README.md | 4 ++-- elm.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62ccfe1f..c82f3b91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## [2.9.0] - 2022-08-23 - Adds [`Review.Rule.withModuleDocumentationVisitor`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/Review-Rule#withModuleDocumentationVisitor) ([#132](https://github.com/jfmengels/elm-review/pull/132)) - Adds [`Review.Rule.withModuleDocumentation`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/Review-Rule#withModuleDocumentation) ([#133](https://github.com/jfmengels/elm-review/pull/133)) @@ -8,6 +8,7 @@ - Adds [`Review.ModuleNameLookupTable.createForTests`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/Review-ModuleNameLookupTable#createForTests) ([d1c4102ec9113cd8e7fef1824554925e89d0b0f1]) - Adds [`Review.Rule.withDirectDependenciesModuleVisitor`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/Review-Rule#withDirectDependenciesModuleVisitor) and [`Review.Rule.withDirectDependenciesModuleVisitor`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/Review-Rule#withDirectDependenciesModuleVisitor) ([#136](https://github.com/jfmengels/elm-review/pull/136)) - Adds [`Review.Project.directDependencies`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/Review-Project#directDependencies) ([#136](https://github.com/jfmengels/elm-review/pull/136)) +- Fixes a bug in the `ModuleNameLookupTable` where the module name would not be resolved due to the presence of indirect dependencies ([#135](https://github.com/jfmengels/elm-review/pull/135)) ## [2.8.1] - 2022-07-17 @@ -50,6 +51,7 @@ Help would be appreciated to fill the blanks! [`NoDeprecated`]: (https://package.elm-lang.org/packages/jfmengels/elm-review-common/latest/NoDeprecated) +[2.9.0]: https://github.com/jfmengels/elm-review/releases/tag/2.9.0 [2.8.1]: https://github.com/jfmengels/elm-review/releases/tag/2.8.1 [2.8.0]: https://github.com/jfmengels/elm-review/releases/tag/2.8.0 [2.7.2]: https://github.com/jfmengels/elm-review/releases/tag/2.7.2 diff --git a/README.md b/README.md index 4327c744..bbd1544e 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ Before you start adding rules or an unfamiliar existing configuration, I suggest ## Write your own rule You can write your own rule using this package's API and [`elm-syntax`](https://package.elm-lang.org/packages/stil4m/elm-syntax/7.2.1/). -Check out the [`Review.Rule`](https://package.elm-lang.org/packages/jfmengels/elm-review/2.8.1/Review-Rule/) documentation for how to get started. +Check out the [`Review.Rule`](https://package.elm-lang.org/packages/jfmengels/elm-review/2.9.0/Review-Rule/) documentation for how to get started. **NOTE**: If you want to **create a package** containing `elm-review` rules, I highly recommend using the [CLI's](https://github.com/jfmengels/node-elm-review/) `elm-review new-package` subcommand. This will create a new package that will help you use the best practices and give you helpful tools like easy auto-publishing. More information is available in the maintenance file generated along with it. @@ -236,7 +236,7 @@ It does provide 2 systems that I think are better alternatives for the health of ### Configuring exceptions -You can [configure exceptions](https://package.elm-lang.org/packages/jfmengels/elm-review/2.8.1/Review-Rule/#configuring-exceptions), +You can [configure exceptions](https://package.elm-lang.org/packages/jfmengels/elm-review/2.9.0/Review-Rule/#configuring-exceptions), which consists of marking specific directories or files as not relevant to a rule or set of rules, preventing errors to be reported for those. It is a good fit if you wish for `elm-review` to not report errors in vendored or generated code, diff --git a/elm.json b/elm.json index d56e93d9..c917b2fc 100644 --- a/elm.json +++ b/elm.json @@ -3,7 +3,7 @@ "name": "jfmengels/elm-review", "summary": "Analyzes Elm projects, to help find mistakes before your users find them.", "license": "BSD-3-Clause", - "version": "2.8.1", + "version": "2.9.0", "exposed-modules": [ "Review.Rule", "Review.ModuleNameLookupTable",