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.19.1 to 1.27.1 #36

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 18, 2024

Bumps gofr.dev from 1.19.1 to 1.27.1.

Release notes

Sourced from gofr.dev's releases.

v1.27.1

Release v1.27.1

🛠️ Fixes

Fix Google Pubsub Panic

The callback function for the Google client Subscribe function was configured to fetch one message per Subscribe call. Still, at times the message was being sent to a closed channel causing unexpected behaviour. Fixed the issue of receiving messages on a channel that closes only on application shutdown.

v1.27.0

Release v1.27.0

✨ Features

  1. UseMiddlewareWithContainer for Custom Middleware with Container Access
    Introduced the UseMiddlewareWithContainer method, which allows custom middleware to access the application's container. This provides access to essential services such as logging, configuration, and database instances, enabling middleware to modify request processing dynamically.

    Example Usage:

    import (
        "fmt"
        "net/http"
    "gofr.dev/pkg/gofr"
    "gofr.dev/pkg/gofr/container"
    
    )
    func main() {
    // Create a new GoFr application instance
    a := gofr.New()
    // Add custom middleware with container access
    a.UseMiddlewareWithContainer(customMiddleware)
    
    ....
    }
    // Define middleware with container access
    func customMiddleware(c *container.Container, handler http.Handler) http.Handler {
    return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    c.Logger.Log("Hey! Welcome to GoFr")
    handler.ServeHTTP(w, r)
    })
    }
    `

  2. Migrations Support in MongoDB
    GoFr now introduces support for data migrations in MongoDB, enabling seamless modifications to your database schema and data. This includes adding new fields, modifying data types of existing fields, setting or removing indexes, and applying constraints to collections. All changes are meticulously tracked in the GoFr Migrations Table, ensuring a reliable and auditable history of database updates.


🛠️ Fixes

... (truncated)

Commits
  • 9a97ec5 Release v1.27.1
  • 9a6e8b8 update the gofr version to v1.27.1
  • 6269475 Merge branch 'main' of github.com:gofr-dev/gofr into release-v1.27.1
  • cbbb8b0 Fix: panic in google pubsub, recieving on closed channel (#1211)
  • 9990977 Release v1.27.0
  • 937f49e Merge branch 'main' of ssh://github.com/gofr-dev/gofr into en/release
  • 4fccd2e update framwework version
  • 8d1a0da Fix SQL log for successful connection (#1205)
  • 42f3226 Merge pull request #1201 from coolwednesday/documentation-AddRestHandlers
  • 0a75350 Merge branch 'development' into documentation-AddRestHandlers
  • 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.19.1 to 1.27.1.
- [Release notes](https://github.com/gofr-dev/gofr/releases)
- [Commits](gofr-dev/gofr@v1.19.1...v1.27.1)

---
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 the dependencies Pull requests that update a dependency file label Nov 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 2, 2024

Superseded by #37.

@dependabot dependabot bot closed this Dec 2, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/gofr.dev-1.27.1 branch December 2, 2024 21:15
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants