Skip to content

Releases: pivotal-cf/brokerapi

v11.0.6

09 Aug 18:05
90b5d86
Compare
Choose a tag to compare

Changelog

Dependency updates

  • 4c3071f chore(deps): bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1 (#323)
  • 90b5d86 chore(deps): bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.0 (#325)
  • 29476a8 chore(deps): bump github.com/onsi/gomega from 1.34.0 to 1.34.1 (#324)

v11.0.5

26 Jul 18:06
ff86ebe
Compare
Choose a tag to compare

Changelog

Dependency updates

  • ff86ebe chore(deps): bump github.com/onsi/gomega from 1.33.1 to 1.34.0 (#322)

Others

  • 457bfdb chore: allow manual release action

v11.0.4

11 Jul 11:27
488a6a5
Compare
Choose a tag to compare

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

Full Changelog: v11.0.2...v11.0.4

v11.0.1

27 Jun 17:17
9abc09b
Compare
Choose a tag to compare

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

Full Changelog: v11.0.0...v11.0.1

v11.0.0

02 Apr 15:59
127bd5b
Compare
Choose a tag to compare

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 also AttachRoutes() all take a *slog.Logger
  • apiresponses.FailureResponse errors with a ValidatedStatusCode() method also take a *slog.Logger rather than a Lager logger
  • The middleware middlewares.APIVersionMiddleware has had the LoggerFactory field removed, and a new field Logger 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

05 Feb 21:14
70c69f2
Compare
Choose a tag to compare

What's Changed

  • feat: WithAdditionalMiddleware() option by @blgm in #291

New Contributors

Full Changelog: v10.1.1...v10.2.0

v10.1.1

27 Oct 11:28
2aaf36d
Compare
Choose a tag to compare

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

11 Oct 13:37
8972c10
Compare
Choose a tag to compare

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

Full Changelog: v10.0.0...v10.0.1

v10.0.0

30 May 13:57
eac41c2
Compare
Choose a tag to compare

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 to go-chi/chi. This affects AttachRoutes() and WithRouter().
  • Previously gorilla/mux would have treated /v2/service_instances/foo%2Fbar as /v2/service_instances/foo/bar unless the WithEncodedPath() option was used. This behavior is now the default and /v2/service_instances/foo%2Fbar will interpret foo%2Fbar as an instance ID. The WithEncodedPath() 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

27 Apr 15:17
52f712d
Compare
Choose a tag to compare

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