Skip to content

Release 0.0.4 - #28

Merged
pellared merged 1 commit into
mainfrom
rel-0.0.4
Dec 9, 2025
Merged

Release 0.0.4#28
pellared merged 1 commit into
mainfrom
rel-0.0.4

Conversation

@pellared

@pellared pellared commented Dec 9, 2025

Copy link
Copy Markdown
Owner

Changed

  • BREAKING: Rename Logger.TraceEvent(ctx context.Context, name string, args ...any) to Logger.Trace(ctx context.Context, eventName string, args ...any).
  • BREAKING: Rename Logger.DebugEvent(ctx context.Context, name string, args ...any) to Logger.Debug(ctx context.Context, eventName string, args ...any).
  • BREAKING: Rename Logger.InfoEvent(ctx context.Context, name string, args ...any) to Logger.Info(ctx context.Context, eventName string, args ...any).
  • BREAKING: Rename Logger.WarnEvent(ctx context.Context, name string, args ...any) to Logger.Warn(ctx context.Context, eventName string, args ...any).
  • BREAKING: Rename Logger.ErrorEvent(ctx context.Context, name string, args ...any) to Logger.Error(ctx context.Context, eventName string, args ...any).
  • BREAKING: Rename Logger.Event(ctx context.Context, level log.Severity, name string, args ...any) to Logger.Log(ctx context.Context, level log.Severity, eventName string, args ...any).
  • BREAKING: Rename Logger.TraceEventAttr(ctx context.Context, name string, attrs ...log.KeyValue) to Logger.TraceAttr(ctx context.Context, eventName string, attrs ...log.KeyValue).
  • BREAKING: Rename Logger.DebugEventAttr(ctx context.Context, name string, attrs ...log.KeyValue) to Logger.DebugAttr(ctx context.Context, eventName string, attrs ...log.KeyValue).
  • BREAKING: Rename Logger.InfoEventAttr(ctx context.Context, name string, attrs ...log.KeyValue) to Logger.InfoAttr(ctx context.Context, eventName string, attrs ...log.KeyValue).
  • BREAKING: Rename Logger.WarnEventAttr(ctx context.Context, name string, attrs ...log.KeyValue) to Logger.WarnAttr(ctx context.Context, eventName string, attrs ...log.KeyValue).
  • BREAKING: Rename Logger.ErrorEventAttr(ctx context.Context, name string, attrs ...log.KeyValue) to Logger.ErrorAttr(ctx context.Context, eventName string, attrs ...log.KeyValue).
  • BREAKING: Rename Logger.EventAttr(ctx context.Context, level log.Severity, name string, attrs ...log.KeyValue) to Logger.LogAttr(ctx context.Context, level log.Severity, eventName string, attrs ...log.KeyValue).
  • BREAKING: Rename Logger.TraceEventEnabled(ctx context.Context, eventName string) bool to Logger.TraceEnabled(ctx context.Context, eventName string) bool.
  • BREAKING: Rename Logger.DebugEventEnabled(ctx context.Context, eventName string) bool to Logger.DebugEnabled(ctx context.Context, eventName string) bool.
  • BREAKING: Rename Logger.InfoEventEnabled(ctx context.Context, eventName string) bool to Logger.InfoEnabled(ctx context.Context, eventName string) bool.
  • BREAKING: Rename Logger.WarnEventEnabled(ctx context.Context, eventName string) bool to Logger.WarnEnabled(ctx context.Context, eventName string) bool.
  • BREAKING: Rename Logger.ErrorEventEnabled(ctx context.Context, eventName string) bool to Logger.ErrorEnabled(ctx context.Context, eventName string) bool.

Removed

  • BREAKING: Remove Logger.Trace(ctx context.Context, msg string, args ...any). Use event-based logging with Logger.Trace(ctx context.Context, eventName string, args ...any) instead.
  • BREAKING: Remove Logger.TraceAttr(ctx context.Context, msg string, attrs ...log.KeyValue). Use event-based logging with Logger.TraceAttr(ctx context.Context, eventName string, attrs ...log.KeyValue) instead.
  • BREAKING: Remove Logger.Debug(ctx context.Context, msg string, args ...any). Use event-based logging with Logger.Debug(ctx context.Context, eventName string, args ...any) instead.
  • BREAKING: Remove Logger.DebugAttr(ctx context.Context, msg string, attrs ...log.KeyValue). Use event-based logging with Logger.DebugAttr(ctx context.Context, eventName string, attrs ...log.KeyValue) instead.
  • BREAKING: Remove Logger.Info(ctx context.Context, msg string, args ...any). Use event-based logging with Logger.Info(ctx context.Context, eventName string, args ...any) instead.
  • BREAKING: Remove Logger.InfoAttr(ctx context.Context, msg string, attrs ...log.KeyValue). Use event-based logging with Logger.InfoAttr(ctx context.Context, eventName string, attrs ...log.KeyValue) instead.
  • BREAKING: Remove Logger.Warn(ctx context.Context, msg string, args ...any). Use event-based logging with Logger.Warn(ctx context.Context, eventName string, args ...any) instead.
  • BREAKING: Remove Logger.WarnAttr(ctx context.Context, msg string, attrs ...log.KeyValue). Use event-based logging with Logger.WarnAttr(ctx context.Context, eventName string, attrs ...log.KeyValue) instead.
  • BREAKING: Remove Logger.Error(ctx context.Context, msg string, args ...any). Use event-based logging with Logger.Error(ctx context.Context, eventName string, args ...any) instead.
  • BREAKING: Remove Logger.ErrorAttr(ctx context.Context, msg string, attrs ...log.KeyValue). Use event-based logging with Logger.ErrorAttr(ctx context.Context, eventName string, attrs ...log.KeyValue) instead.
  • BREAKING: Remove Logger.Log(ctx context.Context, level log.Severity, msg string, args ...any). Use event-based logging with Logger.Log(ctx context.Context, level log.Severity, eventName string, args ...any) instead.
  • BREAKING: Remove Logger.LogAttr(ctx context.Context, level log.Severity, msg string, attrs ...log.KeyValue). Use event-based logging with Logger.LogAttr(ctx context.Context, level log.Severity, eventName string, attrs ...log.KeyValue) instead.
  • BREAKING: Remove Logger.TraceEnabled(ctx context.Context) bool. Use Logger.TraceEnabled(ctx context.Context, eventName string) bool instead.
  • BREAKING: Remove Logger.DebugEnabled(ctx context.Context) bool. Use Logger.DebugEnabled(ctx context.Context, eventName string) bool instead.
  • BREAKING: Remove Logger.InfoEnabled(ctx context.Context) bool. Use Logger.InfoEnabled(ctx context.Context, eventName string) bool instead.
  • BREAKING: Remove Logger.WarnEnabled(ctx context.Context) bool. Use Logger.WarnEnabled(ctx context.Context, eventName string) bool instead.
  • BREAKING: Remove Logger.ErrorEnabled(ctx context.Context) bool. Use Logger.ErrorEnabled(ctx context.Context, eventName string) bool instead.

@pellared
pellared enabled auto-merge (squash) December 9, 2025 22:05
@pellared
pellared merged commit fadd83c into main Dec 9, 2025
2 checks passed
@pellared
pellared deleted the rel-0.0.4 branch December 9, 2025 22:05
@codecov

codecov Bot commented Dec 9, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.86%. Comparing base (99ae9c8) to head (09407e0).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   97.86%   97.86%           
=======================================
  Files           2        2           
  Lines         234      234           
=======================================
  Hits          229      229           
  Misses          3        3           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant