Skip to main content

πŸ”” Notable Changes

  • Redesign the database CI/CD workflow to align with industry practices (GitHub, GitLab) by clearly separating CI (review) and CD (deployment) phases:
  • Update Project Webhook events. Please review the documentation for the current list of supported events to ensure your listeners remain compatible.
  • Improve permission guards and access control:
  • Redesign the Database Changelog and Revision pages.
  • Remove Schema Drift Detection feature:
  • Update core APIs CreateSheet, CreatePlan, CreateRollout, and CreateRelease, please refer to the latest API documentation for updated request/response definitions.
  • Remove auto_resolve_issue and allow_modify_statement from Project Settings.
  • Remove maximum_connections from Instance Settings and use Parallel tasks per rollout in Project Settings instead.
  • Unify TRUNCATE_TABLE and TRUNCATE into a single TRUNCATE statement type for Custom Approval CEL expressions.
  • Update Terraform provider:

πŸš€ Features

  • Add refresh token support (previously only access tokens were supported).
  • Allow configuring Access token duration and Refresh token duration (previously the sign-in frequency setting).
  • Allow setting No approval required in approval rules when configured conditions are met.
  • Support Workload Identity with GitLab.

πŸŽ„ Enhancements

  • Add list sorting for projects, instances, and databases.
  • Grant Exemption supports CEL expressions and includes a database selector.
  • PostgreSQL - Support ENUM value additions via ALTER TYPE ... ADD VALUE in schema sync.
  • MySQL - Prettify generated DDL statements.

🐞 Bug Fixes

  • Fix AI setting cache modification issues.
  • PostgreSQL – Fix cyclic foreign key dependency handling in schema diff.
  • TiDB – Fix DML dry run handling for BATCH syntax.
  • PostgreSQL – Fix using identifiers as SELECT target field aliases.
  • Oracle – Fix SQL Review incorrectly flagging GRANT / REVOKE as reserved keywords.

βš™οΈ 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.