v5.39.7
webiny/webiny-jsv5.39.7Jun 12, 2024by adrians5j
AI Summary
Addresses security, permission handling, and data migration performance. Includes meta field deprecation and new data migration tools.
Key Highlights
- Security fixes for Cognito and Auth0 handling of unauthorized tenant access.
- Deprecated `publishedOn` and `ownedBy` fields in favor of new meta fields.
- Performance improvements for the 5.39.0 meta fields data migration.
- New mock data generation task for testing purposes.
- Added health and node checks for Elasticsearch.
New Features
- Mock data generation task.
- Elasticsearch health and node checks.
- Support for migration skipping.
Full Release Notes
## [5.39.7](https://github.com/webiny/webiny-js/compare/v5.39.6...v5.39.7) (2024-06-12) ### Bug Fixes * **api-security-cognito:** apply admin user plugins to "admin" identity only ([ce7781a](https://github.com/webiny/webiny-js/commit/ce7781a9eaf6378192a20fc0f32939823bcbc595)) * ensure old meta field values are returned ([#4161](https://github.com/webiny/webiny-js/issues/4161)) ([96f2f69](https://github.com/webiny/webiny-js/commit/96f2f699b6c80a870e085329744cdee0b38f1f3f)) * **api-form-builder:** check both global and form recaptcha settings ([c1849b3](https://github.com/webiny/webiny-js/commit/c1849b33c04115a12008e1b060f42682435d735b)) * **api-security-auth0:** expose tenant access control ([1359b71](https://github.com/webiny/webiny-js/commit/1359b71a00dbe6d0212272f84cfe64174318e960)) * deprecate `publishedOn` and `ownedBy` fields and make new meta fields nullable ([#4156](https://github.com/webiny/webiny-js/issues/4156)) ([49e3958](https://github.com/webiny/webiny-js/commit/49e39588e8ccf2acd3351643856692f8011c5136)) * expect the possibility of `settings`object being null ([#4157](https://github.com/webiny/webiny-js/issues/4157)) ([38eee1c](https://github.com/webiny/webiny-js/commit/38eee1c2641d07c0eba18afe27a88ae132758b03)) * improve 5.39.6 meta fields data migration performance ([#4154](https://github.com/webiny/webiny-js/issues/4154)) ([6d1cb1c](https://github.com/webiny/webiny-js/commit/6d1cb1c7aa4b841b96eb002da3a00f70e5b5eb18)) * introduce mock data generation task ([#4146](https://github.com/webiny/webiny-js/issues/4146)) ([f5b2367](https://github.com/webiny/webiny-js/commit/f5b2367ed570d2258c0e43e16b321aedb88a5b29)) * **api-elasticsearch:** health and node checks [skip ci] ([#4143](https://github.com/webiny/webiny-js/issues/4143)) ([d4a3c0c](https://github.com/webiny/webiny-js/commit/d4a3c0c6e761b832084e0f509caea78bc4a37bea)) * **api-headless-cms:** reference field id is now RevisionId scalar ([#4148](https://github.com/webiny/webiny-js/issues/4148)) ([dd80b51](https://github.com/webiny/webiny-js/commit/dd80b513c52fb53679036ea7e64e9849fdfd3732)) * **api-headless-cms-ddb-es:** unpublish latest record ([#4137](https://github.com/webiny/webiny-js/issues/4137)) ([14f3144](https://github.com/webiny/webiny-js/commit/14f314470f3b74ea06f8761cb03cc7aee1001024)) * **app-file-manager:** allow underscore in file aliases [skip ci] ([d45451c](https://github.com/webiny/webiny-js/commit/d45451c2cdbf1daef55fbb5671f36180d789fc60)) * **app-page-builder:** enable history snapshots on element drop ([3c3a88b](https://github.com/webiny/webiny-js/commit/3c3a88b867fe9be4123186261c8921dfafa661e0)) * **aws-layers:** add layers to ap-east-1 region ([91554b6](https://github.com/webiny/webiny-js/commit/91554b62d20170d4a81a7a49bcce35d4697d3de1)) * **data-migration:** add support for migration skipping [skip ci] ([8b1d932](https://github.com/webiny/webiny-js/commit/8b1d93200f0fc02f9bf9c5105ef58c9748cf4195)) * **serverless-cms-aws:** add WEBINY_ADMIN_ENV and WEBINY_WEBSITE_ENV ([f365509](https://github.com/webiny/webiny-js/commit/f3655093329f905529fa93582270da7f43df6e8b)) * add `--data-migration-reporter` flag in order to optionally hide migration logs ([#4136](https://github.com/webiny/webiny-js/issues/4136)) ([7ad4374](https://github.com/webiny/webiny-js/commit/7ad4374cf02e73315f1b78e20b820e607a92adb2)) * replace `--data-migration-reporter` with `WEBINY_MIGRATION_LOG_STREAMING` env var ([#4139](https://github.com/webiny/webiny-js/issues/4139)) ([68b9185](https://github.com/webiny/webiny-js/commit/68b9185e64023cb28c6fd4f86d993d0301bf284c))