@timo9378/flow2code 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cli.js +606 -101687
- package/dist/server.js +342 -101423
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +1 -1
- package/out/__next._full.txt +1 -1
- package/out/__next._head.txt +1 -1
- package/out/__next._index.txt +1 -1
- package/out/__next._tree.txt +1 -1
- package/out/_not-found/__next._full.txt +1 -1
- package/out/_not-found/__next._head.txt +1 -1
- package/out/_not-found/__next._index.txt +1 -1
- package/out/_not-found/__next._not-found/__PAGE__.txt +1 -1
- package/out/_not-found/__next._not-found.txt +1 -1
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +1 -1
- package/out/index.html +2 -2
- package/out/index.txt +1 -1
- package/package.json +1 -1
- /package/out/_next/static/{hNOHolNViTvQRpVwfaIx- → dSp6-CaehEDKVU9OSJABu}/_buildManifest.js +0 -0
- /package/out/_next/static/{hNOHolNViTvQRpVwfaIx- → dSp6-CaehEDKVU9OSJABu}/_clientMiddlewareManifest.json +0 -0
- /package/out/_next/static/{hNOHolNViTvQRpVwfaIx- → dSp6-CaehEDKVU9OSJABu}/_ssgManifest.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
7
|
|
|
8
|
+
## [0.2.1] — 2026-03-05
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Unified API handlers** — All 4 Next.js API routes (`/api/compile`, `/api/decompile`, `/api/generate`, `/api/import-openapi`) are now thin wrappers delegating to `src/server/handlers.ts`, eliminating duplicated logic and drift risk.
|
|
12
|
+
- **Bundle size 97% reduction** — `server.js` 5.5MB → 145KB, `cli.js` 5.5MB → 191KB. Root cause was Prettier (not ts-morph) being inlined; externalized in `tsup.config.ts`.
|
|
13
|
+
- **OpenAPI tag-based filtering** — `/api/import-openapi` tag filter now works correctly (previously was a `return true` TODO stub). Fixed by delegating to `handlers.ts` which has a proper implementation checking `flow.meta.tags`.
|
|
14
|
+
|
|
8
15
|
## [0.2.0] — 2026-03-05
|
|
9
16
|
|
|
10
17
|
### Added — VSCode Extension (`vscode-extension/`)
|