Skip to content

v1.4.0

Latest
Compare
Choose a tag to compare
@orandin orandin released this 13 Aug 19:54
fb43b31

What's Changed

  • feat: allow adding attribute via a context function by @teleivo in #25
  • Allow contextKey accepts any type by @chucamphong in #28

⚠️ Deprecation notice (since v1.3.0)

  • slogGorm.WithLogger(...) is deprecated, use slogGorm.WithHandler(...) instead:
gormLogger := slogGorm.New(
    // slogGorm.WithLogger(logger), // Deprecated since v1.3.0, use `slogGorm.WithHandler(...)` instead.
    slogGorm.WithHandler(logger.Handler()), // since v1.3.0
)

New Contributors

  • @teleivo made their first contribution in #25
  • @chucamphong made their first contribution in #28

Full Changelog: v1.3.2...v1.4.0