|
4 | 4 | 1. **Customizable Primary Keys for SQL Tables**:
|
5 | 5 | - 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.
|
6 | 6 |
|
7 |
| -2. **Enhanced Protobuf Support**: |
8 |
| - - Added a `protoc` plugin for converting Protobuf to JSON. |
9 |
| - |
10 |
| -3. **Improved Code Generation**: |
| 7 | +2. **Improved Code Generation**: |
11 | 8 | - Added a command for generating code based on custom templates and fields.
|
12 | 9 | - Added a command for generating code based on custom templates and SQL.
|
13 | 10 | - Added a command for generating code based on custom templates and Protobuf.
|
| 11 | + - Added a `protoc` plugin for converting Protobuf to JSON. |
14 | 12 | - Introduced a web interface for generating code using custom templates.
|
15 | 13 |
|
16 | 14 | ### **Framework and Code Enhancements**
|
17 | 15 |
|
18 |
| -4. **Simplified service code generation**: |
| 16 | +3. **Simplified service code generation**: |
19 | 17 | - Removed default code blocks for service registration and discovery and Nacos configuration center. If needed, users can add them manually.
|
20 | 18 |
|
21 |
| -5. **Directory Structure Optimization**: |
| 19 | +4. **Directory Structure Optimization**: |
22 | 20 | - Moved `internal/model/init.go` to the `internal/database` directory.
|
23 | 21 |
|
24 |
| -6. **Simplified Dependencies**: |
| 22 | +5. **Simplified Dependencies**: |
25 | 23 | - Replaced `pkg/ggorm` with `pkg/sgorm`, reducing code dependencies during compilation.
|
26 | 24 | - Delete dropped library `pkg/mysql`
|
27 | 25 |
|
28 | 26 | ### **New Commands and Tools**
|
29 | 27 |
|
30 |
| -7. **Command Enhancements**: |
| 28 | +6. **Command Enhancements**: |
31 | 29 | - The `make proto` command now automatically initializes the database and imports dependencies from `types.proto`.
|
32 | 30 |
|
| 31 | +7. **Simplified command**: |
| 32 | + - Merge `sponge configmap` into `sponge config` and rename it `cm`, see the help `sponge config cm -h`. |
| 33 | + |
33 | 34 | 8. **Architecture Diagram Generation**:
|
34 | 35 | - Automatically generates project business architecture diagrams based on service configurations. e.g. https://github.com/zhufuyi/spograph/blob/main/example.png
|
35 | 36 |
|
| 37 | +### **Upgrade Dependency Library Version** |
| 38 | + |
| 39 | +- google.golang.org/grpc: `v1.61.0` --> `v1.67.1` |
| 40 | +- github.com/grpc-ecosystem/go-grpc-middleware: `v1.3.0` --> `v2.1.0` |
| 41 | +- github.com/redis/go-redis/v9: `v9.6.1` --> `v9.7.0` |
| 42 | +- go.etcd.io/etcd/client/v3: `v3.5.4` --> `v3.5.13` |
| 43 | + |
36 | 44 | ### **Bug Fixes**
|
37 | 45 |
|
38 | 46 | - [#78](https://github.com/zhufuyi/sponge/issues/78)
|
|
0 commit comments