Skip to content

Releases: preactjs/wmr

wmr 3.8.0

27 Sep 04:27
cc70ed6
Compare
Choose a tag to compare

Minor Changes

  • 2d768a1 #875 Thanks @JoviDeCroock! - Add a tsconfig-paths plugin that will check for a tsconfig and respect the paths option when present
  • e546afc #935 Thanks @takurinton! - Add fetching external resources using native fetch API when Node.js version 18 later

Patch Changes

  • 31583c7 #904 Thanks @rschristian! - Ensures config file has been merged before attempting to create output directory
  • d5d8fff #927 Thanks @rschristian! - Checks to ensure a sourcemap has sourcesContent before attempting to consume it
  • f75af7c #905 Thanks @rschristian! - Corrects prerendering error message to indicate to the user that the last script tag, not first, in HTML is assumed to have prerender()
  • 21ec4f4 #913 Thanks @cristianbote! - When prerendering avoid replacing regex group token $1 when is present in html contents

preact-iso 2.3.1

27 Sep 04:28
cc70ed6
Compare
Choose a tag to compare

Patch Changes

wmr 3.7.2

19 Sep 13:39
4cf44d7
Compare
Choose a tag to compare

Patch Changes

  • 8771444 #862 Thanks @marvinhagemeister! - Don't flood terminal with harmless The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten. warnings.

  • 9fbafb1 #858 Thanks @marvinhagemeister! - Fix compilation error when using static class fields

  • 6b36713 #861 Thanks @marvinhagemeister! - Resolve a wrongly replaced process.env variable when a binding with the name process is already in scope. This was encountered when bundling vscode's monaco-editor.

  • 1cfa4a1 #872 Thanks @JoviDeCroock! - Normalize the cacheKey in wmr-midddleware so it always corresponds to the WRITE_CACHE map where we store in native-path format keys

preact-iso 2.3.0

19 Sep 13:39
4cf44d7
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • 5780fc9 #864 Thanks @JoviDeCroock! - Avoid calling onLoadEnd on every render

  • 69d291f #870 Thanks @developit! - Fix <Router> accidentally un-rendering incoming routes that happen to resolve to the same component as the outgoing route.

wmr 3.7.1

07 Sep 14:54
9022cb1
Compare
Choose a tag to compare

Patch Changes

wmr 3.7.0

05 Sep 08:20
41738e8
Compare
Choose a tag to compare

Minor Changes

Patch Changes

preact-iso 2.2.0

05 Sep 08:20
41738e8
Compare
Choose a tag to compare

Minor Changes

Patch Changes

wmr 3.6.1

01 Sep 10:32
9804380
Compare
Choose a tag to compare

Patch Changes

preact-iso 2.1.0

01 Sep 10:32
9804380
Compare
Choose a tag to compare
  • c963fbe #586 Thanks @developit! - Pass route paramters as props when no prop exists with that name.

  • 095ddde #824 Thanks @developit! - - Bugfix for Router: "splat" parameters (/:x* and /:y*) should be passed in the params prop instead of directly on props

wmr 3.6.0

30 Aug 01:18
19b3e7b
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • f03859b #812 Thanks @marvinhagemeister! - Add a workaround to support virtual identifiers starting with /@ to support rollup-plugin-windicss.

  • 81b0e5e #611 Thanks @rschristian! - Updates the bundle visualizer to latest, allowing for some useful output exclusions

  • 4e37369 #802 Thanks @rschristian! - If Preact-CLI's debug service worker is detected, WMR will unregister it to avoid repeated 404 errors.

  • be5cda0 #807 Thanks @lPadier! - Fix building JSX nodes with object with more than 5 properties

  • e8d22ae #805 Thanks @marvinhagemeister! - Fix .scss files not being renamed to .css on production builds, when they were directly referenced in an HTML file.

  • e49e856 #814 Thanks @marvinhagemeister! - Add missing watch events to rollup's watchChange hook in development