github gofr-dev/gofr v1.42.4

latest releases: v1.46.3, v1.46.2, v1.46.1...
3 months ago

v1.42.4

🛠️ Improvements

  1. Elasticsearch Migrator for Versioned Changes

    GoFr now includes a dedicated Elasticsearch migrator under pkg/migration for managing version-controlled changes like index creation, mapping updates, and analyzer definitions.
    Key Features:

    • Seamless integration with GoFr’s internal migrator interface.
    • Uses Elasticsearch’s REST API for all operations.
    • Maintains migration state for reliable deployments.

    Refer to gofr.dev/migrations for more details and examples.

🐞 Bug Fixes

  1. Fixed Panic in Context Logging in GoFr CMD Apps

    A bug that caused a panic when using ctx.Warnf instead of ctx.Logger.Warnf has been fixed.

    Behavior Before:

    Calling ctx.Warnf in GoFr CMD Apps resulted in:

    panic: runtime error: invalid memory address or nil pointer dereference
    

    Now:

    ctx.Warnf functions correctly and logs without causing runtime crashes.

Don't miss a new gofr release

NewReleases is sending notifications on new releases.