You can download the CLI for the latest Framework version by running npm install -g graphcool@next
.
See the Forum for more information on the Framework Preview.
Core
-
The function context has been streamlined for all function types.
-
Fixed deploying operationBefore and operationAfter functions.
-
General error message improvements:
CLI
Version 0.8.0 of graphcool
has been released.
-
You can now refer to single GraphQL operations in .graphql files.
-
Referring to modules in
graphcool.yml
is now detected, and you're asked to use templates instead. -
All dependencies are explicitely specified now, as described here, here and here.
-
graphcool init
- Improved output as described here and here.
- Initial
package.json
does not refer toindex.js
anymore. - It's now possible to initialze a service in a non-empty folder.
-
graphcool deploy
- Errors are caught before showing the deploy wizard.
- Deploying to not running local cluster is handled gracefully.
- Introduced an error that detects missing node_modules when modules are required or imported in any function. Built-in modules are ignored.
- Deploying also works when using symlinks.
- Prevent accidental deploy.
- Improved error message for missing schema file of resolver functions.
- Updated environment variables are correctly deployed.
- Fixed a problem with deploying when the parent directory contains a .graphcoolrc file.
-
graphcool diff
-
graphcool add-template
-
graphcool root-token
-
graphcool invoke-local
-
graphcool local
-
graphcool logs
-
graphcool console
Lib
- Version 0.1.3 of
graphcool-lib
has been released. Read the release notes here.