TuyaOpen v1.8.0 Release Notes
🚀 新功能 / New Features
-
AI 生图 / AI Image Generation (#591)
新增ai_picture组件,支持接收 AI 生成的图片:将流式返回的 JPEG 分片拼接还原并自动存入相册,生图输出尺寸可配置,并支持可选的云端图片下载。
Added theai_picturecomponent for receiving AI-generated images: streamed JPEG chunks are reassembled and automatically saved to the album, with configurable output dimensions and optional cloud-hosted image download. -
本地相册管理 / Local Photo Album (#591)
新增基于image_album的本地相册管理,支持照片保存、翻页浏览、缩略图生成和批量操作,并提供可选的 SD 卡持久化存储(无持久化存储时回退为内存列表)。
Added local photo album management based onimage_album, supporting photo save, navigation, thumbnail generation and batch operations, with optional SD-card persistent storage (falls back to an in-memory list when no persistent storage is present). -
打印机驱动支持 / Printer Driver Support (#591)
新增打印机驱动,支持文字打印(UTF-8→GBK 自动转换)、位图打印(ESC/POS 与 RAW)和进纸;内置 DP-48A(UART)和 MTP02-DXD 两款驱动,可直接从相册或聊天中打印照片,并新增TUYA_T5AI_BOARD_LCD_3.5_CAM_PRINTER板卡预设。
Added printer driver support for text printing (automatic UTF-8→GBK conversion), bitmap printing (ESC/POS and RAW) and paper feed; ships with two drivers — DP-48A (UART) and MTP02-DXD — enables one-tap printing of photos from the album or chat, and adds theTUYA_T5AI_BOARD_LCD_3.5_CAM_PRINTERboard preset. -
T5AI 通用模组板支持 / T5AI Generic Module Board (#607)
新增T5AI_MODULE通用开发板配置,简化 T5AI 模组项目的创建和开发流程。
Added genericT5AI_MODULEboard support, streamlining project creation and development for T5AI modules. -
AI 组件迁移至 src / AI Components Moved to src (#604)
将 AI 相关组件整合到src目录,优化代码组织结构,便于统一管理和构建。
Consolidated AI-related components into thesrcdirectory for better code organization and unified build management. -
中国区 UV 镜像支持 / China UV Mirror (#603)
为中国大陆用户提供 UV Python 包管理器的镜像源配置,加速依赖安装。
Added UV package manager mirror configuration for users in mainland China to accelerate dependency installation. -
导出 IDE 进度显示 / Export IDE Progress (#602)
导出 IDE 工程时增加进度提示,改善用户体验。
Added progress indication when exporting IDE projects to improve user experience. -
UV Python 工具链支持 / UV Python Toolchain Support (#601)
集成 UV 作为 Python 包管理和虚拟环境工具,替代传统 pip/venv 方案,提升依赖管理效率。
Integrated UV as the Python package management and virtual environment tool, replacing traditional pip/venv for faster dependency management. -
GD32 平台支持 / GD32 Platform Support (#590, #593, #594, #595, #596, #598)
新增 GD32 系列 MCU 平台支持,包含完整的平台配置、外设驱动和构建系统集成。
Added GD32 series MCU platform support with full platform configuration, peripheral drivers, and build system integration.
🐛 修复 / Bug Fixes
-
SPI Pinmux 引用更新 / SPI Pinmux Reference Update (#609)
修复平台 SPI pinmux 提交引用,确保引脚复用配置正确。
Fixed platform SPI pinmux commit reference to ensure correct pin multiplexing configuration. -
IoT DNS 注册中心地址解析 / IoT DNS Registry URL Parsing (#597)
修复从注册中心 URL 中解析主机和端口时的逻辑错误。
Fixed host and port parsing logic from registry center URLs. -
Tyutool Python 3.7+ 兼容性 / Tyutool Python 3.7+ Compatibility (#589)
使用typing.Optional替代直接类型注解,修复 Python 3.7 环境下的兼容性问题。
Replaced direct type annotations withtyping.Optionalfor Python 3.7+ compatibility.
🔧 平台与工具链更新 / Platform & Toolchain Updates
- T5 AI 平台提交引用更新 / T5 AI platform commit reference update (#600)
- GD32 平台配置完善与提交引用同步 / GD32 platform configuration and commit reference sync (#593, #594, #595, #596, #598)
Full Changelog: v1.7.0...v1.8.0