|
| 1 | +--- |
| 2 | +title: Bytebase 3.1.0 |
| 3 | +author: Ningjing |
| 4 | +updated_at: 2024/11/21 17:00:00 |
| 5 | +feature_image: /content/changelog/3-1-0-banner.webp |
| 6 | +description: 'Google/GitHub SSO available in Pro Plan' |
| 7 | +--- |
| 8 | + |
| 9 | +## π New Features |
| 10 | + |
| 11 | +- Support PostgreSQL role selection in DDL/DML issues. |
| 12 | +- Add PostgreSQL database tenant mode option in project setting. |
| 13 | +- Display package metadata for ORACLE on database page and SQL Editor. |
| 14 | +- Support setting colors for environments for better visual distinction. |
| 15 | +- Allow workspace admin to disable data export functionality. |
| 16 | +- Add new SQL Review Rules for MySQL: |
| 17 | + - Prohibit DDL on specific tables for MySQL. |
| 18 | + - Prohibit DML on specific tables for MySQL. |
| 19 | + |
| 20 | +## π Breaking Changes |
| 21 | + |
| 22 | +- Redefine SQL Editor related permissions: |
| 23 | + - Permissions |
| 24 | + - `bb.databases.query` -> `bb.sql.select` |
| 25 | + - `bb.databases.queryDML` -> `bb.sql.dml` |
| 26 | + - `bb.databases.queryDDL` -> `bb.sql.ddl` |
| 27 | + - `bb.databases.queryExplain` -> `bb.sql.explain` |
| 28 | + - `bb.databases.queryInfo` -> `bb.sql.info` |
| 29 | + - `bb.databases.export` -> `bb.sql.export` |
| 30 | + - `bb.instances.adminExecute` -> `bb.sql.admin` |
| 31 | + - Roles |
| 32 | + - `roles/projectQuerier` -> `roles/sqlEditorUser` |
| 33 | + |
| 34 | +- API change: |
| 35 | + - Remove the `database` field of `sheet` in `SheetService`. |
| 36 | + - Disallow adding service account to a group via API (previously restricted in the UI) . |
| 37 | + - Deprecate `SQLService.Execute` method. |
| 38 | + |
| 39 | +- Default PostgreSQL role to run a DDL/DML issue: |
| 40 | + - Instance connection user (previously database owner) |
| 41 | + - If PostgreSQL database tenant mode is on for a project, the role remains database owner. |
| 42 | + - For existing projects: PostgreSQL tenant mode will be automatically enabled if multitenancy is enabled for any database group. |
| 43 | + |
| 44 | +## π Enhancements |
| 45 | + |
| 46 | +- Expand audit log coverage to include more event types. |
| 47 | +- Upgrade 1-click rollback user experience for MySQL. |
| 48 | +- Upgrade parser to be compatible with PostgreSQL 15 syntax. |
| 49 | +- Add compatibility with Elasticsearch 7.x. |
| 50 | +- Support `DECLARE` and `SET` for SQL Server in SQL Editor. |
| 51 | + |
| 52 | +## π° Pricing Adjustments |
| 53 | + |
| 54 | +- Move SSO OAuth2 Google and GitHub from **Enterprise** to **Pro Plan**. |
| 55 | +- Move self-service signup restriction from **Enterprise** to **Pro Plan**. |
| 56 | + |
| 57 | +<IncludeBlock url="/docs/get-started/install/install-upgrade"></IncludeBlock> |
0 commit comments