Skip to content

Commit 4765bd9

Browse files
authored
[ci] Update repo for 3.50 stable release (#13628)
Does the steps for [Updating-Packages-repo-for-a-stable-release.md](https://github.com/flutter/flutter/blob/main/docs/ecosystem/release/Updating-Packages-repo-for-a-stable-release.md) for the 3.50 stable release: - Adds 3.47.9 (Dart 3.13.7) and 3.50.0 (Dart 3.14.0) to the repo tool's Flutter-to-Dart version mapping. - Moves the legacy analysis tasks to N-1 = 3.47.9 and N-2 = 3.44.9. - Raises the repo's minimum Flutter version to 3.44.0, and updates every package below it with `update-min-sdk --flutter-min=3.44.0`. - Adds `NEXT` CHANGELOG entries with `update-release-info --version=next` (no version bumps, per repo policy), but only to packages whose own minimum SDK changed; packages where only an example or another unpublished pubspec changed get no entry. Packages that haven't released since the 3.47 update already had a 3.41 SDK-bump line in `NEXT`; that line is removed so each section has only one. `webview_flutter_android`'s `NEXT` section had only a stale 3.41 line (it has required 3.44 since 4.12.1), so that section is removed. - Updates the release action to Flutter 3.50.0. Additional adjustments needed for CI with the updated versions: - Applies `dart fix --code=prefer_initializing_formals` across packages whose language version moved to Dart 3.12, adopting private named parameters (`this._foo`; call-site argument names and doc comment references are unchanged). - Temporarily disables `prefer_initializing_formals` via a local `analysis_options.yaml` in `packages/pigeon/platform_tests/shared_test_plugin_code` (opted in via `packages/pigeon/ci_config.yaml`), since its Pigeon-generated files under `lib/src/generated/` trigger the lint at language version 3.12+ and cannot be edited by hand. - Adds temporary `// ignore` / `// ignore_for_file: uri_does_not_exist_in_doc_import` comments (tracked in flutter/flutter#196406) to 20 files in `cupertino_ui`: with N-1 now at 3.47.9, `cupertino_ui` runs in legacy analysis for the first time, where `remove-dev-dependencies` strips `material_ui` and leaves its `@docImport`s unresolved. Uses `override: no changelog needed` since `cupertino_ui` only receives comment changes. The stable pin (`.ci/flutter_stable.version`) is updated separately by the autoroller in #13625. There's no tracking issue for this routine post-release update. ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent 832d5f2 commit 4765bd9

328 files changed

Lines changed: 648 additions & 530 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.ci.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,14 @@ targets:
305305
timeout: 30
306306
properties:
307307
target_file: analyze_legacy.yaml
308-
channel: "3.44.9"
308+
channel: "3.47.9"
309309

310310
- name: Linux analyze_legacy N-2
311311
recipe: packages/packages
312312
timeout: 30
313313
properties:
314314
target_file: analyze_legacy.yaml
315-
channel: "3.41.9"
315+
channel: "3.44.9"
316316

317317
- name: Linux_android custom_package_tests master
318318
recipe: packages/packages

‎.github/workflows/internals/install_flutter/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
shell: bash
1616
run: |
1717
cd $HOME
18-
git clone https://github.com/flutter/flutter.git --depth 1 -b 3.47.0 _flutter
18+
git clone https://github.com/flutter/flutter.git --depth 1 -b 3.50.0 _flutter
1919
cd $GITHUB_WORKSPACE
2020
2121
# GITHUB_PATH write is safe here as it only appends a hardcoded, trusted path ($HOME/_flutter/bin) with no user-controlled input.

‎.repo_tool_config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repo_name: flutter/packages
99
#
1010
# The major and minor version here should match the lowest version analyzed
1111
# in legacy version analysis (.ci.yaml analyze_legacy).
12-
min_flutter: '3.41.0'
12+
min_flutter: '3.44.0'
1313

1414
# The list of external packages that are allowed as dependencies.
1515
# All entries here must have an explanation for why they are here. See

‎packages/camera/camera/example/pubspec.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: Demonstrates how to use the camera plugin.
33
publish_to: none
44

55
environment:
6-
sdk: ^3.11.0
7-
flutter: ">=3.41.0"
6+
sdk: ^3.12.0
7+
flutter: ">=3.44.0"
88

99
dependencies:
1010
camera:

‎packages/camera/camera_android/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## NEXT
2+
3+
* Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
4+
15
## 0.10.13
26

37
* Fixes `stopVideoRecording` returning the JPEG path from `takePicture` when a photo is taken during video recording.

‎packages/camera/camera_android/example/lib/camera_controller.dart‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,9 @@ class CameraController extends ValueNotifier<CameraValue> {
173173
/// Creates a new camera controller in an uninitialized state.
174174
CameraController(
175175
CameraDescription cameraDescription, {
176-
MediaSettings mediaSettings = const MediaSettings(resolutionPreset: ResolutionPreset.medium),
176+
this._mediaSettings = const MediaSettings(resolutionPreset: ResolutionPreset.medium),
177177
this.imageFormatGroup,
178-
}) : _mediaSettings = mediaSettings,
179-
super(CameraValue.uninitialized(cameraDescription));
178+
}) : super(CameraValue.uninitialized(cameraDescription));
180179

181180
///
182181
final MediaSettings _mediaSettings;

‎packages/camera/camera_android/example/pubspec.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: Demonstrates how to use the camera plugin.
33
publish_to: none
44

55
environment:
6-
sdk: ^3.11.0
7-
flutter: ">=3.41.0"
6+
sdk: ^3.12.0
7+
flutter: ">=3.44.0"
88

99
dependencies:
1010
camera_android:

‎packages/camera/camera_android/pubspec.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+
66
version: 0.10.13
77

88
environment:
9-
sdk: ^3.11.0
10-
flutter: ">=3.41.0"
9+
sdk: ^3.12.0
10+
flutter: ">=3.44.0"
1111

1212
flutter:
1313
plugin:

‎packages/camera/camera_android_camerax/.agents/skills/check-readiness/pubspec.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 0.1.0
44
publish_to: none
55

66
environment:
7-
sdk: ^3.11.0
7+
sdk: ^3.12.0
88

99
dependencies:
1010
file: ^7.0.1

‎packages/camera/camera_android_camerax/example/lib/camera_controller.dart‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CameraValue {
3838
required this.isRecordingVideo,
3939
required this.isTakingPicture,
4040
required this.isStreamingImages,
41-
required bool isRecordingPaused,
41+
required this._isRecordingPaused,
4242
required this.flashMode,
4343
required this.exposureMode,
4444
required this.focusMode,
@@ -50,7 +50,7 @@ class CameraValue {
5050
this.recordingOrientation,
5151
this.isPreviewPaused = false,
5252
this.previewPauseOrientation,
53-
}) : _isRecordingPaused = isRecordingPaused;
53+
});
5454

5555
/// Creates a new camera controller state for an uninitialized controller.
5656
const CameraValue.uninitialized(CameraDescription description)

0 commit comments

Comments
 (0)