File tree 1 file changed +5
-22
lines changed
1 file changed +5
-22
lines changed Original file line number Diff line number Diff line change 1
1
2
2
## Change log
3
3
4
- ### New Features
5
- 1 . ** Enhanced Code Generation Tool**
6
- - Added command and UI for generating gRPC + HTTP service code based on SQL
7
- - Introduced ` goast ` library for Go source code parsing
8
- - Added Gemini AI Assistant SDK
9
- - Added command and UI for the AI Assistant to generate and merge code
10
- - ` make run ` command now supports specifying a configuration file
11
-
12
- ### Refactoring & Optimization
13
- 1 . ** Core Logic Refactoring**
14
- - Optimized the logic for code generation and merging using the ` protoc ` plugin
15
- - Refactored the authentication module:
16
- - Improved the ` pkg/jwt ` package
17
- - Enhanced JWT authentication middleware for the Gin framework (` pkg/gin/middleware/jwtAuth.go ` )
18
-
19
- ### Bug Fixes
20
- 1 . ** Database Related**
21
- - Fixed an issue where the ` sgorm.Bool ` type could not properly read or assign PostgreSQL boolean fields
22
- 2 . ** Cross-Platform Compatibility**
23
- - Resolved an issue where code archives appeared empty when extracted using the built-in tool on Windows
24
- 3 . ** Dependency Management**
25
- - Fixed a version conflict issue with the ` go.opentelemetry.io/otel ` dependency [ #97 ] ( https://github.com/go-dev-frame/sponge/issues/97 )
4
+ 1 . Removed the custom binding implementation and standardized the use of Gin's default binding mechanism.
5
+ 2 . Added a lightweight Gin-JWT middleware implementation to simplify the authentication process.
6
+ 3 . Standardized variable naming conventions in the generated code to ensure consistency, with special handling for proper nouns.
7
+ 4 . Deprecated the custom ` $neq ` operator in MongoDB queries to maintain consistency with native query syntax.
8
+ 5 . Added a whitelist validation mechanism for the ` name ` field in custom query APIs to effectively prevent SQL injection risks.
You can’t perform that action at this time.
0 commit comments