Release 3.13.0
π Notable Changes
- Consolidate DDL and DML changes so users no longer need to select them explicitly when initiating New Plan or configuring approval flow.
- Simplify approval workflows:
- Approval flows are defined directly using CEL expressions, without intermediate risk definitions.
- Risk level is automatically evaluated using a standardized assessment framework.
risk.levelis an optional CEL factor for CHANGE_DATABASE approval flows.- For non-Terraform, existing approval flows are automatically migrated.
- For Terraform, approval flows are defined via bytebase_setting (settings/WORKSPACE_APPROVAL) using approval_flow.rules.flow, and risk resources are removed.(e.g. approval_flow.tf)
- Update SQL review configuration for Terraform: (e.g. sql_review.tf)
- SQL review rules use typed payload fields (
number_payload,string_payload,string_array_payload,naming_payload, etc.). - Generic payload and comment fields are removed.
- Rule level enums migrate from
SQLReviewRuleLevel_WARNING/ERRORtoSQLReviewRule_WARNING/ERROR.
- SQL review rules use typed payload fields (
- Move rollout policy checkers from environment to project level: Require issue approval and Plan check enforcement. Project settings are checked if any checker is previously used via automatic migration.
- Migrate user identifiers: User references change from
users/{id}tousers/{email}in APIs and storage. Audit logs store user emails directly. - Rename Masking Exception to Masking Exemption:
- APIs rename
MaskingExceptiontoMaskingExemption. - The action field is removed.
memberis replaced with amemberslist.- For Terraform,
masking_exception_policyis renamed tomasking_exemption_policy.
- APIs rename
- Disallow Copy Policy now applies to Admin and DBA roles (previously exempted).
- Refine database group permissions:
- Roles with
bb.projects.getgainbb.databaseGroups.list/get. - Roles with
bb.projects.updategainbb.databaseGroups.create/update/delete. - For Terraform, please update the permissions of custom roles accordingly.
- Roles with
- Update batch task APIs: The
reasonfield is removed fromBatchRunTasksandBatchCancelTaskRuns.reasonis supported only for skip operations. - Remove Schema Template functionality.
π Features
- Support MCP integration.
- Add Workload Identity as a dedicated account type for OIDC-based authentication, with GitHub Actions support.
- Support direct messages for Microsoft Teams.
π Enhancements
- Improve the rollout page with a timeline view, auto-expanded task details, and collapsible task run logs with auto-refresh.
- Allow filtering in SQL Editor results to quickly locate rows.
- Allow selecting a database group to query from in the SQL Editor.
- Snowflake - Support passphrase-protected private keys.
- PostgreSQL - Add event trigger sync and SDL support.
- Trino - Support TLS/SSL.
- Doris - Improve SQL parser compatibility.
https://github.com/bytebase/bytebase/compare/3.12.2...3.13.0
Warning 1): Bytebase does not support in-place downgrade. Make sure to back up your metadata before upgrading. 2) Never run multiple containers on the same data directory. Stop and remove the old one first to avoid corruption.