Skip to content

Allow to set branch mode in tinybird.config.json#15

Merged
manumartinm merged 7 commits into
mainfrom
manum/fwd-796-define-cloud-branch-creation-in-tinybird-config
Jun 23, 2026
Merged

Allow to set branch mode in tinybird.config.json#15
manumartinm merged 7 commits into
mainfrom
manum/fwd-796-define-cloud-branch-creation-in-tinybird-config

Conversation

@manumartinm

@manumartinm manumartinm commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

This MR releases tinybird-sdk-python version 0.1.11 and aligns the SDK with Tinybird CLI 4.6.1 branch-management behavior.

Changes

  • Bumped package version to 0.1.11.
  • Updated bundled CLI dependency to tinybird==4.6.1.
  • Updated CHANGELOG.md with release notes for 0.1.11.

Included CLI behavior updates (4.6.1)

  • branch_data_on_create is replaced by branch_data_mode; legacy key now raises an explicit migration error.
  • branch_data_mode now only accepts last_partition as user-facing value.
  • In dev_mode=local, branch data mode warnings are shown only when branch_data_mode is explicitly set in tinybird.config.json.
  • tinybird branch create and tinybird branch clear now show a deprecation warning (instead of failing) when --ignore-datasource is passed, then continue by ignoring the flag.

Why

To keep Python SDK users aligned with current CLI semantics and avoid failures in branch flows that now require warning-and-continue behavior.

@manumartinm manumartinm force-pushed the manum/fwd-796-define-cloud-branch-creation-in-tinybird-config branch 2 times, most recently from 4ad8aad to 59e138c Compare June 10, 2026 10:18
@juliavallina

juliavallina commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

MR title is not correct, right? can we add a MR description also?
And also, we should update docs/changelog/readme, right? how users are going to discover and use this new setting?

@manumartinm manumartinm changed the title Add tinybird.config.json support Allow to set branch mode in tinybird.config.json Jun 15, 2026
@manumartinm manumartinm force-pushed the manum/fwd-796-define-cloud-branch-creation-in-tinybird-config branch from c75863b to fe8293a Compare June 19, 2026 20:06
@manumartinm manumartinm merged commit a90f296 into main Jun 23, 2026
5 checks passed
@manumartinm manumartinm deleted the manum/fwd-796-define-cloud-branch-creation-in-tinybird-config branch June 23, 2026 20:51
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.

3 participants