Releases: kontent-ai/data-ops
Releases · kontent-ai/data-ops
2.0.1
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
Package Updates
- Fixed
package.json
main
andtypes
parameters for better resolution without requiringtsconfig
options.
Command Renaming [Breaking Change]
export
→environment backup
import
→environment restore
clean
→environment clean
sync-model export
→sync snapshot
sync-model run
→sync run
sync-model diff
→sync diff
sync-content export
→migrate-content snapshot
sync-content run
→migrate-content run
CLI Updates
Sync Commands [Breaking Change]
- The
sync run
,sync snapshot
, andsync 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 nowsyncDiff
.DiffEnvironmentsParams
is nowsyncDiffParams
.
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 generatedexternal_id
for content type and snippet elements. - Added the
_group
suffix to the generatedexternal_id
for content type content groups.
Migrate Content [Breaking Change]
- Dependency Update: Upgraded to version 2.0
- For more details, refer to the kontent-ai/migration-toolkit README.
Full Changelog: 1.6.1...2.0.0
1.6.1
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
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
1.4.1
1.4.0
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.
- for more information, refer to the sync-content readmes .
- 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 tox
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.
- now you must add the
What's Changed
- related commands are now grouped, see the commands section of readme
Full Changelog: 1.3.2...1.4.0
1.3.2
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
- for full feature list, see release notes for release 1.3.0
Full Changelog: 1.3.1...1.3.2
1.3.1
kontent-ai/data-ops patch 1.3.1
Fixes
- zod moved from
devDependencies
todependencies
- minor readme adjustment
Features
- for full feature list, see release notes for release 1.3.0
Full Changelog: 1.3.0...1.3.1
1.3.0
kontent-ai data-ops 1.3.0
New features
- advanced diff –
diff
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
- Clarify npx caching in readme and Suggest using @latest version by @JiriLojda in #56
- Devrel 1155/advanced diff by @pokornyd in #48
Full Changelog: 1.2.2...1.3.0