Skip to content

Commit df6ce99

Browse files
Merge pull request #2283 from contentstack/enh/dx-3788
deprecated taxonomies in migration plugin
2 parents 0a68e7d + 55ae61b commit df6ce99

File tree

9 files changed

+1217
-1360
lines changed

9 files changed

+1217
-1360
lines changed

MIGRATION.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,24 @@ csdx config:set:log --no-show-console-logs
112112
[2025-08-22 16:12:25] SUCCESS: Exported stack settings successfully!
113113
```
114114

115+
### 4. 🏷️ Taxonomy Migration Deprecation
116+
117+
**What Changed:**
118+
- Taxonomy migration functionality has been deprecated in 2.x.x
119+
- The taxonomy migration script examples have been removed
120+
121+
**Before (1.x.x):**
122+
```bash
123+
csdx cm:stacks:migration -k b*******9ca0 --file-path "../contentstack-migration/examples/taxonomies/import-taxonomies.js" --config data-dir:'./data/Taxonomy Stack_taxonomies.csv'
124+
```
125+
- Taxonomy migration supports only in version 1.x.x
126+
127+
**After (2.x.x-beta):**
128+
- Taxonomy migration is no longer supported through the migration plugin
129+
- Use the standard import/export commands for taxonomy data migration
130+
131+
**Migration Action:** use the import/export commands instead.
132+
115133
## Troubleshooting
116134

117135
### Common Issues

package-lock.json

Lines changed: 1141 additions & 1179 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-migration/docs/api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,4 +474,4 @@ migration.addTask(task)
474474
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
475475
----------|---------|----------|---------|---------|-------------------
476476
All files | 0 | 0 | 0 | 0 |
477-
----------|---------|----------|---------|---------|-------------------
477+
----------|---------|----------|---------|---------|-------------------

packages/contentstack-migration/examples/taxonomies/import-taxonomies.js

Lines changed: 0 additions & 152 deletions
This file was deleted.

packages/contentstack-migration/examples/taxonomies/test_taxonomies.csv

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/contentstack-migration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-migration",
3-
"version": "1.8.2",
3+
"version": "2.0.0-beta",
44
"author": "@contentstack",
55
"bugs": "https://github.com/contentstack/cli/issues",
66
"dependencies": {

packages/contentstack-migration/src/modules/fields.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,4 +336,4 @@ class Field extends Base {
336336
}
337337
}
338338

339-
module.exports = Field;
339+
module.exports = Field;

packages/contentstack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@contentstack/cli-command": "~1.6.2",
3737
"@contentstack/cli-config": "~1.15.3",
3838
"@contentstack/cli-launch": "^1.9.2",
39-
"@contentstack/cli-migration": "~1.8.2",
39+
"@contentstack/cli-migration": "~2.0.0-beta",
4040
"@contentstack/cli-utilities": "~1.15.0",
4141
"@contentstack/cli-variants": "~2.0.0-beta.2",
4242
"@contentstack/management": "~1.22.0",

pnpm-lock.yaml

Lines changed: 54 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)