v1.3.4
릴리스 날짜: 2022-06-03 — GitHub 릴리스
기능과 업데이트:
logx와 함께 third-party logging library를 사용할 수 있습니다.logx의Infow,Errorw,Sloww메서드에서LogField를 지원합니다. 예:logx.Infow(msg, logx.Field(key1, val1), logx.Field(key2, val2))Encoding: plain을 사용할 때logx가 terminal color를 지원합니다.toml설정 파일을 지원합니다.- gRPC client stream interceptor를 지원합니다.
- gRPC server의 기본 connection idle time을 5분으로 설정했습니다.
- gRPC server에서 health check를 활성화했습니다.
- Redis, SQL, MongoDB의 trace 정보를 더 명확하게 표시합니다.
- 의존성에서 deprecated usage를 제거했습니다.
k8s.io/client-go의 보안 이슈 때문에 Go 버전을 1.16으로 업데이트했습니다.- 기타 소규모 버그 수정과 개선이 포함되었습니다.
변경 로그
섹션 제목: “변경 로그”- 문서: README를 업데이트했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1849
- 테스트: 더 많은 테스트를 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1856
- 오타를 수정했습니다. — @sixwaaaay, https://github.com/zeromicro/go-zero/pull/1857
- 기능:
logx메서드에 field를 추가하고 third-party logging library 사용을 지원했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1847 - 정리: Go가 최적화했기 때문에
timex.Time()대신time.Now()를 사용하도록 변경했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1860 - 테스트: codecov를 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1861
- 테스트: codecov를 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1863
- 정리: 테스트를 다듬었습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1864
logx.Field의 time, duration, slice type 처리 문제를 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1868conf문서를 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1869- 정리: deprecated usage를 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1871
- 기능: CLI를 cobra 기반으로 교체했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/1855
- 기능:
logx에 color를 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1872 - 정리: 일부 log를 업데이트했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1875
- 정리: codecov 설정을 개선했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1878
tools/goctl/rpc/generator/template_test.go파일의 잘못된 parameter를 수정했습니다. — @wangzeping722, https://github.com/zeromicro/go-zero/pull/1882- TypeScript template을 수정했습니다. — @SeigeC, https://github.com/zeromicro/go-zero/pull/1879
- 코드 생성을 수정했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/1897
- 기능: goctl quickstart를 추가했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/1889
- 리팩터링: Redis, SQL, MongoDB의 trace 처리를 리팩터링했습니다. — @chenquan, https://github.com/zeromicro/go-zero/pull/1865
- 정리: quickstart의 coding style을 정리했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1902
- 기능:
toml설정을 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1899 - 정리:
goproxy를 올바르게 사용하도록 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1903 - 정리: quickstart에서 GET을 사용하고 이해하기 쉽도록 plain log를 적용했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1905
- 기능: zrpc client에서
WithStreamClientInterceptor를 지원합니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1907 - check 중 process가 block되는 문제를 수정했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/1911
- 보안 이유로
k8s.io/client-go를 업데이트하고 Go를 1.16으로 업그레이드했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1912 - 기능: gRPC server의 기본 connection idle time을 설정하고 health check를 지원했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1922
- update 시 불필요한 delete cache logic을 수정했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/1923
- built-in shorthand flag를 지원하도록 수정했습니다. — @anqiansong, https://github.com/zeromicro/go-zero/pull/1925
- 기능: Docker Alpine package mirror를 업데이트했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1924
- 정리: release action으로 binary를 자동 build하도록 추가했습니다. — @chenquan, https://github.com/zeromicro/go-zero/pull/1884
- 정리(action): release 설정을 단순화했습니다. — @chenquan, https://github.com/zeromicro/go-zero/pull/1935
core/mr:ForEach함수의 collector 초기화를 소폭 최적화했습니다. — @notrynosuccess, https://github.com/zeromicro/go-zero/pull/1937- 코드를 단순화했습니다. — @lizhichao, https://github.com/zeromicro/go-zero/pull/1939
- 정리:
package main과 더 잘 호환되도록 Docker 설정을 다듬었습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1944 - 중복된 crash recover logic을 삭제했습니다. — @kunyu, https://github.com/zeromicro/go-zero/pull/1950
- 정리: roadmap을 업데이트했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1948
fillSliceFromString()에서 string 변환 시 발생하는 panic을 수정했습니다. — @cjf8134, https://github.com/zeromicro/go-zero/pull/1951- 정리: string-to-slice mapping을 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1959
새로운 기여자
섹션 제목: “새로운 기여자”- @sixwaaaay 님이 https://github.com/zeromicro/go-zero/pull/1857 에서 첫 기여를 해 주셨습니다.
- @wangzeping722 님이 https://github.com/zeromicro/go-zero/pull/1882 에서 첫 기여를 해 주셨습니다.
- @SeigeC 님이 https://github.com/zeromicro/go-zero/pull/1879 에서 첫 기여를 해 주셨습니다.
- @notrynosuccess 님이 https://github.com/zeromicro/go-zero/pull/1937 에서 첫 기여를 해 주셨습니다.
- @kunyu 님이 https://github.com/zeromicro/go-zero/pull/1950 에서 첫 기여를 해 주셨습니다.
- @cjf8134 님이 https://github.com/zeromicro/go-zero/pull/1951 에서 첫 기여를 해 주셨습니다.
전체 변경 로그: https://github.com/zeromicro/go-zero/compare/v1.3.3…v1.3.4