github go-kratos/kratos v3.0.0

6 hours ago

Breaking Changes

  • break: update kratos modules to v3 (#3822)

New Features

  • feat(errors): add standard library errors wrappers (#3844)
  • feat(transport/http): add read/write deadline control to ServerStream (#3843)
  • feat(protoc-gen-go-http): support google.api.HttpBody response (#3839)
  • feat(config): add generic config Get support (#3778)
  • feat(middleware/auth/jwt): add WithParserOptions to allow configuring… (#3803)
  • feat: support pre condition failed code mapping (#3795)
  • feat(cmd): add --repo flag to kratos new command (#3789)
  • feat(errors): add TooManyRequests error type (#3787)
  • feat(transport/http): support redirect errors in default error encoder (#3783)
  • feat(validate): add custom validator support and improve flexibility (#3780)

Bug Fixes

  • fix(transport/http): bind named body field for websocket client streaming (#3837)
  • fix(transport/http): clone transport before applying TLSClientConfig to avoid mutating http.DefaultTransport (#3808)
  • fix: JSON parsing error during hot reload caused by duplicate file write events
  • fix(config/apollo): prevent panic on nil NewValue in watcher onChange (#3806)
  • fix(metrics): remove redundant _bucket suffix from default histogram name (#3794)
  • fix: trim service suffix of service name (#3785)
  • fix(cmd): assign filepath.Join result to base in findCMD loop (#3798)
  • fix(middleware/metrics): remove redundant _bucket suffix from default histogram names (#3797)
  • fix(contrib/registry/discovery): replace context.TODO() with context.Background() (#3786)
  • fix(contrib/registry/eureka): use shared http.Transport (#3772)

Chores

  • chore(cmd): update dependencies and enhance project creation (#3779)

Others

  • contrib/registry/nacos: upgrade nacos-sdk-go from v1 to v2 (#3804)
  • refactor(contrib/registry/discovery): remove dead code (#3801)
  • Acc/reg (#3800)
  • build(deps): bump actions/cache from 4 to 5 (#3788)
  • refactor(contrib/opensergo): replace golang.org/x/net/context with standard context (#3782)
  • perf(encoding/form): replace fmt.Sprintf with string concatenation for map key encoding (#3777)

New Contributors

Full Changelog: v2.9.2...v3.0.0

Don't miss a new kratos release

NewReleases is sending notifications on new releases.