Skip to content
This repository has been archived by the owner on Sep 28, 2018. It is now read-only.

Releases: vgno/roc-web

v1.0.0-beta6

18 Mar 13:47
Compare
Choose a tag to compare
v1.0.0-beta6 Pre-release
Pre-release
  • Makes sure to use compatible versions of Roc dependencies

v1.0.0-beta5

17 Mar 16:42
Compare
Choose a tag to compare
v1.0.0-beta5 Pre-release
Pre-release

Makes sure to use compatible versions of Roc dependencies

v1.0.0-beta4

24 Feb 12:39
Compare
Choose a tag to compare
v1.0.0-beta4 Pre-release
Pre-release

Fixed

  • Added correct behaviour for managing .css files.

v1.0.0-beta3

19 Feb 10:52
Compare
Choose a tag to compare
v1.0.0-beta3 Pre-release
Pre-release

Features

  • Added support for easily starting the server on HTTPS. This can be configured and enabled by using the new https option. 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

21 Jan 15:52
Compare
Choose a tag to compare
v1.0.0-beta2 Pre-release
Pre-release

Features

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.open is set to true.

Fixes

  • Now correctly runs the application under the right path when specifying a path in build.path.

Internal

  • Updated koa-static from v1.5.x to v2.0.x.

Documentation

  • Added docs/Settings.md that list all possible settings, the same information can be seen by running roc list-settings or roc markdown-settings in a project.
  • Moved esdocs to /esdocs from /docs.

Examples

  • Updated /examples/client-server to show some of the new path logic.

v1.0.0-beta1

18 Jan 13:36
Compare
Choose a tag to compare
v1.0.0-beta1 Pre-release
Pre-release
  • Now depends on roc. roc-config is 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 roc paths (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

10 Dec 20:28
Compare
Choose a tag to compare
v1.0.0-alpha11 Pre-release
Pre-release

Add ability to disable progressbar on builds

v1.0.0-alpha10

10 Dec 20:24
Compare
Choose a tag to compare
v1.0.0-alpha10 Pre-release
Pre-release

Updated the style dependencies to latest.

Most importantly will not need to compile node-sass in most cases.

v1.0.0-alpha9

09 Dec 11:40
Compare
Choose a tag to compare
v1.0.0-alpha9 Pre-release
Pre-release

Added a way to easily add Koa middlewares to the application.

See more here https://github.com/vgno/roc-web#koa-middlewares