Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

contentful-ui-extensions-sdk

Package Overview
Dependencies
Maintainers
9
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-ui-extensions-sdk - npm Package Versions

1
20

4.2.1

Diff

Changelog

Source

4.2.1 (2021-10-07)

Bug Fixes

  • LinkContentTypeValidationError contains a list of content types (#1021) (64a8c05)
whydah-gally
published 4.2.0 •

Changelog

Source

4.2.0 (2021-10-06)

Features

whydah-gally
published 4.1.1 •

Changelog

Source

4.1.1 (2021-10-06)

Bug Fixes

  • [3161] use correct type for conflicting errors (#1017) (621a1d0)
whydah-gally
published 4.1.0 •

Changelog

Source

4.1.0 (2021-10-05)

Features

whydah-gally
published 4.0.1 •

Changelog

Source

4.0.1 (2021-10-05)

Bug Fixes

whydah-gally
published 4.0.0 •

Changelog

Source

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.

whydah-gally
published 3.42.0 •

Changelog

Source

3.42.0 (2021-10-01)

Features

  • show better warning for DATA_CLONE_ERR [EXT-2761] (#989) (fb82d86)
whydah-gally
published 4.0.0-alpha.36 •

whydah-gally
published 3.41.0 •

Changelog

Source

3.41.0 (2021-09-29)

Features

whydah-gally
published 4.0.0-alpha.35 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc