4.29.3 (2024-11-05)
4.29.2 (2024-10-30)
4.29.1 (2024-08-15)
4.29.0 (2024-07-22)
4.28.0 (2024-07-08)
4.27.0 (2024-07-08)
4.26.3 (2024-07-02)
4.26.2 (2024-06-28)
4.26.1 (2024-06-28)
4.26.0 (2024-03-07)
4.25.0 (2024-03-06)
4.24.0 (2024-01-19)
4.23.1 (2023-09-26)
4.23.0 (2023-08-25)
4.22.1 (2023-07-10)
4.22.0 (2023-06-29)
- [EXT-3599] Bundle contentful-management with app-sdk. (Third attempt) (#1560) (78780b7), closes #1548
4.22.0-alpha.1 (2023-06-29)
- [EXT-3599] Bundle contentful-management with app-sdk. (Third attempt) (#1560) (78780b7), closes #1548
4.21.1 (2023-06-23)
4.21.0 (2023-06-22)
4.20.0 (2023-06-22)
4.19.1 (2023-06-15)
4.19.0 (2023-06-14)
4.18.0 (2023-06-14)
4.17.2 (2023-05-17)
4.17.1 (2023-04-05)
4.17.0 (2023-03-29)
4.16.0 (2023-02-10)
4.15.0 (2023-02-06)
4.14.1 (2022-12-29)
4.14.0 (2022-12-22)
4.13.0 (2022-10-24)
4.12.1 (2022-09-12)
4.12.0 (2022-08-15)
4.11.1 (2022-08-02)
4.11.0 (2022-08-01)
4.10.0 (2022-07-26)
4.9.0 (2022-07-12)
4.8.1 (2022-06-28)
- 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)
4.7.0 (2022-06-15)
4.6.0 (2022-06-01)
4.5.0 (2022-05-18)
4.4.1 (2022-05-16)
4.4.0 (2022-05-09)
4.3.7 (2022-04-13)
4.3.6 (2022-04-12)
4.3.5 (2022-02-23)
4.3.4 (2022-02-21)
4.3.3 (2022-02-14)
4.3.2 (2022-02-09)
4.3.1 (2021-11-10)
4.3.0 (2021-10-26)
4.2.1 (2021-10-07)
4.2.0 (2021-10-06)
4.1.1 (2021-10-06)
4.1.0 (2021-10-05)
4.0.1 (2021-10-05)
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.
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.
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.
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)
3.41.0 (2021-09-29)
3.40.1 (2021-09-23)
3.40.0 (2021-09-17)
3.39.1 (2021-09-10)
3.39.0 (2021-07-20)
3.38.0 (2021-06-30)
3.37.0 (2021-06-23)
3.36.0 (2021-06-17)
3.35.0 (2021-06-11)
3.34.3 (2021-05-18)
3.34.2 (2021-05-11)
3.34.1 (2021-05-06)
3.34.0 (2021-04-30)
- add navigate to lists methods (ef5ee41)
3.33.0 (2021-04-06)
- expose tags api (3ae6b4b)
3.32.2 (2021-03-23)
3.32.1 (2021-02-16)
3.32.0 (2021-01-29)
3.31.1 (2021-01-28)
- 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)
3.30.0 (2021-01-13)
3.29.2 (2021-01-11)
3.29.1 (2021-01-08)
3.29.0 (2021-01-08)
3.28.1 (2021-01-08)
3.28.0 (2021-01-07)
3.27.0 (2021-01-05)
3.26.1 (2021-11-24)
- Add env alias to IdsApi type
3.25.1 (2021-11-24)
- Bump dependencies