Skip to content

Commit

Permalink
feat: [] Update canary branch (#1552)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
16 people authored Jun 27, 2023
1 parent 29d0804 commit 4200aa0
Show file tree
Hide file tree
Showing 31 changed files with 5,034 additions and 12,644 deletions.
36 changes: 27 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,42 @@
version: 2.1

orbs:
vault: contentful/vault@1

jobs:
unit:
docker:
- image: cimg/node:16.13.2
- image: cimg/node:18.16.1
environment:
## this enables colors in the output
TERM: xterm
steps:
- checkout
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build
- run: npm run size
- run:
name: Npm Install
command: npm ci
- run:
name: Run linter
command: npm run lint
- run:
name: Run test
command: npm test
- run:
name: Building
command: npm run build
- run:
name: Sizing
command: npm run size
- store_test_results:
path: test/unit/reports

semantic-release:
docker:
- image: cimg/node:16.13.2
- image: cimg/node:18.16.1
steps:
- checkout
- vault/get-secrets:
template-preset: "semantic-release-ecosystem"
- run:
name: Setup NPM
command: |
Expand All @@ -33,12 +48,15 @@ jobs:
command: npm run semantic-release

workflows:
version: 2
# run on every commit
commit:
jobs:
- unit
- unit:
context:
- vault
- semantic-release:
context:
- vault
requires:
- unit
filters:
Expand Down
8 changes: 8 additions & 0 deletions .contentful/vault-secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 1
services:
github-action:
policies:
- dependabot
circleci:
policies:
- semantic-release-ecosystem
19 changes: 0 additions & 19 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,6 @@ updates:
schedule:
interval: daily
open-pull-requests-limit: 99
ignore:
- dependency-name: contentful-management
versions:
- 7.14.1
- 7.15.2
- 7.16.0
- dependency-name: typescript
versions:
- 4.2.2
- 4.2.3
- dependency-name: "@testing-library/dom"
versions:
- 7.30.2
- dependency-name: rollup
versions:
- 2.41.0
- 2.41.5
- 2.42.4
- 2.43.1
commit-message:
prefix: chore
include: scope
8 changes: 5 additions & 3 deletions .github/workflows/dependabot-approve-and-request-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on: pull_request_target

jobs:
worker:
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest

if: github.actor == 'dependabot[bot]'
steps:
- uses: contentful/dependabot-auto-merge@v1
- uses: contentful/github-auto-merge@v1
with:
github_token: ${{ secrets.CF_ECOSYSTEM_BOT_GITHUB_TOKEN_AUTO_APPROVE }}
VAULT_URL: ${{ secrets.VAULT_URL }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.13.2
v18
98 changes: 96 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,109 @@
# [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)
## [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))

# [4.21.0](https://github.com/contentful/ui-extensions-sdk/compare/v4.20.0...v4.21.0) (2023-06-22)

### Features

- 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)
- 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))

# [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))

## [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))

# [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))

# [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))

## [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))

## [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))

# [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))

# [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))

# [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))

## [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))

# [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))

# [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))

## [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))

# [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))

# [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)

### Features

- 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)

# [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)

### Features
Expand Down
16 changes: 10 additions & 6 deletions lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ import createNavigator from './navigator'
import createApp from './app'
import locations from './locations'
import {
BaseExtensionSDK,
EntryFieldInfo,
NavigatorAPI,
KnownSDK,
ConnectMessage,
JSONPatchItem,
BaseAppSDK,
KnownAppSDK,
} from './types'
import { Channel } from './channel'
import { createAdapter } from './cmaAdapter'
import { KeyValueMap } from 'contentful-management/types'

