Releases: pivotal-cf/brokerapi
Releases · pivotal-cf/brokerapi
v11.0.6
v11.0.5
v11.0.4
Changelog
Others
- 488a6a5 chore: Update goreleaser to not create a build
What's Changed
- fix: adds endpoint to support get-binding response for OSB v2.16 by @TheSp1der in #321
New Contributors
- @TheSp1der made their first contribution in #321
Full Changelog: v11.0.2...v11.0.4
v11.0.1
What's Changed
- chore(deps): bump github.com/onsi/gomega from 1.32.0 to 1.33.0 by @dependabot in #302
- chore: drop dependency on github.com/pkg/errors by @blgm in #301
- chore: handle some unhandled errors by @blgm in #303
- chore: drop the github.com/drewolson/testflight dependency by @blgm in #304
- chore: prefer "any" to "interface{}" by @blgm in #305
- test: improve loading of test fixtures by @blgm in #306
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.17.1 to 2.17.2 by @dependabot in #307
- chore(deps): bump github.com/onsi/gomega from 1.33.0 to 1.33.1 by @dependabot in #308
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3 by @dependabot in #309
- Allow any value type in InstanceMetadata maps by @TiPSYDiPSY in #310
- replace github.com/pborman/uuid w/ github.com/google/uuid by @abg in #311
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.18.0 by @dependabot in #312
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.18.0 to 2.19.0 by @dependabot in #313
- chore(deps): bump github.com/go-chi/chi/v5 from 5.0.12 to 5.0.13 by @dependabot in #314
- chore(deps): bump github.com/go-chi/chi/v5 from 5.0.13 to 5.0.14 by @dependabot in #315
New Contributors
- @TiPSYDiPSY made their first contribution in #310
- @abg made their first contribution in #311
Full Changelog: v11.0.0...v11.0.1
v11.0.0
Breaking Changes
This package now accepts a *slog.Logger
from the Go standard library, rather than a Lager logger. This allows the use of alternative loggers.
- This package no longer requires you to import
code.cloudfoundry.org/lager/v3
. - The constructors
New()
,NewWithCustomAuth()
,NewWithOptions()
, and alsoAttachRoutes()
all take a*slog.Logger
apiresponses.FailureResponse
errors with aValidatedStatusCode()
method also take a*slog.Logger
rather than a Lager logger- The middleware
middlewares.APIVersionMiddleware
has had theLoggerFactory
field removed, and a new fieldLogger
added with type*slog.Logger
.
See #292 for details
Quick Fix
If you want to continue to use Lager, you can just convert it to a *slog.Logger
, for which you will need Lager v3.0.3 for example:
logger := lager.NewLogger("a-lager-logger")
router := brokerapi.New(serviceBroker, slog.New(lager.NewHandler(logger)), credentials)
What's Changed
- chore(deps): bump github.com/go-chi/chi/v5 from 5.0.11 to 5.0.12 by @dependabot in #293
- chore(deps): bump honnef.co/go/tools from 0.4.6 to 0.4.7 by @dependabot in #294
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.17.1 by @dependabot in #295 #297 #298
- chore(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 by @dependabot in #296
- feat!: introduce logger choice via slog by @blgm in #292
- docs: fix test badge in README by @blgm in #300
- feat!: update import path to v11 by @blgm in #299
Full Changelog: v10.2.0...v11.0.0
v10.2.0
What's Changed
New Contributors
- @zucchinidev made their first contribution in #282
Full Changelog: v10.1.1...v10.2.0
v10.1.1
What's Changed
- chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 by @dependabot in #276
- chore(deps): bump github.com/onsi/gomega from 1.28.0 to 1.28.1 by @dependabot in #277
- chore(deps): bump github.com/onsi/gomega from 1.28.1 to 1.29.0 by @dependabot in #278
Full Changelog: v10.1.0...v10.1.1
v10.1.0
What's Changed
- fix: AttachRoutes() and WithRouter() should accept chi.Router
- fix: NewFailureResponse() should return type error
- chore: change support of Go versions to 1.20 & 1.21. Go 1.19 is now out of support.
- Other dependency updates
New Contributors
- @fnaranjo-vmw made their first contribution in #274
Full Changelog: v10.0.0...v10.0.1
v10.0.0
Breaking Changes
Because the gorilla/mux
project has been archived, brokerapi
now depends on go-chi/chi
:
- Function signatures that referred to
gorilla/mux
now refer togo-chi/chi
. This affectsAttachRoutes()
andWithRouter()
. - Previously
gorilla/mux
would have treated/v2/service_instances/foo%2Fbar
as/v2/service_instances/foo/bar
unless theWithEncodedPath()
option was used. This behavior is now the default and/v2/service_instances/foo%2Fbar
will interpretfoo%2Fbar
as an instance ID. TheWithEncodedPath()
option is now a no-op.
What's Changed
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4 by @dependabot in #244
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.9.4 to 2.9.5 by @dependabot in #245
- chore(deps): bump github.com/onsi/gomega from 1.27.6 to 1.27.7 by @dependabot in #247
- feat!: swap gorilla/mux for go-chi/chi by @blgm in #246
- feat!: update import path to v10 by @blgm in #248
- docs: fix typo by @blgm in #249
Full Changelog: v9.0.1...v10.0.0
v9.0.1
What's Changed
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 by @dependabot in #235
- chore(deps): bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1 by @dependabot in #237
- chore(deps): bump github.com/onsi/gomega from 1.27.3 to 1.27.4 by @dependabot in #238
- chore(deps): bump honnef.co/go/tools from 0.4.2 to 0.4.3 by @dependabot in #239
- chore(deps): bump github.com/onsi/gomega from 1.27.4 to 1.27.5 by @dependabot in #241
- chore(deps): bump code.cloudfoundry.org/lager/v3 from 3.0.0 to 3.0.1 by @dependabot in #242
- chore(deps): bump github.com/onsi/gomega from 1.27.5 to 1.27.6 by @dependabot in #243
Full Changelog: v9.0.0...v9.0.1