Skip to content

Releases: nuxt-community/pwa-module

v3.1.1

07 Oct 10:36
@pi0 pi0
Compare
Choose a tag to compare

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

06 Oct 15:03
@pi0 pi0
Compare
Choose a tag to compare

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

v3.0.2

26 Aug 13:40
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

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

v3.0.1

17 Aug 19:53
@pi0 pi0
Compare
Choose a tag to compare

Bug Fixes

v3.0.0

16 Aug 11:54
@pi0 pi0
Compare
Choose a tag to compare

⭐ 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

v3.0.0-beta.19

11 Sep 09:48
@pi0 pi0
Compare
Choose a tag to compare
v3.0.0-beta.19 Pre-release
Pre-release

Bug Fixes

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

v3.0.0-beta.18

09 Sep 11:15
@pi0 pi0
Compare
Choose a tag to compare
v3.0.0-beta.18 Pre-release
Pre-release

Bug Fixes

v3.0.0-beta.17

05 Sep 18:06
@pi0 pi0
Compare
Choose a tag to compare
v3.0.0-beta.17 Pre-release
Pre-release

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

07 May 15:46
@pi0 pi0
Compare
Choose a tag to compare
v3.0.0-beta.16 Pre-release
Pre-release

Bug Fixes

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

v3.0.0-beta.15

07 May 09:27
@pi0 pi0
Compare
Choose a tag to compare
v3.0.0-beta.15 Pre-release
Pre-release

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