mirror of
https://github.com/hanzoai/k8s.git
synced 2026-10-02 15:40:05 +00:00
zip v1.20.0 -> v1.24.2
No source change was required. The breaks in this range are the composition verb (Use widened to ...Component), the removal of App.Add and App.Graft, Prepare() becoming an exported Build() error, Router losing Fiber(), and in v1.24 the removal of the last wrapRouter.Fiber escape hatch. This repo touches none of them: its one Use call passes middleware already typed zip.Handler, it declares no local zip.Router, it never composed with Add or Graft, it already calls Build() and checks the error, and both .Fiber() call sites hold the concrete *zip.App, which still has the method. Operation ids are unchanged, which is the result that mattered here, since this repo publishes an openapi.json and a k8s.plugin.json that name ops in 36 places. Two independent reasons. All 36 typed ops register on the root app and on the root peer app -- there is no Group in the module -- so composeOps takes the depth-0, empty-prefix path and leaves them untouched. And every one of them declares its id with zip.WithOperationID, which v1.24 made immune to composition outright: occurrenceID now returns a declared id verbatim at any prefix and any depth, so these ids also survive being mounted under a prefix by a host. Both committed projections regenerate byte-identical to the v1.20.0 output. Sole branch chore/zip-v1.19 renamed to main; same commit, nothing else in the repo. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -3,7 +3,7 @@ module github.com/hanzoai/k8s
|
||||
go 1.26.5
|
||||
|
||||
require (
|
||||
github.com/zap-proto/zip v1.20.0
|
||||
github.com/zap-proto/zip v1.24.2
|
||||
k8s.io/api v0.35.3
|
||||
k8s.io/apimachinery v0.35.3
|
||||
k8s.io/client-go v0.35.3
|
||||
|
||||
@@ -105,8 +105,8 @@ github.com/zap-proto/go v1.3.0 h1:S3rMoawwhH/BbSZ4G8zG05hJoQnMSMDPzIq75diCTqE=
|
||||
github.com/zap-proto/go v1.3.0/go.mod h1:914SNGTH6Rv3Yu1MweWJBPEN8FZlo5C39QyhaB0C7Q0=
|
||||
github.com/zap-proto/http v0.3.1 h1:A2rCPWYCX866eAsdiWuns0dvWnBmViZtGm4pwX7jwlY=
|
||||
github.com/zap-proto/http v0.3.1/go.mod h1:UYfGhDDCetgxs65XSev8Lpf65COg5vKQK+cWwZGh4zQ=
|
||||
github.com/zap-proto/zip v1.20.0 h1:BMS/DKw4rwLSAK0ZTqtxaihaoIMjxS/t6i421O39nC4=
|
||||
github.com/zap-proto/zip v1.20.0/go.mod h1:EKMmUX9wCPvpkhpMBQRqa17YVXNXRYEjj7X+65Y+J9E=
|
||||
github.com/zap-proto/zip v1.24.2 h1:kWKQeMzMf53PHTfHQvF+HrC0mEItcd1a++Ynuy97tqs=
|
||||
github.com/zap-proto/zip v1.24.2/go.mod h1:EKMmUX9wCPvpkhpMBQRqa17YVXNXRYEjj7X+65Y+J9E=
|
||||
go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0=
|
||||
go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8=
|
||||
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
|
||||
|
||||
Reference in New Issue
Block a user