From 249fb2a4a6402ae61b83b7f05b93f6ce25338a1e Mon Sep 17 00:00:00 2001 From: Tien Do Nam Date: Tue, 20 Sep 2022 22:26:23 +0200 Subject: [PATCH] release: 3.0.0 --- slang/CHANGELOG.md | 4 ++-- slang/pubspec.yaml | 2 +- slang_build_runner/pubspec.yaml | 4 ++-- slang_flutter/pubspec.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/slang/CHANGELOG.md b/slang/CHANGELOG.md index 5f6c6f71..9b5e21ac 100644 --- a/slang/CHANGELOG.md +++ b/slang/CHANGELOG.md @@ -3,10 +3,10 @@ **Translation Overrides and Enhanced Modifiers** - feat: it is now possible to override translations via `LocaleSettings.overrideTranslations` (checkout updated README) -- **Breaking:** default plural parameter is now `n`; you can revert this by setting `pluralization`/`default_parameter: count` -- **Breaking:** plural and context parameter flags must follow the syntax: `myKey(param=appleCount)` - feat: there is a new modifier syntax which allows for multiple modifiers e.g. `myKey(plural, rich)` - feat: improve file scan (now only checks top-level directory for any config files) +- **Breaking:** default plural parameter is now `n`; you can revert this by setting `pluralization`/`default_parameter: count` +- **Breaking:** custom plural/context parameter must follow syntax `apples(param=appleCount)` All breaking changes will result in a compile-time error, so don't worry for "hidden" bugs :) diff --git a/slang/pubspec.yaml b/slang/pubspec.yaml index 23221f1a..25424c06 100644 --- a/slang/pubspec.yaml +++ b/slang/pubspec.yaml @@ -1,6 +1,6 @@ name: slang description: Localization / Internationalization (i18n) solution. Use JSON, YAML or CSV files to create typesafe translations via source generation. -version: 3.0.0-dev.0 +version: 3.0.0 repository: https://github.com/Tienisto/slang environment: diff --git a/slang_build_runner/pubspec.yaml b/slang_build_runner/pubspec.yaml index b092a5a7..c031fde3 100644 --- a/slang_build_runner/pubspec.yaml +++ b/slang_build_runner/pubspec.yaml @@ -1,6 +1,6 @@ name: slang_build_runner description: build_runner integration for slang. This library ensures that slang is recognized by build_runner. -version: 3.0.0-dev.0 +version: 3.0.0 repository: https://github.com/Tienisto/slang environment: @@ -11,4 +11,4 @@ dependencies: glob: ^2.0.2 # Use tight version to ensure that all features are available - slang: '>=3.0.0-dev.0 <3.1.0' + slang: '>=3.0.0 <3.1.0' diff --git a/slang_flutter/pubspec.yaml b/slang_flutter/pubspec.yaml index c82a246e..615f45a6 100644 --- a/slang_flutter/pubspec.yaml +++ b/slang_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: slang_flutter description: Flutter support for slang. This library provides helpful Flutter API. -version: 3.0.0-dev.0 +version: 3.0.0 repository: https://github.com/Tienisto/slang environment: @@ -11,4 +11,4 @@ dependencies: sdk: flutter # Use tight version to ensure that all features are available - slang: '>=3.0.0-dev.0 <3.1.0' + slang: '>=3.0.0 <3.1.0'