pwa 0.0.3 copy "pwa: ^0.0.3" to clipboard
pwa: ^0.0.3 copied to clipboard

outdatedDart 1 only

Progressive Web App library

0.0.3 #

Breaking changes:

  • (API) BlockCache and DynamicCache don't expose their initialization parameters. This is a minor change, it is unlikely to affect anybody.

  • (behavior) BlockCache and DynamicCache use path-specific cache prefixes, in order to prevent collision between apps that are installed on the same domain.

    This fixes unintended cache collisions, but also breaks if you were building on sharing the caches between apps. In this case, use the new prefix optional argument when instantiating caches.

    If you have used only a single application in the root of the domain, you are not affected by this change.

0.0.2 #

  • Fix default codegen.
  • Call skipWaiting() by default (can be disabled through flag).
  • The generated offline URLs and the SW registration is changed to relative URLS, we can put the application in any directory.
  • DynamicCache evicts older entries first (previously it was random).
  • DynamicCache doesn't evicts old entries on initialization, which enables offline-aware caches to outlive the set expiration until the next successful network event.
  • Support for caching common web fonts.

0.0.1 #

Experimental release, looking for feedback.

23
likes
0
pub points
53%
popularity

Publisher

unverified uploader

Progressive Web App library

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, dart_style, func, glob, service_worker, yaml

More

Packages that depend on pwa