Release 1.80.0
- balancer: log a warning if a balancer is registered with uppercase letters, as balancer names should be lowercase. In a future release, balancer names will be treated as case-insensitive; see #5288 for details. (#8837)
- xds: update resource error handling and re-resolution logic (#8907)
- Re-resolve all
LOGICAL_DNSclusters simultaneously when re-resolution is requested. - Fail all in-flight RPCs immediately upon receipt of listener or route resource errors, instead of allowing them to complete.
- Re-resolve all
- xds: support the LB policy configured in
LOGICAL_DNScluster resources instead of defaulting topick_first. (#8733) - credentials/tls: perform per-RPC authority validation against the leaf certificate instead of the entire peer certificate chain. (#8831)
- xds: enabling A76 ring hash endpoint keys no longer causes EDS resources with invalid proxy metadata to be NACKed when HTTP CONNECT (gRFC A86) is disabled. (#8875)
- xds: validate that the sum of endpoint weights in a locality does not exceed the maximum
uint32value. (#8899)- Special Thanks: @RAVEYUS
- xds: fix incorrect proto field access in the weighted round robin (WRR) configuration where
blackout_periodwas used instead ofweight_expiration_period. (#8915)- Special Thanks: @gregbarasch
- xds/rbac: handle addresses with ports in IP matchers. (#8990)
- ringhash: enable gRFC A76 (endpoint hash keys and request hash headers) by default. (#8922)
- credentials/alts: pool write buffers to reduce memory allocations and usage. (#8919)
- grpc: enable the use of pooled write buffers for buffering HTTP/2 frame writes by default. This reduces memory usage when connections are idle. Use the WithSharedWriteBuffer dial option or the SharedWriteBuffer server option to disable this feature. (#8957)
- xds/priority: stop caching child LB policies removed from the configuration. This will help reduce memory and cpu usage when localities are constantly switching between priorities. (#8997)
- mem: add a faster tiered buffer pool; use the experimental mem.NewBinaryTieredBufferPool function to create such pools. (#8775)
v5.1.0
This change does not break the API contract, but it does introduce breaking changes in logic/behavior. If your application is using c.RealIP() beware and read https://echo.labstack.com/docs/ip-address
In v5 the c.RealIP() will now return request.RemoteAddr unless e.IPExtractor has been configured. No potentially spoofable headers are used by default anymore.
Configure IPExtractor with proper trust options when you want to read IP from headers. See:
- https://pkg.go.dev/github.com/labstack/echo/v5#ExtractIPFromRealIPHeader
- https://pkg.go.dev/github.com/labstack/echo/v5#ExtractIPFromXFFHeader
v4 behavior can be restored with:
e := echo.New()
e.IPExtractor = echo.LegacyIPExtractor()
Related PR: Remove legacy IP extraction logic from context.RealIP method by @aldas in https://github.com/labstack/echo/pull/2933
- Add echo-opentelemetry to the README.md by @aldas in https://github.com/labstack/echo/pull/2908
- fix: correct spelling mistakes in comments and field name by @crawfordxx in https://github.com/labstack/echo/pull/2916
- Add https://github.com/labstack/echo-prometheus to the middleware list in README.md by @aldas in https://github.com/labstack/echo/pull/2919
- Add StartConfig.Listener so server with custom Listener is easier to create by @aldas in https://github.com/labstack/echo/pull/2920
- Fix rate limiter documentation for default burst value by @karesansui-u in https://github.com/labstack/echo/pull/2925
- Add doc comments to clarify usage of File related methods and leading slash handling by @aldas in https://github.com/labstack/echo/pull/2928
- Add NewDefaultFS function to help create filesystem that allows absolute paths by @aldas in https://github.com/labstack/echo/pull/2931
- Do not set http.Server.WriteTimeout in StartConfig by @aldas in https://github.com/labstack/echo/pull/2932
- Remove legacy IP extraction logic from context.RealIP method by @aldas in https://github.com/labstack/echo/pull/2933
- @crawfordxx made their first contribution in https://github.com/labstack/echo/pull/2916
- @karesansui-u made their first contribution in https://github.com/labstack/echo/pull/2925
Full Changelog: https://github.com/labstack/echo/compare/v5.0.4...v5.1.0
goctl/v1.10.1
This patch release adds a hasField method for model generation, supports external proto imports with cross-package types in RPC generation, and fixes several bugs.
- goctl/model: Add
hasFieldmethod for model generation (#5484) - goctl/rpc: Support external proto imports with cross-package type resolution (#5472)
- goctl/swagger: Add
examplefield to path/form/header parameters (#5497) - goctl: Fix per-service type alias filtering (#5482)
- goctl: Fix file copy permission missed (#5475)
- Add regression test for per-service type alias filtering (#5483)
- Upgrade Go version to 1.24 and update dependencies (#5499)
Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.10.0...tools/goctl/v1.10.1
v1.10.1
This patch release adds JSON5 configuration support, generic Redis command execution via Do/DoCtx, upgrades Go to 1.24, and includes critical security fixes in core/codec.
- core/conf: Add JSON5 configuration support (#5433)
- core/stores/redis: Add
Do/DoCtxfor generic command execution (#5442)
- rest/httpc: Reject request body for HEAD method in
buildRequest(#5457) - core/codec: Critical security fixes (#5479)
- core: Replace
TakeOneusage withcmp.Or(#5461) - core/stringx: Replace manual char filter with
strings.Map(#5453) - core/stores/redis: Reorder
Eval/EvalCtxafterDo/DoCtxfor consistent method ordering (#5502) - core/mathx: Add godoc comment to
Numericaltype constraint (#5470) - Upgrade Go version to 1.24 and update dependencies (#5499)
- Add missing edge case tests for
CalcEntropyand string utilities (#5471) - Add unit tests for
Hash,Hashdeterminism, andMd5Hexedge cases (#5469)
- Bumped
github.com/grafana/pyroscope-gofrom 1.2.7 to 1.2.8 (#5513) - Bumped
github.com/pelletier/go-toml/v2from 2.2.4 to 2.3.0 (#5512) - Bumped
github.com/alicebob/miniredis/v2from 2.36.1 to 2.37.0 (#5444) - Bumped
github.com/modelcontextprotocol/go-sdkfrom 1.3.0 to 1.3.1 (#5435) - Bumped
github.com/redis/go-redis/v9from 9.17.3 to 9.18.0 (#5432)
- @1911860538 made their first contribution in #5453
- @amshithnair made their first contribution in #5469
- @mmfiRan made their first contribution in #5442
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.10.0...v1.10.1
v1.1.0
- 4327f7e8487a71ad4226339c04064a734d15e3fe: feat: different stores for many sessions #144 (#282) (@found-cake)
- 10bdc64d5892849e4c86286beafa61a88b909f75: feat: filesystem store backend (#251) (@geschke)
- f9dd0cecced22b01fbf84d723696d38492698e0e: chore: upgrade Go version and refresh golang.org/x dependencies (@appleboy)
- 0d74439a0cbfa936e769f7ceb03eecf957a23d19: chore: remove bearer.yml workflow (@appleboy)
- 1fe585d9cb9545e5275cb6f086dc7b2115773cc3: chore(deps): bump actions/checkout from 4 to 6 (@appleboy)
- eeb086e6e994940ae3b39ac544504a6eff7df1ef: chore: drop Go 1.23 support, require Go 1.24+ (@appleboy)
- 4fce2996763f58f174b9af806ca2df84707007d1: chore(ci): update golangci-lint to v2.6 (@appleboy)
- 77e1bcbfa223e96ae203b4d7ed98a11bb335a3c2: chore(ci): upgrade trivy-action from 0.33.1 to 0.35.0 (@appleboy)
- 31810180113fbe08e740dd2dcff3553d85859465: chore(deps): upgrade gin to v1.12.0 and update CI Go versions (@appleboy)
- 9a54dc33bfa63091a42b560a7cdb3093dc303b90: chore(deps): upgrade golang.org/x/text to v0.35.0 (@appleboy)
- 536c215582de615dd5c092b681af2871a1c4603c: ci: integrate Trivy vulnerability scanning into CI workflow (@appleboy)
- b2b49a92d7e219fb25ceda38855b90289831dc2c: ci: update CI workflows for latest Go versions and config consistency (@appleboy)
- f0b99861e0de754b4d20a32b701d30f4c994837b: ci: integrate automated Trivy security scanning workflow (@appleboy)
- fe9f72ae1fd559dd20898addfc71a39ac43a744a: ci(workflow): bump goreleaser/goreleaser-action from v6 to v7 (@appleboy)
- 9a1aed78fd53bb98e7657fc8a32d20ef4fb5e390: style: modernize build tag syntax to use //go:build constraints (@appleboy)
- c2fb15f830abb6ae87a7a96d940ea62aac88bf9f: Add Go 1.26 to GitHub Actions test matrix (@appleboy)
- 7b3e83d04a7e17ef72db9e157189efca73605af9: Update golangci-lint version to v2.9 (@appleboy)
- 94278a601f92ed586d93d946432ac3a2aeedb255: Upgrade GitHub Actions versions (@appleboy)
v10.30.2
- chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0 by @dependabot[bot] in https://github.com/go-playground/validator/pull/1523
- feat: add translations for alphaspace and alphanumspace tags in indonesian by @savioruz in https://github.com/go-playground/validator/pull/1522
- chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.12 to 1.4.13 by @dependabot[bot] in https://github.com/go-playground/validator/pull/1526
- feat: add cmyk(color) to validator by @thenicolau in https://github.com/go-playground/validator/pull/1528
- chore(deps): bump golang.org/x/text from 0.33.0 to 0.34.0 by @dependabot[bot] in https://github.com/go-playground/validator/pull/1534
- chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0 by @dependabot[bot] in https://github.com/go-playground/validator/pull/1533
- Go 1.26 support by @nodivbyzero in https://github.com/go-playground/validator/pull/1535
- fix: prevent panic in unique validation with nil pointer elements by @nodivbyzero in https://github.com/go-playground/validator/pull/1532
- docs: fix typos by @alexandear in https://github.com/go-playground/validator/pull/1527
- feat: implement ValidatorValuer interface feature by @thommeo in https://github.com/go-playground/validator/pull/1416
- docs: add Valuer interface documentation and example by @wofiporia in https://github.com/go-playground/validator/pull/1540
- chore(deps): bump golang.org/x/text from 0.34.0 to 0.35.0 by @dependabot[bot] in https://github.com/go-playground/validator/pull/1545
- chore(deps): bump golang.org/x/crypto from 0.48.0 to 0.49.0 by @dependabot[bot] in https://github.com/go-playground/validator/pull/1546
- feat: add postcode patterns for Colombia (CO) and British Virgin Islands (VG) by @j-ibarra in https://github.com/go-playground/validator/pull/1547
- fix(fqdn): allow hyphens in last domain label by @alihasan070707 in https://github.com/go-playground/validator/pull/1548
- @savioruz made their first contribution in https://github.com/go-playground/validator/pull/1522
- @thenicolau made their first contribution in https://github.com/go-playground/validator/pull/1528
- @thommeo made their first contribution in https://github.com/go-playground/validator/pull/1416
- @wofiporia made their first contribution in https://github.com/go-playground/validator/pull/1540
- @j-ibarra made their first contribution in https://github.com/go-playground/validator/pull/1547
- @alihasan070707 made their first contribution in https://github.com/go-playground/validator/pull/1548
Full Changelog: https://github.com/go-playground/validator/compare/v10.30.1...v10.30.2
Wails v2.12.0
go install github.com/wailsapp/wails/v2/cmd/wails@v2.12.0
- Fixed clipboard mojibake on macOS by setting LANG environment variable for pbpaste/pbcopy operations #5012 by @veeceey
- Fixed
wails initto prevent initialization in non-empty directories when using the-dflag, avoiding accidental data loss#4940by@leaanthony - Fixed missing
EventsOffAllin runtime templates for all frontend frameworks #4883 by @narcilee7 - Fixed Linux crash on panic in JS-bound Go methods due to WebKit overriding signal handlers #3965 by @leaanthony
- Fixed code block range in "How Does It Work?" documentation #4884 by @msal4
- Fixed WebView crash on macOS 26 (Tahoe) during rapid UI updates #4592 by @leaanthony
- Updated menu reference docs with complete imports by @agilgur5 in #4727 and #4742
- Fixed menu reference syntax by @agilgur5 in #4726
- Fixed indentation in Application Development guide by @agilgur5 in #4730
- Updated Application Development guide to show imports in the
app.gosnippets by @agilgur5 in #4731 - Fixed link to CoC in Community Guide when there was a trailing slash by @agilgur5 in #4732
- Fixed indentation in "How does it work?" page by @agilgur5 in #4733
- Updated wails installation documentation to allow copying the
install wailscommand with one click by @tilak999 in #4692 - Remove ioutl.Discard and replace it with io.Discard by @xjh22222228 in #4877
v1.2.7
- Add a MultiGet API to reduce lock contention by @liusy182 in https://github.com/coocood/freecache/pull/145
Full Changelog: https://github.com/coocood/freecache/compare/v1.2.6...v1.2.7