v5.40.6
5.40.5 (2024-08-19)
Bug Fixes
- api-file-manager-s3: set presigned URLs to expire after 1 hour (a034764)
- app-headless-cms: update context state after entry creation (4913644)
- app-page-builder: use the improved DelayedOnChange types (65870e6)
- direct download of extensions (#4206) (f677787)
- ensure folders cannot be deleted if they contain content (including inaccessible content) (#4191) (1d3b0e7)
- form: add data-pristine DOM attribute (829048c)
- lexical-editor-pb-element: allow undefined to be passed as value (5dc8005)
- lexical-editor: normalize input value and improve onChange execution (0cd8b63)
- new watch command - introduce payload compression (#4224) (972651c)
- ui: improve DelayedOnChange component (f39a334)
- update Pulumi package versions (#4216) (7f9bbf7)
5.40.4 (2024-08-02)
Bug Fixes
- api-file-manager: improve handling of cache-control headers (5795b78)
- app-headless-cms: do not set dirty model unless it changed (#4207) (4a16b87)
- app-headless-cms: ensure trash bin is empty before deleting content model (#4212) (1be8d8c)
- app-headless-cms: improve tracking of changes in the ContentEntryForm (4dcffa5)
- app-headless-cms: pass default value to nested multiple values (#4211) (badd76f)
- app-headless-cms: pass placeholder to select field renderer (#4209) (b638f0d)
- form: track whether the form is in its original state (244b8a9)
- lexical-editor: optimize editor state update and onChange execution (e739428)
- lexical-editor: update lexical deps to 0.16.1 (b773167)
- project-utils: force webpack to use the CJS build of Lexical (4525f46)
- ui: optimize DelayedOnChange state updates (e91d02a)
5.40.3 (2024-07-23)
Bug Fixes
- add default and active CSS class to tab labels (53f2895)
- api-headless-cms: gracefully fall back to applicable fields (#4203) (fb1a87e)
- api-headless-cms: update reserved field ids (5d0f987)
- app-admin: only show images in Lexical File Manager [skip ci] (56df774)
- app-cognito-authenticator: remove info log that scares people [skip ci] (d0e9315)
- app-file-manager: use type_startsWith for asset filtering (60e8e8f)
- app-headless-cms: use the passed entry object [skip ci] (3dafa75)
- app-page-builder: generate unique property id for query selections (f818ee1)
- cli-plugin-scaffold-extensions: generate valid component name (067528f)
- form: convert observable objects to raw JS objects (1c02a0b)
- intercept react-butterfiles and use a patched implementation (deb698c)
- lexical-editor: call onChange with a small timeout (bcac0a9)
- lexical-editor: relax file to node conversion checks (8347c16)
- lexical-editor: use named import of LexicalErrorBoundary (238b222)
- react-properties: add config debugging utility (eedb11e)
5.40.2 (2024-07-13)
Bug Fixes
- api-file-manager-s3: keep file metadata when applying transformations [skip ci] (668d4d7)
- api-file-manager-s3: use withoutEnlargement when resizing images (0b8430c)
- api-headless-cms: normalize graphql input and improve traverser (#4196) (c074bca)
- api-headless-cms: skip invalid DZ values instead of throwing (#4202) (cf2c192)
- api-headless-cms: validate model import (#4194) (f98670e)
- api-page-builder: replace rimraf with fs.unlink (81ce22d)
- api-page-builder: use fs.remove when deleting files and folders (e741f10)
- app-admin: allow users to adjust the SplitView columns width across all apps (#4179) (96c20e2)
- app-file-manager: fix file labels appearance (dd472b4)
- app-file-manager: fix upload status positioning (fff3e2f)
- app-headless-cms: set default value from predefined values (#4201) (aa73c49)
- bring back
cli-
prefix in event names (cd1c4dd) - cli-plugin-scaffold-extensions: ignore node_modules when detecting workspaces (3338926)
- ensure published records are updated accordingly (#4180) (251da99)
- form: register field in the current animation frame (3f7bb94)
- improve Windows support when building functions / packages (#4182) (bd89ca2)
- include original error via
cause
(2b8563d) - increase lambda memory size (#4197) (66d7e64)
- integrate local AWS Lambda development into
dev
(#4200) (a1f4239) - lexical-converter: remove redundant text node normalization (d2aa570)
- lexical-nodes: add @types/prismjs dependency (98cffc8)
- lexical-nodes: ignore @types/prismjs (ca7f509)
- lexical-nodes: remove unused methods from interface (26b274b)
- lexical: color picker active state styling (9275cf7)
- lexical: hide transparent color and alpha slider (2363220)
- lexical: implement splitText on FontColorNode (67615b1)
- lexical: show toolbar on link nodes (b6e515a)
- lexical: styled the color picker actions component (f29f9c2)
- lexical: update colorpicker value from props (280f0bb)
- lexical: update to latest Lexical (6747d06)
- pulumi-aws: add token validity config (33e89bb)
- try using cause error first (a4e05e8)
- use
wts-client
NPM package (#4183) (53dd8d1)
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)
BREAKING CHANGES
- none
5.39.14 (2024-09-18)
Bug Fixes
- api-file-manager: use precalculated asset size and add logging (bc771b0)
- api-headless-cms-ddb-es: add default tie breaker for elasticsearch (1c2ae12)
- api-headless-cms-ddb-es: use id as tie breaker (615413f)
- api-headless-cms: always output cursor (85beabc)
- api-page-builder: intercept search phase exception (be6dc85)
- make entry/revision action labels more explicit (#4280) (1d23eb7)
5.39.13 (2024-09-12)
Bug Fixes
5.39.12 (2024-09-11)
Bug Fixes
- app-file-manager: use bind prefix context to render extensions (7bb3196)
- ensure field values are preserved when deleting latest revision (#4253) (a6f2221)
- improve UI/UX around deletion of entry revisions (#4260) (78121c6)
- mark prev published revision as unpublished (
createFrom
mutation) (#4258) (b1856b1) - refresh revs list after (#4255) (420cc08)
5.39.10 (2024-08-16)
Bug Fixes
- add retries to read ops (307efff)
- allow scanning with retries (d95d4e6)
- export
ExecuteWithRetryOptions
(4ed822c) - improve error logging for batch writes (29d7905)
- reduce maxChunk to 18 (4bdf4fa)
- reduce maxChunk to 18 (420603d)
- reduce maxChunk to 20 (1023b01)
- retry read ops (e557727)
- update dependencies (641d166)
- wrap whole process into try/catch and ensure process doesn't fail (ea9221b)