Skip to content

Releases: firebase/superstatic

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

2.1.0

29 Dec 19:10
Compare
Choose a tag to compare

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.

2.0.2

29 Dec 19:10
Compare
Choose a tag to compare

Released on 1-30-2015

  • Fixes bug that ignored divshot.json configuration files

2.0.1

29 Dec 19:11
Compare
Choose a tag to compare

Released on 1-29-2015

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

2.0.0

29 Dec 19:11
Compare
Choose a tag to compare

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.

1.0.0 - One Dot Zero Dot Zero

16 Sep 16:05
Compare
Choose a tag to compare

Superstatic 0.13.x was 1.0.0 release candidate. It's been out in the wild for a while now and is SOLID.

Superstatic 1.0.0 brings a 1.x unchanging API and the foundation for AMAZING features we have planned for the future.

Enjoy 1.0.0 as a solid, trusted static file server!

0.13.0 - Module Stacker

14 Aug 21:53
Compare
Choose a tag to compare

View the 0.13.0 milestone for details.

The biggest change in this release is the new dynamic request stacking. By building the app's request middleware stack per request, we gained code flexibility and maintainability through abstracted NPM modules with minimal impact on performance (in fact, that performance was gained back and more by using a faster url parser).

The modules we were able to abstract are the features that end up making Divshot awesome! They are the following:

  • set-headers - Express/Connect middleware to set response headers based on globs
  • cache-control - Express/Connect middleware to set url cache options with globs
  • redirects - Express/Connect middleware for segment-able url redirects
  • not-found - Express/Connect middleware to serve a default not found/404 page
  • broker - Express/Connect middleware that serves local or remote static files
  • clean-urls - Express/Connect middleware to serve static files from cleaner, extensionless urls
  • slashify - Express/Connect middleware to handle trailing slashes with options
  • _GNARLIEST!_ static-router - Express/Connect middleware to server static files based on glob-like routes

Other Updates

  • NEW: #105 - now optionally runs with https
  • NEW: #108 - -o is an alias for --host with cli
  • PERF: #95 - faster url parser increases performance
  • FIXED: #102 - command line config values now override config values in config file
  • FIXED: #97 - hanging requests and memory leak form undrained middleware stack

0.12.0 - The Oregon Logger

10 Jun 18:17
Compare
Choose a tag to compare

View the 0.12.0 milestone for details.

Updates

Breaking Changes

0.11.0 - Connecting the dots

23 May 19:38
Compare
Choose a tag to compare

A few breaking changes in this release. View the 0.11.0 milestone for details.

Major updates

  • DEPRECATES createServer() - please use superstatic() to create a new instance (similar to Connect)
  • Connect compatible - the instance returned from the superstatic() factory method now returns an instance of Connect with all the Superstatic magic built in
  • CLI update notifier - get notified if there is an update to Superstatic when using the Superstatic CLI
  • Connect 3.0 - Upgraded to Connect 3.0. It forced us to use all the standalone modules that were once Connect modules
  • And again, lots of tests, refactors, and performance improvements!

0.10.0

09 May 20:31
Compare
Choose a tag to compare

Lots of updates for this release. View the 0.10.0 milestone for details.

Major updates

  • Redirects - configure redirects with globs, paths, and segements
  • CLI help command - use -h and --help for Superstatic help
  • Lots of tests, refactors, and performance improvements!