Releases: webiny/webiny-js
Releases · webiny/webiny-js
v4.7.0
4.7.0 (2020-07-29)
Bug Fixes
commit messages
link (a019b25)- add "--silent" when using env-cmd (eaa9d15)
- contributing doc (8d47145)
- copy message (dfea698)
- move "--silent" flag after the filename (0e790ab)
- prepend empty object when doing merge.recursive (9f677b3)
- headless: add new environment alias in apollo cache (461468a)
- headless: add refetch for environment aliases (29adbf6)
- headless: add style for material icon (6fcc7ea)
- headless: change tooltip to focus on icon instead of text (2455748)
- storybook-utils: enforce string when executing prettier format (58addbe)
Features
v4.6.0
4.6.0 (2020-07-21)
Bug Fixes
- api-headless-cms: update hook plugin name to be entry specific (9394b36)
- api-page-builder: always remove trailing slash from domain in settings (59af6bd)
- app-headless-cms: add
description
props to SingleFile (085df03) - app-headless-cms: add localized value via
useI18N
(5ecf00c) - app-headless-cms: disable
add index
button (bfd1665) - app-headless-cms: fix
field
andbind
props (36c314e) - app-headless-cms: update
checkboxes
field renderer (9360b54) - app-headless-cms: update
datetime
field (7de5bb0) - app-headless-cms: update
radio-buttons
renderer (9d6e1ac) - app-headless-cms: update
select-box
renderer (f56376a) - app-page-builder: remove trailing slashes from domain in settings form (3c47281)
- changed plugin name, error message and brought back try and catch (5a7af7f)
- checking results and error reports (aedb6e8)
- created rough template for aws credentials validator plugin (726ab1a)
- deleting hot fix comment and namespace statement (7f6a655)
- fixed console.log (8442c12)
- impoting sts from aws and trying to call getCallerIdentity (49e27b9)
- removed interface Module from namespace NodeJS (f6de445)
- replaced try and catch with promise and then to receive sts results (f6a5ef0)
- setting error message with like to webiny aws set up page (9acca4c)
- updated console message (74c4a41)
- updated console message, removed comment and deleted aws.js file (9bb00d8)
Features
v4.5.1
v4.5.0
4.5.0 (2020-07-14)
Bug Fixes
- increase "i18nGraphQL" function timeout (9cfe86c)
- app-headless-cms: add
refetchQueries
to delete operation (fd5718c) - app-headless-cms: add missing
key
prop (829fc03) - app-plugin-admin-welcome-screen: fix styles on mobile (8a86c11)
- create-webiny-project: improve CWP code structure and logging (aeff646)
- cwp-templates: use bucket name as StatementId instead of a hardcoded value (e16f271)
- serverless-aws-lambda: remove credentials from client instantiation (43528da)
- serverless-aws-s3: remove credentials from client instantiation (fc87f37)
- create "admin-api-information-dialog-graphql" plugin (654a62f)
- create ApiUrlsDialog component (3a6f8d0)
- create HeadlessCmsApiUrls component (cdad245)
- export mock IDs for direct usage in tests (4e0c451)
- make sure newly added ref fields cannot reference a model with no title field (752753b)
- remerging from master branch, fixed handler error (2786e6e)
- remove "AdminMenuContentSectionPlugin" type (ad29ab1)
- remove @apollo/react-hooks (bcca08f)
- remove properties (3ebd4e7)
- removed searchModel from headless cms model fields text (de1b0b6)
- rename ApiInformationDialog to ApiInformationDialogPlugin (3ec898a)
- replace "Content" section in the main menu with "Page Builder" and "Form Builder" (066b6b3)
- simplify "ApiInformationDialog" component (8d989df)
- simplify ApiInformationDialog component (757d906)
- use
HeadlessCmsApiUrls
component (d7edc0a) - app-plugin-admin-welcome-screen: override route-root to render at "/" path (c776109)
- app-template: sort routes so * is always the last item (7e46209)
- app-template-admin: remove root route (1373dcc)
- app-template-site: remove root route (a6f2396)
- headless: add dependency for apollo hooks (2283f95)
- headless: add tooltip and label for headless api links (8689fc2)
- headless: fix load of environment api for aliases (6512d07)
Features
- api-headless-cms: add
environmentAliases
(e39cc12) - app-headless-cms: add
environmentAliases
(a217870) - app-page-builder: add
configure domain
confirmation (03b438b) - app-page-builder: add
DialogContainer
(00e2cee) - app-page-builder: add
useConfigureDomainDialog
hook (d740954) - app-page-builder: add
useSiteStatus
(6043926) - app-page-builder: add
useSiteStatus
hook (e9b98f4) - app-page-builder: remove
domain
input (485a05c) - headless: add all environment aliases to info and styling (c24f4c3)
- headless: add info icon and style environment information dialog (7feb620)
v4.4.0
4.4.0 (2020-07-08)
Bug Fixes
- add "test" script (25c327f)
- add missing dependency (d53b60e)
- add missing dev dependencies (b44caa6)
- add missing file (a00934e)
- add new dependencies (7107e36)
- add new dependencies (119000d)
- add role (cb3408c)
- correct query error message (4c72139)
- correct query error message (d4b1d57)
- created base to catch cateogories with linked pages (e4c6617)
- extract plugin into a separate file (fb6ebe0)
- imported withHooks and attempting to find PbPage (669fb0a)
- improve logging (51ca36e)
- improve template (f95e063)
- move "@commodo/fields-storage-nedb" to regular dependencies (edf8cde)
- passed context into PbCategory of api page builder model (52e48c6)
- passing in a fake context value to PbCategory model (785ec43)
- remove unneeded jest-mongodb (86bb40c)
- remove unused import (cbd8948)
- removed comment (bb2c9de)
- removed fake PbContext reference (ded5adf)
- update comments (9921813)
- use "replace-in-path" lib (ff459ad)
- admin-welcome-screen: hide links from unauthorized users. (#1078) (d3a0546)
- app-page-builder: add missing query variable to use apollo cache (abf97b2)
- app-page-builder: replace
a
withLink
component (ea91d6b) - cli: remove update-notifier (600a396)
- cli-plugin-deploy-components: send "stack-deploy-end" event on Ctrl+C (3feb6e3)
- create-webiny-project: don't add version tag when using local template files (13b6a31)
- create-webiny-project: include original error message in error being thrown (4b5aca3)
- create-webiny-project: remove typo (bf82a16)
- create-webiny-project: set default value for log parameter (319047f)
- create-webiny-project: update usage of tracking package (e972bf4)
- project-utils: set anonymous user id during production build (b6768bf)
- react-router: strip same origin from links for proper preloading (8f68bbc)
- serverless-aws-s3-object: check if bucket still exists before attempting to delete a file (042119e)
- styles: page preview background color and rich text color on dark theme (#1052) (1f7c0de)
- tracking: replace posthog-node library with simple HTTP requests (ffa453a)
- throw a proper error message on invalid environment or API type (3b24817)
- updated reference to context.models from beforeDelete (cdbf398)
- use titleFieldId in order to perform referenceIn checks (c7b3b6c)
Features
v4.3.1
v4.3.0
4.3.0 (2020-07-01)
Bug Fixes
- export mock IDs for direct usage in tests (fc6882b)
- make sure newly added ref fields cannot reference a model with no title field (265644d)
- app-plugin-admin-welcome-screen: override route-root to render at "/" path (0137548)
- app-template: sort routes so * is always the last item (4db91d7)
- app-template-admin: remove root route (5179b3f)
- app-template-site: remove root route (c9a1fa3)
- add @webiny/app to dependencies (18ce699)
- export menu and header logo separately (9a265f8)
- hide settings menu items from unwarranted users (#1066) (72c5fce)
- increase concurrencyLimit to 50 (9d3ca41)
- remove "AdminMenuContentSectionPlugin" type (a69c1ac)
- replace "admin-header-logo" with "admin-menu-logo" (454ef5c)
- replace "Content" section in the main menu with "Page Builder" and "Form Builder" (856482b)
- app-form-builder: fix field validation message (4e7449a)
- app-headless-cms: sync
modelId
list inref
field (fd0a658) - app-template: sort routes and handle catch-all route paths (9b5841b)
- app-template: use https URL for telemetry (c065a03)
- app-template-admin: add missing TS references (434c2ba)
- cli-plugin-scaffold-graphql-service: add lambda role to generated resource (4e512c3)
- cli-plugin-scaffold-graphql-service: update template code (a14efed)
- plugins: assign autogenerated plugin name to the plugin object (62a4812)
- sort out dependencies (cb1f43f)
Features
- api-headless-cms: add
CmsModelLockedFieldPlugin
plugin (6b12797) - api-headless-cms: add
environmentAliases
(257a6ef) - api-headless-cms: add additional data to lockedFields (ec935f8)
- api-headless-cms: add more fields to
LockedFields
model (9834107) - api-headless-cms: check
lockedField
invariant (102d93b) - app-headless-cms: add
environmentAliases
(6e23941) - app-headless-cms: add
lockedField
torenderSettings
params (82ff658) - app-headless-cms: disable input if lockedField invariant (46ef8dd)
- app-page-builder: add
configure domain
confirmation (07fe0bf) - app-page-builder: add
DialogContainer
(b05759d) - app-page-builder: add
useConfigureDomainDialog
hook (7276266) - app-page-builder: add
useSiteStatus
(0e3030b) - app-page-builder: add
useSiteStatus
hook (5f48957) - app-page-builder: remove
domain
input (bcc41d0) - add "AdminMenuLogoPlugin" (45d4f21)
- add "select" field renderer (#1077) (be8d08c)
- add "white" prop (706a20b)
- add t template string literal for i18n support (ee95c3c)
- i18n for the mailchimp app (03d7913)
- i18n support for typeform app using t template literal (c880db4)
v4.2.0
4.2.0 (2020-06-23)
Upgrading existing projects
A step-by-step guide can be found here: https://docs.webiny.com/docs/migration/410-to-420/
Bug Fixes
- app-form-builder: fix styling (f165dbe)
- app-i18n: update
RichText editor
styles (29834a2) - app-plugin-admin-welcome-screen: add missing TS references. (52177d0)
- cli: remove obsolete packages path (67ce1c7)
- cli-plugin-deploy-components: print instructions when stack or environment doesn't exist (8dac2e2)
- cli-plugin-deploy-components: update command descriptions (a5bd1d8)
- react-router: allow router context to be used without Apollo context. (491cdc7)
- app-form-builder: update group field styles (95e29d1)
- cli: add icon to error message (b4e966a)
- cwp-templates: convert hooks to plugins (d04f2b9)
- cwp-templates: set ENV variables from stack state at runtime (38785af)
- plugins: expand Plugin type declaration (fb19bce)
- react-router: add @types/react-router-dom to production dependencies (4e48cd1)
- serverless-aws-s3: remove bucket when stack is being removed (e39125c)
- serverless-aws-s3-object: explain error when attempting to recreate a deleted bucket too soon (5d63abf)
- serverless-aws-s3-object: remove files when stack is being removed (1bedc71)
- ui: add
placement
prop toAutoComplete
(ff3b0b9) - create "fb-form-details-submissions-list-multi-select-action" plugin (d804a9e)
- remove unnecessary "$" sign in the label (8bfd26b)
- rename
ReturnProps
type toDataListProps
(1fbc011) - snackbar: fix close button in snackbar at account page (a0a4df6)
Features
v4.1.0
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
intofeat/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](83b810bfe41d791d7eb5955cf...