jessetang
aeecf3cdcc
fix(encoding/form): Timestamp
use local time and fix test wrong mock time zone ( #3257 )
...
* fix(form/test): wrong mock time zone
* fix lint
2024-03-22 23:41:41 +08:00
jessetang
bfafeca13d
fix(encoding/form): optimize EncodeField and add test cases ( #3234 )
...
* test(encoding/form): supplementary encode map test cases
* remove string kind convert
2024-03-22 23:40:52 +08:00
kvii
26d7d5fa00
feat(transport/http): add unwrap method for returning underlying response writer. #3253 ( #3265 )
2024-03-22 23:37:51 +08:00
gangan liu
1fdaabbd48
fix: When grpc ends idle mode, it needs to continue to obtain the latest instance of the service ( #3162 )
...
* Add test cases
* Delete serviceSet when serviceSet has no watcher
* The context of resolve is controlled independently
* resolve use set context
* Remove test declare and do not use it
* gofmt
* golangci-lint fix
2024-03-20 09:52:21 +08:00
Liang Chen
cd9857fc59
nacos stop cannot cancel subscription ( #3173 )
2024-03-20 09:51:35 +08:00
Joe Bird
1ab258e53f
fix: etcd registry lifecycle ( #3180 )
2024-03-16 22:59:42 +08:00
kvii
311016862b
feat: use writer directly in stdLogger. ( #3121 )
...
* feat: use writer directly in stdLogger.
* fix: Add newlines for each Log
* fix: remove break changes.
---------
Co-authored-by: Daemon <haiyux@foxmail.com>
2024-03-16 14:25:37 +08:00
dependabot[bot]
05b23fbb5b
build(deps): bump golang.org/x/sync in /contrib/registry/zookeeper ( #3150 )
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/golang/sync/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 11:19:37 +08:00
dependabot[bot]
4911130a3c
build(deps): bump github.com/prometheus/common ( #3154 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.45.0 to 0.46.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.45.0...v0.46.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
2024-03-15 11:19:09 +08:00
kvii
ffa1dca792
fix: logging middleware caller issue #3133 ( #3134 )
...
* fix: logging middleware caller issue #3133
* fix: fix lint issue
2024-03-15 11:15:31 +08:00
dependabot[bot]
be8821eed6
build(deps): bump golang.org/x/net in /contrib/opensergo ( #3155 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 11:13:57 +08:00
dependabot[bot]
7ee76bfc83
build(deps): bump actions/cache from 3 to 4 ( #3158 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 11:13:44 +08:00
libi
953a331de5
fix polaris registry bug: nodes is empty at startup ( #3160 )
2024-03-15 11:13:18 +08:00
kvii
63344c3c97
fix: remove duplicate test codes. ( #3187 )
2024-03-15 11:12:23 +08:00
dependabot[bot]
6286cdc947
build(deps): bump golangci/golangci-lint-action from 3 to 4 ( #3197 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 11:11:53 +08:00
言肆
d4edd442bb
feat(log): Prevent log.Helper sprintf from running early #3209 ( #3221 )
...
* feat(log): Prevent log.Helper sprintf from running early
* fix(log): add benchmark helper filter level
* chore(log): rename log Level Enabled
2024-03-15 11:09:57 +08:00
Flc゛
e11acb685e
build(lint): upgrade golangci/golangci-lint-action
( #3235 )
...
Signed-off-by: Flc゛ <four_leaf_clover@foxmail.com>
2024-03-15 11:08:32 +08:00
Flc゛
131df07764
build(go): Add go version v1.22.x ( #3236 )
...
Signed-off-by: Flc゛ <four_leaf_clover@foxmail.com>
2024-03-15 11:07:34 +08:00
oyk666
f566bdc2e6
fix: use .MapKey to get key's FieldDescriptor ( #3196 )
...
Co-authored-by: 欧阳凯 <990951775@qq.com>
2024-03-11 20:55:37 +08:00
kvii
50cad79c96
fix(transport/http): no need to call EncodeURL twice ( #3218 )
2024-03-01 11:12:06 +08:00
kvii
9106991c09
fix(protoc-gen-go-http): return nil if err == nil。 ( #3188 )
2024-02-14 17:04:54 +08:00
Like
c7fa51df7a
fix: zap log print out multiple msg
( #3171 )
...
* fix: zap log print out multiple `msg`
* fix: zap log print out multiple `msg`
* feat: add message key option
2024-02-02 10:39:11 +08:00
kvii
d9f390cdbb
fix: test failed on other timezone.( #3181 ) ( #3183 )
2024-02-02 10:38:20 +08:00
dependabot[bot]
a556a2b531
build(deps): bump github.com/go-resty/resty/v2 ( #3151 )
...
Bumps [github.com/go-resty/resty/v2](https://github.com/go-resty/resty ) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/go-resty/resty/releases )
- [Commits](https://github.com/go-resty/resty/compare/v2.10.0...v2.11.0 )
---
updated-dependencies:
- dependency-name: github.com/go-resty/resty/v2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 16:50:30 +08:00
Windfarer
9860d59ca7
feat(middleware): adding sentry as errortracker ( #3122 )
...
* init sentry
* rename var
* fix ctx key
* fix key
* update readme
* add test
* fix ctx args position
* update readme
* use sprintf
* update readme
* fix readme
* fix fmt
* add ut
* refactoring get hub
* fix docs
* fix get hub nil
* Update README.md
* fix alias
2024-01-18 13:54:37 +08:00
lawlielt
34d9666e0e
fix: clear err after app stop err handling ( #3146 )
2024-01-05 11:06:12 +08:00
bing liu
21de240843
feat: add server option for NotFoundHandler and MethodNotAllowedHandler ( #3131 )
...
Co-authored-by: Miles Liu <milesliu@birentech.com>
2024-01-05 11:01:17 +08:00
lawlielt
4cabcaa35c
fix: fix consul heartbeat 404 error ( #3147 )
...
this is will happen when heartbeat start after deregister
2024-01-05 10:59:59 +08:00
longxboy
85740b179b
feat: improve node alg ( #3015 )
...
* improve node alg
* fix node
* add weight
* fix lint
---------
Co-authored-by: caoguoliang01 <caoguoliang01@bilibili.com>
2023-12-19 19:15:44 +08:00
jessetang
856bc9a17b
fix(encoding/form): time with the location set to local time ( #2885 )
2023-12-16 17:21:43 +08:00
dependabot[bot]
5ec8524d5f
build(deps): bump go.etcd.io/etcd/client/v3 in /contrib/config/etcd ( #3115 )
...
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd ) from 3.5.10 to 3.5.11.
- [Release notes](https://github.com/etcd-io/etcd/releases )
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.10...v3.5.11 )
---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 17:20:58 +08:00
dependabot[bot]
de8901f841
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #3114 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.66 to 0.1.67.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.66...v0.1.67 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 17:20:01 +08:00
dependabot[bot]
f7d55df2b6
build(deps): bump go.etcd.io/etcd/client/v3 in /contrib/registry/etcd ( #3116 )
...
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd ) from 3.5.10 to 3.5.11.
- [Release notes](https://github.com/etcd-io/etcd/releases )
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.10...v3.5.11 )
---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 17:19:31 +08:00
包子
08300d8a41
feat: support consul sign config change ( #3118 )
...
* feat: support consul sign config change
* fix
2023-12-15 11:29:41 +08:00
dependabot[bot]
f753a9f01c
build(deps): bump actions/setup-go from 4.1.0 to 5.0.0 ( #3107 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4.1.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 10:32:07 +08:00
yonwoo9
1bb98b6a19
chore: fix words and modify some syntax declarations ( #3113 )
...
* chore:fix words
* fix:filter nodes len preallocate;replace func as cancelFunc; fix eureka mutex
2023-12-14 11:31:51 +08:00
ChengDaqi2023
4f614be3b4
update github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23 to 1.1.1 ( #2985 )
...
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
2023-12-13 10:44:28 +08:00
Weizhen Wang
e49ec751a6
chore: upgrade github.com/gorilla/mux ( #3112 )
...
* chore: upgrade github.com/gorilla/mux
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
* chore: upgrade github.com/gorilla/mux
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
---------
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
2023-12-13 10:44:05 +08:00
Jason
7e2edecabf
deps:update jwt v4 ->v5 ( #3085 )
...
* deps:update jwt v4 ->v5
* update logic
* deps:update jwt v4 ->v5
* update logic
* update go.mod
---------
Co-authored-by: wudongdong <wudongdong@rongma.com>
Co-authored-by: Cluas <Cluas@live.cn>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
2023-12-09 23:12:59 +08:00
包子
69268c573b
deps: upgrade kratos version to v2.7.2 ( #3109 )
2023-12-07 13:31:22 +08:00
dependabot[bot]
efac50c3d4
build(deps): bump github.com/hashicorp/consul/api ( #3080 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.20.0 to 1.26.1.
- [Release notes](https://github.com/hashicorp/consul/releases )
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.20.0...api/v1.26.1 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 11:36:33 +08:00
tan-zhuo
6be961078c
fix:polaris config watch ( #3082 )
...
* fix:the high CPU usage issue caused by watching the Polaris config, particularly in situations when config events are closed.
* fix:the high CPU usage issue caused by watching the Polaris config, particularly in situations when config events are closed.
---------
Co-authored-by: tanzhuo <tanzhuo@dingdandao.com>
2023-12-04 11:32:19 +08:00
包子
cd9ef38d13
feat(config): config support custom merge config ( #3106 )
2023-12-04 11:31:35 +08:00
dependabot[bot]
d13071e45f
build(deps): bump google.golang.org/grpc in /contrib/config/polaris ( #3055 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.56.1 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 13:52:17 +08:00
LinEvil
abd1d354af
fix: sctx
cause request ctx canceled during graceful shutdown ( #3097 )
2023-12-01 13:37:42 +08:00
dependabot[bot]
396af2d25f
build(deps): bump google.golang.org/grpc from 1.56.1 to 1.56.3 ( #3054 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.56.1 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 11:41:07 +08:00
dependabot[bot]
add4d957a9
build(deps): bump golang.org/x/net in /contrib/opensergo ( #3100 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/net/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 11:40:18 +08:00
dependabot[bot]
cdb9e99968
build(deps): bump github.com/emicklei/go-restful ( #2933 )
...
Bumps [github.com/emicklei/go-restful](https://github.com/emicklei/go-restful ) from 2.9.5+incompatible to 2.16.0+incompatible.
- [Release notes](https://github.com/emicklei/go-restful/releases )
- [Changelog](https://github.com/emicklei/go-restful/blob/v3/CHANGES.md )
- [Commits](https://github.com/emicklei/go-restful/compare/v2.9.5...v2.16.0 )
---
updated-dependencies:
- dependency-name: github.com/emicklei/go-restful
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 23:43:51 +08:00
dependabot[bot]
00beb849a3
build(deps): bump google.golang.org/grpc in /contrib/registry/etcd ( #3047 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.56.1 to 1.59.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.59.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 23:41:48 +08:00
dependabot[bot]
6aa2e005a5
build(deps): bump google.golang.org/grpc in /contrib/opensergo ( #3048 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.56.1 to 1.59.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.59.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 23:41:22 +08:00