Releases: firebase/superstatic
2.1.3
2.1.0
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
2.0.1
2.0.0
Released on 1-26-2015
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.
- Network stdout is off by default. To enable, use the
- 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 nowenv
in middleware/server options- Server methods
listen()
andclose()
now behave like the bare/default Node http server methods.
1.0.0 - One Dot Zero Dot Zero
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
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
View the 0.12.0 milestone for details.
Updates
- NEW: Inject custom logging functions into server instance - By default, Superstatic will print to stdout, but you can inject your own custom functions to send your logs to outer space!
- FIXED: Invalid config file now throws error - invalid JSON, mainly.
Breaking Changes
- Starting/stopping server and using middelware is more Connect-like. DEPRECATES
app.start()
andapp.stop()
. Favorsapp.listen()
andapp.close()
as replacements.
0.11.0 - Connecting the dots
A few breaking changes in this release. View the 0.11.0 milestone for details.
Major updates
- DEPRECATES
createServer()
- please usesuperstatic()
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
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!