Skip to main content

🔔 Notable Changes

  • Environment rollout policy update
    • Issue Creators and Last Issue Approvers can no longer roll out issues. Manual rollouts now require specifying workspace/project roles or users with the bb.taskRuns.create permission.
    • The force rollout mechanism has been replaced by configurable rollout requirements:
      • Require Issue Approval – ensures issues must be approved before rollout can proceed (default: enabled).
      • Plan Check Enforcement – controls rollout behavior based on plan check results (default: block on errors only).
  • Deprecate bb.sql.export permission and roles/projectExporter role.
  • Deprecate request.row_limit in the project IAM policy. Use maximum_result_rows in QueryDataPolicy instead.
  • API
    • Standardize CEL attribute naming with prefixes: resource.*, statement.*, request.* (e.g., environment_id → resource.environment_id)
    • Unify risk levels to single RiskLevel enum; changed from integers (100, 200, 300) to strings (LOW, MODERATE, HIGH); CEL expressions migrate from format level == 300 to level == "HIGH"
    • Simplify approval template to singleton with flat role array; replace approval_finding_done/approval_finding_error with approval_status enum
    • Consolidate task types into DATABASE_MIGRATE (with migrate_type: DDL/DML/GHOST) and DATABASE_SDL. Split changelog Type into Type and MigrationType enums. Merged DatabaseSchemaUpdate and DatabaseDataUpdate into DatabaseUpdate.
  • Terraform (provider version: 3.11.1)
    • Use RiskLevel enum instead of numeric values for level in bytebase_risk. Example: risk.tf
    • Remove disable_copy_data_policy; moved into query_data_policy as the disable_copy_data field. Example: environment.tf
    • Update structure of the approval_flow setting. Example: approval_flow.tf
    • Remove row_limit from bytebase_iam_policy setting.
  • Remove Format on Save feature from SQL Editor.

🎄 Enhancements

  • Support key-value instance labels.
  • Optimize Schema Editor performance.
  • Add pre-flight validation and circuit breaker to gh-ost workflow.
  • AWS Elasticsearch – Add cross-account support.

🐞 Bug Fixes

  • Add fallback behavior for PostgreSQL dump topological sorting to prevent blocking dump functionality.

⚙️ Install and Upgrade

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.