Releases: futursolo/stylist-rs
Releases · futursolo/stylist-rs
Release 0.7.0
Breaking Changes:
Style::new()
now takes anInto<Cow<'static, str>>
instead of
Into<String>
and returnsstylist::Error
instead ofString
when
encountering an error.Style::create()
now takesInto<Cow<'static, str>>
for class prefix
and css string and returnsstylist::Error
instead ofString
when
encountering an error.Style
no longer implementsToString
.
Other Changes:
- Added a new API
YieldStyle
. - Added theming examples.
- Styles are now cached by default.
- Fixed a Bug where
.a-class-name
is after@media
would cause parser
to return an error. - Added Docs.
- Removed Unnecessary Clones.
- Optimised for Performance.
Release 0.6.0
Breaking Changes:
style.get_class_name()
no longer consumes the style and returns a&str
instead of an owned string.- Seed Integration is Removed.
Other Changes:
- Added
Style::new
which does not require a component name. - Aesthetically pleasing Class Name.
- Replaced
lazy_static
withonce_cell
. - Updated nom to
v6
. - Updated Yew to
v0.18
. - Removed Unnecessary Clones
- Optimised for Performance