Skip to content

Latest commit

 

History

History
77 lines (58 loc) · 2.39 KB

CHANGELOG.md

File metadata and controls

77 lines (58 loc) · 2.39 KB

Change Log

[0.4.7] - 2024-04-01

Improved

  • 0.4.7 add garden css caching, this speeds up most use cases

[0.4.6] - 2020-03-22

Improved

  • 0.4.6 improve docs for page-renderer.api namespace

[0.4.5] - 2020-03-22

Fixed

  • 0.4.5 fix :sw-default-url option for page-renderer.api/generate-service-worker (allow to accept "/" as default)

[0.4.3] - 2019-10-27

Improved

  • Improved hashing on Java 8
  • Better service worker management code with more consistent update

[0.4.0] - 2019-08-01

Fixed

  • stylesheet-async parameter working with a collection of stylesheet paths.

Improved

Readme - new section on service workers and PWA assets params.

Changed

License is now MIT.

[0.4.0-alpha] - 2019-08-01

New

Experimental service worker generation. Pass the same map you use to generate a page and this function will generate a service worker that will pre-cache all the assets found in the map. Simple cache-busting included. page-renderer.api/generate-service-worker Two additional options:

  • renderable.sw-default-url default route for your service worker, usually the same as start_url in your manifest.json if you do a PWA.
  • renderable.sw-add-assets a vector with additional assets to pre-cache

page-renderer.api namespace

  • Same public members as in page-renderer.core plus generate-service-worker and respond-service-worker

Added to page-renderer.api/render-page

  • Service worker lifecycle script, just add service-worker key
  • Noscript fallback for async stylesheet appender script
  • Support for favicon extensions other than .png
  • Support for apple-touch-icon, apple-touch-startup-image, image_src meta

[0.3.1] - 2019-07-06

Added to page-renderer.core/render-page

  • on-dom-interactive-js JS snippet. If you need to do something in JS when DOM is interactive (that's before load event).
  • stylesheet-async option: now supports a collection
  • js-module option: now supports a collection
  • Language support: provide lang param to render lang attr on the <html> tag and a HTTP-Equiv meta tag.
  • PWA Manifest support

Changed

  • page-renderer.core/render-page Now provides default /favicon.png and cache-busts it

[0.2.2] - 2019-06-22

Changed

  • page-renderer.core/render-page Render twitter meta if either :twitter-site or :twitter-creator are supplied. Previously worked only if :twitter-site was supplied.