This release includes bug fixes for custom slog levels, data race with the default logger and deep copying fields, JSON handling improvements, and supporting slog attributes.
Changelog
New Features
- d3e462e: feat(ci): update linter config and add sync job (@aymanbagabas)
- dd7bc94: feat: preserve order when writing json (@op)
- fb820d2: feat: support slog attributes (#127) (@op)
Bug fixes
- 81cf0ff: fix: deep copy the fields to avoid data race (#128) (@yuguorui)
- deae1b0: fix: fix data race in Default and SetDefault (@op)
- 62ddc70: fix: lint issues (@aymanbagabas)
- 2b8ec72: fix: support custom slog levels (#117) (@lvlcn-t)
Dependency updates
- 82b5630: feat(deps): bump github.com/charmbracelet/lipgloss from 0.10.0 to 0.11.0 (#129) (@dependabot[bot])
- d1e7d89: feat(deps): bump github.com/charmbracelet/lipgloss from 0.11.0 to 0.12.1 (#136) (@dependabot[bot])
- 624268e: feat(deps): bump github.com/charmbracelet/lipgloss from 0.12.1 to 0.13.0 (#140) (@dependabot[bot])
- dc6766f: feat(deps): bump github.com/charmbracelet/lipgloss from 0.13.0 to 0.13.1 (#146) (@dependabot[bot])
- cca527f: feat(deps): bump github.com/charmbracelet/lipgloss from 0.13.1 to 1.0.0 (#148) (@dependabot[bot])
- 1e6353e: feat(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#153) (@dependabot[bot])
Documentation updates
Other work
- f954dc8: change type of Level to int (#141) (@imjasonh)
- fb71c7e: ci: sync dependabot config (#158) (@charmcli)
- c3793d7: ci: sync dependabot config (@charmcli)
- cb97f10: ci: sync golangci-lint config (#161) (@github-actions[bot])
- 2660c82: ci: sync golangci-lint config (#162) (@github-actions[bot])
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.