Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
build: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrutskikh committed Jan 31, 2022
1 parent 8b714dc commit 63c6891
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 11 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Changelog

## Unreleased
## 4.10.0

* feat: add `check-unused-code` command with monorepos support.
* feat: support excludes for a separate anti-pattern.
* feat: improve `check-unused-l10n` command, ignore private members and cover supertype member calls.
* feat: add new command flag `--no-congratulate`.
* feat: add `--version` flag to print current version of the package.
* feat: improve `check-unused-files` and `check-unused-code` commands, add support for flutter internal entry functions.
* fix: make `check-unused-l10n` also cover supertype member calls.
* feat: support Flutter internal entry functions for `check-unused-files` and `check-unused-code`.
* fix: cyclomatic complexity calculation for functions with internal lambdas.
* fix: ignore private variables in `avoid-global-state` rule.
* chore: restrict `analyzer` version to `>=2.4.0 <3.3.0`.
* feat: support monorepos for `check-unused-code` command.

## 4.10.0-dev.2

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ To set this up:
```yaml
name: dart_code_metrics_plugin_loader
description: This pubspec determines the version of the analyzer plugin to load.
version: 4.10.0-dev.2
version: 4.10.0
environment:
sdk: ">=2.14.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ add it manually to `pubspec.yaml`

```yaml
dev_dependencies:
dart_code_metrics: ^4.10.0-dev.2
dart_code_metrics: ^4.10.0
```
and then run
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const packageVersion = '4.10.0-dev.2';
const packageVersion = '4.10.0';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dart_code_metrics
version: 4.10.0-dev.2
version: 4.10.0
description: Software analytics tool that helps developers analyse and improve software quality.
homepage: https://dartcodemetrics.dev
repository: https://github.com/dart-code-checker/dart-code-metrics
Expand Down
4 changes: 2 additions & 2 deletions tools/analyzer_plugin/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: dart_code_metrics_plugin_loader
description: This pubspec determines the version of the analyzer plugin to load.
version: 4.10.0-dev.2
version: 4.10.0

environment:
sdk: ">=2.14.0 <3.0.0"

dependencies:
dart_code_metrics: ^4.10.0-dev.2
dart_code_metrics: ^4.10.0

dev_dependencies:
lints: ^1.0.1
3 changes: 3 additions & 0 deletions website/docs/cli/analyze.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ Usage: metrics analyze [arguments...] <directories>
(defaults to "{/**.g.dart,/**.template.dart}")
--no-congratulate Don't show output even when there are no issues.
--set-exit-on-violation-level=<warning> Set exit code 2 if code violations
have the same or higher level
[none, warning, alarm]
Expand Down
3 changes: 3 additions & 0 deletions website/docs/cli/check-unused-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Usage: metrics check-unused-files [arguments...] <directories>
(defaults to "{/**.g.dart,/**.template.dart}")
--no-congratulate Don't show output even when there are no issues.
--[no-]fatal-unused Treat find unused file as fatal.
-d, --[no-]delete-files Delete all unused files.
Expand Down
3 changes: 3 additions & 0 deletions website/docs/cli/check-unused-l10n.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ Usage: metrics check-unused-l10n [arguments] <directories>
(defaults to "{/**.g.dart,/**.template.dart}")
--no-congratulate Don't show output even when there are no issues.
--[no-]fatal-unused Treat find unused l10n as fatal.
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ environment:
sdk: '>=2.12.0 <3.0.0'

dev_dependencies:
dart_code_metrics: ^4.10.0-dev.2
dart_code_metrics: ^4.10.0
```
and then run
Expand Down

0 comments on commit 63c6891

Please sign in to comment.