Skip to content

Latest commit

 

History

History
529 lines (274 loc) · 28.7 KB

CHANGELOG.md

File metadata and controls

529 lines (274 loc) · 28.7 KB

4.26.0 (2024-03-07)

Features

4.25.0 (2024-03-06)

Features

4.24.0 (2024-01-19)

Features

  • add nodeType to SizeValidationError [DANTE-1114] (#1807) (735e915)

4.23.1 (2023-09-26)

Bug Fixes

4.23.0 (2023-08-25)

Features

4.22.1 (2023-07-10)

Bug Fixes

  • [EXT-3666] Remove duplicating event dispatch (#1565) (c51f998)

4.22.0 (2023-06-29)

Features

  • [EXT-3599] Bundle contentful-management with app-sdk. (Third attempt) (#1560) (78780b7), closes #1548

4.22.0-alpha.1 (2023-06-29)

Features

  • [EXT-3599] Bundle contentful-management with app-sdk. (Third attempt) (#1560) (78780b7), closes #1548

4.21.1 (2023-06-23)

Bug Fixes

Reverts

4.21.0 (2023-06-22)

Features

  • adds optional types for parameters [EXT-4381] (#1538) (7cbad71)

4.20.0 (2023-06-22)

Features

4.19.1 (2023-06-15)

Bug Fixes

4.19.0 (2023-06-14)

Features

  • [EXT-3648][EXT-4380] Improve sdk.field types (#1529) (ec0da5a)

4.18.0 (2023-06-14)

Features

4.17.2 (2023-05-17)

Bug Fixes

4.17.1 (2023-04-05)

Bug Fixes

  • [] Deprecate XXXExtensionSDK types in favour of XXXAppSDK (#1505) (a8ee8e7)

4.17.0 (2023-03-29)

Features

  • Entities: add more supported entities to app sdk's cma [EXT-4359] (#1501) (43e6c96)

4.16.0 (2023-02-10)

Features

  • initial values & getters for field/editor API (#1444) (fa98f30)

4.15.0 (2023-02-06)

Features

4.14.1 (2022-12-29)

Bug Fixes

4.14.0 (2022-12-22)

Features

4.13.0 (2022-10-24)

Features

4.12.1 (2022-09-12)

Bug Fixes

4.12.0 (2022-08-15)

Features

4.11.1 (2022-08-02)

Bug Fixes

  • add missing properties to new init method (#1338) (4370508)

4.11.0 (2022-08-01)

Features

4.10.0 (2022-07-26)

Features

4.9.0 (2022-07-12)

Features

4.8.1 (2022-06-28)

Bug Fixes

  • make init a noop for non-browser environments (#1308) (253c5c8)
  • use App SDK instead of UI Extensions in error message (#1307) (06ec441)

4.8.0 (2022-06-15)

Features

4.7.0 (2022-06-15)

Features

  • added worflowdefinition type to exported entities and to api.types (#1294) (b2d917f)

4.6.0 (2022-06-01)

Features

  • add option to include absolute elements in auto resizer (#901) (0269b00)

4.5.0 (2022-05-18)

Features

4.4.1 (2022-05-16)

Bug Fixes

  • Use ResizeObserver to track iframe body size changes [EXT-3733] (#1263) (391b282)

4.4.0 (2022-05-09)

Features

  • add warning notification support [SHE-785] (#1232) (be30251)

4.3.7 (2022-04-13)

Bug Fixes

  • make openNewAsset options param optional (#1239) (bdf3336)

4.3.6 (2022-04-12)

Bug Fixes

4.3.5 (2022-02-23)

Bug Fixes

4.3.4 (2022-02-21)

Bug Fixes

  • support contentful-management v8 and later (#1190) (45fdefe)

4.3.3 (2022-02-14)

Bug Fixes

  • [EXT-3363] use correct IDS api for fields (#1184) (84daaa2)

4.3.2 (2022-02-09)

Bug Fixes

  • return same SDK instance when calling init multiple times (#1173) (8acc077)

4.3.1 (2021-11-10)

Bug Fixes

4.3.0 (2021-10-26)

Features

  • [EXT-2755] add save and (un)publish command (#1040) (f1a4de4)

4.2.1 (2021-10-07)

Bug Fixes

  • LinkContentTypeValidationError contains a list of content types (#1021) (64a8c05)

4.2.0 (2021-10-06)

Features

4.1.1 (2021-10-06)

Bug Fixes

  • [3161] use correct type for conflicting errors (#1017) (621a1d0)

4.1.0 (2021-10-05)

Features

4.0.1 (2021-10-05)

Bug Fixes

4.0.0 (2021-10-05)

This major release of the Contentful App SDK provides two great features to make app development for Contentful even easier.

Contentful Management API Adapter

You can now use the contentful-management library within apps. This gives you access to a huge load of APIs that were previously not available. Also, you can reuse existing code utilising the contentful-management library which makes it easier to convert your custom Contentful scripts to convenient apps.

After installing the library, a new client can be created using the cmaAdapter which is exposed by the App SDK. There is no need to deal with authentication and tokens.

import { createClient } from 'contentful-management'

const nestedClient = createClient({ apiAdapter: sdk.cmaAdapter })

const cma = createClient(
  { apiAdapter: sdk.cmaAdapter },
  {
    type: 'plain',
    defaults: {
      environmentId: sdk.ids.environment,
      spaceId: sdk.ids.space,
    },
  }
)

Please note that not all methods are available. You can only use methods that access entities within the app’s space environment.

Deprecation of Space API

The Space API (sdk.space) is deprecated and will be removed in a future major update of the App SDK. We recommend using the new CMA Adapters to replace existing Space API functionality.

Typings revamp

In the previous version of the App SDK app developers sometimes struggled with our provided types. For version 4 we took the opportunity to revamp and significantly improve the types of the whole library. These changes are likely to break existing TypeScript apps as we are more specific about each property and also changed the usage of generics on API methods. The new types of the App SDK now align with the types of the contentful-management library. To get the best development experience, you need to install contentful-management as a separate dependency.

npm install contentful-management

We do not include this dependency by default to keep your dependency tree clean and ensure small bundle sizes and short build times.

3.42.0 (2021-10-01)

Features

  • show better warning for DATA_CLONE_ERR [EXT-2761] (#989) (fb82d86)

3.41.0 (2021-09-29)

Features

3.40.1 (2021-09-23)

Bug Fixes

  • AccessSDK: patch action isn't supported (#987) (7aff0ae)

3.40.0 (2021-09-17)

Features

  • AccessAPI: add support for JSON patches in access sdk [EXT-3041] (#974) (a720fc2)

3.39.1 (2021-09-10)

Bug Fixes

3.39.0 (2021-07-20)

Features

  • Add typings and expose metadata methods (#865) (b0bbaad)

3.38.0 (2021-06-30)

Features

3.37.0 (2021-06-23)

Features

  • add type parameter to create task input data (#809) (e0fe688)

3.36.0 (2021-06-17)

Features

  • add interface for space.getTeams [HOMER-75] (#789) (a5b8dac)

3.35.0 (2021-06-11)

Features

3.34.3 (2021-05-18)

Reverts

3.34.2 (2021-05-11)

Reverts

3.34.1 (2021-05-06)

Bug Fixes

  • make options of dialogs.openExtension optional (#681) (ca6d15b)

3.34.0 (2021-04-30)

Features

  • add navigate to lists methods (ef5ee41)

3.33.0 (2021-04-06)

Features

3.32.2 (2021-03-23)

Bug Fixes

3.32.1 (2021-02-16)

Bug Fixes

3.32.0 (2021-01-29)

Features

3.31.1 (2021-01-28)

Documentation

  • rename UIE SDK to App SDK in readme (#508) (d565d3d)
  • add repository and homepage to package.json (#509) (d301d46)

3.31.0 (2021-01-13)

Features

3.30.0 (2021-01-13)

Features

3.29.2 (2021-01-11)

Bug Fixes

3.29.1 (2021-01-08)

Bug Fixes

3.29.0 (2021-01-08)

Features

3.28.1 (2021-01-08)

Bug Fixes

3.28.0 (2021-01-07)

Features

3.27.0 (2021-01-05)

Features

  • [EXT-2360] add test for onvaluechanged (#431) (229d930)

3.26.1 (2021-11-24)

Features

  • Add env alias to IdsApi type

3.25.1 (2021-11-24)

Features

  • Bump dependencies

3.25.0 (2020-11-09)

Bug Fixes

  • only expose signRequest in apps (169ff70)
  • request signing endpoint can be undefined (2eb0d76)

Features

  • [EXT-2360] add test for onvaluechanged (#431) (229d930)

3.24.0 (2020-11-02)

Features

  • log error if it appears app is running outside of iframe (#390) (c46be9d)