pos-cli, new graphql mutation - form_submit
July 15, 2019
Follow these steps to migrate from
When using local node installation (for example installed using
npm r -g @platform-os/marketplace-kit npm i -g @platformos/pos-cli
When using global node installation (use sudo if the version without it does not work):
sudo npm r -g @platform-os/marketplace-kit sudo npm i -g @platformos/pos-cli
From now on, use the
pos-clicommand instead of the
marketplace-kitcommand, and remember to update your scripts if they used
form_submitmutation was added to GraphQL: This new mutation will trigger a form submission along with invoking authorization policies and validation. It accepts two parameters:
params. This way, you will be able to easily validate any user parameters against a given form configuration and persist it if valid. Most useful for creating API endpoints which re-use existing form configurations.
Added the possibility to fetch related
modelsGraphQL query - Model
gui servewill return a user friendly message if the port is already taken.
auditcommand will be automatically run during
deploy; its performance has been greatly improved.
- Redesigned emails for modules in Partner Portal
- Renamed Customization to Model and CustomModelType to ModelSchema - all existing occurrences of deprecated namings were removed from examples, documentation and platform.
- Fixed a couple of issues related to ElasticSearch type collision removal - mainly for related models
- Removed MIT license hardcoded text in Partner Portal