Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 18, 2025

Bumps github.com/BSick7/go-api from 0.11.1 to 0.18.3.

Changelog

Sourced from github.com/BSick7/go-api's changelog.

0.18.3 (Aug 15, 2025)

  • Added host to structured logging attributes.
  • Improved scheme in structured logging attributes to parse Forwarded HTTP header.

0.18.2 (May 13, 2025)

  • Added support for jsonapi links and meta for list responses.
  • Upgraded to latest github.com/hashicorp/jsonapi package.

0.18.1 (Sep 27, 2024)

  • Use github.com/google/go-cmp to test response body.

0.18.0 (Aug 30, 2024)

  • Switch to standard slog package for logging.
  • Added a slog.Logger to http.Request.Context().
  • Added a slog.Logger to json.Request.

0.17.2 (Apr 02, 2024)

  • PanicMiddleware no longer writes response code (to avoid panic from duplicate write).

0.17.1 (Mar 11, 2024)

  • PanicMiddleware prints stack trace to stderr.

0.17.0 (Mar 11, 2024)

  • Configured http.Server with no timeouts.
  • Added AdjustServerFn to api.Server that allows configuration of the underlying http.Server.

0.16.1 (Mar 07, 2024)

  • Added errors.CaptureMiddleware to report API errors.
  • Added macros to errors for creating path/querystring/payload parse errors.
  • Added request parsers that automate parsing and error wrapping.

0.16.0 (Mar 06, 2024)

  • Improved recovery.PanicMiddleware to inject PanicError (adheres to error) instead of interface{}.
  • PanicError contains stack trace as StackTrace() []byte.
  • Added jwt.ClaimsMiddleware[T] which retrieves JWT token from request, then parses the token into custom claims.

0.15.0 (Mar 04, 2024)

  • Reimplemented intercept.Middleware to use httpsnoop.

0.14.1 (Mar 01, 2024)

  • Added MiddlewareChain to create a set of middlewares without using a router. This is helpful to apply middleware to a single HTTP handler.

0.14.0 (Jan 24, 2024)

  • Added ErrorCode to ApiError to emit application-specific error codes.
  • Changed BadRequestError.Details from []string to map[string]string

0.13.1 (Jun 21, 2023)

  • Added errors.ObscureInteralErrorsMiddleware to prevent sensitive errors from reaching users.
    • A developer can optionally log the original error message to logs.

... (truncated)

Commits
  • 23c22b6 Improve scheme/host attributes in logging (#22)
  • b69e003 Added support for jsonapi links and meta for list responses.
  • b7c47dd Use github.com/google/go-cmp to test response body.
  • f974d6f Use standard slog library for structured logging. (#21)
  • b4f351d change to int parameter
  • 4d02096 add a new helper for an optional int64 query param
  • 547ae49 PanicMiddleware no longer writes response code (to avoid panic from duplicate...
  • 01f0ef4 PanicMiddleware prints stack trace to stderr.
  • 63790df Add configurable func for http server (#20)
  • 74fbf3e Next (#19)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [github.com/BSick7/go-api](https://github.com/BSick7/go-api) from 0.11.1 to 0.18.3.
- [Changelog](https://github.com/BSick7/go-api/blob/master/CHANGELOG.md)
- [Commits](BSick7/go-api@v0.11.1...v0.18.3)

---
updated-dependencies:
- dependency-name: github.com/BSick7/go-api
  dependency-version: 0.18.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant