github nuxt-community/pwa-module v3.0.0

latest releases: v3.3.5, v3.3.4, v3.3.3...
4 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

Don't miss a new pwa-module release

NewReleases is sending notifications on new releases.