Skip to content

Releases: CrystallizeAPI/import-utilities

v1.19.0

31 Jan 12:34
4c10f2c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.18.0...v1.19.0

v1.18.0

30 Jan 11:26
959fbad
Compare
Choose a tag to compare

Minor Changes

  • 0850ae0: Implemented a kill method on the bootrapper class. This can be run
    after a successful import or spec creation, clearing intervals made by the
    fileUpload and API manager classes.

v1.17.0

17 Jan 13:02
a9aeaa2
Compare
Choose a tag to compare

Minor Changes

  • d8a306a: This only a dependency package updates, bumping graphql to v16

v1.16.0

17 Jan 10:18
18caceb
Compare
Choose a tag to compare

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

27 Dec 10:11
6dbe7a1
Compare
Choose a tag to compare

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

26 Dec 20:30
8573d55
Compare
Choose a tag to compare

Patch Changes

  • 9f0f393: Skipping eager asset upload in favor of data.

v1.14.2

20 Dec 09:14
6cf01fc
Compare
Choose a tag to compare

Patch Changes

  • c8ee74d: Fixed an issue with bootstrapper.createSpec with basePath being
    set as it only returned the first matching item. It now returns all items
    that has a cataloguePath that starts with the basePath.

v1.14.1

16 Dec 08:45
5f182b5
Compare
Choose a tag to compare

Patch Changes

  • 79e2e5f: Handle 404 response codes from download of assets separately. This
    will no longer be retried 3 times.

v1.14.0

08 Dec 12:50
9a6d37d
Compare
Choose a tag to compare

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

07 Dec 19:31
adf7a46
Compare
Choose a tag to compare

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)),
    })