Skip to content

Releases: go-dev-frame/sponge

v1.15.3

12 Oct 15:21

Choose a tag to compare

Changelog

  1. Improved SSE service shutdown process — now automatically sends a close event to clients upon exit. #136
  2. Added gRPC performance testing support to perftest, expanding its benchmarking capabilities.

v1.15.2

08 Oct 09:37

Choose a tag to compare

Changelog

New Features

  1. Distributed Load Testing in Perftest: Added distributed testing mode with real-time performance metrics visualization on the dashboard, enabling large-scale load testing.
  2. Gin Session Usage Tips: Added guidance for using sessions in the Gin framework, making integration easier for developers.

Bug Fixes

  1. SQL Code Generation Fix: Fixed an issue where SQL-to-code generation failed when SQL comments contained line breaks.
  2. SSE Client Release Fix: Fixed an issue where the SSE server didn’t properly release connected clients upon shutdown. #136

v1.15.1

10 Sep 05:00

Choose a tag to compare

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

24 Aug 13:02

Choose a tag to compare

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

03 Aug 15:03

Choose a tag to compare

Changelog

  1. Add the function of generating README.md
  2. Fixed #119
  3. Fixed #120
  4. Fixed #123

v1.14.3

27 Jul 08:54

Choose a tag to compare

Changelog

  1. Fixed inconsistency between xxxID format names under .pb.go and _client_test.go when generating gRPC CRUD. #114
  2. Updated Comments README.md.

v1.14.2

20 Jul 12:15

Choose a tag to compare

Changelog

  1. Changed the default type of 64-bit integer fields in swagger.json from string to integer #113
  2. Refined function comments in template code

v1.14.1

19 Jul 07:46

Choose a tag to compare

Changelog

New Features

  1. Added pkg/sasynq - a distributed task queue library for asynchronous background task processing.

Bug Fixes

  1. Fixed DBResolver compatibility issues with the latest GORM version #111
  2. Resolved postgresql table parsing errors when table comments contain single quotes #112

Dependency Updates

  1. Upgraded GORM from v1.25.1 to v1.30.0

Other Changes

  1. Removed deprecated pkg/ggorm library (replaced by pkg/sgorm)

v1.14.0

22 Jun 09:30

Choose a tag to compare

Change Log

New Features

  1. Added a custom Copier utility library that supports automatic bidirectional conversion between time types and strings.
  2. Implemented automatic conversion from Swagger 2.0 to OpenAPI 3.0 specification.
  3. Added implementation of SSE (Server-Sent Events) for both server and client sides.
  4. MongoDB ORM supports complex conditional group queries, with automatic type recognition and conversion for values (integer/date-time).
  5. SGORM ORM supports automatic type recognition and conversion for values (integer/date-time).

Bug Fixes

  1. Fixed an issue where the Swagger API documentation generated from Protobuf was inconsistent with the actual API response format.

Dependency Upgrades

  1. Upgraded Gin framework from v1.9.1 to v1.10.1.
  2. Upgraded Copier library from v0.3.5 to v0.4.0.

v1.13.2

18 May 16:01

Choose a tag to compare

Change log

  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.