Skip to content

v2.1.1

Compare
Choose a tag to compare
@kitten kitten released this 03 Jul 15:55
· 2197 commits to main since this release

This contains an important patch that restores compatibility with styled-jsx and thus next.js.

Before stylis would share middleware and options for everyone who's using it. In v3.2 it was fixed so that an instance of stylis can be created that is isolated from the global singleton and other instances. This previously wasn't possible and broke compatbility with styled-jsx, since it's also using stylis.

Fixed

  • Remove dependencies from ES bundle. Now all dependencies are imported, not bundled, when using the ES-style import bundle.
  • Upgrade to stylis v3.2 and use constructor

Thanks

Thanks to the numerous contributors and maintainers who have contributed to this release, including: