Releases: pivotal-cf/brokerapi
Releases · pivotal-cf/brokerapi
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
v9.0.0
Features
- Depends on
code.cloudfoundry.org/lager/v3
as a replacement forcode.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
- @silvestre made their first contribution in #218
Full Changelog: v8.2.3...v9.0.0
v8.2.3
v8.2.2
v8.2.1
- Dependency updates
v8.2.0
v8.1.0
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
Features
Breaking Changes
- Query parameters
service_id
andplan_id
can be passed asFetchInstanceDetails
for Fetch Instance andFetchBindingsDetails
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 toServicePlan
struct. Thank you @ksegun! (#139) - Add support for
X-Broker-API-Request-Identity
header.X-Broker-API-Request-Identity
is exposed in the context asrequestIdentity
and is returned as a header in the response. Thank you @qbarrand! (#148 #121) - Add logging for
X-Broker-API-Request-Identity
asrequestIdentity
(#156 ) - Update dependencies