charmbracelet / lipgloss

Style definitions for nice terminal layouts 👄
MIT License
8.21k stars 229 forks source link

Breaking Change in Header Styling from Index 0 to Index -1 in Tag 0.13.0 -> 0.13.1 #431

Open joaogmguimaraes opened 2 weeks ago

joaogmguimaraes commented 2 weeks ago

From tag 0.13.0 to tag 0.13.1, there was a breaking change where the header styling in the table changed from index 0 to index -1 (a great improvement, by the way). However, this affected several scripts after updating the library.

I suggest we use the Semver standard for new tags 1.0.1, ..., 2.1.0 to avoid surprises, especially for developers who use go get -u=patch ./....

joaogmguimaraes commented 2 weeks ago

I almost forgot, the README.md and the code comments became outdated after this change.

meowgorithm commented 2 weeks ago

Thanks, @joaogmguimaraes, and apologies about the change in API. We'll put this on our to-do list, but feel free to open a PR with the fixes if you'd like, too.