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

build(deps): bump github.com/charmbracelet/log from 0.2.4 to 0.3.0 #41

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.4 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.

v0.2.5

Changelog

New Features

  • 851c1b022c12c96d38c7e7d05cd963c8cbe78a55: feat: set lipgloss renderer color profile (#69) (@​aymanbagabas)

Bug fixes

  • 6c11a72d8b475fd8c8f1be25c8ed99c93364788e: fix(ci): fail ci on lint issues; enable nolintlint (#70) (@​alexandear)

... (truncated)

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.4 to 0.3.0.
- [Release notes](https://github.com/charmbracelet/log/releases)
- [Commits](charmbracelet/log@v0.2.4...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]>
@dependabot dependabot bot requested a review from dwisiswant0 as a code owner November 8, 2023 08:31
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 8, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 28, 2023

Superseded by #44.

@dependabot dependabot bot closed this Nov 28, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/charmbracelet/log-0.3.0 branch November 28, 2023 08:48
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants