Skip to content

Releases: firebase/superstatic

v4.3.0

15 Aug 18:32
Compare
Choose a tag to compare
  • Superstatic will now pass through configuration objects provided as the compression paramenter to the underlying compression library, allowing tuning of compression quality/behavior.

v4.2.1

07 Aug 18:52
Compare
Choose a tag to compare
  • Silence warning when falling back to gzip compression.

v4.2.0

04 Aug 21:12
Compare
Choose a tag to compare
  • Support brotli, zopfli compression via compression option.
  • gzip option is deprecated in favor of compression.

v4.1.1

25 Jul 17:53
Compare
Choose a tag to compare
  • Updated outdated dependencies.
  • Normalize double-slashes to single slashes.

4.1.0

27 Apr 17:39
Compare
Choose a tag to compare
  • Adds support for extensible rewriters. (#229)
  • Redirects now preserve query parameters. (#228)
  • Superstatic now supports hosting-nested config to support current firebase.json format. (#222, #227)

4.0.2

22 Feb 18:24
Compare
Choose a tag to compare
  • #207 - don't allow the filesystem provider to reach directories above the root using relative ../ URLs

4.0.1

29 Dec 19:32
Compare
Choose a tag to compare
  • #198 - Allow rewrite globs to match paths with extensions different from destination file.
  • Remove CHANGELOG.md in favor of release list.

4.0.0 (Major Release)

15 Dec 19:52
Compare
Choose a tag to compare

This is a major release and contains significant API changes and substantial rewrites throughout Superstatic.

  • All config is now camel-cased and only supports Firebase Hosting-style configuration.
    • routes is rewrites
    • clean_urls is cleanUrls
    • trailing_slash is trailingSlash
    • routes and rewrites now use array syntax (see README)
  • The package has been slimmed down considerably to minimize external dependencies. LiveReload has been removed as a built-in option.
  • Superstatic services have been removed. It is possible to inject middleware before and after any of the existing Superstatic stack middlewares using before and after options.
  • The provider system has been completely rewritten. A provider is now just a simple Promise-returning function that takes a request and a path and returns a Promise resolving to an object including a stream, modified time, size, and etag.
    • An in-memory provider has been implemented at lib/providers/memory.js as a useful small example and test harness.
  • .env.json is now only loaded when executing via CLI; otherwise env must be specified as a configuration object when calling the middleware.
  • Added the stack option to the middleware to allow for custom feature sets. Specifying {stack: 'strict'} will guarantee to only use features that are available in Firebase Hosting production.

2.2.0

29 Dec 19:08
Compare
Choose a tag to compare

Released on 4-1-2015

  • #131 - NEW - Configuration option to disable/enable trailing slashes
  • #156 - FIXED - High CPU usage with LiveReload enabled
  • #159 - Update Nash to 2.x
  • #162 - FIXED - Automatic install of services doesn't try to instantiate missing service

2.1.3

29 Dec 19:09
Compare
Choose a tag to compare

Released on 3-16-2015

  • #151 - Fix flawed ETag when generating with fs.Stats instance