Pwa Module Versions Save

Zero config PWA solution for Nuxt.js

v3.1.1

3 years ago

Bug Fixes

  • meta: load meta when ssr is disable and using nuxt dev (fixes #219) (b6a5ead)
  • workbox: handle offlinePage options (fixes #365) (2b9856e)

v3.1.0

3 years ago

Features

  • meta: merge head at runtime (#363) (c0d86ea) (resolves #341)
  • workbox: Support strategyPlugins (#337)

Bug Fixes

  • icon: fork without original process args (#343) (8b1f19f) (resolves #218)
  • manifest: do not use nuxt loading bar color as default theme_color (#344) (a18a79f) (resolves #223)
  • meta: add missing router.base prefix to favicon (#354) (3e910ae)
  • meta: allow setting appleStatusBarStyle without mobileAppIOS (b0f226a) (resolves #338)
  • meta: prevent build failure for ios splash image when no icon is used (#362) (494eed5) (resolves #355 and #334)

Thanks to

  • @Yihao-G
  • @1ed
  • @maybebot
  • @DraftProducts

v3.0.2

3 years ago

Bug Fixes

  • workbox: missing required parameter request for handle() (#335) (eedf23f)

v3.0.1

3 years ago

Bug Fixes

v3.0.0

3 years ago

⭐ What's new?

  • Using workbox 5
  • Support purpose option and defaulting to any maskable
  • Brand new docs powered by nuxt/content

🚀 Features

  • Update to workbox 5.x
  • Add types (#323) (8723d07)
  • icon: Support for icon purpose (#246) (9248174)
  • icon: Default purpose to any maskable (30f0f63)
  • icon: Expose options.cacheDir (f8dbf1d)
  • icon: Use favicon.ico when available with warning (#258) (7a48d2a)
  • icon: Rename accessibleIcons to iconPlugin (3e175f9)
  • icon Rename iconSrc, iconFileName, iconPlugin and iconProperty to source, fileName, plugin and pluginName
  • icon: Support for iOS splash screens (#308) (f4eeda7)
  • module: Allow disabling sub-modules with top-level options (65800f9)
  • workbox: Support enabled option and self destroying sw (c64226c)
  • Support manifest.fileName with template (f05353b), closes #193
  • Use integraty file to invalidate icon cache (6661a09)
  • manifest: Add useWebmanifestExtension option and improve docs (#241) (4484e6c)

📝 Docs

  • Fix a typo on icon (#235)
  • Add tip for pwa.manifest.display: 'browser' (#249)
  • Fix typo in icon.md (#253)
  • Use CacheFirst instead of cacheFirst (#251)
  • Fix wrong position of a description (#270)
  • Add an example for refresh to update implementation (#271)
  • Document workbox.swDest (#285)
  • Add title to external links (#288)
  • Migrate to nuxt content (#313)

🐛 Bug Fixes

  • icon: Clean cacheDir when generating icons (1e6eb19)

⚠ BREAKING CHANGES

  • Requeires Node 10.x
  • Updated to workbox 5.x (optional: migration guide)
  • Icon options renamed: iconSrc, iconFileName, iconPlugin, iconProperty, accessibleIcons (see docs)
  • Icon purpose is now any maskable by default which means you have to consider minimum safe-zone (read more)

💖 Contributors

  • @alperbicer
  • @danbeneventano
  • @danielroe
  • @daniel-tikken
  • @DCsunset
  • @debs-obrien
  • @dvarnai
  • @gangsthub
  • @Gomah
  • @hans00
  • @Hxmic
  • @jefrydco
  • @jeremy21212121
  • @jsulpis
  • @ricardogobbosouza
  • @s-pace
  • @svale
  • @Timibadass
  • @Wisdom132
  • @zachjharris

v3.0.0-beta.19

4 years ago

Bug Fixes

  • expose modified pwa context to the config (c325e44)
  • truncate manifest hash (5c74621)

v3.0.0-beta.18

4 years ago

Bug Fixes

  • Fix option handling regressions of beta.17 (#231) (3c19baebc0a1dba5e8b7ef20c7230e81ce6a8e95, 38485af547401c2336be97082bac1dd8d514744c)

v3.0.0-beta.17

4 years ago

Summary

This release contains LOTS of internal improvements!

  • Starting with this release, PWA module is a single package (no longer depending on @nuxtjs/meta, ...)
  • Package install size reduced from 17.1MB to 1.42MB thanks to https://github.com/nuxt-community/jimp-compact
  • Now you can provide all module related options under pwa key in nuxt.config.js: (except one signal module) and older option may be deprecated in future versions.
export default {
  modules: [
    '@nuxtjs/pwa'
  ],
  pwa: {
    icon: {},
    manifest: {},
    meta: {},
    workbox: {},
  }
}

Bug Fixes

  • icon: handle situation where the iconSrc is null or undefined (#187) (66be874)

v3.0.0-beta.16

5 years ago

Bug Fixes

  • icon: handle situation where the iconSrc is null or undefined (#187) (66be874)

v3.0.0-beta.15

5 years ago

Bug Fixes

  • workbox: disable cacheAssets for dev (dbf6d67)
  • workbox: use NetworkFirst for dev (9a67580)

Features

  • workbox: support offlineStrategy (e377436)
  • icon: rewrite icon with async image resizer (#171)

Reverts

  • workbox: revert unnecessary HMR regex (1ac5f5c)

BREAKING CHANGES

  • workbox: default offlineStrategy changed from NetworkOnly to NetworkFirst when offlinePage is enabled