Skip to content

Releases: preactjs/wmr

wmr 3.5.1

24 Aug 07:04
7443aca
Compare
Choose a tag to compare

Patch Changes

@wmrjs/service-worker 0.3.1

24 Aug 07:04
7443aca
Compare
Choose a tag to compare

Patch Changes

wmr 3.5.0

11 Aug 15:40
710e40f
Compare
Choose a tag to compare

Minor Changes

  • 1367d57 #790 Thanks @marvinhagemeister! - Serve exactly matched files in root (default: /public) as is instead of serving the fallback index.html. This effectively turns the root directory in an asset directory.

Patch Changes

wmr 3.4.1

16 Jul 19:13
e17e8d6
Compare
Choose a tag to compare

Patch Changes

wmr 3.4.0

09 Jul 16:37
70b7f21
Compare
Choose a tag to compare

Minor Changes

Patch Changes

create-wmr 0.3.8

08 Jul 15:30
a39003c
Compare
Choose a tag to compare

Patch Changes

wmr 3.3.1

05 Jul 20:09
7b895d6
Compare
Choose a tag to compare

Patch Changes

  • d94937f #728 Thanks @marvinhagemeister! - Fix Cannot read property 'edit' of null error. This was caused by a wrong alternative to substring matches of String.prototype.replace.

wmr 3.3.0

05 Jul 12:04
91a810e
Compare
Choose a tag to compare

Minor Changes

  • b69f35a #724 Thanks @marvinhagemeister! - Allow plugins to intercept any file that's imported in JavaScript, not just script and stylesheet files.

Patch Changes

  • e963a56 #715 Thanks @marvinhagemeister! - Rewrite internal source map handling. This adds full support for source maps during development and production and ensures that .map files are served correctly.

wmr 3.2.0

01 Jul 08:14
33a046b
Compare
Choose a tag to compare

Minor Changes

  • 8aff0a1 #712 Thanks @marvinhagemeister! - Add support for logical assignment operators.

    // "Or Or Equals" (or, the Mallet operator :wink:)
    a ||= b;
    a || (a = b);
    
    // "And And Equals"
    a &&= b;
    a && (a = b);
    
    // "QQ Equals"
    a ??= b;
    a ?? (a = b);
  • 71ef3aa #710 Thanks @marvinhagemeister! - Add support for private class fields which is a recent addition to JavaScript (currently Stage 3). We're adding it because it's supported in all major browsers natively.

    class Foo {
    	#hi() {
    		console.log('hellow');
    	}
    	greet() {
    		this.#hi();
    	}
    }
    new Foo().greet();
  • d49c674 #717 Thanks @rschristian! - Adds new config option for specifying additional links to prerender in your WMR configuration file.

    // wmr config
    import { defineConfig } from 'wmr';
    
    export default defineConfig({
    	customRoutes: ['/foo/bar', '/my-other-route', '/rss.xml']
    });

Patch Changes

  • 21b467e #719 Thanks @marvinhagemeister! - Fix HMR updates not bubbled through proxy modules. This resolves an issue where the page was not updated when a new CSS class was added to a CSS-Module or Sass-Module.

  • 34ce488 #713 Thanks @marvinhagemeister! - Fix missing version on --version argument

wmr@3.1.1

24 Jun 21:51
29399e0
Compare
Choose a tag to compare

Patch Changes