From 07b9a8c2f59f1d71448e5cce12b562b25d04070a Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 12 Jan 2026 15:52:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20-=20=E2=9C=85=20**=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=89=8D=E7=BC=80**=EF=BC=9A=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BA=86=E5=BD=93=E7=B1=BB=E5=90=8D=E5=B7=B2=E5=8C=85?= =?UTF-8?q?=E5=90=AB=E5=89=8D=E7=BC=80=E6=97=B6=E4=B8=8D=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=89=8D=E7=BC=80=E7=9A=84=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E7=A1=AE=E4=BF=9D=20`SubjectInfo`=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=89=8D=E7=BC=80=20`S`=20=E5=90=8E=E7=94=9F=E6=88=90?= =?UTF-8?q?=20`SSubjectInfo`=E3=80=82=20-=20=E2=9C=85=20**=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=8E=A5=E5=8F=A3=E6=9A=B4=E9=9C=B2**=EF=BC=9A?= =?UTF-8?q?=E4=B8=BA=20`ConfigRepository`=20=E6=B7=BB=E5=8A=A0=20`setCache?= =?UTF-8?q?dConfig`=20=E6=8E=A5=E5=8F=A3=E4=BB=A5=E4=BE=BF=E4=BA=8E?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 7 +++++++ pubspec.yaml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a879d2d..b80e7a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [3.2.1] - 2026-01-12 + +### 🐛 修复 + +#### 模型类名前缀逻辑修复 +- ✅ **强制添加前缀**:修复了当类名已包含前缀时不重复添加前缀的逻辑,确保 `SubjectInfo` 配置前缀 `S` 后生成 `SSubjectInfo`。 +- ✅ **测试接口暴露**:为 `ConfigRepository` 添加 `setCachedConfig` 接口以便于测试。 ## [3.2.0] - 2026-01-12 ### 🎉 新特性 diff --git a/pubspec.yaml b/pubspec.yaml index d7dcdde..60cac1e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: swagger_generator_flutter description: A powerful Swagger/OpenAPI code generator for Flutter projects with Dio + Retrofit support -version: 3.2.0 +version: 3.2.1 environment: sdk: '>=3.0.0 <4.0.0'