Skip to content

Commit

Permalink
docs: update release log
Browse files Browse the repository at this point in the history
  • Loading branch information
zhufuyi committed Dec 17, 2024
1 parent 4283ee0 commit 21ed683
Showing 1 changed file with 4 additions and 46 deletions.
50 changes: 4 additions & 46 deletions .github/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,7 @@

### **Major Feature Updates**
## Change log

1. **Customizable Primary Keys for SQL Tables**:
- Primary key names are no longer restricted to `id`, and the type is no longer limited to integers. Other names and string types are now supported.
Upgrade library versions:

2. **Improved Code Generation**:
- Added a command for generating code based on custom templates and fields.
- Added a command for generating code based on custom templates and SQL.
- Added a command for generating code based on custom templates and Protobuf.
- Added a `protoc` plugin for converting Protobuf to JSON.
- Introduced a web interface for generating code using custom templates.

### **Framework and Code Enhancements**

3. **Simplified service code generation**:
- Removed default code blocks for service registration and discovery and Nacos configuration center. If needed, users can add them manually.

4. **Directory Structure Optimization**:
- Moved `internal/model/init.go` to the `internal/database` directory.

5. **Simplified Dependencies**:
- Replaced `pkg/ggorm` with `pkg/sgorm`, reducing code dependencies during compilation.
- Delete dropped library `pkg/mysql`

### **New Commands and Tools**

6. **Command Enhancements**:
- The `make proto` command now automatically initializes the database and imports dependencies from `types.proto`.

7. **Simplified command**:
- Merge `sponge configmap` into `sponge config` and rename it `cm`, see the help `sponge config cm -h`.

8. **Architecture Diagram Generation**:
- Automatically generates project business architecture diagrams based on service configurations. e.g. https://github.com/zhufuyi/spograph/blob/main/example.png

### **Upgrade Dependency Library Version**

- google.golang.org/grpc: `v1.61.0` --> `v1.67.1`
- github.com/grpc-ecosystem/go-grpc-middleware: `v1.3.0` --> `v2.1.0`
- github.com/redis/go-redis/v9: `v9.6.1` --> `v9.7.0`
- go.etcd.io/etcd/client/v3: `v3.5.4` --> `v3.5.13`

### **Bug Fixes**

- [#78](https://github.com/zhufuyi/sponge/issues/78)
- [#83](https://github.com/zhufuyi/sponge/issues/83)
- [#86](https://github.com/zhufuyi/sponge/issues/86)
- [#88](https://github.com/zhufuyi/sponge/issues/88)
- [**github.com/gin-contrib/cors**](https://github.com/gin-contrib/cors): v1.7.1 -> v1.7.2
- [**golang.org/x/crypto**](https://golang.org/x/crypto): v0.26.0 -> v0.31.0

0 comments on commit 21ed683

Please sign in to comment.