Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/pivotal-cf/brokerapi/v8 to v12 #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/pivotal-cf/brokerapi/v8 v8.2.3 -> v12.0.0 age adoption passing confidence

Release Notes

pivotal-cf/brokerapi (github.com/pivotal-cf/brokerapi/v8)

v12.0.0

Compare Source

v12 changes

  • New() has changed signature to optionally take options.
  • AttachRoutes() has been removed. If you want to attach to an existing Chi router, you can still
    do something like:
b := brokerapi.New(broker, logger, brokerapi.WithBrokerCredentials(creds))

r := chi.NewRouter()
r.Handle("/*", b)
  • The WithRouter() option has been removed as a Chi router can no longer be specified.
  • WithEncodedPath() has been removed as it was deprecated and did nothing.

In Go 1.22, http.ServeMux was improved so that we no longer need to use
go-chi/chi, gorilla/mux, or any other third party HTTP router. Users therefore
no longer have a dependency forced on them, and can choose which router they
would like to use (if any).

Changelog

Breaking Changes
Dependency updates
  • 8daa2e6 chore(deps): bump github.com/go-chi/chi/v5 from 5.1.0 to 5.2.0 (#​345)
  • a0966ec chore(deps): bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.1 (#​347)
  • 570dd8b chore(deps): bump github.com/onsi/ginkgo/v2 from 2.22.1 to 2.22.2 (#​349)
  • f0cda8b chore(deps): bump github.com/onsi/gomega from 1.36.1 to 1.36.2 (#​348)

v11.0.16

Compare Source

Changelog

Dependency updates
  • 117d329 chore(deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 (#​341)
Others

v11.0.15

Compare Source

Changelog

Dependency updates
  • 77a0fde chore(deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0 (#​339)

v11.0.14

Compare Source

Changelog

Dependency updates
  • 2955802 chore(deps): bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 (#​338)

v11.0.13

Compare Source

Changelog

Dependency updates
  • 04821ba chore(deps): bump github.com/onsi/gomega from 1.35.0 to 1.35.1 (#​337)

v11.0.12

Compare Source

Changelog

Dependency updates
  • ab3db04 chore(deps): bump github.com/onsi/ginkgo/v2 from 2.20.2 to 2.21.0 (#​335)
  • bf4ccd6 chore(deps): bump github.com/onsi/gomega from 1.34.2 to 1.35.0 (#​336)

v11.0.11

Compare Source

Changelog

Dependency updates
  • 9eb2564 chore(deps): bump github.com/maxbrunsfeld/counterfeiter/v6 (#​333)

v11.0.10

Compare Source

Changelog

Bug fixes
  • 1196157 fix: add expiration date and time for bindings

v11.0.9

Compare Source

Changelog

Dependency updates
  • c78d48d chore(deps): bump github.com/maxbrunsfeld/counterfeiter/v6 (#​331)

v11.0.8

Compare Source

Changelog

Dependency updates
  • b979e60 chore(deps): bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.20.2 (#​330)
  • 6b27dd9 chore(deps): bump github.com/onsi/gomega from 1.34.1 to 1.34.2 (#​329)

v11.0.7

Compare Source

Changelog

Dependency updates
  • 917023b chore(deps): bump github.com/onsi/ginkgo/v2 from 2.20.0 to 2.20.1 (#​328)
  • 5c3b66b chore(deps): bump honnef.co/go/tools from 0.4.7 to 0.5.0 (#​326)
  • bc7cda2 chore(deps): bump honnef.co/go/tools from 0.5.0 to 0.5.1 (#​327)

v11.0.6

Compare Source

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

Compare Source

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

Compare Source

Changelog

Others
  • 488a6a5 chore: Update goreleaser to not create a build

What's Changed

New Contributors

Full Changelog: pivotal-cf/brokerapi@v11.0.2...v11.0.4

v11.0.3

Compare Source

v11.0.2

Compare Source

v11.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: pivotal-cf/brokerapi@v11.0.0...v11.0.1

v11.0.0

Compare Source

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 https://github.com/pivotal-cf/brokerapi/pull/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

Full Changelog: pivotal-cf/brokerapi@v10.2.0...v11.0.0

v10.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: pivotal-cf/brokerapi@v10.1.1...v10.2.0

v10.1.1

Compare Source

What's Changed

Full Changelog: pivotal-cf/brokerapi@v10.1.0...v10.1.1

v10.1.0

Compare Source

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: pivotal-cf/brokerapi@v10.0.0...v10.0.1

v10.0.0

Compare Source

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

Full Changelog: pivotal-cf/brokerapi@v9.0.1...v10.0.0

v9.0.1

Compare Source

What's Changed

Full Changelog: pivotal-cf/brokerapi@v9.0.0...v9.0.1

v9.0.0

Compare Source

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

New Contributors

Full Changelog: pivotal-cf/brokerapi@v8.2.3...v9.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependency Depedency update label Jan 6, 2025
Copy link
Contributor Author

renovate bot commented Jan 6, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 12 additional dependencies were updated

Details:

Package Change
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db -> v0.0.0-20241210010833-40e02aabc2ad
github.com/onsi/ginkgo/v2 v2.21.0 -> v2.22.2
github.com/onsi/gomega v1.35.0 -> v1.36.2
golang.org/x/crypto v0.28.0 -> v0.31.0
golang.org/x/mod v0.21.0 -> v0.22.0
golang.org/x/net v0.30.0 -> v0.33.0
golang.org/x/sync v0.8.0 -> v0.10.0
golang.org/x/sys v0.26.0 -> v0.28.0
golang.org/x/term v0.25.0 -> v0.27.0
golang.org/x/text v0.19.0 -> v0.21.0
golang.org/x/tools v0.26.0 -> v0.28.0
google.golang.org/protobuf v1.35.1 -> v1.36.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Depedency update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants