NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1142 most downloaded on pub.dev
build_runner integration for slang. This library ensures that slang is recognized by build_runner.
Last release 2 months ago
06 Aug 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 55 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
71 releases · first in 2022
One column per quarter.
Nothing published for this version
feat: add AppLocaleUtils.parseLocaleParts
AppLocaleUtils.parseLocalePartsLocaleSettings.useDeviceLocale now does not complain of weird locales on Linuxfeat: ignore empty plural / context nodes when fallback_strategy: base_locale is used
fallback_strategy: base_locale is usedcoverage:ignore-file to generated file and ignore every lintfeat: render context enum values as is, instead of forcing to camel case
feat: add extension method shorthand (e.g. context.tr.someKey.anotherKey )
context.tr.someKey.anotherKey)LocaleSettings.getLocaleStream to keep track of every locale changeTextSpan instead of InlineSpan for rich textsfeat: allow external enums for context feature (add generate_enum and imports config)
generate_enum and imports config)default_parameter)feat: use tight version for slang_flutter and slang_build_runner
slang_flutter and slang_build_runnerTranslationProvider should use current localeNew Feature:
supportedLocales property that can be used to fill MaterialApp's supportedLocales argument.feat: locale can be moved from file name to directory name (e.g. i18n/fr/page1_fr.i18n.json to i18n/fr/page1.i18n.json )
i18n/fr/page1_fr.i18n.json to i18n/fr/page1.i18n.json)New config: output_translate_var, renames default t variable
Internal: device locale now fetched via Platform.localeName
feat: add slang.yaml support which has less boilerplate than build.yaml
slang.yaml support which has less boilerplate than build.yamlbuild.yaml to correct packageA rebuild is needed: flutter pub run build_runner build.
Future<void> -> String)void -> String)Just in case you use internal API:
FastI18n.findDeviceLocale has been renamed to FastI18n.getDeviceLocale
Breaking: remove output_file_pattern (was deprecated)
Transition to a federated package structure
slangslang_build_runner, slang_flutter depending on your use caseoutput_file_pattern (was deprecated)flutter_integration: false)Thanks to @fzyzcjy.
You can read the detailed migration guide here.
Thanks to @DenchikBY.
#map mode (deprecated in 1.5.0)Example of new config in build.yaml:
targets:
$default:
builders:
fast_i18n:i18nBuilder:
options:
base_locale: en
input_directory: lib/i18n
input_file_pattern: .i18n.json
output_directory: lib/i18n
output_file_pattern: .g.dart
key_case: snake
maps:
- a
- b
- c.d
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →