ShafSpecs Remix Pwa Versions Save

An ecosystem of lightweight packages and helpers to integrate full PWA features into Remix πŸ’Ώ

v3.0.0

7 months ago

After weeks of building, iteration, debugging and testing, we are finally please to announce Remix PWA v3.0 to you! The third major release of remix-pwa ships with a lot more changes, updates, fixes and even additions you didn't see coming. A huge thanks to all of you for your contributions, issues, PRs, ideas, RFCs and discussions. This was one huge teamwork and a big W for PWA in the Remix community πŸ’Ώ!

✨ Features

It's more than just new features but rather a whole ecosystem shipped this time around 😁.

  • Remix PWA just got it's own compiler! Remix PWA v3.0 ships with a brand new compiler for building service workers and a lot more. Hook your configs into remix.config.js and build away!
  • A brand new CLI engine. remix-pwa utilizes a new CLI engine for it's executable that also hooks into the compiler for a blazingly, fast setup experience https://github.com/remix-pwa/monorepo/pull/6
  • New worker route APIs. Say hello to workerLoader and workerAction, handler functions in your route file that run exclusively in the worker thread.
  • A whole new set of packages shipped including @remix-pwa/client and @remix-pwa/sync
  • @remix-pwa/sw got a major bump! Still the same old package you knew with a few additions and removals.
  • @remix-pwa/strategy just landed. The new breakaway from the sw package, introducing a new approach to handle caching strategies in remix-pwa https://github.com/remix-pwa/monorepo/pull/35.
  • A new strategy joined the troupe! StaleWhileRevalidate is the latest addition to the famous four you knew from the previous versions https://github.com/remix-pwa/monorepo/commit/acf8f9e6b59d15d0d4097a93c60388126607c317
  • New component: LiveReload. Which is simply a Remix's LiveReload with HMR support for service workers.
  • New PWA templates.
  • Native Background Sync support. Be assured that a request would happen even after closing your app πŸ”„
  • @remix-pwa/cache has landed πŸš€! Introducing RemixCache: a thin wrapper around the browser Cache API with support for expiration and sizing. Also ships support for cachified out of the box πŸ“¦
  • New Service Worker exports: errorHandler, defaultFetchHandler and getLoadContext to help you take service workers to the next level. Inspired by none other than Remix!
  • A brand new site 🌐! Take a peek at the brand new Remix PWA site.
  • Many more...! We can't list them all, take a look at the site if you will.

πŸ› Bug Fixes

  • Completely deleted the old remix-pwa executable, we shan't be hearing from them in a long time.
  • A lot of minor fixes and tweaks but since they're all v3.0-related, I don't think they count.

πŸ’… Enhancements

  • Separated sw and strategy. Now, you can utilise a service worker easily and cache at your whim without bordering on caching.
  • Remix PWA is now a PWA framework as opposed to a caching solution.

😎 Contributors

  • @ShafSpecs
  • @Sarabadu
  • @lfantone

Thanks to all the amazing contributors that made this whole thing possible ❀️!

Remix PWA v3.0

v2.0

11 months ago

Second major release of remix-pwa is out! With it comes a lot of changes, updates and contributors. Thanks to every single one of you for your issues, contributions, PRs and suggestions πŸ˜„

