Skip to content

Commit b95fd07

Browse files
authored
[ Tool ] Downgrade and pin DDS to 5.0.3 (#172120)
The sole change in 5.0.4 can cause memory leaks in the VM. Pinning to 5.0.3 for the release cut. See Dart-Code/Dart-Code#4678 for details.
1 parent d18e28d commit b95fd07

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

packages/flutter_tools/lib/src/update_packages_pins.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ const kManuallyPinnedDependencies = <String, String>{
2323
'archive': '3.6.1', // https://github.com/flutter/flutter/issues/115660
2424
'code_assets':
2525
'0.19.4', // Under active development with breaking changes until 1.0.0. Manually rolled by @dcharkes.
26+
'dds':
27+
'5.0.3', // 5.0.4 contains bugs described in https://github.com/Dart-Code/Dart-Code/issues/4678.
2628
'flutter_gallery_assets': '1.0.2', // Tests depend on the exact version.
2729
'flutter_template_images': '5.0.0', // Must always exactly match flutter_tools template.
2830
'google_mobile_ads': '5.1.0', // https://github.com/flutter/flutter/issues/156912

packages/flutter_tools/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
# https://github.com/flutter/flutter/blob/main/docs/infra/Updating-dependencies-in-Flutter.md
1313
archive: 3.6.1
1414
args: 2.7.0
15-
dds: 5.0.4
15+
dds: 5.0.3
1616
dwds: 24.4.0
1717
code_builder: 4.10.1
1818
collection: 1.19.1
@@ -126,4 +126,4 @@ dev_dependencies:
126126
dartdoc:
127127
# Exclude this package from the hosted API docs.
128128
nodoc: true
129-
# PUBSPEC CHECKSUM: kr614i
129+
# PUBSPEC CHECKSUM: 2b0aoj

0 commit comments

Comments
 (0)