Skip to content

Releases: futursolo/stylist-rs

Release 0.7.0

05 Aug 11:05
Compare
Choose a tag to compare

Breaking Changes:

  • Style::new() now takes an Into<Cow<'static, str>> instead of
    Into<String> and returns stylist::Error instead of String when
    encountering an error.
  • Style::create() now takes Into<Cow<'static, str>> for class prefix
    and css string and returns stylist::Errorinstead of String when
    encountering an error.
  • Style no longer implements ToString.

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

02 Aug 15:29
Compare
Choose a tag to compare

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 with once_cell.
  • Updated nom to v6.
  • Updated Yew to v0.18.
  • Removed Unnecessary Clones
  • Optimised for Performance