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 hermannm.dev/devlog from 0.4.1 to 0.5.0 in /examples #38

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Bumps hermannm.dev/devlog from 0.4.1 to 0.5.0.

Release notes

Sourced from hermannm.dev/devlog's releases.

v0.5.0

  • devlog:
    • Change time format to no longer show date by default (when in local development, one typically only cares about time)
    • Add TimeFormat option to include date in time format, if one still wants the old behavior
    • Add InitDefaultLogHandler convenience function, that combines NewHandler and slog.SetDefault
    • Add function name when AddSource is enabled, and fix formatting of source attribute
    • Improve handling of Handler.WithAttrs
      • Logs now display log-specific attributes first (i.e. most recent first), and attributes from WithAttrs after
    • Fix handling of Handler.WithGroup when not followed by Handler.WithAttrs
      • The previous implementation was broken, leading to subsequent logs getting increasing levels of indentation
  • devlog/log:
    • Allow passing log attributes as ...any (key/value pairs) instead of just ...slog.Attr, enabling more concise attribute syntax
    • Add DebugError, DebugErrorCause, DebugErrorCausef and DebugErrors functions (both at top level and for Logger), for error logging at DEBUG level
    • (breaking) Make JSONValue struct no longer public (you likely were not depending on this)
    • (breaking) Make WrappedError and WrappedErrors interfaces no longer public (you likely were not depending on these)
Commits
  • eaf120e Update README and docs
  • 82848a5 Rename SetDefaultHandler -> InitDefaultLogHandler
  • 0784725 Include function name in source attribute, improve attr preformatting
  • d3aa61f Make WrappedError interfaces no longer public
  • a3872a1 Add DebugError log functions to devlog/log
  • eb27d56 Use ...any instead of ...slog.Attr in devlog/log tests
  • a12f6bd Update README
  • 27c04ae Update example output format in package docstring
  • 8bee590 Rename NewDefaultHandler -> SetDefaultHandler
  • ce154ba Improve docstrings on devlog.Options
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 16, 2024
@ben-krieger ben-krieger enabled auto-merge (rebase) December 16, 2024 19:26
@dependabot dependabot bot force-pushed the dependabot/go_modules/examples/hermannm.dev/devlog-0.5.0 branch from 62ba20d to 55bd624 Compare December 16, 2024 19:38
Bumps [hermannm.dev/devlog](https://github.com/hermannm/devlog) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/hermannm/devlog/releases)
- [Commits](hermannm/devlog@v0.4.1...v0.5.0)

---
updated-dependencies:
- dependency-name: hermannm.dev/devlog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/examples/hermannm.dev/devlog-0.5.0 branch from 55bd624 to 1896d28 Compare December 16, 2024 19:42
@ben-krieger ben-krieger merged commit f72cf35 into main Dec 16, 2024
8 checks passed
@ben-krieger ben-krieger deleted the dependabot/go_modules/examples/hermannm.dev/devlog-0.5.0 branch December 16, 2024 19:44
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant