Plumeria 9.0.0
2026-03-10
Release Notes
Breaking Change
css.props() renamed to css.use()
Before (8.x)
import * as css from '@plumeria/core';
<div className={css.props(styles.featureCard)} />After (9.0.0)
import * as css from '@plumeria/core';
const styles = css.create({...});
<div className={css.use(styles.featureCard)} />The import alias name is arbitrary, you can use style instead of css if you prefer:
import * as style from '@plumeria/core';
const styles = style.create({...});
<div className={style.use(styles.featureCard)} />Reason for Change
- The name "props" did not accurately represent its actual meaning (conversion to a class name).
- css.use() now more intuitively and concisely conveys the intent of "use this style."
Migration
Simply replace css.props( with css.use(.
8.x Release Notes
v8.0.3
- fixes fs.globSync was slow and has been replaced with @rust-gear/glob, which is tuned for speed.
v8.0.2
- fixes first line comment out parsing error.
v8.0.1
- fixes some edge-case bugs in development mode, such as styles being lost when opening in a new tab.
Feedback Discussion and bug Issues reports are welcome on GitHub