github go-kratos/kratos v2.9.0

18 hours ago

Dependencies

  • deps(middleware): upgrade protovalidate to resolve compatibility issue (#3706)

New Features

  • feat(protoc-gen-go-http): mark deprecated methods in generated code (#3711)
  • feat: add MCP transport (#3646)

Bug Fixes

  • fix(encoding): extract all form fields even if some unsupported (#3694)
  • fix meta variable (#3712)
  • fix: honor shutdown timeout when provided context already canceled (#3695)
  • fix stale entries before the each pick operation (#3690)
  • fix: replace strconv.Itoa with strconv.FormatInt for int64 handling (#3667)
  • fix: solve have syntax error when execute make command. (#3682)
  • fix(internal/host): Extract optimizes the return of the minimum index IP (#3421)
  • fix: Fixed zookeeper watcher exiting the loop under exceptional conditions, causing service discovery to terminate (#3517)

Chores

  • chore: add deepwiki badge (#3701)

Others

  • perf(transport/http): optimize URL construction with url.URL for better performance (#3678)
  • perf(transport/http/binding): optimize EncodeURL performance for paths without placeholders (#3679)
  • refactor(all): replace atomic functions with atomic types (#3699)
  • contrib/register/nacos: refactor to use maps.Clone (#3703)
  • *: use net.JoinHostPort to improve IPv6 compatible (#3675)
  • perf(config/env): use strings.LastIndexByte instead of strings.LastIndex (#3660)
  • Add trendshift badge (#3655)
  • perf(metadata): simplify Metadata.Add by avoiding redundant strings.ToLower call (#3671)
  • Mcp options (#3652)
  • Revert "refactor: replace repeated error reasons with constants (#3612)" (#3651)
  • perf(config/env): use strings.Cut to optimize env load method (#3645)
  • add mcp middleware (#3649)
  • refactor(contrib/registry/etcd): use Namespace Name and ID as the unique keys (#3594)
  • go mod tidy (#3648)
  • build(deps): bump golang.org/x/net from 0.23.0 to 0.33.0 (#3527)
  • github: Remove submodule dependencies in Dependabot. (#3643)
  • perf(encoding/form): optimize camelCase and snakeCase conversion (#3592)
  • refactor: extract key for reuse and maintainability (#3602)

New Contributors

Full Changelog: v2.8.4...v2.9.0

Don't miss a new kratos release

NewReleases is sending notifications on new releases.