build(release): prepare v2.10.3
This commit is contained in:
1 parent
50b05a0868
commit
b8de75b46c
6 files changed
+73
-3
No files matched your search
@@ -2,6 +2,10 @@
|
||||
|
||||
Full release narratives now live in versioned files under `releases/`. This file stays as the index and summary entry point.
|
||||
|
||||
## [2.10.3] - 2026-05-06
|
||||
- EN: This patch adds a best-effort LLM image-input compatibility layer so non-standard input formats can be converted to PNG before provider requests without changing stored assets. See [Release Notes (EN)](releases/v2.10.3.en.md).
|
||||
- 中文:本次补丁新增 LLM 输入图片格式兼容层,在不改变已保存素材的前提下,尽力将非标准输入格式转为 PNG 后再请求模型。参见 [版本说明(中文)](releases/v2.10.3.zh-CN.md)。
|
||||
|
||||
## [2.10.2] - 2026-05-06
|
||||
- EN: This patch clarifies Prompt Optimizer and Prompt Garden positioning, adds a bilingual Prompt Garden image workflow tutorial, and fixes optional prompt-asset variable handling. See [Release Notes (EN)](releases/v2.10.2.en.md).
|
||||
- 中文:本次补丁澄清 Prompt Optimizer 与 Prompt Garden 的产品定位,新增双语 Prompt Garden 图像工作流教程,并修复可选提示词资产变量处理。参见 [版本说明(中文)](releases/v2.10.2.zh-CN.md)。
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "prompt-optimizer",
|
||||
"version": "2.10.2",
|
||||
"version": "2.10.3",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.6.1",
|
||||
"engines": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@prompt-optimizer/desktop",
|
||||
"version": "2.10.2",
|
||||
"version": "2.10.3",
|
||||
"description": "Desktop application for Prompt Optimizer",
|
||||
"main": "main.js",
|
||||
"repository": {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"manifest_version": 3,
|
||||
"default_locale": "zh_CN",
|
||||
"name": "__MSG_extName__",
|
||||
"version": "2.10.2",
|
||||
"version": "2.10.3",
|
||||
"description": "__MSG_extDesc__",
|
||||
"icons": {
|
||||
"16": "icons/icon16.png",
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
# Prompt Optimizer v2.10.3
|
||||
|
||||
## Summary
|
||||
- Adds a best-effort compatibility layer for LLM image inputs.
|
||||
- Keeps uploaded, stored, favorited, and exported image assets in their original format.
|
||||
- Improves Web, Chrome extension, and Electron desktop behavior when providers only accept common image formats.
|
||||
|
||||
## Highlights
|
||||
- Image-to-image, multi-image generation, and image understanding can now try to normalize non-standard input formats such as WebP to PNG immediately before the provider request.
|
||||
|
||||
## Product Updates
|
||||
### Core
|
||||
- Adds a shared runtime image-input normalizer for image generation and image understanding requests.
|
||||
- Treats `image/png` and JPEG inputs as provider-ready, including canonicalizing `image/jpg` to `image/jpeg`.
|
||||
- Falls back to the original image whenever conversion is unavailable or fails, so provider errors remain the source of truth.
|
||||
|
||||
### Desktop
|
||||
- Adds an Electron main-process converter based on `nativeImage` for desktop LLM requests.
|
||||
|
||||
## Fixes
|
||||
- Non-standard local image MIME types are no longer rejected before the LLM request compatibility layer has a chance to handle them.
|
||||
|
||||
## Breaking Changes / Upgrade Notes
|
||||
- None.
|
||||
|
||||
## Developer Notes
|
||||
- The release range is `v2.10.2..50b05a08`.
|
||||
- Core unit tests cover image-to-image, multi-image, normal image understanding, and streaming image understanding compatibility paths.
|
||||
|
||||
<!-- Release drafting reference:
|
||||
- Range: v2.10.2..HEAD
|
||||
- fix: normalize LLM image inputs (50b05a08)
|
||||
-->
|
||||
@@ -0,0 +1,33 @@
|
||||
# Prompt Optimizer v2.10.3
|
||||
|
||||
## 概括
|
||||
- 新增 LLM 输入图片格式的尽力兼容层。
|
||||
- 上传、保存、收藏、导入导出的原始图片素材仍保持原格式。
|
||||
- 当模型提供商只接受常见图片格式时,改善 Web、Chrome 插件和 Electron 桌面端的请求兼容性。
|
||||
|
||||
## 亮点
|
||||
- 图生图、多图生图和图像理解现在会在请求模型前,尽力将 WebP 等非标准输入格式规范为 PNG。
|
||||
|
||||
## 产品更新
|
||||
### Core
|
||||
- 新增共享的运行时图片输入 normalizer,覆盖图像生成和图像理解请求。
|
||||
- `image/png` 与 JPEG 输入会直接作为模型输入使用,并将 `image/jpg` 规范为 `image/jpeg`。
|
||||
- 当当前运行时无法转换或转换失败时,会回退为原始图片,让模型提供商继续返回真实错误。
|
||||
|
||||
### Desktop
|
||||
- 为 Electron 主进程请求加入基于 `nativeImage` 的转换器。
|
||||
|
||||
## 修复
|
||||
- 非标准本地图片 MIME 不再在 LLM 请求兼容层处理前被本地校验直接拒绝。
|
||||
|
||||
## 破坏性变更 / 升级说明
|
||||
- 无。
|
||||
|
||||
## 开发者说明
|
||||
- 本次发布范围是 `v2.10.2..50b05a08`。
|
||||
- Core 单测已覆盖图生图、多图生图、普通图像理解和流式图像理解的兼容路径。
|
||||
|
||||
<!-- Release drafting reference:
|
||||
- Range: v2.10.2..HEAD
|
||||
- fix: normalize LLM image inputs (50b05a08)
|
||||
-->
|
||||
Reference in new issue
Block a user