Skip to content

Releases: lukeed/pwa

v0.5.4

16 Apr 19:14
Compare
Choose a tag to compare

Patches

  • (cli.init) Scaffold new SASS/SCSS applications with sass-loader@8.x version: e0c0a30
    Existing applications may want to upgrade their local sass-loader dependency.

  • (cli.init) Scaffold new Preact applications using Preact 10.x: ef6f96a

v0.5.3

16 Apr 18:56
Compare
Choose a tag to compare

Patches

  • (core) Allow pwa export to access Chrome on OSX Catalina (#73): b8d3b22
    Thank you @sapegin!

  • (core): Enable esModule option for css-loader branches: 4e30b47
    This saves ~1kB in JS bundle size on the non-router scaffolds!

  • (core): Expose new sass, less, and stylus keys for pwa.config.js access (#71): 8a7b9ab
    Note: No change in previous config/behavior! Simply relocating the defaults.

Chores

  • update eslint parser config: f026e4b
  • remove EHOIST_PKG_VERSION lerna warning: a89d9bd

v0.5.0

31 Mar 22:59
Compare
Choose a tag to compare

Breaking

  • Dropped support for Node 6.x: 9ffdb89, 1417c02

  • Stylesheet references to webpack aliases syntax change: 03f20e0, 5d37039
    This is due to css-loader upgrade & it forces specific syntax to reference aliases.

    /* before */
    background-image: url(@assets/gradient.png);
    
    /* after */
    background-image: url(~@assets/gradient.png);
  • Stop including eslint and prettier dependencies within respective plugins: 6cc1c9a
    You must install eslint and prettier directly; you control the version!

Features

  • feat(NEW): Added TypeScript support via @pwa/plugin-typescript: 48c3321
  • feat(NEW): Added @pwa/plugin-imagemin package for image optimization: 97f0a4a
  • feat(cli): Scaffold TypeScript parts within pwa init walkthrough: e1fa8d7
  • feat(preact): Add graceful support for Preact X and Preact 8.x versions: b5e2ea0
  • feat(prettier): Require prettier@^2.0 peering: 6cc1c9a, 7e6eb1e, 1985420
  • feat(eslint): Require eslint@^6.8 peering: 6cc1c9a, d605076, 1985420

Patches

  • fix(core): Do not force paths or includePaths options within style loaders: c68f509
  • fix(core): Use optimization.moduleIds (instead of plugin variant) so that it's easier to disable: 38c02fe
  • fix(core): Include default optimize-css-assets-webpack-plugin options for generalized usage: ebe5385
  • fix(core): use [chunkhash] in filename output templates: f38a71b
  • fix(core): update dependency versions: 47462d2, 914e9eb, 705effb, 5d37039, 109d50a
  • fix(cli): define missing preact-router version for template: c247148
  • fix(cli): mute webpack-dev-server noise: a53beaf
  • fix(preact): define & provide Fragment for Preact X: 4b3304d

v0.4.2

22 Nov 20:16
Compare
Choose a tag to compare

Patches

v0.4.1

13 Oct 23:11
Compare
Choose a tag to compare

Patches

  • (core) Extract config.css PWA config entry for easier css-loader changes: 3733cf3, 4cbc453

  • (core) Move devServer.contentBase Webpack override from cli: 3ac6011

  • (svelte) Disable CSS modules via new config.css route: f181d15

v0.4.0

07 Oct 22:07
Compare
Choose a tag to compare

Breaking

  • Replaced UglisyJS with Terser (#49): 66f9d19
    Especially with Babel@7's ability to target ESM output, this was a required change.

  • Replaced core browsers config with universal Browserslist locations (#47): b0c315b
    All tools are already attempting to locate config for these locations. No sense in reinventing.

Features

  • (core) Upgraded to Babel 7.x dependencies! (#30): c97d6cb
  • (preact) Include async! loader for easy code-splitting (#51): 816db63, 6f56f4c
  • (cli.export) Include --insecure flag to disable sandboxing (#40): a194d2e

Patches

  • (cli.init) Specify third-party dependency versions (#19): 2cb4640
  • (cli.export) Scrape root path last to prevent empty content: bf9feee
  • (templates) Fix <object/> descriptor for Lighthouse score: ded2fce, 0a05258
  • (core) Update default "browserslist" targets: 02ec952
  • (core) Bump dependencies: c745542, 26a11f5, 81876cd

Chores

v0.3.2

16 Sep 04:55
Compare
Choose a tag to compare

Patches

  • (cli.init) Show Bublé within "Features" list if no argv.preset value: 7aa3f8e
  • (cli.init) Scaffold pwa/plugin-buble when selected: 2f5f569
  • (cli.init) Show, scaffold, and list Compression plugin options: 3146de1
  • (cli.init) Include preact-compat when Preact chosen as preset: 46b65b9
  • (cli.build) Do not run --analyze and export at the same time: 33f2fce

v0.3.1

11 Sep 18:13
Compare
Choose a tag to compare

Patches

  • (plugin-sw-workbox) Fix: Add missing comma (#39): b177de7
  • (plugin-sw-precache) Fix: Add missing comma: 719ab08
  • (templates/vanilla-router) Fix: App initialization: da891f2
  • (templates/vue-router) Fix: remove extra comma: da891f2
  • Remove unused variables and parameters: 719ab08, da891f2

Chores

  • Attach ESLint with basic configuration: 2d1e66a

v0.3.0

11 Sep 17:51
Compare
Choose a tag to compare

Features

  • NEW @pwa/plugin-brotli package: d1f679c
  • NEW @pwa/plugin-gzip package: 82d3b57
  • NEW @pwa/plugin-zopfli package: 66644e9
  • NEW @pwa/plugin-buble package: 862bdd5

Patches

  • (core) Fix stylesheet imports from node_modules dir (#38): a963a5e
  • (cli) Handle empty values for the pretty util: d7e88a4

Chores

v0.2.1

04 Sep 04:55
Compare
Choose a tag to compare

Patches

  • (cli) Fixed watch default flag values overriding custom config.devServer (#26): 3a0e7ac
    Applies to https, host, and port values.

    Flag values are supposed to override pwa.config.js keys, but only when actually specified. Default flag values are always there, whether or not the flag was passed. We look for config values if & only if the default is received.