v1.4.1
릴리스 날짜: 2022-09-17 — GitHub 릴리스
Framework
섹션 제목: “Framework”- SQL log와 SQL slow log를 각각 비활성화할 수 있습니다.
- gRPC built-in health check를 선택 사항으로 바꾸고 설정 파일에서 구성할 수 있게 했습니다.
- Redis에
ZaddFloat와ZaddFloatCtx를 추가했습니다. - 필요한 경우에만 CPU usage를 수집합니다.
safemap에Range메서드를 추가했습니다.httpc에서 baggage propagation을 지원합니다.- OpenTelemetry gRPC exporter를 추가했습니다.
- MySQL과 Redis metric을 지원합니다.
- JWT 만료 시 발생하던 CORS 문제를 수정했습니다.
mapreduce의 panic 메시지를 더 정확하게 표시합니다.content-length가 유효하지 않은 경우를 처리합니다.- 기타 소규모 개선과 버그 수정이 포함되었습니다.
변경 사항
섹션 제목: “변경 사항”- 정리: goctl용 release action을 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2239
- 의존성:
github.com/fullstorydev/grpcurl을 1.8.6에서 1.8.7로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2245 - 의존성:
github.com/prometheus/client_golang을 1.12.2에서 1.13.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2244 - time 표현 wrapper를 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2255
- Go 1.19 호환성으로 인한 test failure를 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2256
unsignedTypeMaptype error를 수정했습니다. — @fyyang, https://github.com/zeromicro/go-zero/pull/2246- 테스트를 더 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2261
- 의존성:
github.com/alicebob/miniredis/v2를 2.22.0에서 2.23.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2260 - 정리:
logx를 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2262 - #2240을 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2263
- 의존성:
github.com/pelletier/go-toml/v2를 2.0.2에서 2.0.3으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2267 - #2240을 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2271
- 정리: README를 업데이트했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/2280
- 기능: RPC health check function 설정을 선택 사항으로 추가했습니다. — @MarkJoyMa, https://github.com/zeromicro/go-zero/pull/2288
- 문서: README에 star history를 추가했습니다. — @chenquan, https://github.com/zeromicro/go-zero/pull/2275
logx가 Windows(DOS, Powershell)에서 깨진 문자를 표시하던 문제를 수정했습니다. — @chenquan, https://github.com/zeromicro/go-zero/pull/2232- CORS middleware가 다른 middleware보다 앞에 위치하도록 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2283
- 기능(Redis):
ZaddFloat와ZaddFloatCtx를 추가했습니다. — @chenquan, https://github.com/zeromicro/go-zero/pull/2291 - 의존성:
google.golang.org/grpc를 1.48.0에서 1.49.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2297 - CPU stat은 사용할 때만 초기화하도록 변경했습니다. — @joshq00, https://github.com/zeromicro/go-zero/pull/2020
- 정리: stat 처리를 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2299
- resource manager deadlock을 수정했습니다. — @sado0823, https://github.com/zeromicro/go-zero/pull/2302
- 의존성:
github.com/pelletier/go-toml/v2를 2.0.3에서 2.0.5로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2305 - 정리: gateway를 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2303
- 중복된 Markdown 복사 문제를 수정했습니다. — @wsx864321, https://github.com/zeromicro/go-zero/pull/2304
- server interceptor에서 metadata가 중복 복사되던 문제를 수정했습니다. — @wsx864321, https://github.com/zeromicro/go-zero/pull/2309
- 일부 상황에서
logx비활성화가 동작하지 않던 문제를 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2306 - #2301과 DDL로 생성되는 package conflict를 수정했습니다. — @yiGmMk, https://github.com/zeromicro/go-zero/pull/2307
mapreduce의 panic 메시지를 더 정확하게 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2311- 사용하지 않는 package를 제거했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2312
content-length가 유효하지 않은 경우를 처리하도록 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2313safemap에Range메서드를 추가했습니다. — @lppgo, https://github.com/zeromicro/go-zero/pull/2314safemap순회를 순차 range 방식으로 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2316- number range 비교에서 left/right value 처리를 개선했습니다. — @lowang-bh, https://github.com/zeromicro/go-zero/pull/2315
- mapping의 range validation을 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2317
- 기능: strict flag를 추가했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/2248
- 문서 생성에서 nested type을 생성하도록 했습니다. — @zlx362211854, https://github.com/zeromicro/go-zero/pull/2201
logx#getWriter를 concurrency-safe하게 만들었습니다. — @anyoptional, https://github.com/zeromicro/go-zero/pull/2233logx의getWriter를 thread-safe하게 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2319- etcd
get과watch가 atomic하지 않던 문제를 수정했습니다. — @wsx864321, https://github.com/zeromicro/go-zero/pull/2321 - 기능: Java 관련 출력을 숨기는 옵션을 추가했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/2333
- test case를 수정했습니다. — @anyoptional, https://github.com/zeromicro/go-zero/pull/2340
- trace graceful stop에서 trace가 미리 유실되던 문제를 수정했습니다. — @wsx864321, https://github.com/zeromicro/go-zero/pull/2358
- 정리: 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2365
- 의존성:
go.mongodb.org/mongo-driver를 1.10.1에서 1.10.2로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2370 - 의존성:
go.uber.org/goleak을 1.1.12에서 1.2.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2371 - 기능:
httpc에서 baggage propagation을 지원합니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2375 - 의존성:
github.com/lib/pq를 1.10.6에서 1.10.7로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2373 - #2359를 수정했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/2368
- #2364를 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2377
- 기능:
goctl kube에서targetPort옵션을 지원합니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2378 - 의존성:
go.opentelemetry.io/otel/sdk를 1.9.0에서 1.10.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2383 - 기능: gRPC trace exporter를 추가했습니다. — @genewoo, https://github.com/zeromicro/go-zero/pull/2379
- 의존성:
go.opentelemetry.io/otel/exporters/zipkin을 1.9.0에서 1.10.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2385 - 정리: 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2388
- 의존성:
go.opentelemetry.io/otel/exporters/jaeger를 1.9.0에서 1.10.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2389 - 의존성:
github.com/jhump/protoreflect를 1.12.0에서 1.13.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2393 - 의존성:
go.etcd.io/etcd/api/v3를 3.5.4에서 3.5.5로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2394 - 의존성:
go.etcd.io/etcd/client/v3를 3.5.4에서 3.5.5로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2395 - 의존성:
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc를 1.9.0에서 1.10.0으로 올렸습니다. — @dependabot, https://github.com/zeromicro/go-zero/pull/2402 - 기능: MySQL과 Redis metric을 지원합니다. — @zhoushuguang, https://github.com/zeromicro/go-zero/pull/2355
- 정리: import를 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2406
새로운 기여자
섹션 제목: “새로운 기여자”- @fyyang 님이 https://github.com/zeromicro/go-zero/pull/2246 에서 첫 기여를 해 주셨습니다.
- @joshq00 님이 https://github.com/zeromicro/go-zero/pull/2020 에서 첫 기여를 해 주셨습니다.
- @sado0823 님이 https://github.com/zeromicro/go-zero/pull/2302 에서 첫 기여를 해 주셨습니다.
- @wsx864321 님이 https://github.com/zeromicro/go-zero/pull/2304 에서 첫 기여를 해 주셨습니다.
- @yiGmMk 님이 https://github.com/zeromicro/go-zero/pull/2307 에서 첫 기여를 해 주셨습니다.
- @lppgo 님이 https://github.com/zeromicro/go-zero/pull/2314 에서 첫 기여를 해 주셨습니다.
- @lowang-bh 님이 https://github.com/zeromicro/go-zero/pull/2315 에서 첫 기여를 해 주셨습니다.
- @zlx362211854 님이 https://github.com/zeromicro/go-zero/pull/2201 에서 첫 기여를 해 주셨습니다.
- @anyoptional 님이 https://github.com/zeromicro/go-zero/pull/2233 에서 첫 기여를 해 주셨습니다.
- @genewoo 님이 https://github.com/zeromicro/go-zero/pull/2379 에서 첫 기여를 해 주셨습니다.
전체 변경 로그: https://github.com/zeromicro/go-zero/compare/v1.4.0…v1.4.1