Skip to content

Releases: robinweser/fela

12.2.1

16 Nov 18:02
Compare
Choose a tag to compare
  • improved TypeScript support for createRenderer configuration (#906)

12.2.0

16 Nov 14:36
Compare
Choose a tag to compare
  • Added support for snapshotting in both jsdom and node when using Jest (#903)
  • TypeScript improvements (#902, #904)
  • Documentation improvements (#901)

12.1.2

04 May 08:23
Compare
Choose a tag to compare
  • Added support for vendor prefixes when enforcing longhands (#900)
  • Fixed missing children type on RendererProvider and ThemeProvider (#902)
  • Fixes to Snapshot testing with React 18

12.1.0 & 12.1.1

07 Apr 09:22
Compare
Choose a tag to compare
  • fela-enforce-longhands now supports a config option to specify with what priority borders are rendered (#895)
  • renderStatic now supports a second arguments with props to enable theme-aware static rendering (#894)
  • useFela now also returns a static function that can be used to render static styles, theme is passed by default (#894)
  • jest-react-fela now supports React 18 and createRoot (#898)
  • We now handle multiline values correctly in the prefixer (#896)
  • We bumped versions of our dependencies to get rid of known vulnerabilities (#897)

12.0.2

23 Feb 10:11
Compare
Choose a tag to compare
  • Fixed a bug in the TypeScript bindings

12.0.0

23 Feb 08:15
Compare
Choose a tag to compare

Note: Due to a hotfix (accidental extra theme attribute passed to elements), this refers to version 12.0.1 instead.

This major release incorporates several performance improvements together with a new plugin concept called context-free plugins. Rehydration has also been improved to cover for a more wide-range of selectors and edge cases.
Check the announcement post and the migration guide.

Apart from these changes, a couple of fixes and improvements have been added in this release:

  • Updated TypeScript definitions (#892)
  • Fixed a typo in fela-enforce-longhands (#891)

11.7.0

24 Sep 12:08
Compare
Choose a tag to compare

11.6.1

25 Mar 17:12
Compare
Choose a tag to compare
  • Added TypeScript typing files for jest-react-fela and fela-plugin-fallback-value (#873)
  • Added TypeScript types for renderToNodeList in react-fela (#869)

11.6.0

12 Feb 12:18
Compare
Choose a tag to compare
  • Added support for nested responsive values (#867)
  • Fixed a bug to correctly rehydrate CSS custom properties (#866)
  • Resolved multiple selectors now merge with their base styles (#865)
  • Removed the legacy Children.only restriction on RendererProvider for react-fela (#856)
  • React 17 compatibility (#857)
  • TypeScript Improvements
    • Plugin Types (#852)
    • IStyle Refactor (#851)

11.5.2

19 Jan 09:44
Compare
Choose a tag to compare
  • Added the useFela-hook to preact-fela (#844)
  • Improved plugin processing with optimizeCaching enabled (#849)
  • Added a couple of TypeScript improvements:
    • csstype 3.0.0 (#839)
    • useFela types (#846)