arimu1 opened a new pull request, #3586:
URL: https://github.com/apache/dubbo-go/pull/3586
### Description
Fixes #3582
Upgrade main-module direct YAML imports from `gopkg.in/yaml.v3` to
`go.yaml.in/yaml/v4`.
Changes:
- Swap import path in config center, condition/tag/script/affinity routers,
REST config reader, Triple OpenAPI encoder, Getty remoting, and gRPC client
config
- Add direct dependency `go.yaml.in/yaml/v4 v4.0.0-rc.6` in `go.mod` /
`go.sum`
- `gopkg.in/yaml.v3` remains only as an indirect (transitive) dependency
Nested tool modules under `tools/` (separate `go.mod` files) are left
unchanged.
### Checklist
- [x] I confirm the target branch is `develop`
- [x] Code has passed local testing
- [ ] I have added tests that prove my fix is effective or that my feature
works
### Local testing
```
go test ./config_center/... ./cluster/router/... \
./protocol/rest/config/reader/... \
./protocol/triple/openapi/... \
./remoting/getty/...
```
All passed.
`go test ./protocol/grpc/...` failed on this machine with `listen tcp
127.0.0.1:30000: bind: address already in use` (unrelated process holding the
port). Package builds cleanly after the import change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]