Skip to content

v4.0.0

Choose a tag to compare

@tomrav tomrav released this 22 Feb 16:07
· 1063 commits to master since this release

Breaking Changes

  • feat!: add support for webpack v5, dropping support for webpack v4 - see upgrading details here: #1511
  • feat!(cli): determine the diagnostics mode via diagnosticsMode flag, default set to strict (#1630)
  • feat!(cli): expand CLI index generation capabilities (#1626)
  • refactor!(core): deprecate and remove legacy scopeSelector (#1629)
  • refactor!(core): rename import data object from fromRelative to request (#1635)
  • refactor!: drop support for node v10
  • fix!(core): disable timedCache by default (#1660)

@stylable/core

  • feat(core): add @st-import syntax as an alternative to :import (#936)
  • feat(core): add resolver cache for symbol resolution. (#1636)
  • feat(core): expose createResolver and createProcessor methods on Stylable API (#1636)
  • fix(core): fix false diagnostics on scoped elements when scoping happens after the element node in the same chunk (#1624)
  • fix(core): keyframes resolve conflict with parts (#1636)
  • fix(core): always resolve non-absolute requests (#1658)

@stylable/cli

  • feat(cli): enable CLI diagnostics by default and exit process when present (#1630)
  • refactor(cli): move cli entry to bin folder (#1638)

@stylable/core-test-kit

  • feat(core-test-kit): add test helper for matching target selector inside the CSS (#1621)

@stylable/webpack-plugin

  • feat(webpack-plugin): add resolver cache (#1654)

@stylable/webpack-extensions

  • feat(webpack-extensions): plugin capabilities for force-states-plugin (#1637)

Infrastructure

  • infra: migrate to playwright (#1620)
  • infra: enable TypeScript "importsNotUsedAsValues" validation (#1510)
  • infra: migrate to typescript project references (#1651)
  • infra: run all tests from "dist" folder (#1656)