本頁為 3.22.0 版本的發行說明。 關於後續的錯誤修正版本資訊, 請參閱我們的 [CHANGELOG]⟦L1573⟧。 ⟦L1572⟧

Flutter

#

Framework

#
  • 由 @zanderso 在 141110 停用 widget_tester_leaks_test.dart 中的測試隨機排序
  • 由 @bleroux 在 140384 修正當文字包含正則表達式保留字元時拼字檢查發生例外
  • 由 @polina-c 在 141183 移除依賴順序的條件
  • 由 @polina-c 在 141153 升級 leak_tracker
  • 由 @TahaTesser 在 141166 更新 RouteObserver 範例並修正一個錯誤
  • 由 @SharbelOkzan 在 135578 新增 Form 驗證方法
  • 由 @goderbauer 在 140918 重新套用「動態視圖尺寸調整」(#140165)
  • 由 @kevmoo 在 141205 正確處理 ProcessText.queryTextActions 的 null 情況
  • 由 @chrisbobbe 在 141141 TextStyle: 在 copyWith 時,當接收者沒有 debugLabel 時不再忽略 debugLabel
  • 由 @Michal-MK 在 138319 修正 NestedScrollView 的外部可滾動與 doubleBouncingScrollPhysics 精度誤差導致跳動的問題
  • 由 @polina-c 在 140553 改善洩漏追蹤測試
  • 由 @polina-c 在 141226 修正傳遞洩漏追蹤旗標的機制
  • 由 @justinmc 在 141221 當使用 pages API 時呼叫 onPopInvoked
  • 由 @Piinks 在 141318 在 2D API 中新增協變以減少子類型轉型
  • 由 @polina-c 在 141312 修正一個資源洩漏
  • 由 @Piinks 在 141300 為 flutter_driver 新增 dart fix 支援
  • 由 @jonahwilliams 在 141341 為 skia gold client 新增 impeller key,並開啟一個會以 --enable-impeller 執行單元測試的 framework 測試分片
  • 由 @TahaTesser 在 141372 修正 ListWheelScrollView 在高度為零的 AnimatedContainer 中拋出錯誤
  • 由 @QuncCccccc 在 141426 修正拼字錯誤
  • 由 @christopherfujino 在 141424 解除 web_socket_channel 鎖定並更新 pub 套件
  • 由 @OutdatedGuy 在 141270.gitignore 檔案結尾新增換行
  • 由 @ksokolovskyi 在 141526 BoxPainter 應派發建立與釋放事件
  • 由 @auto-submit 在 141545 回復「BoxPainter 應派發建立與釋放事件」
  • 由 @bartekpacia 在 141582 在 TODO 註解中參考 GitHub issue
  • 由 @LongCatIsLooong 在 140516 允許在 composing 區域中選取
  • 由 @ksokolovskyi 在 141635 TrainHoppingAnimation 應派發建立與釋放事件
  • [web] 由 @yjbanov 在 ⟦L1578⟧ 中為 49786 做準備
  • [web] 由 @yjbanov 在 ⟦L1579⟧ 中為 layers_test.dart 準備 49786
  • 由 @pbo-linaro 在 137618 啟用 windows-arm64 原生編譯
  • 由 @moffatman 在 140745 ScaleGestureRecognizer 對於觸控板手勢 pointerCount=2
  • 由 @auto-submit 在 141809 回復「啟用 windows-arm64 原生編譯」
  • 由 @yjbanov 在 141791 啟用更多 web 模式測試
  • 由 @fzyzcjy 在 140282 微調 bindings 相關文件描述錯誤
  • 由 @Hixie 在 141814 回復「讓測試更能抵抗 Skia gold 失敗並重構 flutter_goldens 以清除技術債 (#140101)」
  • 由 @sstrickl 在 141105 在非 debug 非 web 構建中將 defaultTargetPlatform 標記為常數
  • 由 @ueman 在 141595 新增說明 debugPrint 在 release 模式下也會記錄日誌
  • 由 @gspencergoog 在 141822 移除測試中不需要的期望
  • 由 @matanlurey 在 141821 測試失敗時不要在 flutter_tools 內卡住
  • 由 @matanlurey 在 141988 按 natebosch 建議移除重複程式碼
  • 由 @justinmc 在 133002 新增浮動游標文件
  • 由 @Hixie 在 141810 當 selectionControls 不存在時啟用 contextMenuBuilder
  • 由 @Hixie 在 141902 新增如何測試 flutter_goldens 的註解
  • 由 @goderbauer 在 141976 從 OverflowBar 移除未使用的 clipBehavior
  • 由 @Hixie 在 141900 合併 flutter_goldens_client 至 flutter_goldens
  • 由 @polina-c 在 141737 忽略一個資源洩漏
  • 由 @matanlurey 在 142062 重構 external_uiexternal_textures
  • 由 @polina-c 在 142162 升級 leak_tracker
  • 由 @justinmc 在 142163 改善 PopScope 範例
  • 由 @nate-thegrate 在 141591cupertino/ 目錄中實作 switch 運算式
  • 由 @NobodyForNothing 在 140700 修正 Ink 在 TextField 換行時未更新
  • 由 @pbo-linaro 在 141930 啟用 windows-arm64 原生編譯
  • 由 @polina-c 在 141411 為 ImageInfo 加入監控
  • 由 @matanlurey 在 142257 新增 bringup: true 作為 Android 模擬器,開始進行命名調整
  • 由 @polina-c 在 142287 修正測試中未釋放的 ImageInfo
  • 由 @goderbauer 在 141484 新增 runWidget 以在無預設 View 下啟動元件樹
  • 由 @auto-submit 在 142339 回復「新增 runWidget 以在無預設 View 下啟動元件樹」
  • 由 @andrewkolos 在 142281 移除重複宣告的全域 UserMessages
  • 由 @Amir-P 在 141504 修正重新排序二維子元件時的斷言失敗
  • 由 @goderbauer 在 142344 重新套用「新增 runWidget 以在無預設 View 下啟動元件樹」
  • 由 @zanderso 在 142267 更新 Android minSdkVersion 至 21
  • 由 @polina-c 在 142417 將測試排除於洩漏追蹤
  • 由 @Piinks 在 142482 修正 SliverMainAxisGroup 幾何 cacheExtent
  • 由 @aizatazhar 在 141844 每個測試結束時將 framesEnabled 重設為預設值
  • 由 @kseino 在 141345 對 RLI 使用 PDI 結束 isolated scope
  • 由 @justinmc 在 142254 新增「系統返回手勢」說明
  • 由 @goderbauer 在 142486 修正多視圖情境下 ParentDataWidget 異常
  • 由 @christopherfujino 在 141427 解除 test 套件鎖定
  • 由 @sstasi95 在 141604 修正 CupertinoTabView 與 PopScope 在 Android 返回鍵處理上的問題
  • 由 @polina-c 在 142677 修正測試中的資源洩漏
  • 由 @piedcipher 在 142635form.0.dart 的 API 範例撰寫測試
  • 由 @chingjun 在 142760 避免 flutter_tools 中依賴 build_system/targets 目錄下非頂層進入點的檔案
  • 由 @justinmc 在 142248 支援 Cupertino 返回手勢期間的導覽
  • 由 @luccasclezar 在 138195 修正 CupertinoTextSelectionToolbar 裁切問題
  • 由 @justinmc 在 142463 更新 TextSelectionOverlay
  • 由 @bartekpacia 在 140115 更新 gradle lockfiles 範本
  • 由 @auto-submit 在 142889 回復「更新 gradle lockfiles 範本」
  • 由 @ShaunByrne-UniSA 在 136181 於 CupertinoDatePicker 灰顯不可選日期
  • 由 @moffatman 在 142776 修正 CupertinoPageScaffold 的 resizeToAvoidBottomInset
  • 由 @paldepind 在 141364 將 destructiveRed 設為 CupertinoDynamicColor
  • [Windows] 由 @cbracken 在 142341 修正帶符號/無符號 int 比較
  • 由 @bramp 在 142177 更新 _goldens_io.dart 於尺寸不符時產生失敗圖片
  • 由 @polina-c 在 143007 為 CurvedAnimation 加入監控
  • 由 @dnfield 在 143017 釋放預先快取的 image info
  • 由 @maRci002 在 142523 處理 AppLifecycleState.detached 的狀態轉換
  • 由 @goderbauer 在 142826 在 SemanticsNode 除錯資訊中新增 indexInParent
  • 由 @ValentinVignal 在 142975 在 golden 測試輸出中新增不符像素數量
  • 由 @Hixie 在 142251 為 isAvailableForEnvironment 邏輯新增測試
  • 由 @gmackall 在 143085 還原 gradle OOM 當機時的日誌轉儲,並為 MaxMetaspaceSize 設定值
  • 由 @bartekpacia 在 143081 重新套用「更新 gradle lockfiles 範本 (#140115)」
  • 由 @goderbauer 在 143184 交叉連結 SliverFixedExtentList/SliverPrototypeExtentList/SliverVariedExtentList
  • 由 @goderbauer 在 143188 animated GIF 僅進行一次版面配置
  • 由 @bartekpacia 在 142008 將 integration_test 套件遷移至 Gradle Kotlin DSL
  • 由 @jmagman 在 143167 將外掛範本最低 iOS 版本設為 12.0
  • 由 @whiskeyPeak 在 140378OnDragEnd 回呼新增位置資料
  • 由 @krispypen 在 142913 golden 測試比對效能優化
  • 由 @polina-c 在 143236 升級 leak_tracker
  • 由 @LongCatIsLooong 在 143024 修正 text painter 最長行調整邏輯以支援 TextWidthBasis.longestLine
  • 由 @jmagman 在 143248 更新 integration_test iOS FTL README 腳本以移除目標版本
  • 由 @ValentinVignal 在 143295StreamBuilder(如 FutureBuilder)新增最佳實踐文件
  • [web] 由 @kevmoo 在 143274 將 JS interop 移至 extension types
  • 由 @camsim99 在 143329 回復「將 integration_test 套件遷移至 Gradle Kotlin DSL (#142008)」
  • 由 @nate-thegrate 在 143293widgets/ 中實作 switch 運算式
  • 由 @reidbaker 在 143111 更新 integration test 依賴
  • 由 @nate-thegrate 在 142930FocusManager 能回應 app lifecycle 狀態變化
  • [devicelab] 由 @jonahwilliams 在 143419 在特定 integration 測試中保留第一幀資料
  • 由 @gmackall 在 [143390]⟦L106