Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

v4.0.0-cypress-mount-mode.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@bahmutov bahmutov released this 29 Apr 18:53
· 379 commits to main since this release
648f1b0

4.0.0-cypress-mount-mode.1 (2020-04-29)

Bug Fixes

  • add link to example, remove stray console.log (78e2b63)
  • add math random to component key prop on mount (ffcc1ee)
  • cypress-jsdom -> cypress-root (222b6c2)
  • encode image (4dbee03)
  • force return value (9d06119)
  • handle bare div mount (#118) (a7916c3)
  • include dist/hooks (796d248)
  • include plugins and support in dist (df33cab)
  • new code coverage plugin version (e9773d9)
  • remove dupicate code (f7ff96e)
  • support file should load hooks (cc90fea)
  • take default object from loaded webpack config (22eec19)
  • update code coverage with better filtering (f7678b8)
  • upgrade find-webpack (7b7460d)

Features

  • add babelrc preprocessor, closes #149 (7d733c1)
  • add built-in code instrumentation (3e12870)
  • add css aliases to mounting options (298725f)
  • add image rule for both plugins (b5686c3)
  • add plugins and support for react-scripts (04f1db4)
  • add style option (72799e2)
  • allow consuming projects to use noImplicitAny and fix JSX (4e2f899), closes #55
  • allow loading webpack config by filename (5bbcc69)
  • allow passing just cssFile path to inject style (34e1072)
  • change to experimental mount mode to support React Hooks (dd92d56)
  • correctly clean up webpack for react-scripts for lazy dynamic imports (f72b7d3)
  • if serving outside resource, serve base64 image (a62fc22)
  • include code-coverage plugin for react-scripts (5f4856c)
  • redirect images to __root (12d859e)
  • reset the styles better (ad51a71)
  • respect log false (615bd04)
  • support cssFile style (fbd07b1)
  • support lazy-loaded components by forcing all into 1 chunk (3bee1e2)
  • update style options and document them well (d1aece8)
  • use find-webpack to handle ejected react-scripts too (ddbdbe2)
  • use new code coverage version (60fa438)

BREAKING CHANGES

  • the plugin's API has changed.