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 #424

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 8, 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] <[email protected]>
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Attention: 3824 lines in your changes are missing coverage. Please review.

Comparison is base (050a0d1) 50.52% compared to head (f6ec32a) 47.73%.
Report is 83 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #424      +/-   ##
==========================================
- Coverage   50.52%   47.73%   -2.80%     
==========================================
  Files         107      154      +47     
  Lines        8209    13053    +4844     
==========================================
+ Hits         4148     6231    +2083     
- Misses       3767     6336    +2569     
- Partials      294      486     +192     
Files Coverage Δ
git/command.go 0.00% <ø> (ø)
git/commit.go 42.85% <100.00%> (+17.85%) ⬆️
git/reference.go 40.00% <100.00%> (+7.85%) ⬆️
git/server.go 57.14% <ø> (+57.14%) ⬆️
git/tree.go 81.00% <ø> (ø)
pkg/backend/backend.go 100.00% <100.00%> (ø)
pkg/backend/cache.go 68.75% <ø> (ø)
pkg/backend/context.go 85.71% <ø> (ø)
pkg/backend/settings.go 78.57% <ø> (ø)
pkg/config/config.go 81.28% <100.00%> (ø)
... and 144 more

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

@aymanbagabas aymanbagabas merged commit 49f34dd into main Nov 8, 2023
18 of 19 checks passed
@aymanbagabas aymanbagabas deleted the dependabot/go_modules/github.com/charmbracelet/log-0.3.0 branch November 8, 2023 14:58
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