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

Commit 63c6891

Browse files
committed
build: update version
1 parent 8b714dc commit 63c6891

File tree

10 files changed

+22
-11
lines changed

10 files changed

+22
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Changelog
22

3-
## Unreleased
3+
## 4.10.0
44

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

1315
## 4.10.0-dev.2
1416

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ To set this up:
8989
```yaml
9090
name: dart_code_metrics_plugin_loader
9191
description: This pubspec determines the version of the analyzer plugin to load.
92-
version: 4.10.0-dev.2
92+
version: 4.10.0
9393
9494
environment:
9595
sdk: ">=2.14.0 <3.0.0"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ add it manually to `pubspec.yaml`
5959

6060
```yaml
6161
dev_dependencies:
62-
dart_code_metrics: ^4.10.0-dev.2
62+
dart_code_metrics: ^4.10.0
6363
```
6464
6565
and then run

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const packageVersion = '4.10.0-dev.2';
1+
const packageVersion = '4.10.0';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dart_code_metrics
2-
version: 4.10.0-dev.2
2+
version: 4.10.0
33
description: Software analytics tool that helps developers analyse and improve software quality.
44
homepage: https://dartcodemetrics.dev
55
repository: https://github.com/dart-code-checker/dart-code-metrics

tools/analyzer_plugin/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: dart_code_metrics_plugin_loader
22
description: This pubspec determines the version of the analyzer plugin to load.
3-
version: 4.10.0-dev.2
3+
version: 4.10.0
44

55
environment:
66
sdk: ">=2.14.0 <3.0.0"
77

88
dependencies:
9-
dart_code_metrics: ^4.10.0-dev.2
9+
dart_code_metrics: ^4.10.0
1010

1111
dev_dependencies:
1212
lints: ^1.0.1

website/docs/cli/analyze.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ Usage: metrics analyze [arguments...] <directories>
4343
(defaults to "{/**.g.dart,/**.template.dart}")
4444
4545
46+
--no-congratulate Don't show output even when there are no issues.
47+
48+
4649
--set-exit-on-violation-level=<warning> Set exit code 2 if code violations
4750
have the same or higher level
4851
[none, warning, alarm]

website/docs/cli/check-unused-files.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Usage: metrics check-unused-files [arguments...] <directories>
2929
(defaults to "{/**.g.dart,/**.template.dart}")
3030
3131
32+
--no-congratulate Don't show output even when there are no issues.
33+
34+
3235
--[no-]fatal-unused Treat find unused file as fatal.
3336
3437
-d, --[no-]delete-files Delete all unused files.

website/docs/cli/check-unused-l10n.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ Usage: metrics check-unused-l10n [arguments] <directories>
5454
(defaults to "{/**.g.dart,/**.template.dart}")
5555
5656
57+
--no-congratulate Don't show output even when there are no issues.
58+
59+
5760
--[no-]fatal-unused Treat find unused l10n as fatal.
5861
```
5962

website/docs/getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ environment:
2323
sdk: '>=2.12.0 <3.0.0'
2424

2525
dev_dependencies:
26-
dart_code_metrics: ^4.10.0-dev.2
26+
dart_code_metrics: ^4.10.0
2727
```
2828
2929
and then run

0 commit comments

Comments
 (0)