Releases: rocjs/roc
Releases · rocjs/roc
v1.0.0-rc.11
Breaking
See this gist for the breaking changes https://gist.github.com/dlmr/4a548f85b57c1291d63191aecd30caf6
Install
If you want to try the coming version of Roc you can install it using the next
tag.
$ npm install roc@next -g
v1.0.0-rc.10
v1.0.0-rc.9
- Documentation improvements
- Enforce npm 3.x+ for new installs
v1.0.0-rc.8
- Will use local CLI over the global if one is detected.
- Will show update information if a new version of
roc
is available. - Better and more powerful extension management, see docs for complete overview.
- Updated documentation in general.
- New validator for RegExp and better support for it in general.
v1.0.0-beta3
Features
- Feedback after completed
init
is now driven from the templates, allowing for more generic templates. - isBoolean now allows
null
values. In practice makes it possible to use bools as they would have 3 different values. - Possible to set group descriptions for all groups.
Fixes
- Fixed a problem with validation of
roc.config.js
related to plugins. - Solved several bug related to the documentation generation.
v1.0.0-beta2
- Corrected critical bug in internal path
v1.0.0-beta1
- Moved majority of commands from CLI itself to extensions
- Better management of new configuration groups like plugins
- Made creating custom extensions easier
- Configuration management now a part of this project (
roc-config
deprecated) - Documentation generation
- Improved validation
Upgrading from alpha to beta
The only breaking change from alpha to beta for applications is how the configuration is handled. Below we provide a complete example when using the roc-web-react
extension.
Before:
module.exports = {
config: {
applicationName: 'My Roc Application',
build: {
reduxMiddlewares: 'src/middlewares.js',
reducers: 'src/reducers.js',
routes: 'src/routes.js'
}
}
};
After:
module.exports = {
settings: {
runtime: {
applicationName: 'My Roc Application'
},
build: {
reduxMiddlewares: 'src/middlewares.js',
reducers: 'src/reducers.js',
routes: 'src/routes.js'
}
}
};
Note that config
is renamed to settings
and that the root values of config
now are wrapped with runtime
.
v1.0.0-alpha8
1.0.0-alpha8
v1.0.0-alpha7
Update npm key for Travis