Releases: go-dev-frame/sponge
Releases · go-dev-frame/sponge
v1.15.3
v1.15.2
Changelog
New Features
- Distributed Load Testing in Perftest: Added distributed testing mode with real-time performance metrics visualization on the dashboard, enabling large-scale load testing.
- Gin Session Usage Tips: Added guidance for using sessions in the Gin framework, making integration easier for developers.
Bug Fixes
- SQL Code Generation Fix: Fixed an issue where SQL-to-code generation failed when SQL comments contained line breaks.
- SSE Client Release Fix: Fixed an issue where the SSE server didn’t properly release connected clients upon shutdown. #136
v1.15.1
Changelog
New Features
1Enhanced AI assistant’s ability to generate business code: Improved contextual understanding to increase the accuracy and practicality of generated code.
2Added a lightweight, high-performance stress testing command: Supports HTTP/1.1, HTTP/2, HTTP/3, and WebSocket protocols, with the capability to push stress test data in real time to Prometheus or custom services.
3Supports running performance stress tests via the UI: Provides visualized test reports for real-time viewing and analysis of results.
Bug Fixes
- Fixed a bug caused by the lack of support for fuzzy queries with Chinese prefixes and suffixes. For details, see #130.
v1.14.6
Changelog
- Fixed invalid URLs in the documentation
- Added Rails cookie-based authentication by @Eric-Guo
- Added example URLs for JWT authentication in the documentation
- Added support for custom printing or processing of system and program resource statistics
- Fixed the update slice bug in go mongo.
v1.14.4
v1.14.3
v1.14.2
v1.14.1
Changelog
New Features
- Added
pkg/sasynq- a distributed task queue library for asynchronous background task processing.
Bug Fixes
- Fixed DBResolver compatibility issues with the latest GORM version #111
- Resolved postgresql table parsing errors when table comments contain single quotes #112
Dependency Updates
- Upgraded GORM from v1.25.1 to v1.30.0
Other Changes
- Removed deprecated
pkg/ggormlibrary (replaced bypkg/sgorm)
v1.14.0
Change Log
New Features
- Added a custom Copier utility library that supports automatic bidirectional conversion between time types and strings.
- Implemented automatic conversion from Swagger 2.0 to OpenAPI 3.0 specification.
- Added implementation of SSE (Server-Sent Events) for both server and client sides.
- MongoDB ORM supports complex conditional group queries, with automatic type recognition and conversion for values (integer/date-time).
- SGORM ORM supports automatic type recognition and conversion for values (integer/date-time).
Bug Fixes
- Fixed an issue where the Swagger API documentation generated from Protobuf was inconsistent with the actual API response format.
Dependency Upgrades
- Upgraded Gin framework from v1.9.1 to v1.10.1.
- Upgraded Copier library from v0.3.5 to v0.4.0.
v1.13.2
Change log
- Removed the custom binding implementation and standardized the use of Gin's default binding mechanism.
- Added a lightweight Gin-JWT middleware implementation to simplify the authentication process.
- Standardized variable naming conventions in the generated code to ensure consistency, with special handling for proper nouns.
- Deprecated the custom
$neqoperator in MongoDB queries to maintain consistency with native query syntax. - Added a whitelist validation mechanism for the
namefield in custom query APIs to effectively prevent SQL injection risks.