Skip to content

Commit 4200aa0

Browse files
colomolodependabot[bot]ronaldronsonsemantic-release-botandipaetzold
authored
feat: [] Update canary branch (#1552)
* chore(deps-dev): bump contentful-management from 10.9.0 to 10.9.1 (#1329) * chore(deps-dev): bump @types/jsdom from 16.2.15 to 20.0.0 (#1331) * chore(deps-dev): bump contentful-management from 10.9.1 to 10.10.0 (#1332) * Feat/get tasks query params [ZEND-2486] (#1330) * feat: add query params to getTasks method of entry * deps: bump contentful-management * Feat/get tasks query params [] (#1334) * feat: add query params to getTasks method of entry * chore(deps-dev): bump rollup from 2.77.0 to 2.77.1 (#1336) * feat: add query param to getTasks (#1335) feat: add optional param in getTasks method * chore: 4.10.0 [skip ci] # [4.10.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.9.0...v4.10.0) (2022-07-26) ### Features * add query param to getTasks ([#1335](https://github.com/contentful/ui-extensions-sdk/issues/1335)) ([8e79721](https://github.com/contentful/ui-extensions-sdk/commit/8e79721b9a60adb181e67c87831674dd78145588)) * chore(deps-dev): bump rollup from 2.77.1 to 2.77.2 (#1337) * feat: `init` can be called at any time (#1319) When `init` is called and no `connect` message has been received at that point in time, an `init` message is sent to the parent window. * chore: 4.11.0 [skip ci] # [4.11.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.10.0...v4.11.0) (2022-08-01) ### Features * `init` can be called at any time ([#1319](https://github.com/contentful/ui-extensions-sdk/issues/1319)) ([d95d441](https://github.com/contentful/ui-extensions-sdk/commit/d95d44131de72f9ecbb4cac4f2439bd6dd05a912)) * fix: add missing properties to new `init` method (#1338) fix: add missing properties to new `init` method * chore: 4.11.1 [skip ci] ## [4.11.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.11.0...v4.11.1) (2022-08-02) ### Bug Fixes * add missing properties to new `init` method ([#1338](https://github.com/contentful/ui-extensions-sdk/issues/1338)) ([4370508](https://github.com/contentful/ui-extensions-sdk/commit/4370508149337e6b7355f700b7d24f67f80434c7)) * chore(deps-dev): bump @testing-library/dom from 8.16.0 to 8.16.1 (#1339) * chore(deps-dev): bump @testing-library/dom from 8.16.1 to 8.17.1 (#1341) * chore(deps-dev): bump contentful-management from 10.10.0 to 10.11.0 (#1342) * chore(deps-dev): bump rollup from 2.77.2 to 2.77.3 (#1343) * feat: ui-config updates [EXT-3738] (#1344) feat: ui-config type * chore: 4.12.0 [skip ci] # [4.12.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.11.1...v4.12.0) (2022-08-15) ### Features * ui-config updates [EXT-3738] ([#1344](https://github.com/contentful/ui-extensions-sdk/issues/1344)) ([524a701](https://github.com/contentful/ui-extensions-sdk/commit/524a701c43597a874218cdc458924b82087aa8c8)) * chore(deps-dev): bump rollup from 2.77.3 to 2.78.0 (#1346) * chore(deps-dev): bump rollup from 2.78.0 to 2.78.1 (#1348) * chore(deps-dev): bump rollup-plugin-typescript2 from 0.32.1 to 0.33.0 (#1349) * chore(deps-dev): bump semantic-release from 19.0.3 to 19.0.4 (#1350) * chore(deps-dev): bump semantic-release from 19.0.4 to 19.0.5 (#1351) * chore(deps-dev): bump eslint-plugin-react from 7.30.1 to 7.31.0 (#1352) * chore(deps-dev): bump eslint-plugin-promise from 6.0.0 to 6.0.1 (#1353) * chore(deps-dev): bump typescript from 4.7.4 to 4.8.2 (#1354) * chore(deps-dev): bump eslint-plugin-react from 7.31.0 to 7.31.1 (#1355) * chore(deps-dev): bump rollup from 2.78.1 to 2.79.0 (#1356) * chore(deps-dev): bump eslint-plugin-react from 7.31.1 to 7.31.6 (#1359) * chore(deps-dev): bump contentful-management from 10.12.0 to 10.12.1 (#1358) * chore(deps-dev): bump eslint-plugin-react from 7.31.6 to 7.31.7 (#1360) * chore(deps-dev): bump contentful-management from 10.12.1 to 10.13.0 (#1361) * chore(deps-dev): bump typescript from 4.8.2 to 4.8.3 (#1362) * chore(deps-dev): bump eslint-plugin-react from 7.31.7 to 7.31.8 (#1363) * fix: make ContentEntityType more specific (#1328) * chore: 4.12.1 [skip ci] ## [4.12.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.12.0...v4.12.1) (2022-09-12) ### Bug Fixes * make ContentEntityType more specific ([#1328](https://github.com/contentful/ui-extensions-sdk/issues/1328)) ([99bda6e](https://github.com/contentful/ui-extensions-sdk/commit/99bda6ef13c91bc3f4bb06ae486f1875b7045895)) * chore(deps-dev): bump rollup-plugin-typescript2 from 0.33.0 to 0.34.0 (#1364) * chore(deps-dev): bump contentful-management from 10.13.0 to 10.14.0 (#1365) * chore(deps-dev): bump @testing-library/dom from 8.17.1 to 8.18.0 (#1366) * chore(deps-dev): bump @testing-library/dom from 8.18.0 to 8.18.1 (#1367) * chore(deps-dev): bump rollup from 2.79.0 to 2.79.1 (#1368) * chore(deps-dev): bump contentful-management from 10.14.0 to 10.15.0 (#1369) * chore(deps-dev): bump contentful-management from 10.15.0 to 10.15.1 (#1370) * chore(deps-dev): bump jsdom from 20.0.0 to 20.0.1 (#1374) * chore(deps-dev): bump @types/mocha from 9.1.1 to 10.0.0 (#1372) * chore(deps-dev): bump typescript from 4.8.3 to 4.8.4 (#1371) * chore(deps-dev): bump mocha-junit-reporter from 2.0.2 to 2.1.0 (#1373) * chore(deps-dev): bump sinon from 14.0.0 to 14.0.1 (#1376) * chore(deps-dev): bump rollup-plugin-typescript2 from 0.34.0 to 0.34.1 (#1375) * chore(deps-dev): bump eslint-plugin-react from 7.31.8 to 7.31.9 (#1377) * chore(deps-dev): bump @testing-library/dom from 8.18.1 to 8.19.0 (#1378) * chore(deps-dev): bump eslint-plugin-react from 7.31.9 to 7.31.10 (#1379) * chore(deps-dev): bump contentful-management from 10.15.1 to 10.16.0 (#1380) * chore(deps-dev): bump contentful-management from 10.16.0 to 10.18.0 (#1381) * chore(deps-dev): bump eslint-plugin-promise from 6.0.1 to 6.1.0 (#1382) * chore(deps-dev): bump mocha from 10.0.0 to 10.1.0 (#1384) * chore(deps-dev): bump contentful-management from 10.18.0 to 10.18.1 (#1383) * chore(deps-dev): bump eslint-plugin-promise from 6.1.0 to 6.1.1 (#1386) * chore(deps-dev): bump contentful-management from 10.18.1 to 10.18.2 (#1387) * feat: add home location [EXT-3684] (#1388) Co-authored-by: Andi Pätzold <[email protected]> Co-authored-by: Martin Walker <[email protected]> * chore: 4.13.0 [skip ci] # [4.13.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.12.1...v4.13.0) (2022-10-24) ### Features * add home location [EXT-3684] ([#1388](https://github.com/contentful/ui-extensions-sdk/issues/1388)) ([9193e43](https://github.com/contentful/ui-extensions-sdk/commit/9193e433e3265a5a4bdc2e23d0a8dcad74b15771)) * chore(deps-dev): bump contentful-management from 10.18.2 to 10.19.0 (#1390) * chore: setup vault [EXT-4071] (#1389) chore: setup vault * chore(deps-dev): bump mocha-junit-reporter from 2.1.0 to 2.1.1 (#1391) * chore(deps-dev): bump tslib from 2.4.0 to 2.4.1 (#1394) * chore(deps-dev): bump contentful-management from 10.19.0 to 10.19.1 (#1395) * chore: use vault secrets [EXT-4071] (#1392) chore: use vault secrets Co-authored-by: Martin Walker <[email protected]> * chore(deps-dev): bump husky from 8.0.1 to 8.0.2 (#1396) * chore(deps-dev): bump jsdom and @types/jsdom (#1401) * chore(deps-dev): bump chai from 4.3.6 to 4.3.7 (#1399) * chore(deps-dev): bump sinon from 14.0.1 to 14.0.2 (#1397) * chore(deps-dev): bump @types/sinon-chai from 3.2.8 to 3.2.9 (#1400) * chore(deps-dev): bump contentful-management from 10.19.1 to 10.19.2 (#1398) * chore(deps-dev): bump contentful-management from 10.19.2 to 10.19.3 (#1402) * chore(deps-dev): bump contentful-management from 10.19.3 to 10.19.4 (#1403) * chore(deps-dev): bump contentful-management from 10.19.4 to 10.20.1 (#1404) * chore(deps-dev): bump mocha-junit-reporter from 2.1.1 to 2.2.0 (#1405) * chore(deps-dev): bump typescript from 4.8.4 to 4.9.3 (#1406) * chore(deps-dev): bump contentful-management from 10.20.1 to 10.21.0 (#1407) * chore(deps-dev): bump contentful-management from 10.21.0 to 10.21.1 (#1408) * chore(deps-dev): bump jsdom from 20.0.2 to 20.0.3 (#1409) * chore(deps-dev): bump eslint-plugin-react from 7.31.10 to 7.31.11 (#1410) * chore(deps-dev): bump contentful-management from 10.21.1 to 10.21.2 (#1411) * chore(deps-dev): bump prettier from 2.7.1 to 2.8.0 (#1412) * chore(deps-dev): bump contentful-management from 10.21.2 to 10.21.3 (#1413) * chore(deps-dev): bump contentful-management from 10.21.3 to 10.21.4 (#1414) * chore(deps-dev): bump lint-staged from 13.0.3 to 13.0.4 (#1415) * chore(deps-dev): bump @types/mocha from 10.0.0 to 10.0.1 (#1416) * chore(deps-dev): bump sinon from 14.0.2 to 15.0.0 (#1418) * chore(deps-dev): bump fs-extra from 10.1.0 to 11.0.0 (#1417) * chore(deps-dev): bump @semantic-release/changelog from 6.0.1 to 6.0.2 (#1419) * chore(deps-dev): bump fs-extra from 11.0.0 to 11.1.0 (#1421) * chore(deps-dev): bump contentful-management from 10.21.4 to 10.21.5 (#1420) * chore(deps-dev): bump contentful-management from 10.21.5 to 10.21.6 (#1422) * chore(deps-dev): bump lint-staged from 13.0.4 to 13.1.0 (#1423) * chore(deps-dev): bump contentful-management from 10.21.6 to 10.22.0 (#1424) * chore(deps-dev): bump prettier from 2.8.0 to 2.8.1 (#1426) * chore(deps-dev): bump typescript from 4.9.3 to 4.9.4 (#1427) * chore(deps-dev): bump mochawesome-merge from 4.2.1 to 4.2.2 (#1428) * chore(deps-dev): bump mocha from 10.1.0 to 10.2.0 (#1429) * chore(deps-dev): bump contentful-management from 10.22.0 to 10.23.0 (#1431) * chore(deps-dev): bump contentful-management from 10.23.0 to 10.24.0 (#1432) * chore: do not use `npm-read` secret (#1433) * chore(deps-dev): bump sinon from 15.0.0 to 15.0.1 (#1434) * chore(deps-dev): bump contentful-management from 10.24.0 to 10.24.1 (#1435) * chore(deps-dev): bump contentful-management from 10.24.1 to 10.25.0 (#1436) * feat: add type for CMA client (#1430) Co-authored-by: Andi Pätzold <[email protected]> * chore: 4.14.0 [skip ci] # [4.14.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.13.0...v4.14.0) (2022-12-22) ### Features * add type for CMA client ([#1430](https://github.com/contentful/ui-extensions-sdk/issues/1430)) ([8eb1847](https://github.com/contentful/ui-extensions-sdk/commit/8eb1847b7d779393d0a11c1fe4567c6879dc705f)) * chore: update package.json description (#1438) * chore: use ecosystem bot for releases (#1437) * chore(deps-dev): bump @testing-library/dom from 8.19.0 to 8.19.1 (#1439) * chore(deps-dev): bump contentful-management from 10.25.0 to 10.26.0 (#1440) * chore: remove workflows version number (#1443) `workflows.version` is deprecated since config version 2.1: https://discuss.circleci.com/t/circleci-2-1-config-overview/26057 * refactor: type Signal & MemoizedSignal (#1442) * refactor: type Signal & MemoizedSignal * refactor: use generic time in contructor * fix: metadata can be undefined * refactor: use unknown instead of any * refactor: use `unknown` in `Channel` * fix: types of sdk.editor & sdk.navigator (#1441) * fix: types of sdk.editor * fix: types of sdk.navigator * chore: 4.14.1 [skip ci] ## [4.14.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.14.0...v4.14.1) (2022-12-29) ### Bug Fixes * types of sdk.editor & sdk.navigator ([#1441](https://github.com/contentful/ui-extensions-sdk/issues/1441)) ([b514498](https://github.com/contentful/ui-extensions-sdk/commit/b514498ea67bdad219a1ac766a546fa25df898f3)) * chore(deps-dev): bump eslint-config-prettier from 8.5.0 to 8.6.0 (#1445) * chore(deps-dev): bump husky from 8.0.2 to 8.0.3 (#1446) * chore(deps): bump json5 from 1.0.1 to 1.0.2 (#1447) * chore(deps-dev): bump prettier from 2.8.1 to 2.8.2 (#1448) * chore(deps-dev): bump semantic-release from 19.0.5 to 20.0.2 (#1449) * chore(deps-dev): bump @types/fs-extra from 9.0.13 to 11.0.0 (#1450) * chore(deps-dev): bump jsdom from 20.0.3 to 21.0.0 (#1451) * chore(deps-dev): bump eslint-plugin-react from 7.31.11 to 7.32.0 (#1452) * chore(deps-dev): bump eslint-plugin-import from 2.26.0 to 2.27.4 (#1454) * chore(deps-dev): bump @types/fs-extra from 11.0.0 to 11.0.1 (#1453) * chore(deps-dev): bump prettier from 2.8.2 to 2.8.3 (#1455) * chore(deps-dev): bump @testing-library/dom from 8.19.1 to 8.20.0 (#1456) * chore(deps-dev): bump eslint-plugin-import from 2.27.4 to 2.27.5 (#1457) * chore(deps-dev): bump eslint-plugin-react from 7.32.0 to 7.32.1 (#1458) * chore: pin semantic release [EXT-4264] (#1459) chore: pin semantic release * chore(deps-dev): bump contentful-management from 10.26.0 to 10.27.0 (#1460) * chore(deps-dev): bump contentful-management from 10.27.0 to 10.27.2 (#1462) * chore(deps-dev): bump jsdom from 21.0.0 to 21.1.0 (#1461) * chore(deps-dev): bump tslib from 2.4.1 to 2.5.0 (#1463) * chore(deps-dev): bump eslint-plugin-react from 7.32.1 to 7.32.2 (#1464) * chore(deps-dev): bump typescript from 4.9.4 to 4.9.5 (#1465) * chore(deps-dev): bump contentful-management from 10.27.2 to 10.27.3 (#1466) * chore(deps-dev): bump contentful-management from 10.27.3 to 10.27.4 (#1467) * feat: expose automation tags on entry.sys [] (#1468) feat: expose automation tags on entry.sys * chore: 4.15.0 [skip ci] # [4.15.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.14.1...v4.15.0) (2023-02-06) ### Features * expose automation tags on entry.sys [] ([#1468](https://github.com/contentful/ui-extensions-sdk/issues/1468)) ([a5cde02](https://github.com/contentful/ui-extensions-sdk/commit/a5cde02ee68012afbd898e442f65ca6a4f1e9410)) * chore(deps-dev): bump @types/jsdom from 20.0.1 to 21.1.0 (#1469) * chore(deps-dev): bump contentful-management from 10.27.4 to 10.29.1 (#1470) * chore(deps-dev): bump lint-staged from 13.1.0 to 13.1.1 (#1471) * chore(deps-dev): bump prettier from 2.8.3 to 2.8.4 (#1472) * feat: initial values & getters for field/editor API (#1444) # Initial values When passing a callback to the following methods at the very start of the app, it was called with `undefined` instead of its initial value - `sdk.field.onIsDisabledChanged` - `sdk.field.onSchemaErrorsChanged` - `sdk.editor.onLocaleSettingsChanged` - `sdk.editor.onShowDisabledFieldsChanged` This is now fixed and the callback is immediately invoked with the correct value. # Getters The following methods are added - `sdk.field.getIsDisabled()` - `sdk.field.getSchemaErrors()` - `sdk.editor.getLocaleSettings()` - `sdk.editor.getShowHiddenFields()` # Deprecation `sdk.editor.onShowDisabledFieldsChanged` is now deprecated and replaced by `sdk.editor.onShowHiddenFieldsChanged` * chore: 4.16.0 [skip ci] # [4.16.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.15.0...v4.16.0) (2023-02-10) ### Features * initial values & getters for field/editor API ([#1444](https://github.com/contentful/ui-extensions-sdk/issues/1444)) ([fa98f30](https://github.com/contentful/ui-extensions-sdk/commit/fa98f309293f794359e44ac2eda2178ad25c5e6f)) * chore(deps-dev): bump contentful-management from 10.29.1 to 10.29.3 (#1473) * chore(deps-dev): bump lint-staged from 13.1.1 to 13.1.2 (#1474) * chore(deps-dev): bump @testing-library/dom from 8.20.0 to 9.0.0 (#1475) * chore(deps-dev): bump contentful-management from 10.29.3 to 10.29.4 (#1476) * chore(deps-dev): bump contentful-management from 10.29.4 to 10.30.0 (#1477) * chore(deps-dev): bump eslint-config-prettier from 8.6.0 to 8.7.0 (#1481) * chore(deps-dev): bump @testing-library/dom from 9.0.0 to 9.0.1 (#1482) * chore: ATOOLS-1486 migrate to github-auto-merge (#1479) * chore(deps-dev): bump lint-staged from 13.1.2 to 13.2.0 (#1483) Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.1.2 to 13.2.0. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Commits](https://github.com/okonet/lint-staged/compare/v13.1.2...v13.2.0) --- updated-dependencies: - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump sinon from 15.0.1 to 15.0.2 (#1484) Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.1 to 15.0.2. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.0.1...v15.0.2) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump mochawesome-merge from 4.2.2 to 4.3.0 (#1486) Bumps [mochawesome-merge](https://github.com/Antontelesh/mochawesome-merge) from 4.2.2 to 4.3.0. - [Release notes](https://github.com/Antontelesh/mochawesome-merge/releases) - [Commits](https://github.com/Antontelesh/mochawesome-merge/compare/v4.2.2...v4.3.0) --- updated-dependencies: - dependency-name: mochawesome-merge dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump jsdom from 21.1.0 to 21.1.1 (#1485) Bumps [jsdom](https://github.com/jsdom/jsdom) from 21.1.0 to 21.1.1. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/21.1.0...21.1.1) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump typescript from 4.9.5 to 5.0.2 (#1487) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.0.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier from 2.8.4 to 2.8.5 (#1488) Bumps [prettier](https://github.com/prettier/prettier) from 2.8.4 to 2.8.5. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.4...2.8.5) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump fs-extra from 11.1.0 to 11.1.1 (#1489) Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.1.0 to 11.1.1. - [Release notes](https://github.com/jprichardson/node-fs-extra/releases) - [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md) - [Commits](https://github.com/jprichardson/node-fs-extra/compare/11.1.0...11.1.1) --- updated-dependencies: - dependency-name: fs-extra dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump eslint-config-prettier from 8.7.0 to 8.8.0 (#1490) Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.7.0 to 8.8.0. - [Release notes](https://github.com/prettier/eslint-config-prettier/releases) - [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.7.0...v8.8.0) --- updated-dependencies: - dependency-name: eslint-config-prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.30.0 to 10.30.1 (#1492) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.30.0 to 10.30.1. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.30.0...v10.30.1) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier from 2.8.5 to 2.8.6 (#1491) Bumps [prettier](https://github.com/prettier/prettier) from 2.8.5 to 2.8.6. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.5...2.8.6) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/jsdom from 21.1.0 to 21.1.1 (#1493) Bumps [@types/jsdom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jsdom) from 21.1.0 to 21.1.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jsdom) --- updated-dependencies: - dependency-name: "@types/jsdom" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.30.1 to 10.31.1 (#1494) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.30.1 to 10.31.1. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.30.1...v10.31.1) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.31.1 to 10.31.2 (#1495) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.31.1 to 10.31.2. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.31.1...v10.31.2) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump sinon from 15.0.2 to 15.0.3 (#1498) Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.2 to 15.0.3. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.0.2...v15.0.3) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @semantic-release/changelog from 6.0.2 to 6.0.3 (#1497) Bumps [@semantic-release/changelog](https://github.com/semantic-release/changelog) from 6.0.2 to 6.0.3. - [Release notes](https://github.com/semantic-release/changelog/releases) - [Commits](https://github.com/semantic-release/changelog/compare/v6.0.2...v6.0.3) --- updated-dependencies: - dependency-name: "@semantic-release/changelog" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier from 2.8.6 to 2.8.7 (#1496) Bumps [prettier](https://github.com/prettier/prettier) from 2.8.6 to 2.8.7. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.6...2.8.7) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.31.2 to 10.31.3 (#1499) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.31.2 to 10.31.3. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.31.2...v10.31.3) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @testing-library/dom from 9.0.1 to 9.2.0 (#1500) Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 9.0.1 to 9.2.0. - [Release notes](https://github.com/testing-library/dom-testing-library/releases) - [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.0.1...v9.2.0) --- updated-dependencies: - dependency-name: "@testing-library/dom" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(Entities): add more supported entities to app sdk's cma [EXT-4359] (#1501) feat(Entities): add more supported entities to cma * chore: 4.17.0 [skip ci] # [4.17.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.16.0...v4.17.0) (2023-03-29) ### Features * **Entities:** add more supported entities to app sdk's cma [EXT-4359] ([#1501](https://github.com/contentful/ui-extensions-sdk/issues/1501)) ([43e6c96](https://github.com/contentful/ui-extensions-sdk/commit/43e6c96d5c94428a717b64d3b4c0edee4982e6e0)) * chore(deps-dev): bump contentful-management from 10.31.3 to 10.31.4 (#1502) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.31.3 to 10.31.4. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.31.3...v10.31.4) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump typescript from 5.0.2 to 5.0.3 (#1503) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.2 to 5.0.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/commits) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.31.4 to 10.31.5 (#1504) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.31.4 to 10.31.5. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.31.4...v10.31.5) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: [] Deprecate XXXExtensionSDK types in favour of XXXAppSDK (#1505) * refactor: add and deprecate types * refactor: adjust usage * refactor: use alias and link to type * refactor: replace usage of knowsdk * chore: 4.17.1 [skip ci] ## [4.17.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.17.0...v4.17.1) (2023-04-05) ### Bug Fixes * [] Deprecate XXXExtensionSDK types in favour of XXXAppSDK ([#1505](https://github.com/contentful/ui-extensions-sdk/issues/1505)) ([a8ee8e7](https://github.com/contentful/ui-extensions-sdk/commit/a8ee8e7a430fbc9e31392603b7f14f30fe307eab)) * chore(deps-dev): bump lint-staged from 13.2.0 to 13.2.1 (#1506) Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.0 to 13.2.1. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Commits](https://github.com/okonet/lint-staged/compare/v13.2.0...v13.2.1) --- updated-dependencies: - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump typescript from 5.0.3 to 5.0.4 (#1507) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.3 to 5.0.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.3...v5.0.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.31.5 to 10.32.0 (#1509) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.31.5 to 10.32.0. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.31.5...v10.32.0) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/sinon from 10.0.13 to 10.0.14 (#1510) Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 10.0.13 to 10.0.14. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon) --- updated-dependencies: - dependency-name: "@types/sinon" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump sinon from 15.0.3 to 15.0.4 (#1511) Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.3 to 15.0.4. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.0.3...v15.0.4) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier from 2.8.7 to 2.8.8 (#1512) Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 2.8.8. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.7...2.8.8) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump lint-staged from 13.2.1 to 13.2.2 (#1513) Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.1 to 13.2.2. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Commits](https://github.com/okonet/lint-staged/compare/v13.2.1...v13.2.2) --- updated-dependencies: - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump jsdom from 21.1.1 to 22.0.0 (#1514) Bumps [jsdom](https://github.com/jsdom/jsdom) from 21.1.1 to 22.0.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/21.1.1...22.0.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.32.0 to 10.33.0 (#1515) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.32.0 to 10.33.0. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.32.0...v10.33.0) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.33.0 to 10.34.0 (#1516) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.33.0 to 10.34.0. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.33.0...v10.34.0) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.34.0 to 10.34.1 (#1517) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.34.0 to 10.34.1. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.34.0...v10.34.1) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.34.1 to 10.35.1 (#1518) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.34.1 to 10.35.1. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.34.1...v10.35.1) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.35.1 to 10.35.3 (#1519) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.35.1 to 10.35.3. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.35.1...v10.35.3) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @testing-library/dom from 9.2.0 to 9.3.0 (#1520) Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 9.2.0 to 9.3.0. - [Release notes](https://github.com/testing-library/dom-testing-library/releases) - [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.2.0...v9.3.0) --- updated-dependencies: - dependency-name: "@testing-library/dom" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/sinon from 10.0.14 to 10.0.15 (#1521) Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 10.0.14 to 10.0.15. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon) --- updated-dependencies: - dependency-name: "@types/sinon" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: exposed createWithResponse function[] (#1522) * fix: exposed createWithResponse function * fix: exposed getCallDetails function * chore: 4.17.2 [skip ci] ## [4.17.2](https://github.com/contentful/ui-extensions-sdk/compare/v4.17.1...v4.17.2) (2023-05-17) ### Bug Fixes * exposed createWithResponse function[] ([#1522](https://github.com/contentful/ui-extensions-sdk/issues/1522)) ([2255541](https://github.com/contentful/ui-extensions-sdk/commit/2255541c5e535c98a45977258fcea8a99b9fa1a7)) * chore(deps-dev): bump tslib from 2.5.0 to 2.5.1 (#1523) Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.0 to 2.5.1. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](https://github.com/Microsoft/tslib/compare/2.5.0...2.5.1) --- updated-dependencies: - dependency-name: tslib dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump tslib from 2.5.1 to 2.5.2 (#1524) Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.1 to 2.5.2. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](https://github.com/Microsoft/tslib/compare/2.5.1...2.5.2) --- updated-dependencies: - dependency-name: tslib dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump sinon from 15.0.4 to 15.1.0 (#1525) Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.4 to 15.1.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.0.4...v15.1.0) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.35.3 to 10.35.4 (#1526) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.35.3 to 10.35.4. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.35.3...v10.35.4) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump jsdom from 22.0.0 to 22.1.0 (#1530) Bumps [jsdom](https://github.com/jsdom/jsdom) from 22.0.0 to 22.1.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/22.0.0...22.1.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.35.4 to 10.35.6 (#1532) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.35.4 to 10.35.6. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.35.4...v10.35.6) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump typescript from 5.0.4 to 5.1.3 (#1533) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.4...v5.1.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump tslib from 2.5.2 to 2.5.3 (#1534) Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.2 to 2.5.3. - [Release notes](https://github.com/Microsoft/tslib/releases) - [Commits](https://github.com/Microsoft/tslib/compare/2.5.2...v2.5.3) --- updated-dependencies: - dependency-name: tslib dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump contentful-management from 10.35.6 to 10.36.0 (#1535) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.35.6 to 10.36.0. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.35.6...v10.36.0) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump sinon from 15.1.0 to 15.1.1 (#1537) Bumps [sinon](https://github.com/sinonjs/sinon) from 15.1.0 to 15.1.1. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.1.0...v15.1.1) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump sinon from 15.1.1 to 15.1.2 (#1539) Bumps [sinon](https://github.com/sinonjs/sinon) from 15.1.1 to 15.1.2. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.1.1...v15.1.2) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: [EXT-3265] Add field name prop (#1527) * feat: add field name prop * fix: name field * chore: 4.18.0 [skip ci] # [4.18.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.17.2...v4.18.0) (2023-06-14) ### Features * [EXT-3265] Add field name prop ([#1527](https://github.com/contentful/ui-extensions-sdk/issues/1527)) ([4477e90](https://github.com/contentful/ui-extensions-sdk/commit/4477e90734440c10586b13cda424a6f78512eb39)) * feat: [EXT-3648][EXT-4380] Improve sdk.field types (#1529) * refactor: improve sdk.field types * fix: condition to check required properties * fix: revert changes in ts-config.json * fix: revert changes in ts-config.json * fix: never used to fix the optional * fix: revert tsconfog.json * test: trying to fix types * refactor: fix typings * chore: revert package-lock * fix: add more field types * fix: imports/exports * fix: imports and syntax * fix: external typings * chore: clean up imports and types * fix: linkType and items typings * fix: more typings and reorganize new types * feat: export FieldLinkType and expose linkType field --------- Co-authored-by: Yuri Mazursky <[email protected]> * chore: 4.19.0 [skip ci] # [4.19.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.18.0...v4.19.0) (2023-06-14) ### Features * [EXT-3648][EXT-4380] Improve sdk.field types ([#1529](https://github.com/contentful/ui-extensions-sdk/issues/1529)) ([ec0da5a](https://github.com/contentful/ui-extensions-sdk/commit/ec0da5a2ed399c18b1a479bcaa193cc480172c71)) * chore(deps-dev): bump @testing-library/dom from 9.3.0 to 9.3.1 (#1540) Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 9.3.0 to 9.3.1. - [Release notes](https://github.com/testing-library/dom-testing-library/releases) - [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.3.0...v9.3.1) --- updated-dependencies: - dependency-name: "@testing-library/dom" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: [] Add boolean field type (#1541) fix: add boolean field type * chore: 4.19.1 [skip ci] ## [4.19.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.19.0...v4.19.1) (2023-06-15) ### Bug Fixes * [] Add boolean field type ([#1541](https://github.com/contentful/ui-extensions-sdk/issues/1541)) ([ba52bdf](https://github.com/contentful/ui-extensions-sdk/commit/ba52bdfc5a100348bc576ab6d0b13cfe17b36d47)) * chore(deps-dev): bump sinon from 15.1.2 to 15.2.0 (#1543) Bumps [sinon](https://github.com/sinonjs/sinon) from 15.1.2 to 15.2.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v15.1.2...v15.2.0) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: expose cma in the sdk [EXT-3599] (#1536) * feat(cma): expose cma in the sdk [EXT-3599] * fix api spec * change plainclient to cma client * add test * changes to correct typing * move contentful-management from peer to direct dependency * fix: use correct plain client type * fix: import correct type * chore: cleanup * revert: client types * chore: remove contentful-management from dev dependencies --------- Co-authored-by: Mitch Goudy <[email protected]> Co-authored-by: Yuri Mazursky <[email protected]> * chore: 4.20.0 [skip ci] # [4.20.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.19.1...v4.20.0) (2023-06-22) ### Features * expose cma in the sdk [EXT-3599] ([#1536](https://github.com/contentful/ui-extensions-sdk/issues/1536)) ([942c5e0](https://github.com/contentful/ui-extensions-sdk/commit/942c5e0b98b651652a4c1fd5edcac3cd69ba0e9e)) * chore: update to Node 18 (#1544) * chore: update to Node 18 * chore: update dependabot.yml * chore(deps): bump contentful-management from 10.36.0 to 10.38.0 (#1545) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.36.0 to 10.38.0. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.36.0...v10.38.0) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: update node 18 in CI (#1546) * feat: adds optional types for parameters [EXT-4381] (#1538) * feat: adds optional types for installation, instance, and invocation parameters --------- Co-authored-by: Andi Pätzold <[email protected]> * chore: 4.21.0 [skip ci] # [4.21.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.20.0...v4.21.0) (2023-06-22) ### Features * adds optional types for parameters [EXT-4381] ([#1538](https://github.com/contentful/ui-extensions-sdk/issues/1538)) ([7cbad71](https://github.com/contentful/ui-extensions-sdk/commit/7cbad718111ba830b0c75921c06bfae437515411)) * chore(deps-dev): bump rollup-plugin-typescript2 from 0.34.1 to 0.35.0 (#1547) Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.34.1 to 0.35.0. - [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases) - [Changelog](https://github.com/ezolenko/rollup-plugin-typescript2/blob/master/CHANGELOG.md) - [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.1...0.35.0) --- updated-dependencies: - dependency-name: rollup-plugin-typescript2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * revert: expose cma in the sdk [EXT-3599] (#1548) * fix: revert expose cma in the sdk [EXT-3599] (#1549) * chore: 4.21.1 [skip ci] ## [4.21.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.21.0...v4.21.1) (2023-06-23) ### Bug Fixes * revert expose cma in the sdk [EXT-3599] ([#1549](https://github.com/contentful/ui-extensions-sdk/issues/1549)) ([7b58c94](https://github.com/contentful/ui-extensions-sdk/commit/7b58c9403d4af01bc409b1a2e77ccac193ab9c20)) ### Reverts * expose cma in the sdk [EXT-3599] ([#1548](https://github.com/contentful/ui-extensions-sdk/issues/1548)) ([9b8684f](https://github.com/contentful/ui-extensions-sdk/commit/9b8684fec4694fc68f0971a3b0be8bb9c48c20f2)) * chore(deps-dev): bump contentful-management from 10.36.0 to 10.38.2 (#1550) Bumps [contentful-management](https://github.com/contentful/contentful-management.js) from 10.36.0 to 10.38.2. - [Release notes](https://github.com/contentful/contentful-management.js/releases) - [Changelog](https://github.com/contentful/contentful-management.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/contentful/contentful-management.js/compare/v10.36.0...v10.38.2) --- updated-dependencies: - dependency-name: contentful-management dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ronaldronson <[email protected]> Co-authored-by: semantic-release-bot <[email protected]> Co-authored-by: Andi Pätzold <[email protected]> Co-authored-by: Kado <[email protected]> Co-authored-by: Kristoffer <[email protected]> Co-authored-by: Martin Walker <[email protected]> Co-authored-by: contentful-automation[bot] <100587065+contentful-automation[bot]@users.noreply.github.com> Co-authored-by: Julius Friedrich <[email protected]> Co-authored-by: James Bourne <[email protected]> Co-authored-by: Lorenz Weiß <[email protected]> Co-authored-by: Vikas Kumar <[email protected]> Co-authored-by: George Chios <[email protected]> Co-authored-by: Mitch Goudy <[email protected]> Co-authored-by: Gary Hepting <[email protected]>
1 parent 29d0804 commit 4200aa0

31 files changed

+5034
-12644
lines changed

.circleci/config.yml

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,42 @@
11
version: 2.1
22

3+
orbs:
4+
vault: contentful/vault@1
5+
36
jobs:
47
unit:
58
docker:
6-
- image: cimg/node:16.13.2
9+
- image: cimg/node:18.16.1
710
environment:
811
## this enables colors in the output
912
TERM: xterm
1013
steps:
1114
- checkout
12-
- run: npm ci
13-
- run: npm run lint
14-
- run: npm test
15-
- run: npm run build
16-
- run: npm run size
15+
- run:
16+
name: Npm Install
17+
command: npm ci
18+
- run:
19+
name: Run linter
20+
command: npm run lint
21+
- run:
22+
name: Run test
23+
command: npm test
24+
- run:
25+
name: Building
26+
command: npm run build
27+
- run:
28+
name: Sizing
29+
command: npm run size
1730
- store_test_results:
1831
path: test/unit/reports
1932

2033
semantic-release:
2134
docker:
22-
- image: cimg/node:16.13.2
35+
- image: cimg/node:18.16.1
2336
steps:
2437
- checkout
38+
- vault/get-secrets:
39+
template-preset: "semantic-release-ecosystem"
2540
- run:
2641
name: Setup NPM
2742
command: |
@@ -33,12 +48,15 @@ jobs:
3348
command: npm run semantic-release
3449

3550
workflows:
36-
version: 2
3751
# run on every commit
3852
commit:
3953
jobs:
40-
- unit
54+
- unit:
55+
context:
56+
- vault
4157
- semantic-release:
58+
context:
59+
- vault
4260
requires:
4361
- unit
4462
filters:

.contentful/vault-secrets.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 1
2+
services:
3+
github-action:
4+
policies:
5+
- dependabot
6+
circleci:
7+
policies:
8+
- semantic-release-ecosystem

.github/dependabot.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,6 @@ updates:
66
schedule:
77
interval: daily
88
open-pull-requests-limit: 99
9-
ignore:
10-
- dependency-name: contentful-management
11-
versions:
12-
- 7.14.1
13-
- 7.15.2
14-
- 7.16.0
15-
- dependency-name: typescript
16-
versions:
17-
- 4.2.2
18-
- 4.2.3
19-
- dependency-name: "@testing-library/dom"
20-
versions:
21-
- 7.30.2
22-
- dependency-name: rollup
23-
versions:
24-
- 2.41.0
25-
- 2.41.5
26-
- 2.42.4
27-
- 2.43.1
289
commit-message:
2910
prefix: chore
3011
include: scope

.github/workflows/dependabot-approve-and-request-merge.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on: pull_request_target
44

55
jobs:
66
worker:
7+
permissions:
8+
contents: write
9+
id-token: write
710
runs-on: ubuntu-latest
8-
911
if: github.actor == 'dependabot[bot]'
1012
steps:
11-
- uses: contentful/dependabot-auto-merge@v1
13+
- uses: contentful/github-auto-merge@v1
1214
with:
13-
github_token: ${{ secrets.CF_ECOSYSTEM_BOT_GITHUB_TOKEN_AUTO_APPROVE }}
15+
VAULT_URL: ${{ secrets.VAULT_URL }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.13.2
1+
v18

CHANGELOG.md

Lines changed: 96 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,109 @@
1-
# [4.10.0-alpha.4](https://github.com/contentful/ui-extensions-sdk/compare/v4.10.0-alpha.3...v4.10.0-alpha.4) (2022-08-15)
1+
## [4.21.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.21.0...v4.21.1) (2023-06-23)
2+
3+
### Bug Fixes
4+
5+
- revert expose cma in the sdk [EXT-3599] ([#1549](https://github.com/contentful/ui-extensions-sdk/issues/1549)) ([7b58c94](https://github.com/contentful/ui-extensions-sdk/commit/7b58c9403d4af01bc409b1a2e77ccac193ab9c20))
6+
7+
### Reverts
8+
9+
- expose cma in the sdk [EXT-3599] ([#1548](https://github.com/contentful/ui-extensions-sdk/issues/1548)) ([9b8684f](https://github.com/contentful/ui-extensions-sdk/commit/9b8684fec4694fc68f0971a3b0be8bb9c48c20f2))
10+
11+
# [4.21.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.20.0...v4.21.0) (2023-06-22)
212

313
### Features
414

5-
- update from master [] ([#1347](https://github.com/contentful/ui-extensions-sdk/issues/1347)) ([6145531](https://github.com/contentful/ui-extensions-sdk/commit/6145531d05becb467cd6fb68dca49507a6e18fcb)), closes [#1329](https://github.com/contentful/ui-extensions-sdk/issues/1329) [#1331](https://github.com/contentful/ui-extensions-sdk/issues/1331) [#1332](https://github.com/contentful/ui-extensions-sdk/issues/1332) [#1330](https://github.com/contentful/ui-extensions-sdk/issues/1330) [#1334](https://github.com/contentful/ui-extensions-sdk/issues/1334) [#1336](https://github.com/contentful/ui-extensions-sdk/issues/1336) [#1335](https://github.com/contentful/ui-extensions-sdk/issues/1335) [#1335](https://github.com/contentful/ui-extensions-sdk/issues/1335) [#1337](https://github.com/contentful/ui-extensions-sdk/issues/1337) [#1319](https://github.com/contentful/ui-extensions-sdk/issues/1319) [#1319](https://github.com/contentful/ui-extensions-sdk/issues/1319) [#1338](https://github.com/contentful/ui-extensions-sdk/issues/1338) [#1338](https://github.com/contentful/ui-extensions-sdk/issues/1338) [#1339](https://github.com/contentful/ui-extensions-sdk/issues/1339) [#1341](https://github.com/contentful/ui-extensions-sdk/issues/1341) [#1342](https://github.com/contentful/ui-extensions-sdk/issues/1342) [#1343](https://github.com/contentful/ui-extensions-sdk/issues/1343) [#1344](https://github.com/contentful/ui-extensions-sdk/issues/1344) [#1344](https://github.com/contentful/ui-extensions-sdk/issues/1344) [#1346](https://github.com/contentful/ui-extensions-sdk/issues/1346)
15+
- adds optional types for parameters [EXT-4381] ([#1538](https://github.com/contentful/ui-extensions-sdk/issues/1538)) ([7cbad71](https://github.com/contentful/ui-extensions-sdk/commit/7cbad718111ba830b0c75921c06bfae437515411))
16+
17+
# [4.20.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.19.1...v4.20.0) (2023-06-22)
18+
19+
### Features
20+
21+
- expose cma in the sdk [EXT-3599] ([#1536](https://github.com/contentful/ui-extensions-sdk/issues/1536)) ([942c5e0](https://github.com/contentful/ui-extensions-sdk/commit/942c5e0b98b651652a4c1fd5edcac3cd69ba0e9e))
22+
23+
## [4.19.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.19.0...v4.19.1) (2023-06-15)
24+
25+
### Bug Fixes
26+
27+
- [] Add boolean field type ([#1541](https://github.com/contentful/ui-extensions-sdk/issues/1541)) ([ba52bdf](https://github.com/contentful/ui-extensions-sdk/commit/ba52bdfc5a100348bc576ab6d0b13cfe17b36d47))
28+
29+
# [4.19.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.18.0...v4.19.0) (2023-06-14)
30+
31+
### Features
32+
33+
- [EXT-3648][EXT-4380] Improve sdk.field types ([#1529](https://github.com/contentful/ui-extensions-sdk/issues/1529)) ([ec0da5a](https://github.com/contentful/ui-extensions-sdk/commit/ec0da5a2ed399c18b1a479bcaa193cc480172c71))
34+
35+
# [4.18.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.17.2...v4.18.0) (2023-06-14)
36+
37+
### Features
38+
39+
- [EXT-3265] Add field name prop ([#1527](https://github.com/contentful/ui-extensions-sdk/issues/1527)) ([4477e90](https://github.com/contentful/ui-extensions-sdk/commit/4477e90734440c10586b13cda424a6f78512eb39))
40+
41+
## [4.17.2](https://github.com/contentful/ui-extensions-sdk/compare/v4.17.1...v4.17.2) (2023-05-17)
42+
43+
### Bug Fixes
44+
45+
- exposed createWithResponse function[] ([#1522](https://github.com/contentful/ui-extensions-sdk/issues/1522)) ([2255541](https://github.com/contentful/ui-extensions-sdk/commit/2255541c5e535c98a45977258fcea8a99b9fa1a7))
46+
47+
## [4.17.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.17.0...v4.17.1) (2023-04-05)
48+
49+
### Bug Fixes
50+
51+
- [] Deprecate XXXExtensionSDK types in favour of XXXAppSDK ([#1505](https://github.com/contentful/ui-extensions-sdk/issues/1505)) ([a8ee8e7](https://github.com/contentful/ui-extensions-sdk/commit/a8ee8e7a430fbc9e31392603b7f14f30fe307eab))
52+
53+
# [4.17.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.16.0...v4.17.0) (2023-03-29)
54+
55+
### Features
56+
57+
- **Entities:** add more supported entities to app sdk's cma [EXT-4359] ([#1501](https://github.com/contentful/ui-extensions-sdk/issues/1501)) ([43e6c96](https://github.com/contentful/ui-extensions-sdk/commit/43e6c96d5c94428a717b64d3b4c0edee4982e6e0))
58+
59+
# [4.16.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.15.0...v4.16.0) (2023-02-10)
60+
61+
### Features
62+
63+
- initial values & getters for field/editor API ([#1444](https://github.com/contentful/ui-extensions-sdk/issues/1444)) ([fa98f30](https://github.com/contentful/ui-extensions-sdk/commit/fa98f309293f794359e44ac2eda2178ad25c5e6f))
64+
65+
# [4.15.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.14.1...v4.15.0) (2023-02-06)
66+
67+
### Features
68+
69+
- expose automation tags on entry.sys [] ([#1468](https://github.com/contentful/ui-extensions-sdk/issues/1468)) ([a5cde02](https://github.com/contentful/ui-extensions-sdk/commit/a5cde02ee68012afbd898e442f65ca6a4f1e9410))
70+
71+
## [4.14.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.14.0...v4.14.1) (2022-12-29)
72+
73+
### Bug Fixes
74+
75+
- types of sdk.editor & sdk.navigator ([#1441](https://github.com/contentful/ui-extensions-sdk/issues/1441)) ([b514498](https://github.com/contentful/ui-extensions-sdk/commit/b514498ea67bdad219a1ac766a546fa25df898f3))
76+
77+
# [4.14.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.13.0...v4.14.0) (2022-12-22)
78+
79+
### Features
80+
81+
- add type for CMA client ([#1430](https://github.com/contentful/ui-extensions-sdk/issues/1430)) ([8eb1847](https://github.com/contentful/ui-extensions-sdk/commit/8eb1847b7d779393d0a11c1fe4567c6879dc705f))
82+
83+
# [4.13.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.12.1...v4.13.0) (2022-10-24)
84+
85+
### Features
86+
87+
- add home location [EXT-3684] ([#1388](https://github.com/contentful/ui-extensions-sdk/issues/1388)) ([9193e43](https://github.com/contentful/ui-extensions-sdk/commit/9193e433e3265a5a4bdc2e23d0a8dcad74b15771))
88+
89+
## [4.12.1](https://github.com/contentful/ui-extensions-sdk/compare/v4.12.0...v4.12.1) (2022-09-12)
90+
91+
### Bug Fixes
92+
93+
- make ContentEntityType more specific ([#1328](https://github.com/contentful/ui-extensions-sdk/issues/1328)) ([99bda6e](https://github.com/contentful/ui-extensions-sdk/commit/99bda6ef13c91bc3f4bb06ae486f1875b7045895))
694

795
# [4.12.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.11.1...v4.12.0) (2022-08-15)
896

997
### Features
1098

1199
- ui-config updates [EXT-3738] ([#1344](https://github.com/contentful/ui-extensions-sdk/issues/1344)) ([524a701](https://github.com/contentful/ui-extensions-sdk/commit/524a701c43597a874218cdc458924b82087aa8c8))
12100

101+
# [4.10.0-alpha.4](https://github.com/contentful/ui-extensions-sdk/compare/v4.10.0-alpha.3...v4.10.0-alpha.4) (2022-08-15)
102+
103+
### Features
104+
105+
- update from master [] ([#1347](https://github.com/contentful/ui-extensions-sdk/issues/1347)) ([6145531](https://github.com/contentful/ui-extensions-sdk/commit/6145531d05becb467cd6fb68dca49507a6e18fcb)), closes [#1329](https://github.com/contentful/ui-extensions-sdk/issues/1329) [#1331](https://github.com/contentful/ui-extensions-sdk/issues/1331) [#1332](https://github.com/contentful/ui-extensions-sdk/issues/1332) [#1330](https://github.com/contentful/ui-extensions-sdk/issues/1330) [#1334](https://github.com/contentful/ui-extensions-sdk/issues/1334) [#1336](https://github.com/contentful/ui-extensions-sdk/issues/1336) [#1335](https://github.com/contentful/ui-extensions-sdk/issues/1335) [#1335](https://github.com/contentful/ui-extensions-sdk/issues/1335) [#1337](https://github.com/contentful/ui-extensions-sdk/issues/1337) [#1319](https://github.com/contentful/ui-extensions-sdk/issues/1319) [#1319](https://github.com/contentful/ui-extensions-sdk/issues/1319) [#1338](https://github.com/contentful/ui-extensions-sdk/issues/1338) [#1338](https://github.com/contentful/ui-extensions-sdk/issues/1338) [#1339](https://github.com/contentful/ui-extensions-sdk/issues/1339) [#1341](https://github.com/contentful/ui-extensions-sdk/issues/1341) [#1342](https://github.com/contentful/ui-extensions-sdk/issues/1342) [#1343](https://github.com/contentful/ui-extensions-sdk/issues/1343) [#1344](https://github.com/contentful/ui-extensions-sdk/issues/1344) [#1344](https://github.com/contentful/ui-extensions-sdk/issues/1344) [#1346](https://github.com/contentful/ui-extensions-sdk/issues/1346)
106+
13107
# [4.10.0-alpha.3](https://github.com/contentful/ui-extensions-sdk/compare/v4.10.0-alpha.2...v4.10.0-alpha.3) (2022-08-10)
14108

15109
### Features

lib/api.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ import createNavigator from './navigator'
99
import createApp from './app'
1010
import locations from './locations'
1111
import {
12-
BaseExtensionSDK,
1312
EntryFieldInfo,
1413
NavigatorAPI,
15-
KnownSDK,
1614
ConnectMessage,
1715
JSONPatchItem,
16+
BaseAppSDK,
17+
KnownAppSDK,
1818
} from './types'
1919
import { Channel } from './channel'
2020
import { createAdapter } from './cmaAdapter'
21+
import { KeyValueMap } from 'contentful-management/types'
2122

2223
const DEFAULT_API_PRODUCERS = [
2324
makeSharedAPI,
@@ -47,15 +48,18 @@ export default function createAPI(
4748
channel: Channel,
4849
data: ConnectMessage,
4950
currentGlobal: typeof globalThis
50-
): KnownSDK {
51+
): KnownAppSDK {
5152
const producers = LOCATION_TO_API_PRODUCERS[data.location as string] || DEFAULT_API_PRODUCERS
5253

5354
return producers.reduce((api, produce) => {
5455
return { ...api, ...produce(channel, data, currentGlobal) }
5556
}, {}) as any
5657
}
5758

58-
function makeSharedAPI(channel: Channel, data: ConnectMessage): BaseExtensionSDK {
59+
function makeSharedAPI(
60+
channel: Channel,
61+
data: ConnectMessage
62+
): BaseAppSDK<KeyValueMap, KeyValueMap, never> {
5963
const { user, parameters, locales, ids, initialContentTypes } = data
6064
const currentLocation = data.location || locations.LOCATION_ENTRY_FIELD
6165

@@ -99,9 +103,9 @@ function makeWindowAPI(channel: Channel, _data: any, currentGlobal: typeof globa
99103
}
100104

101105
function makeEditorAPI(channel: Channel, data: any) {
102-
const { editorInterface } = data
106+
const { editorInterface, editor } = data
103107
return {
104-
editor: createEditor(channel, editorInterface),
108+
editor: createEditor(channel, editorInterface, editor),
105109
}
106110
}
107111

lib/channel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function waitForConnect(currentGlobal: typeof globalThis, onConnect: Function) {
2424
}
2525

2626
export class Channel {
27-
private _messageHandlers: { [method: string]: Signal } = {}
27+
private _messageHandlers: { [method: string]: Signal<any> } = {}
2828
private _responseHandlers: {
2929
[method: string]: {
3030
resolve: (value: any) => void
@@ -54,7 +54,7 @@ export class Channel {
5454
this._send(method, params)
5555
}
5656

57-
addHandler(method: string, handler: Function) {
57+
addHandler<T extends unknown[]>(method: string, handler: (...args: T) => void) {
5858
if (!(method in this._messageHandlers)) {
5959
this._messageHandlers[method] = new Signal()
6060
}

lib/editor.ts

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,43 @@
11
import { EditorInterface, EditorLocaleSettings, SharedEditorSDK } from './types'
22
import { Channel } from './channel'
33
import { MemoizedSignal } from './signal'
4+
import { ConnectMessage } from './types/api.types'
45

56
export default function createEditor(
67
channel: Channel,
7-
editorInterface: EditorInterface
8+
editorInterface: EditorInterface,
9+
editorData: Exclude<ConnectMessage['editor'], undefined>
810
): SharedEditorSDK['editor'] {
9-
const _localeSettingsSygnal = new MemoizedSignal(undefined)
10-
const _showDisabledFieldsSygnal = new MemoizedSignal(undefined)
11+
const localeSettingsSignal = new MemoizedSignal<[EditorLocaleSettings]>(editorData.localeSettings)
12+
const showHiddenFieldsSignal = new MemoizedSignal<[boolean]>(editorData.showHiddenFields)
1113

1214
channel.addHandler('localeSettingsChanged', (settings: EditorLocaleSettings) => {
13-
_localeSettingsSygnal.dispatch(settings)
15+
localeSettingsSignal.dispatch(settings)
1416
})
1517

16-
channel.addHandler('showDisabledFieldsChanged', (showDisabledFields: boolean) => {
17-
_showDisabledFieldsSygnal.dispatch(showDisabledFields)
18+
channel.addHandler('showHiddenFieldsChanged', (showHiddenFields: boolean) => {
19+
showHiddenFieldsSignal.dispatch(showHiddenFields)
1820
})
1921

2022
return {
2123
editorInterface,
22-
onLocaleSettingsChanged: (handler: Function) => {
23-
return _localeSettingsSygnal.attach(handler)
24+
getLocaleSettings(): EditorLocaleSettings {
25+
return localeSettingsSignal.getMemoizedArgs()[0]
2426
},
25-
onShowDisabledFieldsChanged: (handler: Function) => {
26-
return _showDisabledFieldsSygnal.attach(handler)
27+
onLocaleSettingsChanged: (handler) => {
28+
return localeSettingsSignal.attach(handler)
29+
},
30+
/**
31+
* @deprecated
32+
*/
33+
onShowDisabledFieldsChanged: (handler) => {
34+
return showHiddenFieldsSignal.attach(handler)
35+
},
36+
getShowHiddenFields(): boolean {
37+
return showHiddenFieldsSignal.getMemoizedArgs()[0]
38+
},
39+
onShowHiddenFieldsChanged: (handler) => {
40+
return showHiddenFieldsSignal.attach(handler)
2741
},
2842
}
2943
}

0 commit comments

Comments
 (0)