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.1.2 to 0.2.1 #129

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2023

Bumps github.com/charmbracelet/log from 0.1.2 to 0.2.1.

Release notes

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

v0.2.1

Changelog

Bug fixes

  • 89a61d46421faf8c869bbf5c44375febaf106068: fix(ci): setup go before lint (@​aymanbagabas)
  • 6e534d003cad3731c7c214ff9d781bbc494c3b40: fix(output): cache lipgloss renderers (#52) (@​aymanbagabas)

Dependency updates

  • 8ca9b060df9dc8c15b54e75555ac8ed62c0370a9: feat(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 (@​dependabot[bot])

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

v0.2.0

BREAKING CHANGE

  • Drop functional options.
  • Introduce log.NewWithOptions(io.Writer, log.Options) and log.Options{} to create a new logger with custom options.
  • Add format methods to format the log message just like fmt.Printf().
  • Add log.WithPrefix(string) that returns a new sub-logger with prefix.
  • Parse level from string log.ParseLevel(string)
  • Custom key/value styles.
  • Caller source formatter.
  • And a bunch of bug fixes.

Changelog

New Features

  • ecd1551994b5f05744439a67d42d0e243ff62cdb: feat(caller): add caller formatter (@​aymanbagabas)
  • 5315620c487929ca2ded5d44be18391d2868bb41: feat(examples): put examples in a separate module (@​aymanbagabas)
  • 2285bcefd520818ee5485f46f5e4f2f8fad94c00: feat(log): add format methods (@​aymanbagabas)
  • 40c0aeff841c3a8c8b1aa9f1fe1eb8995e9cb439: feat(log): set custom format keys (@​aymanbagabas)
  • 99fa380761356d61fe09e52a74ee03289b6b6fa7: feat(log): sub-logger with prefix (@​aymanbagabas)
  • 169c012622e7a8a51938def0f7595b7e89bb538d: feat(styles): style certain keys (@​aymanbagabas)
  • 391e751b2feee971b9ad9ce87ae6ba1649426606: feat(text): style certain values (@​aymanbagabas)
  • a2100d4992f68bc3d146c025ee81d850b5003162: feat(text): use lipgloss renderer (@​aymanbagabas)
  • baccac60cd80c2faa3ef081e33482fcadd687580: feat: parse level from string (#11) (@​gozeloglu)

Bug fixes

  • 632a42673ce22f6aeeb21d755f9c2f78add9f5ce: fix(go): make log compliant with go1.15 (@​aymanbagabas)
  • cc3834dc5b90d16e59febda61e8f9af106f219d2: fix(text): style multiline value before rendering (@​aymanbagabas)

Dependency updates

  • e6729aac68f3cff9a2453d163c91af9d618d65a9: feat(deps): bump github.com/charmbracelet/lipgloss from 0.7.0 to 0.7.1 (@​dependabot[bot])
  • 6630e963237cbdb8070aa03dfdbd4a3dd51bde2d: feat(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (@​dependabot[bot])

Documentation updates

  • 26aaaae62cf7f0ea93561fd325d7be9be6f48ce5: docs: add codecov & go report badges (@​aymanbagabas)
  • 5da9367df6ec273b5debbdcf54ef1762bc907f69: docs: add format methods (@​aymanbagabas)
  • 6b057682718af6baae5022ffd16766ab0a8a1c92: docs: add light background gifs (@​aymanbagabas)
  • 65ede5146caad83b90cc479be9379524e224c110: docs: add missing info level info to README (@​meowgorithm)
  • a9f75d2465861878b67f0216fd49c75b54d69132: docs: add styles section and examples (@​aymanbagabas)
  • 07a423fba806bd110fb16b8107bee7fe947911ae: docs: update gifys (@​aymanbagabas)

... (truncated)

Commits
  • 6e534d0 fix(output): cache lipgloss renderers (#52)
  • c9ffb27 chore: remove unused code
  • 8ca9b06 feat(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18
  • 89a61d4 fix(ci): setup go before lint
  • 26aaaae docs: add codecov & go report badges
  • ecd1551 feat(caller): add caller formatter
  • 7ed8ebf chore(deps): bump actions/setup-go from 3 to 4
  • e6729aa feat(deps): bump github.com/charmbracelet/lipgloss from 0.7.0 to 0.7.1
  • 99fa380 feat(log): sub-logger with prefix
  • 7ba0790 chore: add more pkg tests
  • Additional commits viewable in compare view

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 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)

@caarlos0
Copy link
Member

@dependabot rebase

Bumps [github.com/charmbracelet/log](https://github.com/charmbracelet/log) from 0.1.2 to 0.2.1.
- [Release notes](https://github.com/charmbracelet/log/releases)
- [Commits](charmbracelet/log@v0.1.2...v0.2.1)

---
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>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/log-0.2.1 branch from 36c7aa6 to ce89333 Compare April 12, 2023 13:59
@codecov
Copy link

codecov bot commented Apr 12, 2023

Codecov Report

Merging #129 (ce89333) into main (17cde30) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #129   +/-   ##
=======================================
  Coverage   76.25%   76.25%           
=======================================
  Files          17       17           
  Lines         897      897           
=======================================
  Hits          684      684           
  Misses        159      159           
  Partials       54       54           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@caarlos0 caarlos0 merged commit b02fea5 into main Apr 12, 2023
14 checks passed
@caarlos0 caarlos0 deleted the dependabot/go_modules/github.com/charmbracelet/log-0.2.1 branch April 12, 2023 14:25
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.

None yet

1 participant