Skip to content

feat(deps): bump github.com/charmbracelet/log from 0.1.2 to 0.2.0 - #162

Merged
caarlos0 merged 1 commit into
mainfrom
dependabot/go_modules/github.com/charmbracelet/log-0.2.0
Mar 21, 2023
Merged

caarlos0 merged 1 commit into
mainfrom
dependabot/go_modules/github.com/charmbracelet/log-0.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 21, 2023 •

Copy link
Copy Markdown
Contributor

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

Release notes

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

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)
  • 9519a709dda7d697dd6376a23e357c2a3e11b96e: docs: update readme examples (@​aymanbagabas)
  • b6dcc9b9e1b653a631941be0ba6beb8eb5d54416: docs: update styles example (@​aymanbagabas)
  • 462efd0544c3a10f4fc27d64f951d464084121f3: docs: update sublogger gify (@​aymanbagabas)
  • 17a651c3ffa7992d956ff27cb7ed35c2a21ce157: docs: use picture tags (@​aymanbagabas)

Other work

  • 39de9cab78168cb06a9d46e4cb2fc425b0471f07: add batch and chocolate chips NV pairs (@​tomdotorg)
  • 761ad44c1cd520e2f0f287635447d57b26aa0bd4: fix(text) escape value before rendering styles (#20) (@​tombell)
  • 395e398cf2f2027e1a84cb0d8d2cab43ee8e42b7: ref(log): reduce struct props (@​aymanbagabas)
  • 010ab9058ca693fe9f835a318af6095461624b6d: ref(log): use log options to initialize new loggers (@​aymanbagabas)
  • 685b3e2c7977c60067eadb200fc9ddf34f022aec: revert: dark mode gifs (@​maaslalani)

... (truncated)

Commits
  • 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
  • 5da9367 docs: add format methods
  • 2285bce feat(log): add format methods
  • 5315620 feat(examples): put examples in a separate module
  • a2100d4 feat(text): use lipgloss renderer
  • 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)

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

---
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.0 branch from 1841644 to 19b0026 Compare March 21, 2023 14:54
@caarlos0
caarlos0 merged commit f753093 into main Mar 21, 2023
@caarlos0
caarlos0 deleted the dependabot/go_modules/github.com/charmbracelet/log-0.2.0 branch March 21, 2023 17:26
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

⌂ 换网址