v5.40.0
5.40.0 (2024-06-20)
Bug Fixes
- abstract
reset.css
styles away from users (#4138) (b691835) - add missing
console.log
call (2341fe5) - add missing aws-lambda dependency (f2a2672)
- add missing fields in
createModelField
(#4097) (5ee5add) - add missing type annotation (9c14649)
- add new scaffold to CWP (82c8879)
- add NPM dependencies question (optional) [no ci] (bd1946d)
- add xml2js resolution on repository level (9a5422e)
- address API GW route concurrency-related issue (#4131) (b893929)
- api-aco: verify existence of identity while emptying the trash bins (#4101) (cdc9bea)
- api-headless-cms-ddb-es: additional log on index create [skip ci] (08f90d8)
- api-headless-cms-tasks: race conditions while deleting trash bin entries (#4144) (d711547)
- api-headless-cms: add field renderer resolver (5d3f831)
- api-headless-cms: add missing type property [skip ci] (cbdbd7b)
- api-headless-cms: clone returned input object (c5e67a0)
- api-headless-cms: enable deletion and restoration of partial entries (#4116) (b60fadd)
- api-headless-cms: expose optional id and storageId (#4091) (52c9f8c)
- api-headless-cms: expose optional noValidate parameter (#4092) (340619e)
- api-headless-cms: make field renderer settings either undefined or object (97d2c99)
- api-headless-cms: multi-value DZ value must default to array (421d2c4)
- api-headless-cms: remove camelCase conversion in storageId validation (f2c4f8b)
- api-headless-cms: rename
deleted
flag towbyDeleted
(#4087) (42fcc1a) - api-headless-cms: rename adstractions folder to abstractions (#4050) (e690926)
- api-headless-cms: revert storageId validation logic (164b9cf)
- api-i18n: set first locale into context (7c49c5b)
- api-security-cognito: return custom identity [skip ci] (63b700e)
- api-security: load permissions immediately after authentication (26f650a)
- app-aco: memoize advanced search config [skip ci] (532a220)
- app-aco: predefined values field renderer (#4100) (77735fa)
- app-admin-cognito: add error prop to DefaultContent component (#4174) (8ad56da)
- app-admin-users-cognito: pass simple id to Autocomplete component (d2b629d)
- app-admin: hide empty button container (06d81c1)
- app-apw: use built-in decorator factories (4bfa155)
- app-apw: use built-in decorator factories (#4110) (c8ad000)
- app-audit-logs: date fields text alignment [skip ci] (1a4f2b1)
- app-file-manager: improve inline file editing UX [skip ci] (2f4ad51)
- app-file-manager: remove weird actions booleans (6fd5e9c)
- app-form-builder: use CSS var instead of hardcoded value (ccbd520)
- app-headless-cms: always open block creation dialog [skip ci] (32aa4e5)
- app-headless-cms: ensure validation is visible with DelayedOnChange (42f3b1c)
- app-headless-cms: fixing useParentField hook for high level parents (33054cf), closes #4163
- app-headless-cms: hidden renderer must be the last one in the list (97fca3a)
- app-headless-cms: improve file gallery renderer [skip ci] (c7f9bbb)
- app-headless-cms: register hook decorators in editor config [skip ci] (e07d42f)
- app-headless-cms: remove placeholder from date time field [skip ci] (c824797)
- app-headless-cms: remove seconds from date time inputs [skip ci] (72bdd26)
- app-headless-cms: reuse empty validators array reference (0780d96)
- app-headless-cms: scroll form to top on URL change (3e2ef95)
- app-headless-cms: select the first plugin renderer (#4121) (918aeb0)
- app-headless-cms: sort renderers before picking defaults [skip ci] (3cc545e)
- app-headless-cms: update invalid form field tracking [skip ci] (bbdd960)
- app-headless-cms: use empty object as fallback value (9fa69cf)
- app-headless-cms: use grid for gallery thumbnails [skip ci] (a961aae)
- app-headless-cms: use label instead of loading overlay (32caf20)
- app-headless-cms: use raw API for bulk actions [skip ci] (a9012b4)
- app-i18n: reload page on locale create only (c8964d3)
- app-page-builder: pass pid instead of id when bulk deleting pages (#4158) (63ad55f)
- app-page-builder: remove display mode width from TopBar (bebdc62)
- app-page-builder: rename toolTip to tooltip (ed88f60)
- app-page-builder: sort properties as defined in the element plugin (d8fe238)
- app-page-builder: use empty string as a default value [skip ci] (c6358bb)
- app-page-builder: use named export of RichVariableInput (58245cd)
- app-page-builder: use onBlur on Lexical variable input (3912e6a)
- app-record-locking: disable Prompt on force unlock [skip ci] (4376273)
- app-record-locking: ensure savedOn is updated on ACO cache updates (5dc413c)
- app-record-locking: space after user name in notification popup [skip ci] (d31a08c)
- app-record-locking: use context to control prompt (#4140) (1ea4bf7)
- app-tenant-manager: add graphql selection to update mutation (4ae6672)
- app-trash-bin: move TrashBinConfigs to higher level (4746eff)
- app-trash-bin: various fixes and improvements (#4088) (cafef9a)
- app-websockets: reconnect on window focus [skip ci] (#4142) (49e5151)
- assign font-family (543795f)
- assign font-family (3995d83)
- aws-layers: publish latest sharp layer (c08e961)
- aws-layers: publish sharp and chromium layers to ap-east-1 region (e5745cb)
- break toolbar items into multiple lines when needed (#4133) (4c12d12)
- cli-plugin-deploy-pulumi: remove deprecated watch output modes (82fddc9)
- cli-plugin-deploy-pulumi: specify explicit file types for replacements (87c297c)
- cli-plugin-deploy-pulumi: update config resolution logic (ced7982)
- cli-plugin-scaffold-ci: update octokit dependency (545fe51)
- cli-plugin-workspaces: remove random-color dependency [skip ci] (e7c93a9)
- create src folder in extensions/themes (#4135) (a2f55ac)
- cwp-template-aws: exclude yarn patches from gitignore (dbfbc15)
- cwp-template-aws: hide unsupported layer (fb85cd1)
- db-dynamodb: exclude falsy values from search [skip ci] (7aec821)
- dependabot issues for 2024/03/12 (#3988) (423eae6)
- ensure PB elements have stable element IDs (#3977) (9d19474)
- fixing code style according to PR feedback (fae4b6b), closes #4109
- form: initialize form on first render [skip ci] (0b8a356)
- form: optimize fields registration (3a673db)
- form: refactor to use FTA (#4122) (8cd450f)
- form: reset form fields when new data is set (5046357)
- form: set defaultValue in action [skip ci] (c921777)
- form: set field values synchronously [skip ci] (c977398)
- form: store form callbacks to ref [skip ci] (e750e80)
- handler-graphql: add generics to processRequestBody [skip ci] (59ebecf)
- ignore FLPs when identity type is other than
admin
(c62a178) - ignore project-utils when building a dependency graph (81b2ee2)
- improve component memoization and chains of hooks (fffe7a6)
- improve developer tools (#4119) (e803c06)
- infer component props in makeDecoratable (eff32b4)
- insert React component instead of factory function call (#4132) (f66a22e)
- lexical-editor: hide floating toolbar on blur [skip ci] (e84baf8)
- lexical-editor: improve link popup (#4098) (f4d6356)
- lexical-editor: replace hardcoded values with CSS vars (aada09b)
- lexical-editor: show link toolbar only on user interaction [skip ci] (3d7784a)
- lock lexical version (be9e1e7)
- log ES index creation error [skip ci] (ca6908e)
- migrations: filter batches after promise is resolved (90f428f)
- project-utils: override workspace references during webpack TS check [skip ci] (b937697)
- project-utils: update deprecated webpackDevServer method [skip ci] (96f7d00)
- pulumi-aws: remove development logging (b840333)
- react 18 various issues (#4114) (4f42a23)
- react-composition: infer hook return type [skip ci] (48f1334)
- react-composition: remove unused generic (72690f4)
- remove API GW deployment resource (fa56f2a)
- remove commitizen and cz-adapter [skip ci] (0384613)
- remove deprecated code (#4051) (ce96374)
- remove duplicate identifier (94337e1)
- remove unused dependency and update tests (7e364f3)
- replace babel-plugin-emotion with @emotion/babel-plugin (59165fa)
- return default object from
item
callback (9e0cd9d) - tasks: console log errors by default [skip ci] (#4165) (83cba97)
- ui: checkboxes and input missing id (22cbf86)
- ui: convert cell values to string for rendering (44eadc5)
- ui: don't call onChange on first mount (4970a5a)
- ui: fix trailing icon padding on textarea (#4141) (71c3560)
- ui: import named components (30f3e83)
- ui: set Select label and placeholder values based on size prop (#4150) (cfea639)
- ui: update DelayedOnChange to reflect changes in Form (ecdb65d)
- ui: various RMWC and styles fixes (#4113) (12ada41)
- ui: visibility box title (4ae4eb4)
- update css related dependencies (82ee9e6)
- update jsdom to fix tough-cookie security issue [skip ci] (27d2bff)
- update packages from dependabot alerts (#4126) (de02750)
- update resolve-url-loader [skip ci] (aa0ba09)
- use
state
property instead of the deprecatedisEnabled
(a51231b) - use DDB Document client when running queries (afb1101)
- use lower react version (#4118) (7cd60c5)
- use the new error format when checking if an error is graceful (e6ce53a)
- various fixes (#4129) (f62bf15)
- various RMWC tweaks (#4117) (03b917f)
Features
- add
env
topulumi
function args list (97fed18) - add record-locking feature to WCP license (#4073) (7f3380f)
- api-headless-cms: add content entry traverser (#4072) (5b01770)
- api-headless-cms: add crud operation to move entry to bin (#3976) (65cde0a)
- api-headless-cms: add crud operation to restore entry from trash bin (#4064) (705277f)
- api-headless-cms: add getExecutableSchema utility (a7220b5)
- api-headless-cms: empty HCMS trash bin via cron job (#4085) (6ae9e85)
- api-headless-cms: expose a RichTextRenderer utility (04482b6)
- api-headless-cms: make usePermission hook decoratable (26c54ad)
- api-serverless-cms: add InstallTenant use case (fcb1350)
- api-websocket: add security to graphql layer (#3974) (7ae6cec)
- app-aco: make useRecords hook decoratable (fbe13c0)
- app-aco: support reference field in advanced search filter (#3783) (0e0841f)
- app-admin: register version as a menu item (5a18397)
- app-file-manager: add file thumbnail and action config (412cfd6)
- app-headless-cms: add ref field settings (ccab286)
- app-headless-cms: add tags renderer for multi-value text field (bae6903)
- app-headless-cms: create bind component on field config change (#4086) (cc06068)
- app-headless-cms: make onClone prop accept the value being cloned (97c7927)
- app-headless-cms: optimize form responsiveness using DelayedOnChange (ebe052b)
- app-page-builder: add debug utilities (9a677ac)
- app-page-builder: add duplicate page list and bulk action (#3876) (52030fe)
- app-page-builder: add ElementActions component (4a7c074)
- app-page-builder: make website settings view configurable (#4145) (c11112d)
- app-security: add idToken provider (#4168) (71e514d)
- app-trash-bin: add trash bin to app-headless-cms (#4059) (517c703)
- app-website: support user-defined wildcard route [skip ci] (a0f0219)
- cli-plugin-scaffold-extensions: add link-extensions command (aa8dbfb)
- cli-plugin-scaffold: add keywords property to type (8c7f12e)
- create "Empty Workspace" Scaffold (#4172) (20d45ed)
- cwp-template-aws: add locking mechanism into plugins list (#4105) (4753668)
- data-migration: add support for migration skipping [skip ci] (567f334)
- expand object & DZ fields via renderer settings (b2ce354), closes #4109
- form: make useBind hook decoratable (f1506aa)
- handler-graphql: expose createGraphQLSchemaPlugin factory (cf397c5)
- improve Webiny /
create-webiny-project
CLIs (#4045) (16b0da1) - introduce
createCmsModelPlugin
andcreateCmsGroupPlugin
(#4089) (d68658b) - introduce the
extensions
Folder and theNew Extension
Scaffold (#4111) (0846888) - lexical-editor: add support for link alt attribute (4935d18)
- locking mechanism (#4065) (d35a4ea)
- migrations: add block element ids migration (86d4dad)
- react-composition: restore decoratable hooks (5607607)
- react-router: make Route decoratable [skip ci] (517203d)
- update to react 18 (#3771) (1d1b872)
- upgrade Pulumi to v6 (#4096) (75272e7)
- various improvements and features (1f6cf69)
- websockets (#3877) (700e820)