v1.3.5
릴리스 날짜: 2022-07-09 — GitHub 릴리스
기능과 업데이트:
- REST server에 등록된 route를 출력하는
svr.PrintRoutes()를 추가했습니다. - gRPC error를 HTTP status code로 자동 변환합니다.
- REST에서 built-in middleware를 비활성화하고 사용자 정의 middleware를 사용할 수 있습니다.
httpc에 trace-id와 span-id를 추가했습니다.PeriodLimit에TakeCtx를 추가했습니다.- 기타 소규모 개선과 버그 수정이 포함되었습니다.
변경 사항
섹션 제목: “변경 사항”- 정리: 의존성을 업데이트했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1963
- 기능: route 출력 기능을 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1964
- 정리: MongoDB log를 개선했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1965
- 정리: 출력 형식을 더 보기 좋게 개선했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1967
optionstag 검증이int/uinttype에서 동작하지 않던 문제를 수정했습니다. — @taobig, https://github.com/zeromicro/go-zero/pull/1969- 정리: method signature의 일관성을 높였습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1971
- 정리: 의존성을 업데이트했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1985
periodlimit에 새 함수TakeWithContext를 추가했습니다. — @showurl, https://github.com/zeromicro/go-zero/pull/1983- 기능: gRPC error를 HTTP status code로 변환합니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/1997
- zrpc client tracing에서 수신 byte 크기가 표시되지 않던 문제를 수정했습니다. — @AtlanCI, https://github.com/zeromicro/go-zero/pull/2003
- 기능:
httpc에 trace를 추가했습니다. — @chenquan, https://github.com/zeromicro/go-zero/pull/2011 - 사용자 middleware chain 함수를 추가했습니다. — @magickeha, https://github.com/zeromicro/go-zero/pull/1913
- 정리: built-in middleware 비활성화 방식을 단순화하도록 리팩터링했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2031
- 기능: built-in middleware를 대체할 수 있는
rest.WithChain을 추가했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2033 - HTTP server shutdown 시
\u003cnil\u003e이 log에 출력되던 문제를 수정했습니다. — @brickzzhang, https://github.com/zeromicro/go-zero/pull/2055 - 기능:
CompareAndSwapInt32가AddInt32보다 더 적합할 수 있어 관련 처리를 개선했습니다. — @wxc421, https://github.com/zeromicro/go-zero/pull/2077 - legacy code를 제거했습니다. — @taobig, https://github.com/zeromicro/go-zero/pull/2084
- concurrent map read/write 문제를 수정했습니다. — @wangzeping722, https://github.com/zeromicro/go-zero/pull/2079
- string에서 int로 type matching을 지원하도록 수정했습니다. — @cjf8134, https://github.com/zeromicro/go-zero/pull/2038
- legacy code를 제거했습니다. — @taobig, https://github.com/zeromicro/go-zero/pull/2086
- 기능:
jsonx에 메서드를 추가했습니다. — @vfmh, https://github.com/zeromicro/go-zero/pull/2049 - 리팩터링: 중복 코드를 제거했습니다. — @shssen, https://github.com/zeromicro/go-zero/pull/2101
- #2109를 수정했습니다. — @kevwan, https://github.com/zeromicro/go-zero/pull/2116
새로운 기여자
섹션 제목: “새로운 기여자”- @kevin0527 님이 https://github.com/zeromicro/go-zero/pull/1916 에서 첫 기여를 해 주셨습니다.
- @taobig 님이 https://github.com/zeromicro/go-zero/pull/1969 에서 첫 기여를 해 주셨습니다.
- @swliao425 님이 https://github.com/zeromicro/go-zero/pull/1996 에서 첫 기여를 해 주셨습니다.
- @gaffeyQiu 님이 https://github.com/zeromicro/go-zero/pull/1992 에서 첫 기여를 해 주셨습니다.
- @showurl 님이 https://github.com/zeromicro/go-zero/pull/1983 에서 첫 기여를 해 주셨습니다.
- @AtlanCI 님이 https://github.com/zeromicro/go-zero/pull/2003 에서 첫 기여를 해 주셨습니다.
- @magickeha 님이 https://github.com/zeromicro/go-zero/pull/1913 에서 첫 기여를 해 주셨습니다.
- @lord63 님이 https://github.com/zeromicro/go-zero/pull/2047 에서 첫 기여를 해 주셨습니다.
- @czyt 님이 https://github.com/zeromicro/go-zero/pull/2061 에서 첫 기여를 해 주셨습니다.
- @brickzzhang 님이 https://github.com/zeromicro/go-zero/pull/2055 에서 첫 기여를 해 주셨습니다.
- @dependabot 님이 https://github.com/zeromicro/go-zero/pull/2064 에서 첫 기여를 해 주셨습니다.
- @wxc421 님이 https://github.com/zeromicro/go-zero/pull/2077 에서 첫 기여를 해 주셨습니다.
- @vfmh 님이 https://github.com/zeromicro/go-zero/pull/2049 에서 첫 기여를 해 주셨습니다.
- @shssen 님이 https://github.com/zeromicro/go-zero/pull/2101 에서 첫 기여를 해 주셨습니다.
전체 변경 로그: https://github.com/zeromicro/go-zero/compare/v1.3.4…v1.3.5