const DEFAULT_API_PRODUCERS = [
makeSharedAPI,
Expand Down Expand Up @@ -47,15 +48,18 @@ export default function createAPI(
channel: Channel,
data: ConnectMessage,
currentGlobal: typeof globalThis
): KnownSDK {
): KnownAppSDK {
const producers = LOCATION_TO_API_PRODUCERS[data.location as string] || DEFAULT_API_PRODUCERS

return producers.reduce((api, produce) => {
return { ...api, ...produce(channel, data, currentGlobal) }
}, {}) as any
}

function makeSharedAPI(channel: Channel, data: ConnectMessage): BaseExtensionSDK {
function makeSharedAPI(
channel: Channel,
data: ConnectMessage
): BaseAppSDK<KeyValueMap, KeyValueMap, never> {
const { user, parameters, locales, ids, initialContentTypes } = data
const currentLocation = data.location || locations.LOCATION_ENTRY_FIELD

Expand Down Expand Up @@ -99,9 +103,9 @@ function makeWindowAPI(channel: Channel, _data: any, currentGlobal: typeof globa
}

function makeEditorAPI(channel: Channel, data: any) {
const { editorInterface } = data
const { editorInterface, editor } = data
return {
editor: createEditor(channel, editorInterface),
editor: createEditor(channel, editorInterface, editor),
}
}

Expand Down
4 changes: 2 additions & 2 deletions lib/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function waitForConnect(currentGlobal: typeof globalThis, onConnect: Function) {
}

export class Channel {
private _messageHandlers: { [method: string]: Signal } = {}
private _messageHandlers: { [method: string]: Signal<any> } = {}
private _responseHandlers: {
[method: string]: {
resolve: (value: any) => void
Expand Down Expand Up @@ -54,7 +54,7 @@ export class Channel {
this._send(method, params)
}

addHandler(method: string, handler: Function) {
addHandler<T extends unknown[]>(method: string, handler: (...args: T) => void) {
if (!(method in this._messageHandlers)) {
this._messageHandlers[method] = new Signal()
}
Expand Down
34 changes: 24 additions & 10 deletions lib/editor.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,43 @@
import { EditorInterface, EditorLocaleSettings, SharedEditorSDK } from './types'
import { Channel } from './channel'
import { MemoizedSignal } from './signal'
import { ConnectMessage } from './types/api.types'

export default function createEditor(
channel: Channel,
editorInterface: EditorInterface
editorInterface: EditorInterface,
editorData: Exclude<ConnectMessage['editor'], undefined>
): SharedEditorSDK['editor'] {
const _localeSettingsSygnal = new MemoizedSignal(undefined)
const _showDisabledFieldsSygnal = new MemoizedSignal(undefined)
const localeSettingsSignal = new MemoizedSignal<[EditorLocaleSettings]>(editorData.localeSettings)
const showHiddenFieldsSignal = new MemoizedSignal<[boolean]>(editorData.showHiddenFields)

channel.addHandler('localeSettingsChanged', (settings: EditorLocaleSettings) => {
_localeSettingsSygnal.dispatch(settings)
localeSettingsSignal.dispatch(settings)
})

channel.addHandler('showDisabledFieldsChanged', (showDisabledFields: boolean) => {
_showDisabledFieldsSygnal.dispatch(showDisabledFields)
channel.addHandler('showHiddenFieldsChanged', (showHiddenFields: boolean) => {
showHiddenFieldsSignal.dispatch(showHiddenFields)
})

return {
editorInterface,
onLocaleSettingsChanged: (handler: Function) => {
return _localeSettingsSygnal.attach(handler)
getLocaleSettings(): EditorLocaleSettings {
return localeSettingsSignal.getMemoizedArgs()[0]
},
onShowDisabledFieldsChanged: (handler: Function) => {
return _showDisabledFieldsSygnal.attach(handler)
onLocaleSettingsChanged: (handler) => {
return localeSettingsSignal.attach(handler)
},
/**
* @deprecated
*/
onShowDisabledFieldsChanged: (handler) => {
return showHiddenFieldsSignal.attach(handler)
},
getShowHiddenFields(): boolean {
return showHiddenFieldsSignal.getMemoizedArgs()[0]
},
onShowHiddenFieldsChanged: (handler) => {
return showHiddenFieldsSignal.attach(handler)
},
}
}
Loading

0 comments on commit 4200aa0

Please sign in to comment.