|
1 |
| -## Change log |
2 | 1 |
|
3 |
| -- Fix for specifying schema in postgesql [#74](https://github.com/zhufuyi/sponge/issues/74). |
4 |
| -- Add statistics on grpc service connections in metrics. |
5 |
| -- Update command example. |
| 2 | +### **Major Feature Updates** |
| 3 | + |
| 4 | +1. **Customizable Primary Keys for SQL Tables**: |
| 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 | + |
| 7 | +2. **Enhanced Protobuf Support**: |
| 8 | + - Added a `protoc` plugin for converting Protobuf to JSON. |
| 9 | + |
| 10 | +3. **Improved Code Generation**: |
| 11 | + - Added a command for generating code based on custom templates and fields. |
| 12 | + - Added a command for generating code based on custom templates and SQL. |
| 13 | + - Added a command for generating code based on custom templates and Protobuf. |
| 14 | + - Introduced a web interface for generating code using custom templates. |
| 15 | + |
| 16 | +### **Framework and Code Enhancements** |
| 17 | + |
| 18 | +4. **Simplified service code generation**: |
| 19 | + - Removed default code blocks for service registration and discovery and Nacos configuration center. If needed, users can add them manually. |
| 20 | + |
| 21 | +5. **Directory Structure Optimization**: |
| 22 | + - Moved `internal/model/init.go` to the `internal/database` directory. |
| 23 | + |
| 24 | +6. **Simplified Dependencies**: |
| 25 | + - Replaced `pkg/ggorm` with `pkg/sgorm`, reducing code dependencies during compilation. |
| 26 | + - Delete dropped library `pkg/mysql` |
| 27 | + |
| 28 | +### **New Commands and Tools** |
| 29 | + |
| 30 | +7. **Command Enhancements**: |
| 31 | + - The `make proto` command now automatically initializes the database and imports dependencies from `types.proto`. |
| 32 | + |
| 33 | +8. **Architecture Diagram Generation**: |
| 34 | + - Automatically generates project business architecture diagrams based on service configurations. e.g. https://github.com/zhufuyi/spograph/blob/main/example.png |
| 35 | + |
| 36 | +### **Bug Fixes** |
| 37 | + |
| 38 | +- [#78](https://github.com/zhufuyi/sponge/issues/78) |
| 39 | +- [#83](https://github.com/zhufuyi/sponge/issues/83) |
| 40 | +- [#86](https://github.com/zhufuyi/sponge/issues/86) |
| 41 | +- [#88](https://github.com/zhufuyi/sponge/issues/88) |
0 commit comments