Releases: go-dev-frame/sponge
Releases · go-dev-frame/sponge
v1.13.1
Change log
New Features
- Enhanced Code Generation Tool
- Added command and UI for generating gRPC + HTTP service code based on SQL
- Introduced
goastlibrary for Go source code parsing - Added Gemini AI Assistant SDK
- Added command and UI for the AI Assistant to generate and merge code
make runcommand now supports specifying a configuration file
Refactoring & Optimization
- Core Logic Refactoring
- Optimized the logic for code generation and merging using the
protocplugin - Refactored the authentication module:
- Improved the
pkg/jwtpackage - Enhanced JWT authentication middleware for the Gin framework (
pkg/gin/middleware/jwtAuth.go)
- Improved the
- Optimized the logic for code generation and merging using the
Bug Fixes
- Database Related
- Fixed an issue where the
sgorm.Booltype could not properly read or assign PostgreSQL boolean fields
- Fixed an issue where the
- Cross-Platform Compatibility
- Resolved an issue where code archives appeared empty when extracted using the built-in tool on Windows
- Dependency Management
- Fixed a version conflict issue with the
go.opentelemetry.io/oteldependency #97
- Fixed a version conflict issue with the
v1.12.8
v1.12.7
Change log
- Added
StrToUintandUintToStrfunctions to fix the problem of converting sql to go type uint.
v1.12.6
Change log
- Built-in AI assistant (
DeepSeekorChatGPT) supports generation of business logic code from specified go files.
v1.12.5
Change log
- Support the use of
ChatGPTorDeepSeekassistant to analyze and generate business logic code based on prompts
v1.12.3
Change log
- Fixed zero-valued judgments for types decimal and json.
v1.12.2
Change log
- Custom conditional queries support
nullvalues and parenthesis group. - Generate code to support parsing mysql data types
bit(1)anddecimal. - Optimize gin and gRPC for jwt certification.
v1.12.1
Change log
Transfer ownership of the zhufuyi/sponge repository to the go-dev-frame/sponge.
Note: If the current version of Sponge is lower than v1.11.1, and you want to upgrade to a higher version, execute the following command:
go install github.com/go-dev-frame/sponge/cmd/sponge@latest
sponge upgradev1.12.0
Change log
Transfer ownership of the zhufuyi/sponge repository to the go-dev-frame/sponge.
Note: If you currently have Sponge v1.11.1 and below, if you want to upgrade to a higher version, execute the following command:
go install github.com/go-dev-frame/sponge@latest
sponge upgradev1.11.1
Change log
Upgrade library versions:
- github.com/gin-contrib/cors: v1.7.1 -> v1.7.2
- golang.org/x/crypto: v0.26.0 -> v0.31.0