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