Skip to content

Commit 305cc62

Browse files
authored
Merge pull request #2324 from contentstack/chore/remove-old-bulk-publish-code
chore: remove legacy bulk publish code
2 parents 4635eec + 3cda8d8 commit 305cc62

88 files changed

Lines changed: 1394 additions & 13617 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BULK-OPERATIONS-MIGRATION.md

Lines changed: 510 additions & 0 deletions
Large diffs are not rendered by default.

MIGRATION.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,29 @@ csdx cm:migrate-rte --help
166166

167167
**Migration Action:** Install the `@contentstack/cli-cm-migrate-rte` plugin separately if you need RTE migration functionality.
168168

169+
### 6. 📦 Bulk Operations Command Consolidation
170+
171+
**What Changed:**
172+
- The bulk publish plugin has been consolidated into unified bulk operations commands
173+
- 15 separate commands have been simplified into 2 commands with operation flags
174+
- Enhanced functionality with new filtering and cross-publish capabilities
175+
176+
**Impact:**
177+
- Commands like `cm:entries:publish`, `cm:entries:unpublish`, `cm:assets:publish` have been replaced
178+
- New unified commands: `cm:stacks:bulk-entries` and `cm:stacks:bulk-assets`
179+
- Operation flag (`--operation`) is now required
180+
181+
**Migration Action:** Refer to the detailed [Bulk Operations Migration Guide](./BULK-OPERATIONS-MIGRATION.md) for complete command mappings and examples.
182+
183+
**Quick Example:**
184+
```bash
185+
# Before (1.x.x)
186+
csdx cm:entries:publish --content-types blog --environments prod --locales en-us -k blt123
187+
188+
# After (2.x.x-beta)
189+
csdx cm:stacks:bulk-entries --operation publish --content-types blog --environments prod --locales en-us -k blt123
190+
```
191+
169192
## Troubleshooting
170193

171194
### Common Issues

0 commit comments

Comments
 (0)