Superstatic: a static file server for fancy apps.
Released on 3-16-2015
This is a major release and contains significant API changes and substantial rewrites throughout Superstatic.
routes
is rewrites
clean_urls
is cleanUrls
trailing_slash
is trailingSlash
routes
and rewrites
now use array syntax (see README)before
and after
options.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.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.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!
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:
Other Updates
-o
is an alias for --host
with cliView the 0.12.0 milestone for details.
Updates
Breaking Changes
app.start()
and app.stop()
. Favors app.listen()
and app.close()
as replacements.A few breaking changes in this release. View the 0.11.0 milestone for details.
Major updates
createServer()
- please use superstatic()
to create a new instance (similar to Connect)superstatic()
factory method now returns an instance of Connect with all the Superstatic magic built inLots of updates for this release. View the 0.10.0 milestone for details.
Major updates
-h
and --help
for Superstatic help