Skip to content

v2.2.0-alpha.4

Pre-release
Pre-release

Choose a tag to compare

@lrstanley lrstanley released this 28 Nov 02:13
· 4 commits to master since this release
v2.2.0-alpha.4
c69b84a

Highlights

Fixes for gaps found adopting alpha.3 in a larger app:

  • tint: ColorSchema and PairSchema declare their types, so a schema generator's nullable *tint.Color field no longer rejects every color. Slot.JSONName names a slot as a tint's JSON does (purple for magenta).
  • roles: AccentChoice writes "purple" as written, rather than "magenta", so the setting round-trips. Accents() and ColorLimits() list the choices for a settings menu.

Changelog

⚠️ Breaking Changes

  • ee83d88: roles: list the accents and color limits, and name purple as written (@lrstanley)
    • AccentChoice's String and MarshalText return "purple" and "bright_purple" rather than "magenta" and "bright_magenta". Both still parse.

✨ New Features

  • 35f099f: type the color and pair schemas, and name slots as a tint's JSON does (@lrstanley)

Full changelog: v2.2.0-alpha.3...v2.2.0-alpha.4

📦 Install

go get github.com/lrstanley/bubbletint/chromatint/v2@v2.2.0-alpha.4
go get github.com/lrstanley/bubbletint/glamourtint/v2@v2.2.0-alpha.4
go get github.com/lrstanley/bubbletint/roles/v2@v2.2.0-alpha.4
go get github.com/lrstanley/bubbletint/sources/v2@v2.2.0-alpha.4
go get github.com/lrstanley/bubbletint/v2@v2.2.0-alpha.4

Docs:

💬 What to do next?