Skip to content

Releases: zhufuyi/sponge

v1.8.3

29 Jun 07:24
Compare
Choose a tag to compare

Change log

  • Fix a bug in MySQL table name and keyword conflicts.
  • Change the original generation of 9 CRUD API codes for each table to the default generation of 5 commonly used ones, which can be switched to generate 9 through switches.

v1.8.2

16 Jun 08:43
Compare
Choose a tag to compare

Change log

  • Compatible scheme mongodb+srv.
  • Add websocket sdk.
  • Supports dead letter queues for RabbitMQ.
  • Fix logger bug #39.
  • Fix parse mysql Enum type bug #41.
  • Fix parse postgresql json type bug.

v1.8.1

11 May 06:41
Compare
Choose a tag to compare

Change log

  • Fix bug in generating mongodb CRUD code.

v1.8.0

13 Apr 11:41
Compare
Choose a tag to compare

Change log

  • Add generate grpc+http service code
  • Add generate service+handler CRUD code
  • Fix known bugs

v1.7.0

24 Mar 08:44
Compare
Choose a tag to compare

Change log

  • Code generation supports multiple types of code repositories, you can choose to use monolithic application single repository (monolith), microservice multi-repository (multi-repo), or microservice single repository (mono-repo) according to your project needs.
  • Added automated testing scripts for code generation commands.
  • Based on protobuf to generate web services, the generated template code and documentation must meet the following conditions:
    • rpc cannot be set as stream type.
    • rpc must set http related information (router and method).
  • RPC stream based on protobuf supports generating corresponding template code and client testing code.
  • The generated code based on protobuf supports some common special types, such as Empty, Any, Timestamp, etc.
  • Fixed known bugs.

v1.6.3

10 Mar 09:05
Compare
Choose a tag to compare

Change log

  • Upgrade go.opentelemetry.io/otel and golang.org/x/crypto third-party libraries.
  • Adjusting the order of import packages.
  • Fix generate code based on postgresql bug #25.
  • Modify type,go type time.Time --> protobuf string RFC3339

v1.6.2

04 Mar 17:01
Compare
Choose a tag to compare

Change log

  • Fix ⓶ create grpc service based on sql, selecting multiple tables to generate code reports unsupported db driver error.
  • The mongodb json tag supports both shake case and camel case naming.

v1.6.1

02 Mar 09:30
Compare
Choose a tag to compare

Change log

  • Add model, dao, handler, service, web service, and grpc service code generated from mongodb sql.
  • Add test generation code command script.
  • Update document.

v1.6.0

17 Feb 11:41
Compare
Choose a tag to compare

Change log

  • Added generate database initialization code command.
  • Added support for postgresql, tidb, sqlite generation code.
  • Modify the Sponge UI interface.
  • Adjust database configuration in configuration.
  • Added generate k8s configmap script command.
  • The generated code version matches the local sponge version.
  • Fixed redundant createdAt and updatedAt fields in service and handler.
  • Add encryption and decryption library.
  • Add scheduled task library.

v1.5.16

05 Feb 08:46
Compare
Choose a tag to compare

Change log

  • Add auto test scripts.
  • Repack gorm package.