@se-studio/contentful-rest-api 1.0.165 → 1.0.167

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @se-studio/contentful-rest-api
2
2
 
3
+ ## 1.0.167
4
+
5
+ ### Patch Changes
6
+
7
+ - Version bump: patch for changed packages
8
+ - Updated dependencies
9
+ - @se-studio/core-data-types@1.0.159
10
+
11
+ ## 1.0.166
12
+
13
+ ### Patch Changes
14
+
15
+ - **person**: default Contentful `include` depth for person and bundled customType sidecar fetches increased from 5 to 6
16
+
3
17
  ## 1.0.165
4
18
 
5
19
  ### Patch Changes
@@ -51,7 +51,7 @@ export async function contentfulPersonRest(context, config, slug, options) {
51
51
  const personPromise = client.getEntries({
52
52
  content_type: 'person',
53
53
  'fields.slug': slug,
54
- include: options?.include ?? 5,
54
+ include: options?.include ?? 6,
55
55
  locale: options?.locale,
56
56
  limit: 1,
57
57
  }, requestOptions);
@@ -59,7 +59,7 @@ export async function contentfulPersonRest(context, config, slug, options) {
59
59
  ? client.getEntries({
60
60
  content_type: 'customType',
61
61
  'fields.slug': options.customType,
62
- include: options?.include ?? 5,
62
+ include: options?.include ?? 6,
63
63
  locale: options?.locale,
64
64
  limit: 1,
65
65
  }, requestOptions)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-studio/contentful-rest-api",
3
- "version": "1.0.165",
3
+ "version": "1.0.167",
4
4
  "description": "Type-safe Contentful REST API client with caching and rate limiting for Next.js applications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -51,7 +51,7 @@
51
51
  "@contentful/rich-text-types": "^17.2.7",
52
52
  "contentful": "^11.12.2",
53
53
  "server-only": "0.0.1",
54
- "@se-studio/core-data-types": "1.0.158"
54
+ "@se-studio/core-data-types": "1.0.159"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "next": ">=15.5.0"