nao1215 / jose

jose - CLI tool for JOSE (JSON Object Signing and Encryption)
MIT License
11 stars 0 forks source link

Bump github.com/charmbracelet/log from 0.2.5 to 0.3.0 #40

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 1 year ago

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 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[bot] commented 11 months ago

Superseded by #42.