Files
gsfdc/demo-dify/dify/packages/openapi-content-mapper/CHANGELOG.md
T
wuzilongandCursor 6519682885 chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动
演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 13:59:25 +08:00

19 lines
1.5 KiB
Markdown

# Changelog
## 0.1.0-beta.0
Initial experimental release. Requires TypeScript 7.1.0-beta for native content mapping and Node.js 24+ for tooling.
- Import OpenAPI 3.0/3.1 YAML or JSON-backed `.openapi` documents with inferred request and response types.
- Import `.openapi-source` command descriptors to infer from backend-exported OpenAPI in memory, with compiler and bundler dependency tracking.
- Export only `api` and `query`, with statically tree-shakable namespaces and typed document context.
- Support explicit `x-client-path` operation names without changing HTTP serialization or per-operation sidecars.
- Integrate with Vite, Next.js Turbopack/Webpack and Node module hooks, preserving independent document transports and sidecars.
- Support local schema references, recursive types, JSON, explicit multipart alternatives, binary bodies and raw SSE responses.
- Preserve download filenames from Content-Disposition, JSON wire strings for binary-formatted response fields and require explicit media selection for non-default alternatives.
- Resolve API/query types lazily, omit redundant schema representations and cache serialized mapper results across compiler processes, with invalidation for document, implementation and sidecar changes.
- Add statically selected operation query defaults and typed error maps, with lazy error validators and Vite/Next sidecar tracking.
The beta API and compiler protocol may change between prereleases. See the README for supported scope and compatibility limits.