contentful-migration 4.17.0 → 4.17.1

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,9 +1,9 @@
1
- # [4.17.0](https://github.com/contentful/contentful-migration/compare/v4.16.0...v4.17.0) (2023-10-19)
1
+ ## [4.17.1](https://github.com/contentful/contentful-migration/compare/v4.17.0...v4.17.1) (2023-10-20)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * improve request throttling [ZEND-4197] ([#1255](https://github.com/contentful/contentful-migration/issues/1255)) ([2c08081](https://github.com/contentful/contentful-migration/commit/2c08081d0347b28fc080e59cb8ffc70c6dc4d969))
6
+ * **docs:** Fix `linkType` values & typos ([#1236](https://github.com/contentful/contentful-migration/issues/1236)) ([1ee63b8](https://github.com/contentful/contentful-migration/commit/1ee63b85f40bc544d0d84e0461da59addba432a9))
7
7
 
8
8
  # Change Log
9
9
 
package/README.md CHANGED
@@ -390,7 +390,7 @@ For the given (source) content type, transforms all its entries according to the
390
390
  - `locale` one of the locales in the space being transformed
391
391
  - `id` id of the current entry in scope
392
392
 
393
- The return value must be an object with the same keys as specified in the `targetContentType`. Their values will be written to the respective entry fields for the current locale (i.e. `{nameField: 'myNewValue'}`). If it returns `undefined`, this the values for this locale on the entry will be left untouched.
393
+ The return value must be an object with the same keys as specified in the `targetContentType`. Their values will be written to the respective entry fields for the current locale (i.e. `{nameField: 'myNewValue'}`). If it returns `undefined`, the values for this locale on the entry will be left untouched.
394
394
 
395
395
  ##### `transformEntriesToType` Example
396
396
 
@@ -541,7 +541,7 @@ Creates a field with provided `id`.
541
541
  - `Array` (requires `items`)
542
542
  - `Link` (requires `linkType`)
543
543
  - `ResourceLink` (requires `allowedResources`)
544
- - **`items : Object`** _(required for type 'Array')_ – Defines the items of an Array field.
544
+ - **`items : Object`** _(required for type `Array`)_ – Defines the items of an Array field.
545
545
  Example:
546
546
 
547
547
  ```javascript
@@ -554,9 +554,9 @@ Creates a field with provided `id`.
554
554
  }
555
555
  ```
556
556
 
557
- - **`linkType : string`** _(required for type 'Link')_ – Type of the referenced entry.
558
- Can take the same values as the ones listed for `type` above.
559
- - **`allowedResources`** _(required for type 'ResourceLink')_ - Defines which resources can be linked through the field.
557
+ - **`linkType : string`** _(required for type `Link`)_ – Type of the referenced entry.
558
+ Value must be either `Asset` or `Entry`.
559
+ - **`allowedResources`** _(required for type `ResourceLink`)_ - Defines which resources can be linked through the field.
560
560
  - **`required : boolean`** – Sets the field as required.
561
561
  - **`validations : Array`** – Validations for the field.
562
562
  Example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-migration",
3
- "version": "4.17.0",
3
+ "version": "4.17.1",
4
4
  "description": "Migration tooling for contentful",
5
5
  "author": "Contentful GmbH",
6
6
  "license": "MIT",