Releases: preactjs/wmr
wmr 3.8.0
Minor Changes
2d768a1
#875 Thanks @JoviDeCroock! - Add a tsconfig-paths plugin that will check for a tsconfig and respect the paths option when present
c0b0b1b
#934 Thanks @takurinton! - Adds resource fetch shim for prererendering
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
dfa4cbd
#917 Thanks @rschristian! - Ensures TS config file is transpiled to ESM so that it can usedefineConfig
2465fbb
#895 Thanks @rschristian! - Fix lack of hydration when not returning prerender data
69b0496
#900 Thanks @rschristian! - Ensures leading newline in text nodes is not converted to whitespace
d5d8fff
#927 Thanks @rschristian! - Checks to ensure a sourcemap has sourcesContent before attempting to consume it
d9de528
#901 Thanks @rschristian! - Disables (non-actionable) browserslist warning
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 haveprerender()
21ec4f4
#913 Thanks @cristianbote! - When prerendering avoid replacing regex group token $1 when is present in html contents
b849238
#924 Thanks @rschristian! - Supports top-level await in dev
b38a8f2
#908 Thanks @rschristian! - Corrects duplicated information in CLI help menu
preact-iso 2.3.1
Patch Changes
2465fbb
#895 Thanks @rschristian! - Fix lack of hydration when not returning prerender data
wmr 3.7.2
Patch Changes
-
8771444
#862 Thanks @marvinhagemeister! - Don't flood terminal with harmlessThe '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 usingstatic
class fields -
6b36713
#861 Thanks @marvinhagemeister! - Resolve a wrongly replacedprocess.env
variable when a binding with the nameprocess
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
Minor Changes
22a8a18
#864 Thanks @JoviDeCroock! - AddonRouteChange
prop to the Router to observe synchronous route 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
Patch Changes
-
dddb03a
#849 Thanks @marvinhagemeister! - Fixiife
-warning for workers with exports when creating a production build. -
1d9791f
#852 Thanks @marvinhagemeister! - Add code frame to uncaught exceptions if possible -
e17e85
#854 Thanks @andrewiggins! - Fix inline asset paths on windows -
d75a2da
#850 Thanks @marvinhagemeister! - Fix error whenplugins
ormiddleware
array contains falsy values in the parsed configuration. This typically happens due to conditionally setting items. All falsy values are now filtered out by default. -
69b4e1c
#856 Thanks @marvinhagemeister! - Fixdebug: true
option from config file not being set -
504af20
#851 Thanks @marvinhagemeister! - Improve CLI output for compilation warnings -
8064c88
#846 Thanks @marvinhagemeister! - Fix missingdescription
andlicense
field in published wmrpackage.json
wmr 3.7.0
Minor Changes
-
585bcb2
#842 Thanks @marvinhagemeister! - Add--minify
option to thebuild
command. That way one can disable minifcation for production builds by passing--no-minify
or--minify false
-
27a41df
#827 Thanks @marvinhagemeister! - Add built-in support for Web Workers based on browser APIs. Example on how to use Web Workers with WMR: https://wmr.dev/docs/web-workers
Patch Changes
-
71d02e0
#840 Thanks @marvinhagemeister! - Fixconfig()
andconfigResolved()
plugin hooks being skipped when the previous plugin didn't have those hooks -
cd17272
#844 Thanks @marvinhagemeister! - Distinguish dev server from normal server ("serve" command) in cli output -
b072d94
#843 Thanks @marvinhagemeister! - Sort list of outputted files by size within a group -
221c8fe
#828 Thanks @marvinhagemeister! - Fix missing props when there were comments between attributes in JSX
preact-iso 2.2.0
Minor Changes
-
9a814a9
#832 Thanks @marvinhagemeister! - Add support for partial route matching via/foo/*
-
439768e
#835 Thanks @marvinhagemeister! - Add support for nested routes matching
Patch Changes
21bbeb9
#831 Thanks @marvinhagemeister! - Fixpreact-iso
interceptingcmd/ctrl+click
and other native browser behaviors.
wmr 3.6.1
Patch Changes
-
ab9ceee
#819 Thanks @developit! - Fix complexprocess.env
usage (ex:let {A}=process.env
, but notprocess.env.A
) generating invalid code. -
9c7be51
#821 Thanks @marvinhagemeister! - Fix missingthis.error()
method in Rollup plugins -
0c62f25
#822 Thanks @marvinhagemeister! - Fix crash when callingemitFile
for chunks without a name -
416451c
#816 Thanks @marvinhagemeister! - Print file which triggered warning when thecomposes
keyword is attempted to be used outside of a CSS-Module file -
778ee03
#823 Thanks @marvinhagemeister! - Fix incorrectly transformed dynamic import statements when there was a comment in front of the specifier (import(/* foo */ 'my-module')
) -
980b3d9
#820 Thanks @marvinhagemeister! - Add support for RollupoutputOptions
hook -
abafe8c
#810 Thanks @marvinhagemeister! - Fix unable to load json files from outside project public directory. -
cbc98be
#815 Thanks @marvinhagemeister! - Fix nested relative.less
file resolved as npm package in production
preact-iso 2.1.0
-
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 theparams
prop instead of directly on props
wmr 3.6.0
Minor Changes
a49e4f9
#806 Thanks @marvinhagemeister! - Add support for.less
stylesheets.
Patch Changes
-
f03859b
#812 Thanks @marvinhagemeister! - Add a workaround to support virtual identifiers starting with/@
to supportrollup-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'swatchChange
hook in development