Releases: vgno/roc-web
v1.0.0-beta6
- Makes sure to use compatible versions of Roc dependencies
v1.0.0-beta5
Makes sure to use compatible versions of Roc dependencies
v1.0.0-beta4
Fixed
- Added correct behaviour for managing
.cssfiles.
v1.0.0-beta3
Features
- Added support for easily starting the server on HTTPS. This can be configured and enabled by using the new
httpsoption. See more below.
Fixes
- Makes the logging from the server a bit better.
Using HTTPS
HTTPS will be used if a port is provided to runtime.https.port and use the certificate and the key file as provided to runtime.https.key and runtime.https.cert. If running in development (using roc dev) a certificate will be automatically provided if none is given, this to make development easier.
v1.0.0-beta2
Features
- Now uses the following Koa middlewares to handle paths. Can be configured through
runtime.koa.
By default will it add trailing slashes, make paths to lowercase and normalize them. This can be changed through the configuration.
- Added https://github.com/vdemedes/koa-errors to default middlewares for better error management in development.
- Now informs about the path which the application is running from when starting.
- Will now open the correct path in development if
dev.openis set totrue.
Fixes
- Now correctly runs the application under the right path when specifying a path in
build.path.
Internal
- Updated
koa-staticfrom v1.5.x to v2.0.x.
Documentation
- Added
docs/Settings.mdthat list all possible settings, the same information can be seen by runningroc list-settingsorroc markdown-settingsin a project. - Moved esdocs to
/esdocsfrom/docs.
Examples
- Updated
/examples/client-serverto show some of the new path logic.
v1.0.0-beta1
- Now depends on
roc.roc-configis deprecated - New configuration format within applications
- Updated configuration descriptions
- Provides its own commands for use with cli:
build,start,dev,list-settings,markdown-settings - Provides createBuilder plugin for extending internal builder
- Fixes bugs relating to
rocpaths (trailing slashes)
You will need to make the following changes in your app configuration in the transition from alpha to beta:
Before:
module.exports = {
config: {
applicationName: 'My Roc Application'
}
};
After:
module.exports = {
settings: {
runtime: {
applicationName: 'My Roc Application'
}
}
};
Note that config is renamed to settings and that the root values of config now are wrapped with runtime.
v1.0.0-alpha11
Add ability to disable progressbar on builds
v1.0.0-alpha10
Updated the style dependencies to latest.
Most importantly will not need to compile node-sass in most cases.
v1.0.0-alpha9
Added a way to easily add Koa middlewares to the application.
See more here https://github.com/vgno/roc-web#koa-middlewares