copilot-swe-agent[bot]
02191e0d99
Fix TypeScript generator to correctly handle inline/embedded structs
...
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-10-25 20:11:35 +08:00
copilot-swe-agent[bot]
28b12ad9cc
Add comprehensive integration test for inline struct handling
...
- Add TestGenWithInlineStructs to verify end-to-end generation
- Test verifies correct parameter generation, flattening of inline structs
- Test verifies no incorrect Headers interfaces are generated
- Test verifies correct argument counts in function calls
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-10-25 20:11:35 +08:00
copilot-swe-agent[bot]
87dd9671be
Fix TypeScript generator to handle inline/embedded structs correctly
...
- Add hasActualTagMembers helper to recursively check for actual tag members
- Add hasActualBodyMembers helper to recursively check for actual body members
- Add hasActualNonBodyMembers helper to recursively check for actual non-body members
- Update genParamsTypesIfNeed to use hasActualNonBodyMembers and hasActualTagMembers
- Update hasRequestBody, hasRequestHeader, hasRequestPath, and pathHasParams to use new helpers
- Add comprehensive test coverage for new helper functions
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-10-25 20:11:35 +08:00
Kevin Wan
4e52d77ad8
fix(trace): use sync.Once to prevent multiple trace initialization ( #5244 )
...
Signed-off-by: kevin <wanjunfeng@gmail.com >
2025-10-25 20:10:15 +08:00
Kevin Wan
1fc2cfb859
fix: gateway trace headers 5248 ( #5256 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-25 12:16:31 +08:00
Gregor Fischer
942cdae41d
Fix typos in comments and messages ( #5254 )
2025-10-25 01:28:40 +00:00
dependabot[bot]
e9c3607bc6
chore(deps): bump github.com/redis/go-redis/v9 from 9.14.1 to 9.16.0 ( #5255 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 21:19:49 +08:00
dependabot[bot]
d1603e9166
chore(deps): bump github.com/redis/go-redis/v9 from 9.14.0 to 9.14.1 ( #5251 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 21:01:51 +08:00
zhoushuguang
e30317e9c4
feat: consistent hash balancer support ( #5246 )
...
Co-authored-by: 周曙光 <zsg@zhoushuguangdeMacBook-Pro.local >
2025-10-19 14:10:30 +00:00
stemlaud
568f9ce007
chore: remove extra spaces in the comment ( #5245 )
...
Signed-off-by: stemlaud <stemlaud@outlook.com >
2025-10-19 13:42:10 +00:00
dependabot[bot]
dcb309065a
chore(deps): bump github/codeql-action from 3 to 4 ( #5243 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 23:09:38 +00:00
Kevin Wan
bf8e17a686
test: add unit tests for goctl docker command (PR #4343 ) ( #5241 )
2025-10-13 21:55:25 +08:00
Jack001
b2ebbfce62
fix: ensure Dockerfile includes etc directory and correct CMD based on config ( #4343 )
...
Co-authored-by: 白少杰macpro <harrellharris68491@gmail.com >
2025-10-13 13:42:15 +00:00
Kevin Wan
2b10a6a223
fix: support PUT, PATCH, DELETE methods for request body definitions in swagger ( #5239 )
2025-10-12 18:24:11 +08:00
Kevin Wan
80c320b46e
chore: remove unused code ( #5238 )
tools/goctl/v1.9.2
2025-10-12 11:55:57 +08:00
Kevin Wan
bea9d150a1
fix(goctl): restore API summaries in swagger generation ( #5237 )
2025-10-12 11:38:58 +08:00
Kevin Wan
3f756a2cbf
chore: update goctl version ( #5236 )
2025-10-11 18:01:18 +08:00
Kevin Wan
bbe5bbb0c0
chore: update go-redis for the retracted versions ( #5235 )
v1.9.2
2025-10-11 16:20:23 +08:00
dependabot[bot]
5ad2278a69
chore(deps): bump go.mongodb.org/mongo-driver/v2 from 2.3.0 to 2.3.1 ( #5230 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-10 21:32:04 +08:00
ZH1995
77763fe748
Fix api doc url in readme-cn.md ( #5233 )
2025-10-10 13:21:46 +00:00
Kevin Wan
538c4fb5c7
fix: issue #5154 , not using sse template files ( #5220 )
2025-10-08 11:56:52 +00:00
Kevin Wan
315fb2fe0a
Add company to the list in readme-cn.md ( #5222 )
2025-10-07 21:04:09 +08:00
Copilot
e382887eb8
docs: Add comprehensive documentation for blocking Redis operations (XReadGroup, Blpop) ( #5221 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com >
2025-10-07 16:46:10 +08:00
Kevin Wan
cf21cb2b0b
chore: refactor to remove duplicated code ( #5216 )
2025-10-06 22:24:44 +08:00
Copilot
61e8894c31
Fix swagger generation: info block and server tags not included ( #5215 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-10-06 22:02:42 +08:00
Copilot
7a6c3c8129
Fix swagger path generation: remove trailing slash for root routes with prefix ( #5212 )
2025-10-05 12:12:03 +08:00
Rizky Ikwan
875fec3e1a
chore: fix typos ( #5210 )
2025-10-04 02:56:07 +00:00
Kevin Wan
60128c2100
chore: update goctl version ( #5205 )
tools/goctl/v1.9.1
2025-10-02 22:48:57 +08:00
Copilot
ce6d0e3ea7
fix(goctl/swagger): correct $ref placement in array definitions when useDefinitions is enabled ( #5199 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
v1.9.1
2025-10-02 22:11:18 +08:00
Kevin Wan
fa85c84af3
chore: code refactoring ( #5204 )
2025-10-02 21:48:03 +08:00
Remember
440884105e
feat(handler): add sseSlowThreshold ( #5196 )
2025-10-02 13:34:44 +00:00
Copilot
271f10598f
Add complete test scaffolding support with --test flag for API projects ( #5176 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-09-27 21:13:13 +08:00
Remember
cf55a88ce3
fix(rest): change SSE SetWriteDeadline error log to debug level ( #5162 )
2025-09-27 12:48:35 +00:00
dependabot[bot]
c1c786b14a
chore(deps): bump github.com/redis/go-redis/v9 from 9.14.0 to 9.15.0 ( #5193 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-27 11:51:15 +08:00
Remember
988fb9d9bf
fix: SSE handler blocking ( #5181 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-26 13:53:42 +00:00
Copilot
d212c81bca
Add GitHub Copilot instructions for go-zero project ( #5178 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-09-20 13:40:43 +08:00
Kevin Wan
bc43df2641
optimize: mapreduce panic stacktrace ( #5168 )
2025-09-14 19:33:09 +08:00
dependabot[bot]
351b8cb37b
chore(deps): bump github.com/redis/go-redis/v9 from 9.13.0 to 9.14.0 ( #5169 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-11 22:07:13 +08:00
wanwu
0d681a2e29
opt: optimization of machine performance data reading ( #5174 )
...
Co-authored-by: sam.yang <sam.yang@yijinin.com >
2025-09-11 13:56:07 +00:00
dependabot[bot]
5ea027c5de
chore(deps): bump actions/setup-go from 5 to 6 ( #5156 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 21:07:44 +08:00
dependabot[bot]
5de6112dcd
chore(deps): bump actions/stale from 9 to 10 ( #5157 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 18:55:45 +08:00
Kevin Wan
4fb51723b7
Add company to the list ( #5153 )
2025-09-07 22:53:49 +08:00
me-cs
06502d1115
update:optimize slice find and Unquote func ( #5108 )
2025-09-07 00:41:45 +00:00
kesonan
3854d6dd00
fix array type generation error ( #5142 )
2025-09-04 13:41:15 +00:00
dependabot[bot]
895854913a
chore(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10 in /tools/goctl ( #5141 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 21:35:50 +08:00
dependabot[bot]
ef753b8857
chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 in /tools/goctl ( #5147 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 21:28:40 +08:00
dependabot[bot]
9c16fede73
chore(deps): bump github.com/redis/go-redis/v9 from 9.12.1 to 9.13.0 ( #5149 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 21:17:33 +08:00
Kevin Wan
ce11adb5e4
feat: add code generation headers in safe to edit files ( #5136 )
2025-09-01 21:27:30 +08:00
Kevin Wan
894e8b1218
chore: update goctl version ( #5138 )
tools/goctl/v1.9.0
2025-08-31 23:37:00 +08:00
Kevin Wan
2ec7e432dd
chore: refactor ( #5137 )
2025-08-31 17:35:52 +08:00