feat: major upgrade to latest Flutter/Dart SDK and Android toolchain#234
Open
vashukarn wants to merge 3 commits into
Open
feat: major upgrade to latest Flutter/Dart SDK and Android toolchain#234vashukarn wants to merge 3 commits into
vashukarn wants to merge 3 commits into
Conversation
- Upgrade Dart SDK to >=3.0.0 <4.0.0 - Upgrade Flutter SDK to >=3.13.0 - Update Android Gradle Plugin to 8.6.0 and Gradle to 8.7 - Migrate to declarative Gradle plugin syntax - Update compile SDK to 36, min SDK to 21, target SDK to 34 - Add Android 12+ Bluetooth permissions - Fix StreamSink interface class compatibility - Replace deprecated jcenter with mavenCentral - Add namespace configuration for AGP 8+ - Update all dependencies to latest stable versions - Bump package version to 1.0.0 BREAKING CHANGE: Minimum SDK requirements increased
- Upgrade Dart SDK to >=3.0.0 <4.0.0 - Upgrade Flutter SDK to >=3.13.0 - Update Android Gradle Plugin to 8.6.0 and Gradle to 8.7 - Migrate to declarative Gradle plugin syntax - Update compile SDK to 36, min SDK to 21, target SDK to 34 - Add Android 12+ Bluetooth permissions - Fix StreamSink interface class compatibility - Replace deprecated jcenter with mavenCentral - Add namespace configuration for AGP 8+ - Update all dependencies to latest stable versions - Bump package version to 1.0.0 BREAKING CHANGE: Minimum SDK requirements increased
# Conflicts: # example/pubspec.yaml
0xfe10
pushed a commit
to 0xfe10/dynamic-actions
that referenced
this pull request
Mar 23, 2026
…ersions (#13) * 新增配网信息重置接口 * 灰阶加抖动处理 * 新增CTextCanvas * 重构CTextCanvas、EasyArg和CText类,使用@SuperBuilder和@NoArgsConstructor注解,优化构造函数和默认属性设置 * 更新工作流配置,替换为新的动态克隆动作并注释失败通知步骤 * 更新工作流配置,替换动态克隆动作的引用并删除过时的检查工作流 * CTextCanvas优化 * 更新最新依赖 * CTextCanvas 增加透明度参数 * chore: Update all subpackages dependencies to latest versions * chore(bluetooth_classic): switch to vashukarn fork for AGP8 support - Replace pub.dev flutter_bluetooth_serial with git dependency - Use vashukarn/flutter_bluetooth_serial fork (PR #234) - Supports AGP 8.6.0, Gradle 8.7, Android SDK 36 - Adds Android 12+ Bluetooth permissions - Updated to Dart SDK >=3.0.0 and Flutter >=3.13.0 - Version bumped to 1.0.0 in upstream This fork provides necessary AGP8 and namespace support while maintaining full API compatibility with original flutter_bluetooth_serial. Ref: edufolly/flutter_bluetooth_serial#234 * Ignore .factorypath file * fix(bluetooth_ble): use ble_plugin from git to fix case-sensitive import Replace pub.dev ble_plugin dependency with git fork that fixes import path case issue (Base.dart -> base.dart) for Linux builds. * esc 新增 配网指令 * 新增 获取设备秘钥 指令 * UDP 广播搜索当前网络内的打印机 * Add mark imports and section comments to ArgTest files * test(protocol): add parity checks across dart js and java (#15) Summary: - add explicit ESC, CPCL, and TSPL parity tests in Dart and JavaScript - expand the Java ESC suite to cover the same concrete protocol cases - keep the CPCL JavaScript test isolated from optional canvas-native loading Rationale: - verify psdk and nib produce the same protocol output for matched features - lock down cross-language behavior with focused command-level assertions - preserve unattended validation by avoiding unrelated native module coupling Tests: - cd dart/fruits/esc && dart test - cd dart/fruits/tspl && dart test - cd dart/fruits/cpcl && PATH=/tmp/flutter/bin:$PATH flutter test - cd js && npm test --workspace @psdk/esc -- --runInBand - cd js && npm test --workspace @psdk/cpcl -- --runInBand - cd js && npm test --workspace @psdk/tspl -- --runInBand - cd java && JAVA_HOME=/home/linuxbrew/.linuxbrew/opt/openjdk@17 \ PATH=/home/linuxbrew/.linuxbrew/opt/openjdk@17/bin:$PATH \ mvn -pl fruits/esc -am test -Dtest=ESCTest -Dversion-java=8 \ -DfailIfNoTests=false Co-authored-by: Codex <codex@openai.com> --------- Co-authored-by: JCZ <615315510@qq.com> Co-authored-by: Codex <codex@openai.com>
0xfe10
pushed a commit
to 0xfe10/dynamic-actions
that referenced
this pull request
Mar 23, 2026
* 彩喷新增 自检页和清洁打印头指令 * 彩喷 一键退纸 * 新增 获取所有wifi信息指令 * 彩喷新增型号 nn号查询 * js v0.7.10 * js v0.7.11 * js ble新增 广播mac地址 * js taro ble新增 广播mac地址 * js v0.7.12 * chore: Update all subpackages dependencies to latest versions (#13) * 新增配网信息重置接口 * 灰阶加抖动处理 * 新增CTextCanvas * 重构CTextCanvas、EasyArg和CText类,使用@SuperBuilder和@NoArgsConstructor注解,优化构造函数和默认属性设置 * 更新工作流配置,替换为新的动态克隆动作并注释失败通知步骤 * 更新工作流配置,替换动态克隆动作的引用并删除过时的检查工作流 * CTextCanvas优化 * 更新最新依赖 * CTextCanvas 增加透明度参数 * chore: Update all subpackages dependencies to latest versions * chore(bluetooth_classic): switch to vashukarn fork for AGP8 support - Replace pub.dev flutter_bluetooth_serial with git dependency - Use vashukarn/flutter_bluetooth_serial fork (PR #234) - Supports AGP 8.6.0, Gradle 8.7, Android SDK 36 - Adds Android 12+ Bluetooth permissions - Updated to Dart SDK >=3.0.0 and Flutter >=3.13.0 - Version bumped to 1.0.0 in upstream This fork provides necessary AGP8 and namespace support while maintaining full API compatibility with original flutter_bluetooth_serial. Ref: edufolly/flutter_bluetooth_serial#234 * Ignore .factorypath file * fix(bluetooth_ble): use ble_plugin from git to fix case-sensitive import Replace pub.dev ble_plugin dependency with git fork that fixes import path case issue (Base.dart -> base.dart) for Linux builds. * esc 新增 配网指令 * 新增 获取设备秘钥 指令 * UDP 广播搜索当前网络内的打印机 * Add mark imports and section comments to ArgTest files * test(protocol): add parity checks across dart js and java (#15) Summary: - add explicit ESC, CPCL, and TSPL parity tests in Dart and JavaScript - expand the Java ESC suite to cover the same concrete protocol cases - keep the CPCL JavaScript test isolated from optional canvas-native loading Rationale: - verify psdk and nib produce the same protocol output for matched features - lock down cross-language behavior with focused command-level assertions - preserve unattended validation by avoiding unrelated native module coupling Tests: - cd dart/fruits/esc && dart test - cd dart/fruits/tspl && dart test - cd dart/fruits/cpcl && PATH=/tmp/flutter/bin:$PATH flutter test - cd js && npm test --workspace @psdk/esc -- --runInBand - cd js && npm test --workspace @psdk/cpcl -- --runInBand - cd js && npm test --workspace @psdk/tspl -- --runInBand - cd java && JAVA_HOME=/home/linuxbrew/.linuxbrew/opt/openjdk@17 \ PATH=/home/linuxbrew/.linuxbrew/opt/openjdk@17/bin:$PATH \ mvn -pl fruits/esc -am test -Dtest=ESCTest -Dversion-java=8 \ -DfailIfNoTests=false Co-authored-by: Codex <codex@openai.com> --------- Co-authored-by: JCZ <615315510@qq.com> Co-authored-by: Codex <codex@openai.com> --------- Co-authored-by: JCZ <615315510@qq.com> Co-authored-by: Codex <codex@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: Minimum SDK requirements increased