v5.40.4

webiny/webiny-jsv5.40.4Aug 2, 2024by adrians5j

AI Summary

Optimizes the Headless CMS and Lexical editor performance while fixing cache control and trash bin handling.

Key Highlights

  • Improved cache control headers in file manager
  • Optimized lexical editor state updates and updated to v0.16.1
  • Improved Headless CMS trash bin and form state tracking

Full Release Notes

## [5.40.4](https://github.com/webiny/webiny-js/compare/v5.40.3...v5.40.4) (2024-08-02)


### Bug Fixes

* **api-file-manager:** improve handling of cache-control headers ([5795b78](https://github.com/webiny/webiny-js/commit/5795b78c0b0e8be7b96a1f459025af523c6b2ab4))
* **app-headless-cms:** do not set dirty model unless it changed ([#4207](https://github.com/webiny/webiny-js/issues/4207)) ([4a16b87](https://github.com/webiny/webiny-js/commit/4a16b8724abd9e53514fc7bcbbbeedfb26e39706))
* **app-headless-cms:** ensure trash bin is empty before deleting content model ([#4212](https://github.com/webiny/webiny-js/issues/4212)) ([1be8d8c](https://github.com/webiny/webiny-js/commit/1be8d8c3ebb404e7582ee9b426d8ec870afb5b99))
* **app-headless-cms:** improve tracking of changes in the ContentEntryForm ([4dcffa5](https://github.com/webiny/webiny-js/commit/4dcffa5008416dd9056bb4b360ed8b5fc756a867))
* **app-headless-cms:** pass default value to nested multiple values ([#4211](https://github.com/webiny/webiny-js/issues/4211)) ([badd76f](https://github.com/webiny/webiny-js/commit/badd76fa879c24b1e676e02d25cc9fec5b568b52))
* **app-headless-cms:** pass placeholder to select field renderer ([#4209](https://github.com/webiny/webiny-js/issues/4209)) ([b638f0d](https://github.com/webiny/webiny-js/commit/b638f0dc7f04cbb433f416de7a224a52e4eb4d70))
* **form:** track whether the form is in its original state ([244b8a9](https://github.com/webiny/webiny-js/commit/244b8a9a7aefc2eac06155e3a69db7649aff3907))
* **lexical-editor:** optimize editor state update and onChange execution ([e739428](https://github.com/webiny/webiny-js/commit/e739428a01a5af222626845a2bdc91a24389acd5))
* **lexical-editor:** update lexical deps to 0.16.1 ([b773167](https://github.com/webiny/webiny-js/commit/b7731674a7da670a54ffc0dfbc2ffddb1d17f470))
* **project-utils:** force webpack to use the CJS build of Lexical ([4525f46](https://github.com/webiny/webiny-js/commit/4525f46683cf30f443e002e3eb6c47d9290047c0))
* **ui:** optimize DelayedOnChange state updates ([e91d02a](https://github.com/webiny/webiny-js/commit/e91d02a373a1d0c8d725940867f4a992b0aae346))