Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to the "flutter-intl" extension will be documented in this f
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.8.9 - Unreleased

- Update `dart_style` dependency to support `v3.x.x`

## 2.8.8 - 2025-01-08

- Update `intl` dependency
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ String formatJsonMessage(String jsonMessage) {
/// Formats Dart file content.
String formatDartContent(String content, String fileName) {
try {
var formatter = DartFormatter();
var formatter = DartFormatter(languageVersion: DartFormatter.latestLanguageVersion);
return formatter.format(content);
} catch (e) {
info('Failed to format \'$fileName\' file.');
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
analyzer: ^6.0.0
archive: ">=3.0.0 <5.0.0"
args: ^2.0.0
dart_style: ^2.0.0
dart_style: ^3.0.0
http: ">=0.13.0 <2.0.0"
intl: ">=0.17.0 <0.21.0"
path: ^1.8.0
Expand Down