Skip to content

Releases: kontent-ai/data-ops

2.0.1

23 Oct 15:57
Compare
Choose a tag to compare

What's Changed

  • fix syncDiff as public version used wrong directory path by @IvanKiral in #92

Full Changelog: 2.0.0...2.0.1

2.0.0

17 Oct 10:56
Compare
Choose a tag to compare

Package Updates

  • Fixed package.json main and types parameters for better resolution without requiring tsconfig options.

Command Renaming [Breaking Change]

  • exportenvironment backup
  • importenvironment restore
  • cleanenvironment clean
  • sync-model exportsync snapshot
  • sync-model runsync run
  • sync-model diffsync diff
  • sync-content exportmigrate-content snapshot
  • sync-content runmigrate-content run

CLI Updates

Sync Commands [Breaking Change]

  • The sync run, sync snapshot, and sync diff commands now require a new mandatory --entities parameter, allowing you to specify which entities to sync.

New Entities

  • Added support for syncing additional entities such as collections, languages, asset folders, spaces, and workflows.

API Functions Renaming [Breaking Change]

  • diffEnvironments is now syncDiff.
  • DiffEnvironmentsParams is now syncDiffParams.

Sync Diff [Breaking Change]

  • The syncDiff function returns an HTML string instead of creating a file or printing patch operations to the console.

Sync Run

  • File Validation: Added Zod file validation when syncing from a folder.

Restore [Breaking Change]

  • Added the _element suffix to the generated external_id for content type and snippet elements.
  • Added the _group suffix to the generated external_id for content type content groups.

Migrate Content [Breaking Change]

Full Changelog: 1.6.1...2.0.0

1.6.1

28 Aug 14:19
Compare
Choose a tag to compare

What's Changed

  • Skip incomplete-elements errors when publishing variants by @JiriLojda in #43

Full Changelog: 1.6.0...1.6.1

1.6.0

26 Aug 14:02
Compare
Choose a tag to compare

What's Changed

  • Expose function to be used programmatically
  • Fix bug with cleaning workflows
  • Fix bug when adding migration

Full Changelog: 1.5.0...1.5.0

1.5.0

14 Aug 09:10
051f968
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.4.1...1.5.0

1.4.1

05 Aug 08:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.4.0...1.4.1

1.4.0

25 Jul 07:15
Compare
Choose a tag to compare

kontent-ai data-ops 1.4.0

New features

  • migration toolkit integration – now you can sync your content via data-ops using migration toolkit tool integration.
  • migrations support - added migrations management from Kontent.ai CLI tool with new features added:
    • now you must add the path to the folder from which you want to run migrations, this allows you to have multiple migrations folder.
      • status.json will be stored in the provided folder.
    • added --next parameter allows you to x the number of migrations that should be executed next according to order and migrations completion in status.json.
    • fixed bugs in which all migrations were successful even when an error occurred.

What's Changed

Full Changelog: 1.3.2...1.4.0

1.3.2

15 Jul 18:57
Compare
Choose a tag to compare

kontent-ai/data-ops patch 1.3.2

Fixes

  • fixed an issue where advanced diff HTML template was loaded relatively to the directory where the script was run, rather than from the root directory of the module itself

Features

Full Changelog: 1.3.1...1.3.2

1.3.1

15 Jul 13:15
Compare
Choose a tag to compare

kontent-ai/data-ops patch 1.3.1

Fixes

  • zod moved from devDependencies to dependencies
  • minor readme adjustment

Features

Full Changelog: 1.3.0...1.3.1

1.3.0

15 Jul 12:48
Compare
Choose a tag to compare

kontent-ai data-ops 1.3.0

New features

  • advanced diffdiff command now supports optional -a parameter, allowing you to generate a more human-friendly visual representation of differences between two environments into a standalone HTML file. for more information on its use and additional parameters, see the advanced diff readme

What's Changed

Full Changelog: 1.2.2...1.3.0