Skip to content

merge v2 beta to development - #2682

Open
harshitha-cstk wants to merge 800 commits into
developmentfrom
fix/merge-v2-beta-development
Open

merge v2 beta to development#2682
harshitha-cstk wants to merge 800 commits into
developmentfrom
fix/merge-v2-beta-development

Conversation

@harshitha-cstk

Copy link
Copy Markdown
Contributor

No description provided.

harshitha-cstk and others added 30 commits March 23, 2026 14:10
DX | 23-03-2026 | Release V2
…expire

Refactor OAuth token refresh logic in AuthHandler to prevent concurre…
chore: update package versions and dependencies across contentstack p…
DX | 30-03-2026 | Release | v2-beta
shafeeqd959 and others added 27 commits July 27, 2026 15:34
…ger mode

Progress-supported modules (e.g. bulk-operations) omitted the console
transport entirely when console logs were disabled, so errors and
warnings — like an invalid stack API key or a taxonomy error — were
written to file but silently swallowed on screen. Attach the console
transport for error and warn levels regardless of showConsoleLogs, while
keeping info/success/debug hidden so the progress bars stay clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…-warnings

DX-9992 | Show errors and warnings on console in progress-manager mode
Reverted the version bump for the core pacakge
DX | 27-07-2026 | Release | CLI Beta
Extends the V1→V2 migration guide with all breaking changes identified
through a complete file-by-file code verification pass across every
package in the cli and cli-plugins repos.

Sections added (8–18):
- Flag renames on export/import/export-to-csv (--data→--data-dir, -s, -B, --skip-app-recreation)
- Export directory structure changes (per-UID global fields/CTs, schema.json removed, branches.json removed)
- V2 export + V1 import silent data loss (content types and global fields silently skipped)
- Command aliases removed (cm:export, cm:import, audit, audit:fix, tokens, cm:seed)
- content-type:* deprecated flags removed (--stack, --token-alias, 10+ short chars)
- --api-version removed from bulk-entries and bulk-taxonomies (hardcoded 3.2)
- Short char removals across migration, migrate:convert, migrate:export, app:create
- Console log config key renamed (show-console-logs → showConsoleLogs)
- 13 bootstrap app configs removed (8 deprecated starters + 4 sample apps)
- Seed stack list now curated (4 stacks; GitHub dynamic search removed)
- Ctrl+C exits with code 130 instead of throwing ExitPromptError

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ditions

docs: add 11 missing breaking changes to MIGRATION.md
chore: contentstack version bump 29-07-2026
The --branch flag was defined in the flags schema but never read in
run() and never persisted in configHandler.set(). Token objects were
always saved as { token, apiKey, type } or { token, apiKey, environment,
type } — branch was never included. The feature was planned but never
completed.

Removed:
- --branch flag definition in auth/tokens/add.ts
- Two it.skip tests that only existed to test branch-on-token behaviour
- --branch args from the one active test that passed them (test was
  asserting on errorStub which was never called, making it vacuous)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- cm:migration alias: correct exception note — alias was removed, not preserved
- Seed curated list: 4 repos → 3 repos, remove stack-starter-app entry
- Bootstrap flags: --appType / -s is removed (no replacement), not renamed to --app-type
- Strip internal ticket reference from stack-starter-app note

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ecated-flags-aliases

fix(DX-10057): remove dead --branch flag from auth:tokens:add
@harshitha-cstk
harshitha-cstk requested a review from a team as a code owner August 5, 2026 07:48
@snyk-io

snyk-io Bot commented Aug 5, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 2 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 2
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants