Skip to content

v4.1.0

Compare
Choose a tag to compare
@adrians5j adrians5j released this 16 Jun 13:33

4.1.0 (2020-06-16)

Upgrading existing projects

IMPORTANT: Before you begin, make sure you commit all of your local changes. The upgrade tool will not upgrade your project if there are local changes in the git tree that are not commited.

To upgrade existing Webiny projects run one the following commands from the root of the project:

For full project:

npx https://gist.github.com/Pavel910/486a5c81175c60c5a0226b4363727fff

For cms project:

npx https://gist.github.com/Pavel910/15d7243960e5dd0cb9263eeac9f6285f

If you're not sure which template you used for your project, open webiny.root.js, and look at the template key. It will be either @webiny/cwp-template-full or @webiny/cwp-template-cms.

Bug Fixes

  • missing dependency (9d9b881)
  • api-headless-cms: add model to query (acbcd7d)
  • add missing dependency (84ae966)
  • app-headless-cms: (Resolve merge develop into feat/913 (bf3e6c3)
  • app-headless-cms: save value as number (2937381)
  • cli-plugin-deploy-components: add stack deploy telemetry (3464b94)
  • cli-plugin-deploy-components: use own package.json to read package version (26634cc)
  • add step prop on Date/Time inputs (d0050b1)
  • add step prop on Input (25bf9c5)
  • add missing icon (7c28515)
  • add the missing view_list icon (#996) (8e9f164)
  • after content model deletion, refresh the GraphQL schema (e2b6b81)
  • field and model IDs must always start with a letter (7204ac5)
  • make sure all nested validation errors are sent in GQL responses (6926ddb)
  • replace use-react-router package with useRouter hook from @webiny/react-router (8f5ace2)
  • update description for rich-text field renderer (901fb36)
  • api-page-builder: update CSS variable names in installation files (42a45ea)
  • api-security: improve user creation logic and forward auth provider errors. (b142ea0)
  • api-security: remove unused password field (36e5fdb)
  • app-page-builder: add missing type parameter (7c37202)
  • app-page-builder: fix clone element plugin (ee69c86)
  • app-page-builder: keep editor loader while page data is loading (#941) (c32e58d)
  • app-page-builder: remove outlined prop (96b2626)
  • app-page-builder: update pageBuilder settings after mutation (adb1582)
  • app-plugin-security-cognito-theme: remove built-in password validator (b86dc76)
  • app-template-admin-full: use plugins passed to the template (d32992d)
  • cli-plugin-deploy-components: check that state file exists before deletion (a9f501b)
  • cli-plugin-deploy-components: handle deployment using "." as a stack name (ff35b81)
  • cli-plugin-deploy-components: increase AWS HTTP client timeout and make it configurable (82cbb9a)
  • cli-plugin-deploy-components: increase timeouts for connection test (81c8d0c)
  • cli-plugin-deploy-components: throw deploy errors to produce correct exit code (385d2a0)
  • cwp-templates: update S3 acceleration config (fce2c72)
  • serverless-aws-iam-role: improve state handling (f218b9b)
  • serverless-aws-lambda: include layers key when comparing configs (e810b33)
  • ui: hide Accordion content without unmounting it (#982) (80c68bd)
  • update the commodo related libs to latest release (#948) (3102a9c)
  • add "key" prop to the ContentRender component (d3d81a2)
  • do not allow deletion of title field index (3e1f03c)
  • dynamically register global search plugins when needed (4b3354c)
  • if there are no existing entries, unlock all CM fields (518d4e1)
  • make lockedFields field's default value [] (8ac110e)
  • make circle area outside user-menu clickable (58b3cd7)
  • only append "where" condition when needed (e10e0ba)
  • recalculate list of plugins on each get (9b8cf60)
  • remove basic global-search plugins (c80800f)
  • update @commodo versions (7b41b88)
  • update remove field button alignment (9cd7919)
  • update RichTextEditor component styles (ee9fcf1)
  • update editor content alignment (ddab62e)
  • update editor content alignment (2a5af97)
  • create-webiny-project: use @webiny/cli version for all packages in the project (#971) (e40a12b)
  • cwp-templates: replace underscores with dashes in S3 bucket name (824be07)
  • serverless-aws-lambda: use role arn directly instead of an object (f2cb8dc)
  • serverless-files: remove sharp node_modules from bundling process (ec49e29)
  • use "search" query param to apply list filtering (f90f874)
  • storybook-util: set publishConfig directory (f1522c9)

Features

  • app-headless-cms: add ContentFormOptionsMenu (e4523a3)
  • app-headless-cms: add dateTimeField component (83b810b)
  • app-headless-cms: add dateTimeFields components (0d98d99)
  • app-headless-cms: add multipleValuesLabel to each field (15b4d2f)
  • app-headless-cms: add multiValues support for Rich text field (be1c287)
  • app-headless-cms: add Save and Save & Publish actions (e8687b2)
  • app-headless-cms: add field description in editor (96a261b)
  • app-headless-cms: add link to actual content in content model list (387778b)
  • app-headless-cms: update content form header actions (ab9760e)
  • app-headless-cms: update content form header plugins (dd7728b)
  • app-headless-cms: update content form styles (01a300f)
  • add multipleValuesLabel in CmsEditorFieldTypePlugin type (bece661)
  • add trailingIcon prop to RichTextEditor component (a2fb9f0)
  • app-template-admin: handle api unavailable with proper messaging (266bc66)
  • aws-layers: add utilities for Webiny AWS layers (3a9a295)
  • cli: add a simple check to see if project was bootstrapped correctly (88b3056)
  • cli-plugin-deploy-components: check MongoDB connection on first deploy (9a86ae2)
  • cwp-templates: add .gitignore and .gitattributes to project setup (af784e2)
  • cwp-templates: add aws-layers utility and aws-iam-role resource (78ac2df)
  • cwp-templates: add project-level type declarations (11833f9)
  • project-utils: add support for custom app entry file (614e558)
  • react-router: add useRouter hook (6ce62e5)
  • automatically remove indexes on removing fields (bdbc367)
  • improve environment deletion confirmation dialog messaging (4705d18)
  • introduce file-manager settings (7f2b882)
  • set allowMultipleValues true for datetime field (dc9017f)
  • update date time field components (a29333f)
  • serverless-aws-iam-role: add component to deploy AWS IAM roles (93db3ab)
  • serverless-aws-lambda: add support for layers (09fd2a0)