From aa6b73743c2383f606f91c5fb43397f5688dbb61 Mon Sep 17 00:00:00 2001 From: Andrew Kurakov Date: Thu, 15 Feb 2024 16:58:53 +0700 Subject: [PATCH] feat: update min dart sdk to 3.2 --- CHANGELOG.md | 3 +++ Makefile | 2 +- README.md | 2 +- README.ru.md | 2 +- analysis_options.yaml | 3 +-- example/pubspec.yaml | 2 +- lib/src/models/request/geocode_request.dart | 2 +- pubspec.yaml | 4 ++-- 8 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af0659f..a7f13cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [2.3.0] +* Update min Dart SDK to 3.2 + ## [2.2.1] * Dependency update * Fix get first on empty list error in geocode_response diff --git a/Makefile b/Makefile index 0f4652b..6a4c484 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ FVM_DART = $(FVM) dart init: - $(FVM) use 3.10.2 --force; $(FVM_DART) pub global activate pana; + $(FVM) use 3.16.9 --force; $(FVM_DART) pub global activate pana; version: $(FVM_FLUTTER) --version; $(FVM_DART) --version; diff --git a/README.md b/README.md index 6f316e3..2936ec3 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The geocoder helps to determine the coordinates of an object by its address or, Add this to your package's pubspec.yaml file: ```yaml dependencies: - yandex_geocoder: 2.2.0 + yandex_geocoder: 2.3.0 ``` ## Usage diff --git a/README.ru.md b/README.ru.md index 44eab6a..95fa02c 100644 --- a/README.ru.md +++ b/README.ru.md @@ -32,7 +32,7 @@ Для подключения добавьте в файл Pubspec зависимости: ```yaml dependencies: - yandex_geocoder: 2.2.0 + yandex_geocoder: 2.3.0 ``` ## Использование diff --git a/analysis_options.yaml b/analysis_options.yaml index f0a6459..f4fe3dd 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -65,12 +65,11 @@ linter: - file_names - hash_and_equals - implementation_imports - - iterable_contains_unrelated_type + - collection_methods_unrelated_type - join_return_with_assignment - leading_newlines_in_multiline_strings - library_names - library_prefixes - - list_remove_unrelated_type - missing_whitespace_between_adjacent_strings - no_adjacent_strings_in_list - no_duplicate_case_values diff --git a/example/pubspec.yaml b/example/pubspec.yaml index c06cf73..ef8c4e0 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -8,7 +8,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.2.0 <4.0.0" dependencies: flutter: diff --git a/lib/src/models/request/geocode_request.dart b/lib/src/models/request/geocode_request.dart index 8f9295b..0ffa1ff 100644 --- a/lib/src/models/request/geocode_request.dart +++ b/lib/src/models/request/geocode_request.dart @@ -4,7 +4,7 @@ part of 'request.dart'; /// Модель запроса на геокодирования /// {@endtemplate} abstract class GeocodeRequest with Comparer { - /// {@template geocode_request} + /// {@macro geocode_request} const GeocodeRequest({ this.apiKey, this.kind, diff --git a/pubspec.yaml b/pubspec.yaml index 6bd6d96..5f83949 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,12 +1,12 @@ name: yandex_geocoder description: API to translate geographic coordinates into an address and vice versa -version: 2.2.1 +version: 2.3.0 repository: https://github.com/MadBrains/Yandex-Geocoder-Flutter issue_tracker: https://github.com/MadBrains/Yandex-Geocoder-Flutter/issues homepage: https://madbrains.ru/ environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.2.0 <4.0.0" dependencies: collection: ^1.18.0