release: update release docs

This commit is contained in:
zhuyasen 2025-05-18 23:35:58 +08:00
parent 7d7d60e5e3
commit ca46c09c25
1 changed files with 5 additions and 22 deletions

27
.github/RELEASE.md vendored
View File

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