Skip to content

Releases: nvh95/jest-preview

v0.2.0: The Game Changer

03 May 16:23
v0.2.0
490757b
Compare
Choose a tag to compare

What's Changed

  • feat: implement auto preview on error by @nvh95 in #87

Full Changelog: v0.1.7...v0.2.0

v0.1.7

02 May 12:45
v0.1.7
e09169f
Compare
Choose a tag to compare

What's Changed

  • docs: Update intro.md by @minhmo1620 in #91
  • Replace README content with links to website by @thanhsonng in #93
  • Rename cache folder + Use node 16 + Support more Chromium-based browsers on Mac OSX by @nvh95 in #95
  • Fix space in folder by @nvh95 in #97

New Contributors

Full Changelog: v0.1.6...v0.1.7

v0.1.6: thank you, next.js

24 Apr 15:56
dfc0a56
Compare
Choose a tag to compare

What's Changed

  • Adapter for NextJS + NextJS examples by @thanhsonng in #60
  • Nextjs website by @thanhsonng in #65

New Contributors

  • @thanhsonng made their first contribution in #60

Full Changelog: v0.1.5...v0.1.6

v0.1.5: Saas Wars, Dart Vader, I'm your father

21 Apr 17:11
613928b
Compare
Choose a tag to compare

What's Changed

  • feat: Support Dart SASS by @ntt261298 in #52
  • feat: support non-english characters and responsive design by @nottyo in #56
  • chore: Remind users to clearCache after config by @nvh95 in #58
  • feat: Remove package-lock.json from examples by @nvh95 in #61
  • feat: Add docs using docusaurus by @nvh95 in #59

New Contributors

Full Changelog: v0.1.4...v0.1.5

v0.1.4: Cache Invalidation is hard. Really hard!

18 Apr 07:10
fb2c0df
Compare
Choose a tag to compare

Fixes

  • Fix: jest --clearCache might break user's installation flow since jest might be installed after jest-preview.

v0.1.3: You can see ALL your images + Solve one of two hard things in Computer Science: CACHE INVALIDATION

18 Apr 01:58
59b9bd2
Compare
Choose a tag to compare

Features

  • Support serving files from Public folder.
  • Clear Jest cache after installation.

Fixes

  • Update rollup to:
    • Terser
    • Transpile to ES2019 (e.g: optional chaining)

Chores

  • Export debug as named also.

v0.1.2: DCY - Don't Config Yourself

16 Apr 01:32
ae3294a
Compare
Choose a tag to compare

Features

  • Add pre-configured transformers, so users can integrate jest-preview to their projects easier.
    • jest-preview/transforms/css
    • jest-preview/transforms/file
    • jest-preview/transforms/fileCRA

v0.1.1: Brace yourself! CSS Modules is coming to town!

14 Apr 15:30
v0.1.1
0d8a64b
Compare
Choose a tag to compare

Features

  • Support CSS Modules #40
    • Caveat: Support CSS Modules for CRA in the next version.

v0.1.0: Hooray, API changed: `preview.debug()`

07 Apr 17:30
13a511c
Compare
Choose a tag to compare

Features

  • [BREAKING CHANGES] Simplify usage of the core function of jest-preview: preview(htmlElement) to preview.debug().
  • Users do not need to pass any argument to preview.debug(), the default is document.body which is the whole page (how authors expect users to use jest-preview).
  • Add title and favicon.ico for Dashboard

Fixes

  • Fix externalCss get cached

v0.0.3: Do not repeat yourself! + CRA, you are special!

06 Apr 17:53
d4c4eb1
Compare
Choose a tag to compare

Features

  • Rewrite transforms. Do not need to copy assets to cache folder.
  • Add processFileCRA for CRA file transform.
  • [BREAKING CHANGES for CRA users] CRA users need to update fileTransform.js to use processFileCRA. See more at CRA README.md

Chores

  • Simplify the usage in docs and examples: preview(render(<App />).container) => preview(document.body).