Skip to content

Releases: pivotal-cf/brokerapi

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

v9.0.0

02 Mar 15:58
1ac5c7a
Compare
Choose a tag to compare

Features

  • Depends on code.cloudfoundry.org/lager/v3 as a replacement for code.cloudfoundry.org/lager - see #218 for more details. Thanks @silvestre!
  • Update to support Go 1.20 and Go 1.19, Go 1.18 is now out of support
  • Other dependency updates

What's Changed

  • chore(deps): bump github.com/onsi/gomega from 1.22.1 to 1.23.0 by @dependabot in #214
  • chore(deps): bump github.com/onsi/gomega from 1.23.0 to 1.24.0 by @dependabot in #215
  • chore(deps): bump github.com/onsi/gomega from 1.24.0 to 1.24.1 by @dependabot in #216
  • chore(deps): bump github.com/onsi/gomega from 1.24.1 to 1.24.2 by @dependabot in #217
  • chore(deps): bump github.com/onsi/gomega from 1.24.2 to 1.25.0 by @dependabot in #219
  • chore: Update to ginkgo v2 and lager v3 by @silvestre in #218
  • chore(deps): bump github.com/onsi/gomega from 1.25.0 to 1.26.0 by @dependabot in #220
  • chore(deps): bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.7.1 by @dependabot in #221
  • chore(deps): bump github.com/onsi/ginkgo/v2 from 2.7.1 to 2.8.0 by @dependabot in #222
  • chore(deps): bump github.com/maxbrunsfeld/counterfeiter/v6 from 6.5.0 to 6.6.1 by @dependabot in #223
  • chore(deps): bump honnef.co/go/tools from 0.3.3 to 0.4.0 by @dependabot in #224
  • test: update for Go 1.20 by @blgm in #225
  • chore(deps): bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.1 by @dependabot in #226
  • chore(deps): bump honnef.co/go/tools from 0.4.0 to 0.4.1 by @dependabot in #227
  • chore(deps): bump github.com/onsi/gomega from 1.26.0 to 1.27.0 by @dependabot in #228
  • chore(deps): bump honnef.co/go/tools from 0.4.1 to 0.4.2 by @dependabot in #229
  • chore(deps): bump github.com/onsi/gomega from 1.27.0 to 1.27.1 by @dependabot in #231
  • chore(deps): bump github.com/onsi/ginkgo/v2 from 2.8.1 to 2.8.3 by @dependabot in #232
  • chore(deps): bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 by @dependabot in #233
  • chore(deps): bump github.com/onsi/gomega from 1.27.1 to 1.27.2 by @dependabot in #234

New Contributors

Full Changelog: v8.2.3...v9.0.0

v8.2.3

26 Oct 16:09
@abg abg
Compare
Choose a tag to compare

Features

  • Update to Go 1.19
  • Other dependency updates

v8.2.2

14 Jul 10:51
Compare
Choose a tag to compare

Features

  • Update to Go 1.18
  • Other dependency updates

v8.2.1

04 Feb 11:21
90f556b
Compare
Choose a tag to compare
  • Dependency updates

v8.2.0

20 Sep 10:54
0f775ba
Compare
Choose a tag to compare

Features

  • Allow custom configuration of broker on creation via options pattern. This allows URL-encoded paths and fixes #177 (#178) [0f775ba]
  • Update to Go 1.17 [9bb8d75]

v8.1.0

27 May 14:43
8ff3975
Compare
Choose a tag to compare

Features

  • Support custom authentication middleware implementations (#168) [7ca6a82]
  • Detect FailureResponse errors in Catalog handler (#165) [3563fe5]
  • Add metadata parameter to Fetch and Update service instance response body (#164) [b0a35eb]
  • Bump github.com/onsi/gomega from 1.12.0 to 1.13.0 (#169) [8ff3975]
  • Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.2 (#159) [6f188c6]
  • Bump honnef.co/go/tools from 0.2.0-0.dev to 0.3.0-0.dev [4f89451]

v8.0.0

12 Apr 13:15
813290b
Compare
Choose a tag to compare

Features

Breaking Changes

  • Query parameters service_id and plan_id can be passed as FetchInstanceDetails for Fetch Instance and FetchBindingsDetails for Fetch Binding endpoints. Thank you @NickyMateev!(#138 #147)
  • Updated context value keys to use derived types, which are all exported as constants so that users can import the constant to access
    the values (#155)

Other Changes

  • Add plan_updateable attribute to ServicePlan struct. Thank you @ksegun! (#139)
  • Add support for X-Broker-API-Request-Identity header. X-Broker-API-Request-Identity is exposed in the context as requestIdentity and is returned as a header in the response. Thank you @qbarrand! (#148 #121)
  • Add logging for X-Broker-API-Request-Identity as requestIdentity (#156 )
  • Update dependencies