Releases: catppuccin/rust
v2.4.0
What's Changed
- chore: Configure Renovate by @renovate in #23
- feat: expose
order
for flavors and colors by @uncenter in #22 - chore(deps): update rust crate itertools to 0.13.0 by @renovate in #24
- fix(deps): update rust crate ratatui to 0.26 by @renovate in #25
- chore(deps): update actions/checkout action to v4 by @renovate in #27
- chore(deps): update peter-evans/create-pull-request action to v6 by @renovate in #28
New Contributors
Full Changelog: v2.3.0...v2.4.0
v2.3.0
v2.2.0
What's Changed
- ci: ignore tags in palette workflow by @backwardspy in #17
- feat: add const equivalents of color & flavor index impls by @backwardspy in #18
Full Changelog: v2.1.1...v2.2.0
v2.1.1
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- feat: add FromStr & deserialization support by @backwardspy in #16
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
- feat!: rewrite with codegen and simpler api by @backwardspy in #15
Full Changelog: v1.4.0...v2.0.0
v2.0.0-beta.3
What's Changed
- add palette JSON update workflow by @backwardspy in #13
- feat: add identifier method to Flavor and Color by @backwardspy in #14
Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3
v2.0.0-beta.2
Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2
v2.0.0-beta.1
What's Changed
Added support for the updated palette JSON schema.
API changes:
Color::name
andFlavor::name
now return aColorName
andFlavorName
enum variant respectively. These variants can be displayed as strings, or used to index intoFlavor
andPalette
instances.Color::hex
is now an opaque type wrappingRgb
that can be displayed as a string.
These changes mean there are no more static lifetimes used in the crate, making API usage slightly easier in some cases.
Full Changelog: v2.0.0-beta.0...v2.0.0-beta.1
v2.0.0-beta.0
What's Changed
Version 2 of the Catppuccin crate brings a new structure that maps closely to the palette JSON.
It also introduces code generation via a build script that generates all the colour data from that palette JSON.
This pre-release version is intended for upgrading existing crates in order to identify any regressions or missed features, and to give time for feedback ahead of a stable release.
Note
The readme is still using the old API, but the docs and examples have all been updated. Use those for now, the readme will be updated ahead of a stable release.
Acknowledgements
@juliuskreutz - Lots of discussion around the new design and contributions to the build script.
Full Changelog: v1.3.0...v2.0.0-beta.0