Releases: zhufuyi/sponge
Releases · zhufuyi/sponge
v1.10.3
v1.10.1
Change log
- Modify the scripts in the large repository type so that the web service and grpc service code generated based on SQL can automatically complete the missing parts.
v1.10.0
Change log
- Modified the code directory structure for large repository services, making the
api
andthird_party
directories shared among all services, while keeping other directories unchanged. - Added an automatic initialization command for the large repository (mono-repo repository) service mode.
- Optimized the code merging rules, supporting the merging of gRPC template code, Handler code, Router configuration, and Error code.
- Added a distributed lock library dlock with support for
Redis
andEtcd
. - Optimized some
pkg
libraries (Scheduled Task Logging, ID Generation Functionality).
v1.9.3
v1.9.0
v1.8.7
Change log
- Modify the returned ID type, it will affect the ID types of GetByID and List for
⓵Create web service based on sql
, which are consistent with the ID types in the database.
Warning: If you are using code for
⓵Create web service based on sql
before v1.8.6, do not modify the sponge version under go.mod and upgrade to v1.8.6 or above. Otherwise, the List interface will return empty data because the originalsize
field has become invalid (replaced bylimit
field).
v1.8.6
Change log
- Change page field size to limit.
- Supporting custom bingdingXXX and response in the web(protobuf).
- Match message name xxxID in the protobuf file.
v1.8.5
Change log
- Optimize error codes and logs.
- Change protobuf demo.
v1.8.4
Change log
- Add kafka client library.
v1.8.3
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.