Skip to content

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

Open
manumartinm wants to merge 4 commits into
mainfrom
manum/fwd-796-define-cloud-branch-creation-in-tinybird-config
Open

Allow to set branch mode in tinybird.config.json#167
manumartinm wants to merge 4 commits into
mainfrom
manum/fwd-796-define-cloud-branch-creation-in-tinybird-config

Conversation

@manumartinm

Copy link
Copy Markdown

This MR releases @tinybirdco/sdk version 0.0.78 and updates release notes to reflect Tinybird CLI 4.6.1 branch-management changes.

Changes

  • Bumped package version to 0.0.78.
  • Updated CHANGELOG.md with release notes for 0.0.78.

Documented CLI behavior updates (4.6.1)

  • Migration from branch_data_on_create to branch_data_mode (legacy key now errors with explicit migration guidance).
  • branch_data_mode now supports only last_partition as user-facing value.
  • In local dev mode, branch data mode warnings appear only when explicitly configured.
  • tinybird branch create / tinybird branch clear with --ignore-datasource now emit a deprecation warning and continue, instead of aborting.

Why

To keep TS SDK release notes and expected CLI behavior consistent for users managing branches through SDK-driven workflows.

@manumartinm manumartinm requested a review from juliavallina June 15, 2026 09:12
Comment thread src/cli/config-types.ts
Comment on lines +14 to +16
export enum BranchDataMode {
LAST_PARTITION = "last_partition",
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use type unions instead of enum?

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.

2 participants