Download the latest Graphcool Framework version with npm install -g graphcool
.
- You can now export and import data efficiently using the CLI commands
graphcool export
andgraphcool import
https://github.com/graphcool/framework/issues/1299
- 8faf9a298b062df48f2ccbedda4347c9eb0905d2 support multiple types.graphql files
- 14d5b2578238e2c52f04a815e6b0ac9ab88c7e2e Fix Windows deployment paths. Thanks @kbrandwijk
- f79ad6b02af39409ca9ca347f0a3d6729fd1c537 Fix #1220. Thanks @AlexanderChen1989
- ad619460bced486e118e353ea2e57404959b0c1c Upgrade json-schema. Thanks @kbrandwijk
- 3ac4e966e368514f9e2aacd88d81815a7301e563 Remove temp folder after add-template. Thanks @kbrandwijk
- 67729fb8c357b8a96d3901740e4e7bb09037feeb No auth required for local cluster commands. Thanks @kbrandwijk
- 53ff291236c072ba95384f354d2c2a20448cbea2 Fixed outdated docs links. Thanks @kbrandwijk
New Playground release with awesome features like support for Apollo Tracing and multiple Endpoints!
The new playground doesn't include the permission tab anymore.
Your permissions endpoint is available under https://api.graph.cool/simple/v1/SERVICE_ID/permissions
.
To access it, please use your platformToken or a rootToken.
You can learn more about permission tabs here.
https://github.com/graphcool/graphql-playground/releases/tag/v1.3.0
The CLI now works with Windows.
- ced3ae7cb7cdde23d965ca17a3abdf7b623201b0 Fixed local IP address https://github.com/graphcool/framework/issues/1092
- 2a3e45b639bc904c30e0423908fbb3a6681568bb Fixed function return type
- 8605b0db7e85e7262396a38fb43272ceb5619739 Fix Windows deployment paths https://github.com/graphcool/framework/issues/1031 https://github.com/graphcool/framework/issues/836 https://github.com/graphcool/framework/issues/885
-
Fixed a bug when removing a field that was referenced by a permission https://github.com/graphcool/framework/issues/993
-
Improved logging for local and shared cluster
-
General wording improvements, and better error messages
- https://github.com/graphcool/framework/issues/952 https://github.com/graphcool/framework/issues/846 https://github.com/graphcool/framework/issues/922 https://github.com/graphcool/framework/issues/926 https://github.com/graphcool/framework/issues/929 https://github.com/graphcool/framework/issues/778 https://github.com/graphcool/framework/issues/951
-
Implemented Webhook shorthand notation https://github.com/graphcool/framework/issues/978
-
Changing a service alias now invalidates the old one https://github.com/graphcool/framework/issues/741
-
Local docker and dependency injection binding clean up
- https://github.com/graphcool/framework/pull/1098
- Removed RabbitMQ dependency for local clusters
-
Experimental support for Docker Toolbox
- https://github.com/graphcool/framework/issues/1074 https://github.com/graphcool/framework/issues/864
- Please let us know in the Forum if you still experience any issues with Docker Toolbox, so we can fully support it in a coming release.
-
General wording improvements
-
Unified usage when adding templates https://github.com/graphcool/framework/issues/754
- Individual templates will receive better explanations shortly.
-
Fixed endless deploy loop when environment variables are missing https://github.com/graphcool/framework/issues/966
Version 1.1.1
has been released
- Added middleware support
- Expose component for React 16
- Added serverless handler
-
Improved importing npm modules:
-
Improved error message and cosmetics:
-
The service definition for upgraded projects has been improved: https://github.com/graphcool/framework/issues/873
-
graphcool init
- Temporarily removed
--template
parameter https://github.com/graphcool/framework/issues/950
- Temporarily removed
- Version 0.1.4 of
graphcool-lib
has been released. Read the release notes here.
-
The function context has been streamlined for all function types.
-
Fixed deploying operationBefore and operationAfter functions.
-
General error message improvements:
-
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
- Version 0.1.3 of
graphcool-lib
has been released. Read the release notes here.
- A new local development workflow for functions is available. Additionally, there is a new & improved function runtime when deploying a service to a remote cluster, as well as in the local
graphcool-dev
environment. - You can now add templates to the service definition with a new add-template command.
- The initial project structure after upgrading a project to the Framework has been changed.
- Added GRAPHCOOL_PLATFORM_TOKEN env var.
- Removed the env command. From now on
.graphcoolrc
is used to control deploy targets. - The CLI now can be run with node 6+.
- The CLI now reauthenticates if an invalid session is found.
- Service aliases with dashes are now supported in the CLI.
- Fixed a problem with the confirmation when deleting projects.
- graphcool init does not deploy the service anymore.
- Improved usage texts in general and for delete.
- Added divider for project list.
- Improved output for written files.
- Allow .graphcool file in current folder.
- Search project configuration in parent folders.
- Deleting projects now asks for configuration in all cases.
- Introduced a shorthand notation for function code handlers.
- Renamed get-root-tokens to root-tokens.
- Added basic account command.
Currently, permission queries can't contain a header section, which will be changed soon. More information here.
Valid function names only use up to 64 alphanumeric letters, dashes and underscores. This is only checked when creating a new or updating an existing function and does not affect existing functions before updating them.
- Renamed Permanent Authentication Tokens (PATs) to Root Tokens.
- Renaming relations requires usage of @rename directive with oldName parameter.
- Schema Extensions are renamed to Resolvers.
- The system fields createdAt and updatedAt are now optional.
- The payload type of a resolver is now taken into account when validating the payload. This applies to required payload types as well as list payload types.
- Fixed a bug that affected subscription queries using variables of type ID.
- Fixed a bug that prevented default values from being deleted.
- Fixed a bug when changing a unique Int field to a unique String field.
- Fixed several issues when migrating float fields.
- Fixed a bug where using an invalid type in a resolver schema resulted in an internal server error.
- Fixed a bug that prevented scalar list input fields for resolvers.
- Fixed a bug when returning null for a string in a resolver.
- Fixed a bug when creating two types of same name a resolver.
See the Forum for more information on the Framework Preview.
Note: The latest CLI version of the Framework Preview is currently available in version 1.4. This will soon be corrected to version 0.4 instead.
- Wildcard permissions have been introduced that can be used to match all operations. The project configuration of a new project created with the CLI includes the wildcard permission by default.
- Added support for Modules in the project configuration.
- Environment variables can now be used for Graphcool Functions using the CLI.
- Added Root Token support in project configuration.
- Projects will not receive default public permissions for new fields/models.
- When deploying, subscription queries are now validated first. Also see here.
- User and File system types not included by default in projects created with the CLI.
- The module command has been renamed to modules.
- The --version command is now available.
- Changes for diff and deploy are now better grouped.
- Fixed a bug for displaying 504 and 502 error messages and other errors.
- Fixed a bug that caused unnecessary updates to scalar list fields when deploying.
- Fixed a bug that caused deploys to not being aborted when errors occured.
- Fixed a bug with the diff command for breaking changes.
- Fixed a bug when renaming a type with relations and deploying.