diff --git a/packages/world_countries/CHANGELOG.md b/packages/world_countries/CHANGELOG.md index 6dc01aaf..5331c0ea 100644 --- a/packages/world_countries/CHANGELOG.md +++ b/packages/world_countries/CHANGELOG.md @@ -1,3 +1,15 @@ +## 2.0.2 + +NEW FEATURES + +- Added new method for the [FunctionalPlatform](https://pub.dev/documentation/world_countries/latest/helpers/FunctionalPlatform-class.html) - `maybeWhen` (in addition to hash-map like method `maybeWhenConst` that works with mostly immutable object returns (instead of closures in the new method)). +- Improved `showInSearch` method pop handling. +- A `searchSuggestions` method might be affected by the SDK [bug](https://github.com/flutter/flutter/issues/155180) fixed in [v3.27.0](https://github.com/flutter/flutter/pull/155219). As a temporary workaround, you can create your own instance of `SearchController` and dispose of it manually. +- Updated postal code pattern a format for Paraguay. +- Updated International Olympic Committee (IOC) country code for Bahrain. +- Improvements of `toString()` method implementations in models and addressing new lints + DCM reports. +- Added "polski" to the [Polish](https://github.com/tsinis/sealed_world/issues/221) language `namesNative` array. + ## 2.0.1 NEW FEATURES diff --git a/packages/world_countries/README.md b/packages/world_countries/README.md index ac84756e..dc1f34d9 100644 --- a/packages/world_countries/README.md +++ b/packages/world_countries/README.md @@ -46,7 +46,7 @@ Or you can just create your own pickers by extending `BasicPicker`. To preview the demo from the example, you can visit [this web page](https://tsin.is/sealed_world) using the **Chrome** browser (version **119** or higher). Please allow up 10 seconds for initial fonts and data caching. -> Note: Please keep in mind that demo was build with Flutter WASM which is in very early alpha stage, so performance might be affected. +> Note: Please keep in mind that demo was built with Flutter WASM which is in very early alpha stage, so performance might be affected. ### Getting started diff --git a/packages/world_countries/example/README.md b/packages/world_countries/example/README.md index 2b49b975..7f73d786 100644 --- a/packages/world_countries/example/README.md +++ b/packages/world_countries/example/README.md @@ -6,13 +6,13 @@ This project enables the visual presentation of "Sealed World" data, which includes information about countries, currencies, and languages. Additionally, it provides examples of Flutter widgets related to "World Countries" package. -Flutter WASM: To preview this example, you can visit [this web page](https://tsin.is/sealed_world) using the **Chrome** browser (version **119** or higher). Please allow up to 15 seconds for initial fonts and data caching. +Flutter WASM: To preview this example, you can visit [this web page](https://tsin.is/sealed_world) using the **Chrome** browser (version **119** or higher). Please allow up to 10 seconds for initial fonts and data caching. -> Note: Please keep in mind that demo was build with Flutter WASM which is in very early alpha stage, so performance might be affected. +> Note: Please keep in mind that demo was built with Flutter WASM which is in very early alpha stage, so performance might be affected. ## How to run it -Flutter (version 3.10+ or higher) is assumed to be installed. After that, all you have to do is run those commands from the terminal/command line from the project's root folder: +Flutter (version 3.27+ or higher) is assumed to be installed. After that, all you have to do is run those commands from the terminal/command line from the project's root folder: ```shell flutter pub get @@ -21,7 +21,7 @@ flutter run ## Attribution -This project includes code from the [Flutter samples: Navigation and Routing](https://github.com/flutter/samples/tree/main/navigation_and_routing) project, licensed under the BSD 3-Clause License. +This project includes original code from the [Flutter samples: Navigation and Routing](https://github.com/flutter/samples/tree/main/navigation_and_routing) project (before it was migrated to the `go_router`), licensed under the BSD 3-Clause License. - Original Project: Flutter samples - Original License: BSD 3-Clause License diff --git a/packages/world_countries/example/pubspec.lock b/packages/world_countries/example/pubspec.lock index f92defff..8f1d999d 100644 --- a/packages/world_countries/example/pubspec.lock +++ b/packages/world_countries/example/pubspec.lock @@ -577,26 +577,26 @@ packages: dependency: transitive description: name: sealed_countries - sha256: e5c7436ebdc6c3fd332c3bc16831fd4e69d5ade6f3123d33791b6be29fcdb91b + sha256: cab25d9244502220f69069d569dedb39ba7983113746ba44b9ec05113c72ee81 url: "https://pub.dev" source: hosted - version: "1.5.0" + version: "1.5.1" sealed_currencies: dependency: transitive description: name: sealed_currencies - sha256: d02f259ffa25fa1b227478edd00ffb7bc78860168611be97aab4bcab984b9a69 + sha256: b8aa884a4b5c061883d818e8e58f62b9057d59530b71660e4ced4edfa6b514fc url: "https://pub.dev" source: hosted - version: "1.5.0" + version: "1.5.1" sealed_languages: dependency: transitive description: name: sealed_languages - sha256: "060ef61bf1b42cccdf18d065707ed9a75905fe7b78a6e65aec9a2e876489253e" + sha256: fbe2763bfac54ee8a52674c61588c4f1f9f260fd7db3782cbff3d154e952a918 url: "https://pub.dev" source: hosted - version: "1.5.0" + version: "1.5.1" shelf: dependency: transitive description: @@ -792,15 +792,15 @@ packages: path: ".." relative: true source: path - version: "2.0.1" + version: "2.0.2" world_flags: dependency: transitive description: name: world_flags - sha256: "63d05604145d41b046e2f3c2835d06079ae731fc71d32d2c14147693368c148e" + sha256: "11cc655e25b2fa48a52b1df5b67ddd249b84e32a1f332f6616cd612884f7d6b6" url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" xml: dependency: transitive description: diff --git a/packages/world_countries/example/pubspec.yaml b/packages/world_countries/example/pubspec.yaml index 240d7b54..259fcebc 100644 --- a/packages/world_countries/example/pubspec.yaml +++ b/packages/world_countries/example/pubspec.yaml @@ -1,7 +1,7 @@ name: example description: A world_countries example application. publish_to: none -version: 2.1.0+0 +version: 2.0.2+0 # Should run on Flutter v3.27 or higher, because of SearchController bug. environment: diff --git a/packages/world_countries/pubspec.yaml b/packages/world_countries/pubspec.yaml index a0b8bd7f..c6ee51c4 100644 --- a/packages/world_countries/pubspec.yaml +++ b/packages/world_countries/pubspec.yaml @@ -1,4 +1,4 @@ -version: 2.0.1 +version: 2.0.2 name: world_countries description: Sealed world data in form of Flutter widgets (country, phone, currency pickers, etc.). maintainer: Roman Cinis @@ -36,7 +36,7 @@ environment: dependencies: flutter: sdk: flutter - world_flags: ^1.1.0 + world_flags: ^1.1.1 dev_dependencies: _sealed_world_tests: