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, useslogGorm.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
Full Changelog: v1.3.2...v1.4.0