Skip to content

Commit e4020ac

Browse files
update
1 parent 9d45a3e commit e4020ac

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

docs/changelog/bytebase-3-17-0.mdx

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,6 @@ import InstallUpgrade from '/snippets/install/install-upgrade.mdx';
111111

112112
### CEL Filter Syntax Change
113113

114-
Substring-search CEL filters now use `contains()` instead of `matches()`. Affected fields:
114+
Substring-search CEL filters now use `contains()` instead of `matches()`. Existing clients that send filters such as `title.matches("...")`, `name.matches("...")`, `resource_id.matches("...")`, `email.matches("...")`, `host.matches("...")`, `port.matches("...")`, `statement.matches("...")`, `query.matches("...")`, or `table.matches("...")` must switch to the corresponding `contains()` form.
115115

116-
| Field | Example Before | Example After |
117-
| -- | -- | -- |
118-
| `title` | `title.matches("database migration")` | `title.contains("database migration")` |
119-
| `name` | `name.matches("employee")` | `name.contains("employee")` |
120-
| `resource_id` | `resource_id.matches("prod")` | `resource_id.contains("prod")` |
121-
| `email` | `email.matches("admin")` | `email.contains("admin")` |
122-
| `host` | `host.matches("10.0")` | `host.contains("10.0")` |
123-
| `port` | `port.matches("5432")` | `port.contains("5432")` |
124-
| `statement` | `statement.matches("select")` | `statement.contains("select")` |
125-
| `query` | `query.matches("insert")` | `query.contains("insert")` |
126-
| `table` | `table.matches("users")` | `table.contains("users")` |
127-
128-
Applies to all list endpoints that support CEL filter: plan, database, instance, project, group, user, service account, workload identity, query history, access grant, and database metadata table.
116+
This applies to plan, database, instance, project, group, user, service account, workload identity, query history, access grant, and database metadata table filters.

0 commit comments

Comments
 (0)