Superstatic Versions Save

Superstatic: a static file server for fancy apps.

v4.2.1

6 years ago
  • Silence warning when falling back to gzip compression.

v4.2.0

6 years ago
  • Support brotli, zopfli compression via compression option.
  • gzip option is deprecated in favor of compression.

v4.1.1

6 years ago
  • Updated outdated dependencies.
  • Normalize double-slashes to single slashes.

4.1.0

7 years ago
  • 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

8 years ago
  • #207 - don't allow the filesystem provider to reach directories above the root using relative ../ URLs

4.0.1

8 years ago
  • #198 - Allow rewrite globs to match paths with extensions different from destination file.
  • Remove CHANGELOG.md in favor of release list.

2.0.0

8 years ago

Released on 1-26-2015

  • #125 - Middleware-ize Superstatic
  • #127 - Add changelog

Breaking Changes

  • CLI
    • Network stdout is off by default. To enable, use the --debug flag to enable.
    • --quiet flag has been removed in favor of --debug
    • Gzip is off by default. Use the --gzip flag to enable.
  • API
    • By default, Superstatic is a middleware now for an Express/Connect or barebones Node server. See the API docs for more info on options for the middleware
    • Since Superstatic gets required as a middleware by default now, this means that if you want Superstatic as a standalone server via the API, then you need to require the server via var server = require('superstatic/lib/server');. See the API docs for options when instantiating the server.
    • logger options on server is no longer available. Since Superstatic can be required as a middleware and debug is off by default, you can inject your own logger.
    • localEnv is now env in middleware/server options
    • Server methods listen() and close() now behave like the bare/default Node http server methods.

2.0.1

8 years ago

Released on 1-29-2015

  • #137 - default environment variables file to .env.json
  • #138 - fix serving static files with query parameters

2.0.2

8 years ago

Released on 1-30-2015

  • Fixes bug that ignored divshot.json configuration files

2.1.0

8 years ago

Released on 2-24-2015

  • #41 - NEW - etag support
  • #123 - NEW - Support for live reload
  • #132 - NEW - Using services in local development
  • #134 - PERF - lodash 3.x.x
  • #135 - Export Server as a value not a path
  • #141 - Test on Node 0.12 and io.js
  • #146 - FIXED - External function()
  • #147 - FIXED - Routes are not being used/get overwritten
  • #150 - NEW - Ensure order of routes

Breaking Changes

  • The server is now available as a property on the Superstatic object (instead of through a require path). See #135.
  • You no longer need to use the --services flag to use services locally. Superstatic checks your local and global modules for the Superstatic services and installs them automatically if they are missing.