Skip to content

Releases: cloudfoundry/brokerapi

v6.0.0

04 Jul 14:50

Choose a tag to compare

  • Set MaintenanceInfo to pointer in ProvisionDetails and UpdateDetails structs
  • Removed MaintenanceInfo.NilOrEmpty() function

v5.1.0

26 Jun 09:24

Choose a tag to compare

  • Add X-Api-Info-Location to the context under infoLocation. PR #67

v5.0.0

16 May 13:03

Choose a tag to compare

  • ErrConcurrentInstanceAccess is not a proper FailureResponse. See #65

v4.3.0

08 May 16:00

Choose a tag to compare

  • Added new query parameter in Deprovision request
    • force (true/false) - should deprovision service instance and ignore errors
  • Refactored code to split structures and api endpoint handlers to separate packages to improve encapsulation. Structures moved to other packages are marked as deprecated and will be removed in future versions of the API.

v4.2.3

14 Mar 16:45

Choose a tag to compare

Merge branch 'kisamoto-62_add-service-plan-context'

[#164389015]

Co-authored-by: Derik Evangelista <devangelista@pivotal.io>

v4.2.2

05 Mar 11:23
b371e40

Choose a tag to compare

Merge pull request #57 from fitzoh/master

Add godoc to ServiceBroker interface. Also rearrange methods to match…

v4.2.1

03 Jan 16:15

Choose a tag to compare

Adds middleware that parses the X-Broker-API-Originating-Identity header and adds it as a value to the downstream context passed to the functions of the brokerapi.ServiceBroker interface. Thanks to @fitzoh.

This is added automatically as middleware if the brokerapi is constructed using brokerapi.New(). When using an existing gorilla.mux.Router via the brokerapi.AttachRoutes() function, you will have to attach this middleware manually if required.

Breaking Changes
This bumps the gorilla/mux dependency to v1.6.1+ to use the middleware functions.

v4.1.0

19 Dec 15:34

Choose a tag to compare

Add new struct fields and errors to enable app developers to perform maintenance on service instances, as described in: cloudfoundry/servicebroker#628

Specifically:

  • ProvisionDetails and UpdateDetails have an optional MaintenanceInfo field
  • ErrMaintenanceInfoConflict and ErrMaintenanceInfoNilConflict to be returned when the provided maintenance info does not match the current catalog

Also adds instances_retrievable/bindings_retrievable catalog fields added to the spec in 2.14. Thanks to @drnic.

v4.0.0

03 Dec 14:40
9ed104e

Choose a tag to compare

v3.0.2

21 Nov 09:45

Choose a tag to compare