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 github.com/charmbracelet/log from 0.2.5 to 0.3.1 #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

v0.3.1

Changelog

New Features

  • de79c177029a1de20b4713fa1476beb6f131bcf6: feat(logger): implement slog.Handler (#13) (@​aymanbagabas)
  • bd09619b604913189c70692f890cca399f046cb8: feat: set custom styles (#84) (@​aymanbagabas)

Bug fixes

  • 7472e5954a32b1b9b58ce27414dd9fa6ffb1b409: fix: dry writeSpace (@​aymanbagabas)
  • b7f36a868dee5410ee4ac8e31de6e584a9c047f6: fix: use const colors to skip reading querying for the terminal bg color (#93) (@​aymanbagabas)

Dependency updates

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

Documentation updates

  • afa204d923eef360ee48bc426c50cb283ea3dd96: docs: fix examples (#94) (@​nellfs)
  • 595fffe039c9631bcff870b09d0ad3eb283c6ad8: docs: fix styles example (#92) (@​aymanbagabas)

Other work

  • 5e841605695be19fc4b3593015a0090dc980b523: Handle Empty Messages (#82) (@​dezren39)
  • f36448c959e35c6412f396e146a98c5bd53674e2: doc: add gum to readme (@​aymanbagabas)
  • d96bea283b892d8efe64843ea3b8b0e93d0213bf: refactor!: return Error from ParseLevel (#83) (@​dezren39)

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

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

... (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.5 to 0.3.1.
- [Release notes](https://github.com/charmbracelet/log/releases)
- [Commits](charmbracelet/log@v0.2.5...v0.3.1)

---
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 added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 28, 2023
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.

0 participants