本頁為 3.19.0 版本的發行說明。 如需後續錯誤修正版本的資訊, 請參閱我們的 CHANGELOG

Flutter

#

框架 (Framework)

#
  • 更新從 package:unified_analytics 取得 Analytics 實例的邏輯 by @eliasyishak in 134756
  • 在 ScrollController 子類別中公開 onAttach 和 onDetach by @Piinks in 135721
  • 升級 leak_tracker 以修正不穩定問題 by @polina-c in 135760
  • ViewportOffset 應在建構函式中派發建立事件 by @ksokolovskyi in 135420
  • 擴大 test/widgets 測試覆蓋範圍,加入記憶體洩漏追蹤 #12 by @ksokolovskyi in 135385
  • 為 cupertino 元件 (Widgets) 加入洩漏追蹤 by @NobodyForNothing in 135353
  • 為 page_test.dart 加入洩漏追蹤 by @NobodyForNothing in 135352
  • 修復 WidgetInspector 與 WidgetInspectorService 的記憶體洩漏 by @ksokolovskyi in 135828
  • 為 cupertino text field 加入記憶體洩漏測試覆蓋 by @NobodyForNothing in 135804
  • 修正部分 CupertinoTextField 測試,避免洩漏追蹤測試失敗 by @ksokolovskyi in 135851
  • 為 tab_scaffold_test.dart 加入洩漏追蹤 by @NobodyForNothing in 135309
  • 為部分 cupertino 測試加入洩漏追蹤 by @NobodyForNothing in 135230
  • 修正 iOS 上 RawKeyEvent 的 character 欄位總是為 null 的問題 by @LinXunFeng in 135100
  • 移除未使用的 InlineSpan 方法 by @LongCatIsLooong in 135882
  • CupertinoPicker 文件中的失效連結進行替換 by @Pante in 135897
  • 小幅改善程式碼風格,使用 records 取代 lists by @fzyzcjy in 135886
  • RenderEditable 應釋放建立的圖層資源 by @polina-c in 135942
  • 簡化 AsyncSnapshot 中的 assertion by @mateusfccp in 135899
  • 允許 tap down/up 期間的洩漏,暫時繞過不穩定問題 by @polina-c in 136133
  • [leak-tracking] 在 test/painting #2 中加入洩漏追蹤 by @droidbg in 136169
  • [web] 修正網頁上 page up page down home end 快捷鍵行為 by @htoor3 in 135454
  • [leak-tracking] 在 test/gestures 中為 testwidgets 加入洩漏追蹤 by @droidbg in 136166
  • [leak-tracking] 在 test/painting #1 中加入洩漏追蹤 by @droidbg in 136167
  • TestClipPaintingContext 應釋放 ContainerLayer by @polina-c in 135949
  • [flutter_tools] 允許工具整合測試在收到 SIGINT 時結束 by @christopherfujino in 136271
  • 放寬 Paint.toString() 的測試,忽略 dither: ... by @matanlurey in 136302
  • 新增 SizeTransition.fixedCrossAxisSizeFactor by @ValentinVignal in 134659
  • _RenderSnapshotWidget 應釋放建立的 OffsetLayer by @ksokolovskyi in 136267
  • 計算 RenderPositionedBox 的內在尺寸時納入 size factors by @fischerscode in 135823
  • 新增 profilePlatformChannels service extension by @kenzieschmoll in 136051
  • [leak-tracking] 在 test/rendering - 1 中加入洩漏追蹤 by @droidbg in 136275
  • 允許最新的 pkg:material_color_utilities by @kevmoo in 132445
  • 更新 controller.dart 中對 finders.dart 的引用,改用 namespace by @pdblasi-google in 136423
  • 修正 PageView API 文件範例在桌面和網頁上失敗 by @huycozy in 135910
  • 升級 file、process、process_runner 套件 by @goderbauer in 136418
  • 修正文件 TODO by @goderbauer in 136485
  • [SingleChildScrollView] 版面配置時若 offset pixels 超出範圍則修正 by @xu-baolin in 136239
  • 讓 constraints 在 RenderBox.computeDryLayout() 中成為 covariant 參數 by @tvolkert in 136432
  • [leak-tracking] 在 test/rendering -3 中加入洩漏追蹤 by @droidbg in 136308
  • [leak-tracking] 在 test/rendering -2 中加入洩漏追蹤 by @droidbg in 136310
  • 停止在測試中跳過洩漏檢查 by @polina-c in 136512
  • 標記 NativeCodec.getNextFrame 的洩漏 by @polina-c in 136514
  • WidgetInspector 改用 valuenotifier 取代強制重建 by @CoderDake in 131634
  • [Impeller] GPU frame timings 彙總 by @jonahwilliams in 136408
  • 為棄用做準備,部分 RawKeyEvent 用法改為 KeyEvent by @gspencergoog in 136420
  • 測試覆蓋 cupertino 記憶體洩漏追蹤 -2 by @droidbg in 136577
  • 測試覆蓋 cupertino 記憶體洩漏並修正 Opacity Layer 未釋放 by @droidbg in 136576
  • Cupertino search field 測試洩漏追蹤與修正 RestorableTextEditingController 未釋放 by @droidbg in 136615
  • 避免在 isolates_test.dart 使用 Platform.script by @dnfield in 136669
  • 為 SchedulerBinding 新增文件 by @tvolkert in 136433
  • 回滾 "[SingleChildScrollView] 版面配置時若 offset pixels 超出範圍則修正" by @Piinks in 136744
  • 讓 integration_test_driver_extended.dart 支援 writeResponseData--(done) by @linchen2chris in 128382
  • GoldenFileComparators 應釋放建立的 Image 物件 by @ksokolovskyi in 136716
  • 新增 API 以便在測試中執行語意 (semantics) 動作 by @pdblasi-google in 132598
  • 新增 findChildIndexCallback 範例 by @gildaswise in 133469
  • Flutter 預覽裝置 by @christopherfujino in 135639
  • 修正可呼叫 nextFocus() 以聚焦其子節點的能力 by @chunhtai in 136773
  • 移除從 scope 移除孫節點時更新 focusedChild 的程式碼 by @gspencergoog in 136771
  • 回滾 "Use Layer.toImage for golden tests on CanvasKit" by @auto-submit in 136860
  • 回滾 "Add code for updating focusedChild when removing grandchildren from scope" by @auto-submit in 136862
  • 回滾 "Fixes ability to call nextFocus() on a node to focus its descendant" by @auto-submit in 136894
  • 重新上線:"Add code for updating focusedChild when removing grandchildren from scope" by @gspencergoog in 136899
  • 升級 Flutter 相依套件以納入最新 vm_service 與 dwds by @elliette in 136734
  • 回滾 "[Velocity Tracker] 修正:Issue 97761:Flutter 滾動不符合 iOS;當使用者抬起手指時出現非預期滾動" by @Piinks in 136905
  • 滾動 pub 套件 by @flutter-pub-roller-bot in 136924
  • RenderEditable WidgetSpan 內在尺寸 by @LongCatIsLooong in 136979
  • 重新上線 "Use Layer.toImage for golden tests on CanvasKit" by @harryterkelsen in 136918
  • 測試覆蓋 painting 記憶體洩漏 by @droidbg in 136696
  • 重新上線 "Fixes ability to call nextFocus() on a node to focus its desc…" by @chunhtai in 136898
  • 修正 TextStyle 術語 by @LongCatIsLooong in 137000
  • 使用 coverage.collectcoverableLineCache 參數以加速 coverage by @liamappelbe in 136851
  • CustomPainterSemantics 文件拼字修正 by @EnduringBeta in 137081
  • Dartdoc 警告修正 by @goderbauer in 137077
  • 升級 flutter 與 flutter_test 套件 by @polina-c in 137106
  • 修正部分拼字錯誤 by @cuishuang in 137144
  • 修正 Gradle lockfiles by @polina-c in 137190
  • 回滾 "Fix Gradle lockfiles." by @QuncCccccc in 137198
  • 修正 SliverReorderableLists 項目 offset 錯誤 by @yiiim in 136828
  • 為 flutter_test 新增 leak_tracker 相依性 by @polina-c in 137069
  • OverflowBox 支援 shrink-wrap by @fzyzcjy in 129095
  • 修正 pkg:integration_test 結構 by @goderbauer in 137283
  • 新增 ProcessTextService by @bleroux in 137145
  • doctor validators 的 unified analytics 事件 by @eliasyishak in 136647
  • 新增 ConstrainedLayoutBuilder.updateShouldRebuild() by @tvolkert in 136691
  • SemanticsNode.isMergedIntoParent 為唯讀 (Readonly) by @LongCatIsLooong in 137304
  • isLogicalKeyPressed 加入 HardwareKeyboard by @gspencergoog in 136856
  • 增加更多可釋放物件的監控 by @polina-c in 137309
  • BannerPainter 應派發建立與釋放事件 by @ksokolovskyi in 137472
  • 為 RestorationBucket、_RouteEntry 與 DisposableBuildContext 加入洩漏追蹤監控 by @ksokolovskyi in 137477
  • 將 flutter_test 的 leak_tracker 依賴從 dependencies 移至 dev_dependencies by @polina-c in 137633
  • 為 NetworkImage 的 scale 參數新增文件說明 by @tvolkert in 137456
  • 修正 window.dart 文件中的小拼字錯誤 by @hrishikesh-kadam in 137483
  • PerformanceModeRequestHandle 應派發建立與釋放事件 by @ksokolovskyi in 137642
  • 為 flutter_test 新增 leak_tracker 與 leak_tracker_testing 依賴 by @polina-c in 137646
  • 為 reorderable_list_test.dart 加入 no-shuffle by @zanderso in 137698
  • 修正拼字錯誤 by @droidbg in 137479
  • unified analytics 事件遷移至 BuildEvent by @eliasyishak in 137562
  • 在執行測試前重設 CustomSemanticsAction 狀態 by @dnfield in 137697
  • 新增 EdgeInsetsDirectional.copyWith by @piedcipher in 137559
  • PipelineOwner 加入洩漏追蹤監控 by @droidbg in 137494
  • ImageStreamCompleterHandle 加入洩漏追蹤 by @droidbg in 137482
  • 移除 CupertinoFormSection 重複的 padding by @JaspervanRiet in 137039
  • Cupertino date picker 應釋放其建立的 scroll controllers by @NobodyForNothing in 135355
  • 修正 DragTargetDraggable.datanull 時的當機問題 by @ValentinVignal in 133136
  • [Android] 支援 Android 34 by @camsim99 in 137191
  • 升級 leak_tracker 並移除 allow list 中部分依賴 by @pol