Skip to content

Commit

Permalink
docs: add changelogs (#579)
Browse files Browse the repository at this point in the history
* docs: add changelogs for ODC 4.2.2

* reponse to cr comments

* reponse to cr comments

* builds: re-run workflows

* docs(changelog): add new changes to changelog

* docs(changelog): add new changes to changelog

* docs: update changelog

* docs: update changelog
  • Loading branch information
yhilmare committed Nov 1, 2023
1 parent 6ac804c commit 95c7c44
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 0 deletions.
85 changes: 85 additions & 0 deletions CHANGELOG-zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
# OceanBase Developer Center (ODC) CHANGELOG

## 4.2.2 (2023-11-02)

### 功能变化

数据源

- 支持 MySQL 数据源
- 适配 OceanBase 4.2.0/4.2.1
- 数据源增加初始化脚本以及自定义 JDBC 连接参数设置

数据脱敏

- 支持视图脱敏

数据归档

- 支持 OceanBase 4.x 版本
- 支持 MySQL 到 OceanBase 链路
- 支持白屏限流配置
- 支持断点恢复

导入导出

- 支持类型对象的导入导出

### 改进

- 优化了大规模表列场景下的对象管理性能,通过 ob-sql-parser 解析索引/约束的元数据
- 优化了数据库对象树交互,项目和数据源的选择交互区域折叠到顶部,数据库列表展示更清晰
- 优化了 SQL 窗口新建和 SQL 窗口切换数据库的交互,切换数据库更快速了,SQL 窗口增加复制操作
- 优化了数据脱敏配置交互,选择敏感列更方便
- 优化了存在大量数据源场景下获取数据源列表缓慢以及获取数据源状态缓慢的问题
- 优化以错误参数运行 PL 时的报错文案

### 缺陷修复

PL 调试

- 调试过程中无法跳入程序包中定义的子存储过程/函数

SQL 执行

- 执行 SQL 过程中持续执行 "DROP PACKAGE" 语句导致大量报错
- 连接 OceanBase MySQL 租户时自动调用 "obodc_procedure_feature_test" 存储过程导致报错或进入连接缓慢
- SQL 执行耗时统计各子项耗时之和不等于父项
- SQL 执行耗时统计中, "SQL 预检查"及"SQL 后置检查"缺乏详细子项耗时统计

SQL-Check

- OceanBase Oracle 租户下创建 type 时,如果子存储过程/函数无参数列表,SQL Check 报语法错误
- 无法关闭"语法错误"规则

数据脱敏

- SELECT 语句中含有多表 JOIN 的场景下脱敏失败
- 大小写敏感的 OceanBase MySQL 模式下无法识别到敏感列导致脱敏失效

数据库对象管理

- 没有 show create view 权限用户查看视图详情时报错
- 查看表对象时所有字符类型的长度无法显示

数据库变更

- 数据库变更任务超时时间设置无效
- 个人空间下查看定时执行的带有自动回滚节点的数据库变更任务详情失败

导入导出

- Oracle 模式下导出程序包不包含包体
- 无法将含有制表符的结果集导出为 Excel

操作审计

- 没有将"SQL 检查规范"以及"SQL 窗口规范"改变纳入操作审计范围

### 依赖库升级

- 升级 ob-loader-dumper 版本到 4.2.5-RELEASE
- 升级 oceanbase-client 版本到 2.4.5

### 安全加固

- 前后端敏感字段传输使用非对称加密

## 4.2.1 (2023-09-25)

### 缺陷修复
Expand Down
85 changes: 85 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
# OceanBase Developer Center (ODC) CHANGELOG

## 4.2.2 (2023-11-02)

### Feature

Data Source

- Support MySQL data source
- Adapted to OceanBase 4.2.0/4.2.1
- Data sources add initialization scripts and customized JDBC connection parameter settings

Data Desensitization

- Support view desensitization

DLM

- Support OceanBase 4.x version
- Support MySQL to OceanBase link
- Support white screen current limiting configuration
- Support breakpoint recovery

Import and Export

- Supports import and export of type objects

### Improve

- Optimized object management performance in large-scale table scenarios, and used ob-sql-parser to parse index/constraint metadata
- Optimized database object tree interaction, the project and data source selection interaction area is folded to the top, and the database list is displayed more clearly
- Optimized the interaction between creating a new SQL window and switching databases in the SQL window. Switching databases is faster, and the SQL window adds a copy operation.
- Optimized the data desensitization configuration interaction, making it more convenient to select sensitive columns
- Optimized the problem of slow retrieval of data source list and slow retrieval of data source status in scenarios where there are a large number of data sources.
- Optimize the error text when running PL with wrong parameters

### Fix

PL Debugging

- Unable to jump into sub-stored procedures/functions defined in the package during debugging

SQL Execution

- Continuous execution of "DROP PACKAGE" statements during SQL execution resulted in a large number of error reports
- When connecting to the OceanBase MySQL tenant, the "obodc_procedure_feature_test" stored procedure is automatically called, resulting in an error or slow connection.
- The sum of the time consumption of each sub-item in SQL execution time-consuming statistics is not equal to the parent item
- In the SQL execution time-consuming statistics, "SQL pre-check" and "SQL post-check" lack detailed sub-item time-consuming statistics

SQL-Check

- When creating type under the OceanBase Oracle tenant, if the sub-stored procedure/function has no parameter list, SQL Check will report a syntax error.
- Unable to turn off "Syntax Error" rule

Data Desensitization

- Desensitization fails when the SELECT statement contains multiple table JOINs
- Sensitive columns cannot be recognized in the case-sensitive OceanBase MySQL mode, causing desensitization to fail.

Database Object Management

- Users without the show create view permission will receive an error when viewing view details.
- The length of all character types cannot be displayed when viewing table objects
- Failed to view details of scheduled database change tasks with automatic rollback nodes in personal space

Database Changes

- The database change task timeout setting is invalid

Import and Export

- The exported package in Oracle mode does not contain the package body
- Unable to export result set containing tab characters to Excel

Operational audit

- Changes to "SQL Check Specification" and "SQL Window Specification" are not included in the operational audit scope

### Dependency library upgrade

- Upgrade ob-loader-dumper version to 4.2.5-RELEASE
- Upgrade oceanbase-client version to 2.4.5

### Security reinforcement

- Transmission of sensitive fields on the front and back ends uses asymmetric encryption

## 4.2.1 (2023-09-25)

### Fix
Expand Down
106 changes: 106 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,116 @@

New
~~~
- Feat(dlm):support breakpoint recovery (#635) [guowl3]
- Feat(dlm):support configuring limiter (#626) [guowl3]
- Feat(data-security): add data type unit into response (#629)
[XiaoYang]
- Feat(dlm): data archive supports MySQL to OB (#544) [guowl3]
- Feat: add timeout settings for pl-debug (#576) [IL MARE]
- Feat: make odc adapt to OceanBase 4.2 (#541) [IL MARE]
- Feat(ob-sql-parser): make ob-sql-parser adapt to OceanBase 4.2 (#441)
[IL MARE]
- Feat(connection): add initialization configuration capabilities for
data sources (#488) [IL MARE]
- Feat(data-transfer): upgrade ob-loader-dumper to 4.2.5-RELEASE (#494)
[LuckyLeo]
- Feat(integration): support retrieve xml format response (#338)
[XiaoYang]
- Feat(data-security): data masking support columns in view (#97)
[XiaoYang]
- Feat(encryption): support asymmetric encryption (#99) [XiaoYang]
- Feat(schema-plugin): schema-plugin access service layer (#88)
[zhangxiao]

Changes
~~~~~~~
- Refactor(unit-test): cherry-pick unit-test commits from 4.2.x to 4.2.2
(#474) [XiaoYang]
- Refactor(submodule): update submodule (#470) [IL MARE]
- Refactor(unit-test): refact unit test cases (#139) (#142) [IL MARE]
- Refactor(ob-sql-parser): add several new syntaxes which added in
OceanBase 4.1.0 (#132) [IL MARE]
- Refactor(unit-test): refact unit test cases (#139) (#141) [IL MARE]

Fix
~~~
- Fix(dlm): submit task got condition not supported error while
condition contains subquery (#668) [guowl3]
- Fix(database-change): failed to view a scheduled database change task
with rollback plan in personal space (#669) [zhangxiao]
- Fix(pl-debug): enable dbms_output first (#677) [IL MARE]
- Fix(database): use datasource's environment as database's environment
to prevent data inconsistency (#659) [pynzzZ]
- Fix: dirty meta data (#663) [XiaoYang]
- Fix(sql-execute): fix failed to get time consuming (#658) [IL MARE]
- Fix(migration): rule metadata migration will be triggered every time
the ODC server starts up (#649) [pynzzZ]
- Fix(sql-check): fix syntax error check rule can not be disabled (#652)
[IL MARE]
- Fix: fix can not get plan (#660) [IL MARE]
- Fix(data-transfer): no package body (#653) [LuckyLeo]
- Fix(web): editor.worker.js static resource 404 not found (#656)
[pynzzZ]
- Fix(data-transfer): fix wrong data objects and schema objects (#620)
[LuckyLeo]
- Fix(datasource): the data source list refreshes very slowly and cannot
obtain the connect status while there are a huge amount of data
sources (#599) [pynzzZ, yh263208]
- Fix: fix failed to query data and sql rules changing is not recorded
by audit event (#608) [IL MARE]
- Fix(connection): fix failed to set setConnectionAttrs (#601) [IL MARE]
- Fix(db-browser): cannot get table charset in native mysql mode (#592)
[zhangxiao]
- Fix(result-export): failed to convert CSV file into Excel file (#586)
[LuckyLeo]
- Fix(diagnose): optimize log information when explain failed (#589)
[LuckyLeo]
- Fix(pl): fix wrong parameter check error message (#583) [IL MARE]
- Fix(schema-plugin): cannot display constraint name for ob oralce 4.2.1
(#533) [zhangxiao]
- Fix(pl-debug): fix failed to step in a subprocedure or subfunction
defined in package (#566) [IL MARE]
- Fix(integration): recover bastion integration (#559) [yizhou]
- Fix(databasechange): fix task costs too much time to start up (#551)
[IL MARE]
- Fix: remove pl delete code (#548) [IL MARE]
- Fix(ob-sql-parser): fix failed to parse member proc without parameters
(#546) [IL MARE]
- Fix(osc): fix get cloud main account id throw exception when
environment is not cloud (#529) [krihy]
- Fix(data-security): exist sensitive is not filtered and view
desensitization data failed (#509) [XiaoYang]
- Fix(unit-test): unit test logs expose sensitive information (#498)
(#516) [XiaoYang]
- Fix(view): fix get view failed without show view permission (#507)
[zhangxiao]
- Fix: masking failed (#485) [XiaoYang]
- Fix(osc): execute pre and post interceptor in retry rename table
(#486) [krihy]
- Fix(unit-test): fix failed unit test cases (#476) [XiaoYang, yh263208]
- Fix(data-security): error metadata of built-in sensitive algorithm
(#458) [XiaoYang]
- Fix: database change failed (#455) [XiaoYang]
- Fix: scan sensitive columns (#444) [XiaoYang]
- Fix(mvc): api response content type converts to xml (#377) [XiaoYang]
- Fix: extract column from SQL with multiple join clauses (#327)
[XiaoYang]


v4.2.1 (2023-10-09)
-------------------

New
~~~
- Feat(db-browser): upgrade db-browser's version to 1.0.2 (#402) [IL
MARE]
- Feat(data-transfer): support saving export objects (#73) [LuckyLeo]
- Feat(workflow): add checkbox for installing db-browser and ob-sql-
parser (#75) [IL MARE]

Changes
~~~~~~~
- Refactor(submodule): update submodule (#436) [IL MARE]
- Refactor(migration): extract data migration interface (#290) [pynzzZ]
- Refactor(migrates): add some abstract methods for migrates (#275) [IL
MARE]
Expand All @@ -24,6 +128,8 @@ Changes

Fix
~~~
- Fix(dlm): validate condition by sql explain. (#440) [guowl3]
- Fix(datasource): optimize datasource synchronization (#391) [pynzzZ]
- Fix(osc): osc support ob ce add type ob mysql ce (#390) [krihy]
- Fix: masking enabled (#383) [XiaoYang]
- Fix(clientMode): fail to start for lack of Service annotations (#371)
Expand Down

0 comments on commit 95c7c44

Please sign in to comment.