Releases: CrystallizeAPI/import-utilities
Releases · CrystallizeAPI/import-utilities
v1.19.0
What's Changed
- fix: fetching items by external reference in batches by @nerdenough in #50
- feat: add fallback folder and emit error by @nerdenough in #51
Full Changelog: v1.18.0...v1.19.0
v1.18.0
v1.17.0
v1.16.0
Minor Changes
- c1c7b25: Allow products to be updated without specifying
vatType
or
variants
. You can now update an existing product with this spec:
const jsonSpec: JsonSpec = {
items: [
{
name: 'Product updated from import-utilities 💥',
shape: 'default-product',
externalReference: 'my-existing-product',
},
],
}
v1.15.0
Minor Changes
-
d0429eb: Support fileName for media input. This allows you to define what the
final fileName for an image should be, instead of just using the source image
url. Example json spec:{ "items": [ ... "images": [ { "src": "https://example.com/some-file.jpg", "fileName": "my-own-name-here.jpg" } ] ... ] }
v1.14.3
v1.14.2
v1.14.1
v1.14.0
Minor Changes
-
134bec8: Added the ability to get all customers on create spec. Example:
const spec = await bootstrapper.createSpec({ shapes: false, grids: false, items: false, languages: false, priceVariants: false, stockLocations: false, vatTypes: false, subscriptionPlans: false, topicMaps: false, orders: false, customers: true, onUpdate: (u) => console.log(JSON.stringify(u, null, 1)), })
v1.13.0
Minor Changes
-
42c07fd: Added the ability to get all orders on create spec. Example:
const spec = await bootstrapper.createSpec({ shapes: false, grids: false, items: false, languages: false, priceVariants: false, stockLocations: false, vatTypes: false, subscriptionPlans: false, topicMaps: false, orders: true, onUpdate: (u) => console.log(JSON.stringify(u, null, 1)), })