v5.0.4 small fixes and improvements
- Remove unused import 'errors' from README example by @kumapower17 in https://github.com/labstack/echo/pull/2889
- Fix Graceful shutdown: after
http.Server.Servereturns we need to wait for graceful shutdown goroutine to finish by @aldas in https://github.com/labstack/echo/pull/2898 - Update location of oapi-codegen in README by @mromaszewicz in https://github.com/labstack/echo/pull/2896
- Add Go 1.26 to CI flow by @aldas in https://github.com/labstack/echo/pull/2899
- Add new function
echo.StatusCodeby @suwakei in https://github.com/labstack/echo/pull/2892 - CSRF: support older token-based CSRF protection handler that want to render token into template by @aldas in https://github.com/labstack/echo/pull/2894
- Add
echo.ResolveResponseStatusfunction to help middleware/handlers determine HTTP status code and echo.Response by @aldas in https://github.com/labstack/echo/pull/2900
- @mromaszewicz made their first contribution in https://github.com/labstack/echo/pull/2896
- @suwakei made their first contribution in https://github.com/labstack/echo/pull/2892
Full Changelog: https://github.com/labstack/echo/compare/v5.0.3...v5.0.4
goctl/v1.10.0
This goctl release brings enhanced Swagger support, improved Docker generation, and better multi-proto file handling.
- Proto Package Control: Added cmdline argument to control package name generation from proto filename (#5387)
- Multi-Proto Support: RPC service now uses
proto.Package.Nameto support multiple proto files (#5378)
- Swagger Generation: Fixed support for PUT, PATCH, DELETE methods with request body definitions (#5239)
- Docker Generation: Ensured Dockerfile includes etc directory and correct CMD based on config (#4343)
- Added comprehensive unit tests for goctl docker command (#5241)
- Bumped
github.com/spf13/cobrafrom 1.10.1 to 1.10.2 (#5312) - Bumped
github.com/emicklei/protofrom 1.14.2 to 1.14.3 (#5403)
- @JackGod001 made their first contribution in #4343
- @stemlaud made their first contribution in #5245
- @gfischer7 made their first contribution in #5254
- @lerity-yao made their first contribution in #5270
- @YunFy26 made their first contribution in #5281
- @mmfiRan made their first contribution in #5323
- @mk0walsk made their first contribution in #5375
- @Bension made their first contribution in #5372
Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.9.2...tools/goctl/v1.10.0
v2.17.2
- backport: header deepcopy fix by @jeevatkm in https://github.com/go-resty/resty/pull/1110
- release: version bump to v2.17.2 and readme update by @jeevatkm in https://github.com/go-resty/resty/pull/1112
Full Changelog: https://github.com/go-resty/resty/compare/v2.17.1...v2.17.2
Release 1.79.1
- grpc: Remove the
-devsuffix from the User-Agent header. (https://github.com/grpc/grpc-go/pull/8902)
v1.10.0
This release brings Go 1.23 support, MCP SDK migration, and several important bug fixes including race condition resolutions.
- Go 1.23 Support: Upgraded minimum Go version to 1.23 (#5359)
- MCP Framework: Migrated to official go-sdk with simplified API (#5362)
- Gateway Enhancement: Exported
WithDialeroption for custom gRPC client configuration (#5406)
- Circuit Breaker: Fixed context cancellation incorrectly triggering breaker in httpc (#5360)
- Service Discovery: Resolved data race in service discovery map access (#5408)
- Configuration: Fixed support for equal signs in property values (#5392)
- Configuration: Removed redundant validation (#5372)
- MCP Routes: Refactored routes and hardened AddTool implementation (#5375)
- Testing: Added comprehensive validation tests for Load function (#5388)
- Jaeger Exporter: Removed due to official deprecation (#5361)
- Bumped
go.mongodb.org/mongo-driver/v2from 2.4.1 to 2.5.0 (#5385, #5393) - Bumped
github.com/alicebob/miniredis/v2from 2.35.0 to 2.36.1 (#5381, #5386) - Bumped
github.com/redis/go-redis/v9from 9.17.2 to 9.17.3 (#5390) - Bumped
github.com/modelcontextprotocol/go-sdkfrom 1.2.0 to 1.3.0 (#5413)
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.9.4...v1.10.0
Release 1.79.0
- mem: Add experimental API
SetDefaultBufferPoolto change the default buffer pool. (#8806)- Special Thanks: @vanja-p
- experimental/stats: Update
MetricsRecorderto require embedding the newUnimplementedMetricsRecorder(a no-op struct) in all implementations for forward compatibility. (#8780)
- balancer/weightedtarget: Remove handling of
Addressesand only handleEndpointsin resolver updates. (#8841)
- experimental/stats: Add support for asynchronous gauge metrics through the new
AsyncMetricReporterandRegisterAsyncReporterAPIs. (#8780) - pickfirst: Add support for weighted random shuffling of endpoints, as described in gRFC A113.
- This is enabled by default, and can be turned off using the environment variable
GRPC_EXPERIMENTAL_PF_WEIGHTED_SHUFFLING. (#8864)
- This is enabled by default, and can be turned off using the environment variable
- xds: Implement
:authorityrewriting, as specified in gRFC A81. (#8779) - balancer/randomsubsetting: Implement the
random_subsettingLB policy, as specified in gRFC A68. (#8650)- Special Thanks: @marek-szews
- server: Include status detail headers, if available, when terminating a stream during request header processing. (#8754)
- Special Thanks: @joybestourous
- credentials/tls: Fix a bug where the port was not stripped from the authority override before validation. (#8726)
- Special Thanks: @Atul1710
- xds/priority: Fix a bug causing delayed failover to lower-priority clusters when a higher-priority cluster is stuck in
CONNECTINGstate. (#8813) - health: Fix a bug where health checks failed for clients using legacy compression options (
WithDecompressororRPCDecompressor). (#8765)- Special Thanks: @sanki92
- transport: Fix an issue where the HTTP/2 server could skip header size checks when terminating a stream early. (#8769)
- Special Thanks: @joybestourous
- credentials/alts: Optimize read buffer alignment to reduce copies. (#8791)
- mem: Optimize pooling and creation of
bufferobjects. (#8784) - transport: Reduce slice re-allocations by reserving slice capacity. (#8797)
v1.11.2
This fixes two regressions:
-
Don't send startup parameters if there is no value, improving compatibility with Supavisor (#1260).
-
Don't send
dbnameas a startup parameter ifdatabase=[..]is used in the connection string. It's recommended to use dbname=, as database= is not a libpq option, and only worked by accident previously. (#1261)