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

feat(deps): bump github.com/charmbracelet/log from 0.2.5 to 0.3.0 #188

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 7, 2023

Bumps github.com/charmbracelet/log from 0.2.5 to 0.3.0.

Release notes

Sourced from github.com/charmbracelet/log's releases.

v0.3.0

This new release of Log adds support for log/slog, and per-instance styles, and includes bug fixes. You can now use Log as a log/slog handler in your applications. Log comes with its own JSON and Logfmt formatters, on the other hand, Slog uses different handlers for these formats.

Breaking Changes!

  • Bump the minimum GoLang version to 1.19
  • Change the default timestamp key from ts to time to match log/slog
  • Change the default level key from lvl to level to match log/slog
  • ParseLevel() now returns an error if parse failed to find a level in string
  • Default levels values changed to be increments of 4 i.e. DebugLevel = -4, InfoLevel = 0, WarnLevel = 4, ...
  • Global styles are replaced with DefaultStyles() and SetStyles()

Changelog

New Features

  • 5155c4fec524809cafe82d701bd4b464ddc68f07: feat(logger): implement slog.Handler (@​aymanbagabas)
  • 588043aa05b66f5f72c522720b0254bad0ddbbc4: feat: add slog tests (@​aymanbagabas)
  • 7e55b9190fdead6c18c5a78deb2c6b1113d02f3e: feat: compile for go1.20 and go1.21 (@​aymanbagabas)
  • bd09619b604913189c70692f890cca399f046cb8: feat: set custom styles (#84) (@​aymanbagabas)

Bug fixes

Dependency updates

  • e5a733b643ab8926fbc58844217ff3c79bd07d97: feat(deps): bump github.com/charmbracelet/lipgloss from 0.8.0 to 0.9.1 (#76) (@​dependabot[bot])

Other work

  • 5e841605695be19fc4b3593015a0090dc980b523: Handle Empty Messages (#82) (@​dezren39)
  • 85d52ab31b7c3d233e88eb6e77f4f4efa5f40e69: doc: add slog support (@​aymanbagabas)
  • d96bea283b892d8efe64843ea3b8b0e93d0213bf: refactor!: return Error from ParseLevel (#83) (@​dezren39)
  • 283fdeb7a53206747a53399690c9ebb5a3dbeb68: refactor: match log/slog level values (@​aymanbagabas)
  • 9c25f94241cae621c41fe5d91bd7981473b09d09: refactor: rename files (@​aymanbagabas)

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

Commits

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)

Bumps [github.com/charmbracelet/log](https://github.com/charmbracelet/log) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/charmbracelet/log/releases)
- [Commits](charmbracelet/log@v0.2.5...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/log
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link

codecov bot commented Nov 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (18cd255) 76.14% compared to head (2614d32) 76.14%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #188   +/-   ##
=======================================
  Coverage   76.14%   76.14%           
=======================================
  Files          17       17           
  Lines         897      897           
=======================================
  Hits          683      683           
  Misses        160      160           
  Partials       54       54           

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

@caarlos0
Copy link
Member

caarlos0 commented Nov 7, 2023

@dependabot squash and merge

@dependabot dependabot bot merged commit 472a6ab into main Nov 7, 2023
14 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/charmbracelet/log-0.3.0 branch November 7, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant