Releases: yoyofx/yoyogo
Releases · yoyofx/yoyogo
v1.7.9 web response for api result builder
Features:
- web context binding for ctx.Bind,add url binding function.
- add mvc API result builder to build for web response.
Problems:
- fixed mvc not found the route, return 404 or error by profile env
- web context add ctx.bind error tips.
v1.7.8
v1.7.7 Automatic refresh remote config for object
Features:
- Automatic refresh config object on nacos and apollo remote changes.
Frameworks upgrade:
- upgrade nacos-viper-remote to v0.4.0
Contributors:
- shima-park/agollo ,viper update to v1.8.1 and apollo remote changes event.
v1.7.6.Release fixed some bugs.
Problems:
- fixed graceful stop and readiness bugs.
- fixed parallel problem by mvc template, that match it for route path .
- fixed read remote config hight priority then flags .
Features:
- add endpoint /actuator/health/detail, and then output db,redis and more .
- add endpoint /actuator/routers, and then output all route info list
v1.7.5 Upgrade dependency injection framework
Framework dependency:
- New dependency injection framework
https://github.com/yoyofxteam/dependencyinjection
Features:
- Support grpc connection timeout with context. (fix)
v1.7.4.Release - Dependence Upgrade
CLI tempates upgrade:
- grpc
- xxl-job
Frameworks upgrade:
- upgrade gRPC to v1.38.0
- upgrade etcd to v3.5.0
- upgrade protobuf to v1.5.2
- upgrade go-redis to v8.11.0
- upgrade go-grpc-middleware to v1.3.0
- upgrade gorm to v1.21.11
- upgrade logrus to v1.8.1
- upgrade go2sky to v1.1.0
- upgrade fasthttp v1.28.0
v1.7.3 cli & templates
yoyogo cli
1. yygctl (cli)
2. templates support , includes console / webapi / mvc / grpc / xxl-job .
install
go install github.com/yoyofx/yoyogo/cli/yygctl
local install
cd yoyogo/cli/yygctl
go install
Installation location:
$GOPATH
add $GOPATH to $PATH Environment variable
Commands
There are commands working with application root folder
new
yygctl new <TEMPLATE> [-l|--list] [-n <PROJECTNAME>] [-p <TARGETDIR>]
--list
list all templates
TEMPLATE LIST
console / webapi / mvc / grpc / xxl-job
-n
generate folder by project name
-p
output files to target directory.
such as
yygctl new console -n demo -p /Projects
v1.7.2 apollo config center support
- apollo config center support
- changed quick config setting package , github.com/yoyofx/yoyogo/pkg/configuration/{ nacos or apollo }
examples:
config := nacosConfig.RemoteConfig("config")
config := apolloConfig.RemoteConfig("config")
v1.7.1 xxl-job & consul
- Integration distributed task of xxl-job
- consul for service discovery & authentication
v1.7.0 Nacos Config Integration
- Nacos Config Integration