✨ Features

  • Split remix-pwa into multiple packages to allow for independent and extensible development in all arrears of Progressive Web Apps.
  • Added a new revamped Command Line Interface (CLI) that allows for quick setup and easy-use.
  • Added support for Cloudflare in Service Workers
  • Added full-fledged support for Push API in form of @remix-pwa/push
  • Added support for Remix v2 routes (https://github.com/remix-pwa/remix-pwa/pull/85)
  • Added dynamic caching through implementation of strategies to handle caching
  • Added support for Google Workbox
  • Added support for push handling and notification customisation through method implementation
  • Added worker templates for working with workbox
  • Added plugin support to allow plugging in any functionality of your choosing!
  • New documentation is also here

πŸ› Bug Fixes

πŸ’… Enhancements

  • Enhanced navigation listeners by providing hooks for them from @remix-pwa/sw
  • Added auto-detection to automatically detect package managers
  • Simplified worker templates for you to take your app experience to any direction of your choosing!
  • Isolated push logic from worker to allow seamless integration

😎 Contributors

Thanks to all the amazing contributors that made this whole thing possible ❀️!

v1.1

1 year ago

v1.1.0 is finally out!

A while after the release of v1.0, we have finally bundled all the latest changes and shipped right to your doorstep!

Changelog:

  • Added package manager auto-detection; remix-pwa now detects and changes accordingly.
  • Added CLI flag commands. Run npx remix-pwa@latest -h to find out :wink:. Thank you @dev-afzalansari
  • Fixed Service Worker registration in production environment
  • Little patches applied to Push API handler in Service Worker file
  • Cleaned up the CLI code; it should be more readable & maintainable now :sweat_smile:
  • Added typings to file
  • Expansion for Push API capabilities in future updates
  • Made typo fixes to README.md and added release notes
  • Minor bug fixes :hammer_and_wrench:

v1.0

1 year ago

Official v1 Release is here!!

We've been through a lot. Testing, building, editing and moving forward. I present to you, official v1 release of remix-pwa, a major milestone in our journey of bringing the Web even closer to our everyday lives and interactions.

Changelog:

  • Added precaching option!! Now, you can cache that static app you have in one go and enjoy seamless transitions even offline
  • Added caching strategy option for Remix PWA
  • Released Remix PWA
  • Selection feature that allows you to choose just the features of Remix PWA you need
  • Now automates importing in root.
  • Now provided an option for selecting root directory locations.
  • Added jsdoc typings to APIs to provide additional info on the go.
  • Fixed weird root behaviour after install.
  • Revamped remix-pwa installation.
  • Added a new section in the docs, installation guide
  • Added new utils option to automate API selection.
  • Made Push API optional! No longer must you set up a feature you won't use.
  • Fixed type imports in Service Worker.
  • Fixed self declaration error in JavaScript Service Workers.
  • Fixed isMount re-initialization on every render. Thanks @mokhtar
  • Allowed interaction with useMatches function during Service Worker initialization. Thanks @pumpitbetter
  • Extra fixes that can't be mentioned but would no doubt improve the overall DX.
  • Minor tweaks
  • Minor Bug Fixes

v0.8.2

1 year ago

Misc. Feature Update Here!

Changelog:

  • Added a new prompt to the cli, so now you have to tell remix-pwa where your app folder is stored (e.g src/app or app)
  • Added JSDoc description typings to the client and server file.
  • Fixed Push API return values
  • Updated Contributors list. Thanks @theeomm :v:
  • Minor fixes
  • Little tweaks here and there

v0.8.1

2 years ago

Fix Update here!

Changelog:

  • Fixed imports to accomodate new Remix versions.
  • Adding jsdoc comments to API methods
  • Fixed Push API subscription error
  • Fixed storage.getItem() is not defined error.
  • Refactored CLI process
  • Improved template readability
  • Fixed Service Worker push handler JSON error

v0.8.0

2 years ago

Push API v2 Update here!

Changelog:

  • Upgraded Push API interface
  • Automatically installs dotenv
  • Added missing @type packages that caused errors
  • Removes need for editing Service Worker
  • Additional minor tweaks
  • Bug fixes

v0.7.5

2 years ago

CLI Update here!

Changelog:

  • Removed the need for "post install" command npm run pwa
  • npx remix-pwa@latest now handles installing PWA modules and installation of required dependencies
  • Remix PWA now includes module for editing dependencies and devDependencies for easier convenience
  • Minor fixes

v0.7.0

2 years ago

πŸ’₯Code-Breaking Update!

Changelog:

  • remix-pwa must be installed via npx command and not npm install
  • To safely deploy your pre-0.7.0 app, you must remove remix-pwa from your dependencies in package.json
  • Fixed Syntax Errors that appears in root during installation formatting
  • Fixed Wrong Syntax of root code after installation
  • Minor fixes

v0.6.0

2 years ago

New major release!

Changelog:

  • Added Push API πŸŽ‰! It is finally here!
  • Added a new field to the Notifications API, the image field
  • Added a new field to the manifest, shortcuts! Make sure to check that out
  • Revamped Web Share API massively! Added two new custom handlers for sharing files and URLs
  • Added stricter typing to Web Share API. Catch those bugs while it's early!
  • Created a brand new server utility file to hold all your server util operations pwa-utils.server.[t/j]s!
  • Finally fixed the random {" "} that appears in the root file due to prettier formatting
  • Fixed bug where entry.client.ts template was getting copied to js projects
  • Added a new file reading and checking operation to conserve your changes whilst still adding PWA features
  • entry.client would now overwrite all changes from v0.1.0. Hint: Massive update in that file!
  • Added a new section to the doc, Going Deeper.
  • Added new, customizable Push handler in .worker file to handle push events
  • Added a brand-new subscribe feature that allows you to get user's to subscribe to the PushManager (no unsubbing yet!)
  • Minor bug fixes