@tangcent/apilot 0.1.3 → 0.1.4

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 CHANGED
@@ -1,122 +1,201 @@
1
- ## [0.1.3] - 2026-06-23
2
-
3
- ### Added
4
- - enhance samples with 10+ controllers, generic bases, and complex DTOs
5
- - add export dialog for per-export formatter and destination
6
- - export spring mvc documentation comments
7
- - add pip dependency resolver for Python site-packages model resolution (#123) (#128)
8
- - resolve dependency structs from Go module cache (#122) (#127)
9
- - resolve types from node_modules .d.ts files for complete API schemas (#126)
10
- - add DependencyResolver (#125)
11
- - feat(java): wire maven-indexer-cli into TypeResolver for dependency class resolution (#124)
12
- - support file-level and method-level API export (#118)
13
- - per-project Postman workspace/collection binding with smart mode detection (#116)
14
-
15
- ### Fixed
16
- - support swagger2 api params
17
- - correct archive arch/platform naming in plugin-package.sh (#129)
18
-
19
- ### Improved
20
- - chore: normalize archived java doc spec
21
- - chore: archive java doc export change
22
- - chore: mark java doc export verified
23
- - chore: record java doc export verification
24
- - ci: fix fork-PR workflow permissions (#131)
25
- - doc: remove outdated research, POC results, and completed spec docs
26
- - chore: correct changelog line number comparison
27
-
28
- ---
29
-
30
- ## [0.1.2] - 2026-04-26
31
-
32
- ### Added
33
- - enhance markdown formatter with detailed API export (#113)
34
- - enhance postman formatter to parse detailed API information (#112)
35
- - feat(flask): add detailed request/response type resolution (#111)
36
- - add DRF serializer type resolution for Django parser (#110)
37
- - feat(fastapi): add detailed request/response type resolution for Python FastAPI (#109)
38
- - add detailed request/response type resolution to NestJS parser (#108)
39
- - add detailed request/response type resolution for Fastify parser (#107)
40
- - add detailed request/response type resolution for Express TypeScript (#106)
41
- - add detailed request/response type resolution for Go Fiber (#105)
42
- - add detailed request/response type resolution for Go Echo (#104)
43
- - add Go struct type resolution to Gin parser (#103)
44
- - resolve jaxrs request and response schemas (#101)
45
- - feat(ci): enhance release workflows and scripts
46
-
47
- ### Fixed
48
- - improve Java type resolution and CLI flag handling for markdown export (#114)
49
- - resolve feign request and response schemas (#102)
50
- - resolve inherited Java model fields (#100)
51
-
52
- ### Changed
53
- - make TypeResolver framework-agnostic (#99)
54
-
55
- ### Improved
56
- - docs: update readme and add skill documentation
57
- - release: cli v0.1.1
58
-
59
- ---
60
-
61
- ## [0.1.1] - 2026-04-19
62
-
63
- ### Added
64
- - feat(ci): enhance release workflows and scripts
65
- - feat(vscode): implement VSCode extension with tests and CI (#33, #35, #36, #37) (#82)
66
- - implement maven-indexer-cli dependency resolver (#19) (#80)
67
- - add integration tests for Node collector wiring (#25) (#78)
68
- - implement NestJS decorator parser for API endpoint collection (#77)
69
- - implement Express route parser using tree-sitter-javascript (#22) (#75)
70
- - implement Fastify route parser using tree-sitter-javascript (#23) (#76)
71
- - add unit tests for Python collector Collect() (#30) (#74)
72
- - implement Flask route parser (#28) (#73)
73
- - implement Django REST Framework parser (#27) (#72)
74
- - implement FastAPI route parser (#71)
75
- - add settings management and Postman API client (#69)
76
- - feat(java-parser): Phase 3-4 JAX-RS + Feign parsers, parser refactor (#68)
77
- - add integration tests with sample projects and separate workflow (#65)
78
- - feat(java-parser): Phase 0-2 实现 + 线程安全修复 (#66)
79
- - add path params and response examples to Postman formatter (#63)
80
- - feat(curl): add path param substitution and form param support (#31) (#62)
81
- - wire Gin/Echo/Fiber parsers into Collect() and add unit tests (#14) (#60)
82
- - implement Fiber route parser using go/ast (#13) (#59)
83
- - implement Echo route parser using go/ast (#12) (#58)
84
- - implement Gin route parser using go/ast (#57)
85
- - implement --help output and integration tests for apilot-cli (#56)
86
- - add build.Version / build.Date ldflags wiring (#51)
87
- - add npm wrapper, goreleaser config, scripts, and update CI workflows for Go
88
- - initial APilot project setup migrated from easy-api
89
-
90
- ### Fixed
91
- - support Netflix Feign interfaces without @FeignClient annotation (#81)
92
- - improve test scripts with better error handling and debugging (#67)
93
-
94
- ### Changed
95
- - extract api-model module and replace FormatOptions with typed Params (#54)
96
- - rename api-collector-support-* to api-collector-* and fix formater typo to formatter
97
-
98
- ### Improved
99
- - docs: add Node.js/TypeScript parsing strategy research notes (#21) (#79)
100
- - chore: split integration tests by framework using matrix strategy (#70)
101
- - test: add tests for scripts/install.js across all platforms (#64)
102
- - [api-formatter-markdown] Implement simple and detailed templates (#61)
103
- - docs: mark issues #3, #4, #6, #7 as completed in todo.md (#55)
104
- - chore(npm): add .npmignore to keep published package lean (#40) (#53)
105
- - chore: move skills under .agent and add init script (#52)
106
- - docs: fix CI table, config dir, and binary name in architecture.md (#50)
107
- - doc: add contributing-formatters and contributing-collectors guides (#49)
108
- - docs: add implementation todo list
109
- - Initial commit
110
-
111
- ---
112
-
113
- # APilot Changelog
114
-
115
- ## Unreleased
116
-
117
- - Initial release — migrated from [easy-api](https://github.com/tangcent/easy-api) Go engine layer
118
- - Renamed project to APilot
119
- - Added support for Java (Spring MVC, JAX-RS, Feign), Go (Gin, Echo, Fiber), Node.js (Express, Fastify, NestJS), Python (FastAPI, Django REST, Flask)
120
- - Output formats: Markdown, cURL, Postman Collection v2.1
121
- - VSCode extension with bundled binary support
122
- - External plugin system via stdin/stdout JSON protocol
1
+ ## [0.1.4] - 2026-11-29
2
+
3
+ ### Added
4
+ - feat(java): export enum fields as strings of their constants (#223)
5
+ - pin dependency types to the project's versions, Kotlin included (#201)
6
+ - feat(yapi): tag and describe deprecated endpoints as EasyYapi does (#204)
7
+ - give fields documented with @see SomeEnum the enum's values
8
+ - report deprecated endpoints (#204)
9
+ - feat(yapi): render descriptions as Markdown and give parameters EasyYapi's examples (#197)
10
+ - add a YApi formatter that reads EasyYapi rules files (#197)
11
+ - select how fields are marked required with --required-fields (#196)
12
+ - feat(kotlin): add a Spring MVC collector for Kotlin sources (#171) (#183)
13
+ - feat(formatter): add a json formatter for CI assertions (#174)
14
+ - parse validate tag keywords into documentation metadata (#148) (#159)
15
+ - populate Tags and Headers from framework metadata (#140) (#154)
16
+ - resolve record components as DTO fields (#139) (#153)
17
+ - surface dependency type resolution status (#138) (#152)
18
+ - preserve JAX-RS and Feign documentation metadata (#151)
19
+ - surface unresolved types instead of silently falling back (#144)
20
+
21
+ ### Fixed
22
+ - export byte and char arrays as the strings Jackson writes (#235)
23
+ - resolve type names by the scope they are written in (#242)
24
+ - read every declarator of a field and varargs parameters (#233)
25
+ - fix(java): export fields declared with an array or qualified type (#231)
26
+ - leave annotations out of the type arguments of a type (#225)
27
+ - build endpoints only for the files selected for export (#222)
28
+ - fix(java): read a decompiled Kotlin enum as an enum (#220)
29
+ - resolve binding names written as constants (#216)
30
+ - fix(java): keep the arguments of a generic type argument (#212)
31
+ - fix(java): bump the parser cache schema for new doc fields
32
+ - treat parameters Spring may leave empty as optional
33
+ - fix(java): resolve an upper-bounded wildcard to its bound
34
+ - fix(java): keep RawJavaDoc on enum classes after merging main
35
+ - fix(kotlin): recover from grammar errors instead of aborting the collection (#188) (#193)
36
+ - keep paragraph breaks in doc comments (#202)
37
+ - keep enum handling to the binding view (#190)
38
+ - fix(yapi): report upload results, redact token in errors, keep enum pick mocks
39
+ - match required-field annotations by qualified name
40
+ - address review of implicit Spring MVC binding (#190)
41
+ - do not count JetBrains @NotNull as a constraint (#196)
42
+ - fix(kotlin): collect the Java and Kotlin sources of a mixed tree together (#189) (#194)
43
+ - fix(kotlin): clean property and class KDoc before export (#187) (#192)
44
+ - fix(kotlin): accept use-site targets that cannot change the exported name (#186) (#191)
45
+ - bind Spring MVC parameters without a binding annotation as Spring does (#190)
46
+ - fix(markdown): identify the document, order fields as declared, and make headings unique (#170) (#182)
47
+ - fix(formatter): export the parameter type and the declared media types (#169) (#181)
48
+ - fix(java): derive response properties from getters exposed under Jackson (#168) (#180)
49
+ - fix(java): export an open wildcard argument as an object, filled from the method body (#167) (#179)
50
+ - fix(java): keep the parameter name on scalar and raw-collection request bodies (#166) (#178)
51
+ - fix(java): resolve simple type names by compilation unit, import, then package (#165) (#177)
52
+ - recover the JAX-RS response payload from the method body (#164) (#176)
53
+ - unwrap reactor publishers in the Java type resolver (#163) (#175)
54
+ - fix(cli): fail the run when a collection yields no endpoints (#161) (#173)
55
+ - widen pydantic model and Field descriptor detection (#147) (#158)
56
+ - keep plain defaults on annotated pydantic fields (#146) (#157)
57
+ - stop claiming Kotlin support in the java collector (#142) (#156)
58
+ - keep final instance fields during type resolution (#141) (#155)
59
+
60
+ ### Changed
61
+ - refactor(kotlin): describe enum values where they are used (#207)
62
+ - share documentation-metadata extraction across collectors (#145)
63
+
64
+ ### Improved
65
+ - enhance: look up @see enums in the project's dependencies (#218)
66
+ - chore: unify AI agent instructions and define git conventions (#214)
67
+ - docs(readme): fix Codecov badge to follow default branch (#185)
68
+ - chore(skills): move .agent to .agents for native discovery (#184)
69
+ - test: declare documentation metadata in samples (#149) (#160)
70
+ - test: assert exported output with golden files (#150)
71
+
72
+ ---
73
+
74
+ ## [0.1.3] - 2026-06-23
75
+
76
+ ### Added
77
+ - enhance samples with 10+ controllers, generic bases, and complex DTOs
78
+ - add export dialog for per-export formatter and destination
79
+ - export spring mvc documentation comments
80
+ - add pip dependency resolver for Python site-packages model resolution (#123) (#128)
81
+ - resolve dependency structs from Go module cache (#122) (#127)
82
+ - resolve types from node_modules .d.ts files for complete API schemas (#126)
83
+ - add DependencyResolver (#125)
84
+ - feat(java): wire maven-indexer-cli into TypeResolver for dependency class resolution (#124)
85
+ - support file-level and method-level API export (#118)
86
+ - per-project Postman workspace/collection binding with smart mode detection (#116)
87
+
88
+ ### Fixed
89
+ - support swagger2 api params
90
+ - correct archive arch/platform naming in plugin-package.sh (#129)
91
+
92
+ ### Improved
93
+ - chore: normalize archived java doc spec
94
+ - chore: archive java doc export change
95
+ - chore: mark java doc export verified
96
+ - chore: record java doc export verification
97
+ - ci: fix fork-PR workflow permissions (#131)
98
+ - doc: remove outdated research, POC results, and completed spec docs
99
+ - chore: correct changelog line number comparison
100
+
101
+ ---
102
+
103
+ ## [0.1.2] - 2026-04-26
104
+
105
+ ### Added
106
+ - enhance markdown formatter with detailed API export (#113)
107
+ - enhance postman formatter to parse detailed API information (#112)
108
+ - feat(flask): add detailed request/response type resolution (#111)
109
+ - add DRF serializer type resolution for Django parser (#110)
110
+ - feat(fastapi): add detailed request/response type resolution for Python FastAPI (#109)
111
+ - add detailed request/response type resolution to NestJS parser (#108)
112
+ - add detailed request/response type resolution for Fastify parser (#107)
113
+ - add detailed request/response type resolution for Express TypeScript (#106)
114
+ - add detailed request/response type resolution for Go Fiber (#105)
115
+ - add detailed request/response type resolution for Go Echo (#104)
116
+ - add Go struct type resolution to Gin parser (#103)
117
+ - resolve jaxrs request and response schemas (#101)
118
+ - feat(ci): enhance release workflows and scripts
119
+
120
+ ### Fixed
121
+ - improve Java type resolution and CLI flag handling for markdown export (#114)
122
+ - resolve feign request and response schemas (#102)
123
+ - resolve inherited Java model fields (#100)
124
+
125
+ ### Changed
126
+ - make TypeResolver framework-agnostic (#99)
127
+
128
+ ### Improved
129
+ - docs: update readme and add skill documentation
130
+ - release: cli v0.1.1
131
+
132
+ ---
133
+
134
+ ## [0.1.1] - 2026-04-19
135
+
136
+ ### Added
137
+ - feat(ci): enhance release workflows and scripts
138
+ - feat(vscode): implement VSCode extension with tests and CI (#33, #35, #36, #37) (#82)
139
+ - implement maven-indexer-cli dependency resolver (#19) (#80)
140
+ - add integration tests for Node collector wiring (#25) (#78)
141
+ - implement NestJS decorator parser for API endpoint collection (#77)
142
+ - implement Express route parser using tree-sitter-javascript (#22) (#75)
143
+ - implement Fastify route parser using tree-sitter-javascript (#23) (#76)
144
+ - add unit tests for Python collector Collect() (#30) (#74)
145
+ - implement Flask route parser (#28) (#73)
146
+ - implement Django REST Framework parser (#27) (#72)
147
+ - implement FastAPI route parser (#71)
148
+ - add settings management and Postman API client (#69)
149
+ - feat(java-parser): Phase 3-4 JAX-RS + Feign parsers, parser refactor (#68)
150
+ - add integration tests with sample projects and separate workflow (#65)
151
+ - feat(java-parser): Phase 0-2 实现 + 线程安全修复 (#66)
152
+ - add path params and response examples to Postman formatter (#63)
153
+ - feat(curl): add path param substitution and form param support (#31) (#62)
154
+ - wire Gin/Echo/Fiber parsers into Collect() and add unit tests (#14) (#60)
155
+ - implement Fiber route parser using go/ast (#13) (#59)
156
+ - implement Echo route parser using go/ast (#12) (#58)
157
+ - implement Gin route parser using go/ast (#57)
158
+ - implement --help output and integration tests for apilot-cli (#56)
159
+ - add build.Version / build.Date ldflags wiring (#51)
160
+ - add npm wrapper, goreleaser config, scripts, and update CI workflows for Go
161
+ - initial APilot project setup migrated from easy-api
162
+
163
+ ### Fixed
164
+ - support Netflix Feign interfaces without @FeignClient annotation (#81)
165
+ - improve test scripts with better error handling and debugging (#67)
166
+
167
+ ### Changed
168
+ - extract api-model module and replace FormatOptions with typed Params (#54)
169
+ - rename api-collector-support-* to api-collector-* and fix formater typo to formatter
170
+
171
+ ### Improved
172
+ - docs: add Node.js/TypeScript parsing strategy research notes (#21) (#79)
173
+ - chore: split integration tests by framework using matrix strategy (#70)
174
+ - test: add tests for scripts/install.js across all platforms (#64)
175
+ - [api-formatter-markdown] Implement simple and detailed templates (#61)
176
+ - docs: mark issues #3, #4, #6, #7 as completed in todo.md (#55)
177
+ - chore(npm): add .npmignore to keep published package lean (#40) (#53)
178
+ - chore: move skills under .agent and add init script (#52)
179
+ - docs: fix CI table, config dir, and binary name in architecture.md (#50)
180
+ - doc: add contributing-formatters and contributing-collectors guides (#49)
181
+ - docs: add implementation todo list
182
+ - Initial commit
183
+
184
+ ---
185
+
186
+ # APilot Changelog
187
+
188
+ ## Unreleased
189
+
190
+ - fix(markdown): export the parameter type and the declared media types (#169)
191
+ - Query, Path Params and Headers tables carry a `type` column, mirroring Form, so a `Long id` is distinguishable from a `String id` (Java collectors propagate the declared type; other collectors leave the cell empty rather than guessing)
192
+ - `Content-Type` (`@Consumes`) and `Accept` (`@Produces`) render near the method when the source declares them; `MediaType.*` constant references resolve to wire media types
193
+ - `MultipartFile` parameters export under Form with `type: file` instead of Query, and `@RequestPart` is recognized as a form part
194
+ - The JSON formatter exposes `typeName` plus `consumes`/`produces` for CI gates; `ApiParameter`/`ApiEndpoint` gain the matching fields
195
+ - Output changes for every project with parameters: committed exports need a refresh (golden files updated)
196
+ - Initial release — migrated from [easy-api](https://github.com/tangcent/easy-api) Go engine layer
197
+ - Renamed project to APilot
198
+ - Added support for Java (Spring MVC, JAX-RS, Feign), Go (Gin, Echo, Fiber), Node.js (Express, Fastify, NestJS), Python (FastAPI, Django REST, Flask)
199
+ - Output formats: Markdown, cURL, Postman Collection v2.1
200
+ - VSCode extension with bundled binary support
201
+ - External plugin system via stdin/stdout JSON protocol