Releases: kontent-ai/data-ops
Releases · kontent-ai/data-ops
2.2.2
2.2.1
What's Changed
- Add dash after order number in migration file name when adding migrat… by @JiriLojda in #97
Full Changelog: 2.2.0...2.2.1
2.2.0
2.1.2
What's Changed
- Fix typos in messages
- Fix bug when sometimes content types were not updated in sync run
- Add confirmation message to migrate-content run CLI command
Full Changelog: 2.1.1...2.1.2
2.1.1
What's Changed
- Resolve plugins path properly in migration commands by @JiriLojda in #94
Full Changelog: 2.1.0...2.1.1
2.1.0
What's Changed
- Add option to specify custom kontent.ai url to all commands by @JiriLojda in #93
Full Changelog: 2.0.1...2.1.0
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