diff --git a/prometheus_client/CHANGELOG.md b/prometheus_client/CHANGELOG.md index a68c436..f9bae1d 100644 --- a/prometheus_client/CHANGELOG.md +++ b/prometheus_client/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.1 + +- Migrate from `pedantic` to `lints` + ## 0.5.0 - Migrate to null-safety. diff --git a/prometheus_client/analysis_options.yaml b/prometheus_client/analysis_options.yaml index d520978..572dd23 100644 --- a/prometheus_client/analysis_options.yaml +++ b/prometheus_client/analysis_options.yaml @@ -1,4 +1 @@ -# Defines a default set of lint rules enforced for -# projects at Google. For details and rationale, -# see https://github.com/dart-lang/pedantic#enabled-lints. -include: package:pedantic/analysis_options.yaml +include: package:lints/recommended.yaml diff --git a/prometheus_client/lib/format.dart b/prometheus_client/lib/format.dart index a7b61fa..6993b2f 100644 --- a/prometheus_client/lib/format.dart +++ b/prometheus_client/lib/format.dart @@ -33,7 +33,7 @@ void write004( sink.write(sample.labelNames[i]); sink.write('="'); _writeEscapedLabelValue(sink, sample.labelValues[i]); - sink.write('\",'); + sink.write('",'); } sink.write('}'); } diff --git a/prometheus_client/pubspec.yaml b/prometheus_client/pubspec.yaml index 33fde4a..3153c86 100644 --- a/prometheus_client/pubspec.yaml +++ b/prometheus_client/pubspec.yaml @@ -1,6 +1,6 @@ name: prometheus_client description: Dart implementation of the Prometheus client library providing metrics. -version: 0.5.0 +version: 0.5.1 homepage: https://github.com/tentaclelabs/prometheus_client environment: @@ -10,5 +10,5 @@ dependencies: collection: ^1.15.0 dev_dependencies: - pedantic: ^1.10.0 + lints: ^1.0.1 test: ^1.16.0 diff --git a/prometheus_client_shelf/CHANGELOG.md b/prometheus_client_shelf/CHANGELOG.md index 7c1324b..4fbaee8 100644 --- a/prometheus_client_shelf/CHANGELOG.md +++ b/prometheus_client_shelf/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.1 + +- Migrate from `pedantic` to `lints` + ## 0.5.0 - Integrate the latest `prometheus_client` version. diff --git a/prometheus_client_shelf/analysis_options.yaml b/prometheus_client_shelf/analysis_options.yaml index d520978..572dd23 100644 --- a/prometheus_client_shelf/analysis_options.yaml +++ b/prometheus_client_shelf/analysis_options.yaml @@ -1,4 +1 @@ -# Defines a default set of lint rules enforced for -# projects at Google. For details and rationale, -# see https://github.com/dart-lang/pedantic#enabled-lints. -include: package:pedantic/analysis_options.yaml +include: package:lints/recommended.yaml diff --git a/prometheus_client_shelf/pubspec.yaml b/prometheus_client_shelf/pubspec.yaml index 86cc867..304a8ea 100644 --- a/prometheus_client_shelf/pubspec.yaml +++ b/prometheus_client_shelf/pubspec.yaml @@ -1,6 +1,6 @@ name: prometheus_client_shelf description: Dart implementation of the Prometheus client library providing a shelf integration. -version: 0.5.0 +version: 0.5.1 homepage: https://github.com/tentaclelabs/prometheus_client environment: @@ -12,7 +12,7 @@ dependencies: collection: ^1.15.0 dev_dependencies: - pedantic: ^1.10.0 + lints: ^1.0.1 test: ^1.16.0 # Dependency is required for the example shelf_router: ^1.0.0