Skip to content

DX | 12-11-2026 | Release - #201

Merged
reeshika-h merged 9 commits into
mainfrom
development
Nov 12, 2026
Merged

reeshika-h merged 9 commits into
mainfrom
development

Conversation

@reeshika-h

Copy link
Copy Markdown
Contributor

---- v1.12.0

claude and others added 9 commits October 28, 2026 11:04
Branch create accepts an optional branch.publish_config.environments list of environment
names so a caller can clone only the environments it needs. An empty list clones none.
Omitting publish_config sends the same body as before and clones all environments. The
SDK passes the list through unvalidated and adds no length limit; an unknown name or a
mix returns the API's 422 response unchanged and no branch is created.

Documents the field and its three behaviors in the create docstring with an example.
Adds mocked unit tests for the posted body (two names, [], duplicates, a 150-name list,
mixed case, omitted, publish_config {}) and for a 422 returned unchanged, plus sanity
integration tests for create with two names, [], an unknown name and a mix (not run
here). Bumps the minor version to 1.12.0 and adds a changelog entry.

Refs: DX-31563

Co-authored-by: Raj Pandey <raj.pandey@contentstack.com>
Co-authored-by: Reeshika Hosmani <reeshika.hosmani@contentstack.com>
Co-authored-by: Aniket Shikhare <aniket.shikhare@contentstack.com>
Co-authored-by: Claude <noreply@anthropic.com>
…nch-create-environments

feat(branches): add optional environments list to branch create (DX-31563)
The live cases added for publish_config.environments failed on dev11:
generate_valid_uid("branch_env") gives 16 characters (the API caps branch
uids at 15), and a fetch of a branch that does not exist returns 422
(error_code 905), not 404. Use a shorter prefix and compare a rejected
create's fetch with the response for a nonexistent branch (TC-16/TC-17).

Also, per the test cases page: create three class environments so two is
a strict subset (TC-13), add the one-name, no-list (TC-15) and
case-variant cases, and delete every branch and environment created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XifDUYYvn7GfSpLcKarg5S
…e-branch-envs

test(branches): fix live environment-list cases for dev11 (DX-31568)
…-environments

feat(branches): optional environment list on branch create (DX-31560)
Resolved conflicts in CHANGELOG.md (kept v1.12.0 and v1.11.3 entries) and
contentstack_management/__init__.py (kept __version__ 1.12.0).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ment-198

Back-merge main into development (1.11.3 Snyk fixes)
The v1.12.0 changelog entry carried the date the feature merged (28 Oct), which now
sits above a Snyk release dated 2 Nov. Set the date to the release date. No
version change: v1.12.0 is already the version in the repo and is not yet released.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
chore(release): set v1.12.0 release date to 2026-11-12 (DX-31560)
@snyk-io

snyk-io Bot commented Nov 12, 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

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

@reeshika-h
reeshika-h marked this pull request as ready for review November 12, 2026 10:00
@reeshika-h
reeshika-h requested a review from a team as a code owner November 12, 2026 10:00
@reeshika-h
reeshika-h merged commit 5dd53ab into main Nov 12, 2026
9 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.

4 participants