Skip to content

Commit

Permalink
release: 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Sep 20, 2022
1 parent 09140fe commit 249fb2a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions slang/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 :)

Expand Down
2 changes: 1 addition & 1 deletion slang/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions slang_build_runner/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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'
4 changes: 2 additions & 2 deletions slang_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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'

0 comments on commit 249fb2a

Please sign in to comment.