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

Bump gofr.dev from 1.26.0 to 1.29.0 #19

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 30, 2024

Bumps gofr.dev from 1.26.0 to 1.29.0.

Release notes

Sourced from gofr.dev's releases.

v1.29.0

Release v1.29.0


✨ Features:

  1. Custom Metadata in Responses
    Users can now include metadata in API responses using the response.Response struct. This allows for clean, structured responses while providing additional contextual information.
    • Response Structure:
      • With Metadata:
        {
            "data": {},
            "metadata": {}
        }
      • Without Metadata:
        {
            "data": {}
        }
    • Example Usage:
      func HelloHandler(c *gofr.Context) (interface{}, error) {
          headers := map[string]string{
              "X-Custom-Header": "CustomValue",
          }
      metaData := map[string]any{
          "environment": "staging",
          "timestamp":   time.Now(),
      }
      return response.Response{
      Data:     map[string]string{"message": "Hello, World!"},
      Metadata: metaData,
      Headers:  headers,
      }, nil
      
      }


  1. Support for Redis Database Selection:
  • Introduces a new config REDIS_DB to specify the Redis database index to be used.
  • Example usage:
    os.Setenv("REDIS_DB", "1")

... (truncated)

Commits
  • 5bc6ec2 Merge pull request #1327 from gofr-dev/release/1.29.0
  • a6c406f Merge branch 'development' of github.com:gofr-dev/gofr into release/1.29.0
  • 951495d Merge pull request #1325 from coolwednesday/response
  • f5377a5 revert unnecessary changes
  • 20751eb Merge branch 'development' into response
  • 7f1760b Bump google.golang.org/grpc from 1.68.1 to 1.69.0 (#1315)
  • a17a422 Merge branch 'development' into response
  • 70abf1a Bump modernc.org/sqlite from 1.34.2 to 1.34.4 (#1336)
  • 42fc60e Merge pull request #1334 from gofr-dev/dependabot/go_modules/github.com/XSAM/...
  • f21c548 Merge branch 'development' into dependabot/go_modules/github.com/XSAM/otelsql...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [gofr.dev](https://github.com/gofr-dev/gofr) from 1.26.0 to 1.29.0.
- [Release notes](https://github.com/gofr-dev/gofr/releases)
- [Commits](gofr-dev/gofr@v1.26.0...v1.29.0)

---
updated-dependencies:
- dependency-name: gofr.dev
  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 Dec 30, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 13, 2025

Superseded by #20.

@dependabot dependabot bot closed this Jan 13, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/gofr.dev-1.29.0 branch January 13, 2025 00:54
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.

0 participants