Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: merge main into 422 #472

Merged
merged 73 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
d1f0c08
[Feature]: support ODP Sharding MySQL and MySQL (#34)
PeachThinking Aug 28, 2023
d429fc0
Partition plan adaptation to database management. (#54)
guowl3 Aug 28, 2023
4c17456
refine(workflow): add new workflow for building artifact and refine c…
smallsheeeep Aug 28, 2023
aa63f8b
fix(workflow): build rpm failed when execute build_artifact.yaml (#72)
smallsheeeep Aug 28, 2023
e884513
feat(data-transfer): support saving export objects (#73)
LuckyPickleZZ Aug 31, 2023
073e33b
fix(result-set): generate dml slowly when edit result-set (#78)
LuckyPickleZZ Aug 31, 2023
c46268d
add method in InfoAdaptor (#96)
MarkPotato777 Aug 31, 2023
a5816ad
fix create oracle table failed with quote wrapped by special characte…
krihy Aug 31, 2023
adc53e2
fix(workflow): Make pnpm run in hoisted mode (#103)
HSunboy Aug 31, 2023
745553b
fix(osc): fix oracle rename table failed (#117)
krihy Sep 1, 2023
e693470
fix(sql-check): fix can not detect table&column comment does not exis…
yhilmare Sep 1, 2023
6ae7366
Fix the issue of empty task list query results in personal mode. (#118)
guowl3 Sep 4, 2023
5a3b401
fix invaid ddl error message (#128)
krihy Sep 4, 2023
66bb388
fix(osc): fix sql of alter replace table name not correct (#130)
krihy Sep 4, 2023
5e33a7e
refactor(unit-test): refact unit test cases (#139)
yhilmare Sep 5, 2023
63409c3
fix(integration): external approval is always created when initiating…
smallsheeeep Sep 5, 2023
643b395
add individual_space role (#137)
MarkPotato777 Sep 5, 2023
fbf6dba
refactor(unit-test): refact unit test cases (#139) (#142)
yhilmare Sep 5, 2023
ffd026f
fix security (#146)
MarkPotato777 Sep 5, 2023
fba0c44
fix filter out the internal schema when synchronizing the database (#…
PeachThinking Sep 5, 2023
d49e566
fix (#148)
MarkPotato777 Sep 5, 2023
549dabe
fix(db-session): fix can not get latest query sql when list all sessi…
yhilmare Sep 5, 2023
db9672f
fix desktop odc cannot generate rollback plan (#145)
PeachThinking Sep 5, 2023
6d44d49
fix(osc): fix duplicate foreign key constraint name when execute new …
krihy Sep 5, 2023
aff12d9
fix(integration): uncatched exception when failed to get flow instanc…
smallsheeeep Sep 5, 2023
e89e447
fix(osc): fix create osc task ddl contains unique key but oms prechec…
krihy Sep 5, 2023
1b1a95d
fix(pl-debug): add exception prompt when debugging errors (#168)
yhilmare Sep 6, 2023
4920841
Fix security vulnerability. (#171)
guowl3 Sep 6, 2023
39ba6fb
fix mysql before 4.x can see other tenant schemas when syncDatabase (…
PeachThinking Sep 6, 2023
19cfec0
fix(osc): fix old running task throw npe when enable full verify (#…
krihy Sep 6, 2023
32babd6
fix(flow): flow's status is illegal when failed to submit a task (#134)
yhilmare Sep 6, 2023
b3c2561
fix(security): http request during integration may receive SSRF attac…
smallsheeeep Sep 6, 2023
02a5418
fix(pl-debug): Get connection failed when debug anonymous blocks in l…
smallsheeeep Sep 6, 2023
045ff92
fix(data-security): create sensitive columns with case insensitive sa…
smallsheeeep Sep 6, 2023
4d79274
refactor(gitsubmodule) update submodule (#234)
yhilmare Sep 7, 2023
e510faf
fix(connection): check database type when test connection. (#232)
guowl3 Sep 7, 2023
ee12bf3
refactor(migrate): speed up resource migration and add transaction co…
yhilmare Sep 7, 2023
ae6d69f
fix(pldebug): fix debugger create new connection attach debuggee sess…
krihy Sep 7, 2023
638d30e
Revert "fix(connection): check database type when test connection. (#…
guowl3 Sep 7, 2023
71cf36b
refactor(migrates): add some abstract methods for migrates (#275)
yhilmare Sep 8, 2023
df1025f
upgrade dlm sdk version. (#244)
guowl3 Sep 8, 2023
17825e4
fix(pldebug): fix debug obtain connection info from direct connection…
krihy Sep 8, 2023
1ef45b2
fix(audit): fix audit meta event for desktop (#289)
krihy Sep 8, 2023
a1d9416
refactor(migration): extract data migration interface (#290)
MarkPotato777 Sep 9, 2023
06f1a1e
fix (#291)
MarkPotato777 Sep 10, 2023
2526729
fix permission (#292)
MarkPotato777 Sep 10, 2023
c8b9ab9
fix(recyclebin): fix failed to generate flashback sql (#303)
yhilmare Sep 11, 2023
e5dc92d
fix(data-transfer): failed to update data-transfer task status during…
LuckyPickleZZ Sep 11, 2023
3781355
fix wrong organization id. (#314)
guowl3 Sep 12, 2023
3dd5b59
fix pre-check failed (#315)
guowl3 Sep 12, 2023
a892684
fix(connection):adapter result has been overwritten. (#340)
guowl3 Sep 15, 2023
405aa8d
optimize log (#349)
MarkPotato777 Sep 15, 2023
baa123b
fix(sql-execute): fix failed to print dbms output (#361)
yhilmare Sep 19, 2023
d6003be
fix(osc): fix input sql check unsupported foreign key and different c…
krihy Sep 19, 2023
c8e0047
1.fix osc personal space obtain cloud main account id error (#347)
krihy Sep 19, 2023
084c0e6
fix(clientMode): odc fail to start on clientMode (#345)
LuckyPickleZZ Sep 19, 2023
0f874f7
fix(security): risky URLs discovered by security scans (#369)
smallsheeeep Sep 20, 2023
cbc4631
fix(clientMode): fail to start for lack of Service annotations (#371)
LuckyPickleZZ Sep 20, 2023
9a95e59
fix NPE when list task. (#378)
guowl3 Sep 21, 2023
e39d20f
fix: masking enabled (#383)
smallsheeeep Sep 21, 2023
4e308a1
fix(osc): osc support ob ce add type ob mysql ce (#390)
krihy Sep 25, 2023
a7f3b57
fix(datasource): optimize datasource synchronization (#391)
MarkPotato777 Sep 25, 2023
5eb2667
docs(changelog): add changelog for ODC 4.2.1 (#397)
yhilmare Sep 26, 2023
03f6a7a
feat(db-browser): upgrade db-browser's version to 1.0.2 (#402)
yhilmare Sep 26, 2023
47a7360
refactor(submodule): update submodule (#436)
yhilmare Oct 8, 2023
1aaf663
fix(dlm): validate condition by sql explain. (#440)
guowl3 Oct 8, 2023
5fcb507
build: copy obclient package based on cpu architecture (#450)
yizhouxw Oct 9, 2023
df2bc24
Merge branch 'dev/4.2.1' of https://github.com/oceanbase/odc into fea…
yhilmare Oct 10, 2023
a0eccfd
Merge pull request #469 from oceanbase/feat/shanlu_merge_421_main
yhilmare Oct 10, 2023
1c02c00
refactor(submodule): update submodule (#470)
yhilmare Oct 11, 2023
964dbc4
build: update submodule
yhilmare Oct 11, 2023
d8600d5
Merge branch 'main' of https://github.com/oceanbase/odc into build/sh…
yhilmare Oct 11, 2023
ad3b06a
build: update version
yhilmare Oct 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .gitchangelog.rc
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
## of the regexps associated is matching.
section_regexps = [
('New', [
r'^(PullRequest: ){1}([0-9])+( ){1}([fF]eat)(\([a-zA-Z\-\s,]+\))?\s*:\s*.*$'
r'^([fF]eat)(\([a-zA-Z\-\s,]+\))?\s*:\s*.*$'
]),
('Changes', [
r'^(PullRequest: ){1}([0-9])+( ){1}([cC]hore|[dD]oc|[rR]efactor)(\([a-zA-Z\-\s,]+\))?\s*:\s*.*$'
r'^([cC]hore|[dD]oc|[rR]efactor)(\([a-zA-Z\-\s,]+\))?\s*:\s*.*$'
]),
('Fix', [
r'^(PullRequest: ){1}([0-9])+( ){1}([fF]ix)(\([a-zA-Z\-\s,]+\))?\s*:\s*.*$'
r'^([fF]ix)(\([a-zA-Z\-\s,]+\))?\s*:\s*.*$'
]),
('Security', [
r'^(PullRequest: ){1}([0-9])+( ){1}([sS]ecurity|[sS]ecure)(\([a-zA-Z\-\s,]+\))?\s*:\s*.*$'
r'^([sS]ecurity|[sS]ecure)(\([a-zA-Z\-\s,]+\))?\s*:\s*.*$'
]),
# Not generate other changes
# ('Other', None ## Match all lines
Expand Down Expand Up @@ -75,16 +75,14 @@ body_process = ReSub(r'.*', r'') | strip
## be used in the changelog.
##
## Available constructs are those listed in ``body_process`` doc.
## remove LinkE 'PullRequest: no.:' prefix
subject_process = (strip |
ReSub(r'^(PullRequest: ){1}([0-9])+', r'') |
ReSub(r'\r', r'') |
SetIfEmpty("No commit message.") | ucfirst | final_dot)

## ``tag_filter_regexp`` is a regexp
## Tags that will be used for the changelog must match this regexp.
# Match ODC release tag style
tag_filter_regexp = r'^(release(_|-))?([0-9]+\.[0-9]+\.[0-9]+)((_|-)release)?(_|-)[0-9]+$'
tag_filter_regexp = r'^v([0-9]+\.[0-9]+\.[0-9]+)$'

## ``revs`` is a list of callable or a list of string
##
Expand All @@ -98,7 +96,7 @@ tag_filter_regexp = r'^(release(_|-))?([0-9]+\.[0-9]+\.[0-9]+)((_|-)release)?(_|
##
## Using callables is especially useful, for instance, if you
## are using gitchangelog to generate incrementally your changelog.
# ODC v2.0.0 start from tag_release_20191101
revs = ["tag_release_20191101..HEAD"]
# ODC v2.0.0 start from v4.2.0
revs = ["v4.2.0..HEAD"]

unreleased_version_label = "(unreleased)"
7 changes: 7 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ Fixes #

#### Special notes for your reviewer:

<!--
This section is used to describe how this PR is implemented.
If this is a PR that fixes a bug, this section describes how the bug was fixed.
If it's a new feature, this section briefly describes how to implement the new feature.
etc.
-->

#### Additional documentation e.g., usage docs, etc.:

<!--
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ jobs:
# security import certificate.p12 -k build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
# security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MACOS_CI_KEYCHAIN_PWD" build.keychain
# echo "Cert Imported"
echo "node-linker=hoisted" >> .npmrc
pnpm install
# We need to create a new keychain, otherwise using the certificate will prompt
# with a UI dialog asking for the certificate password, which we can't
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ jobs:
# security import certificate.p12 -k build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
# security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MACOS_CI_KEYCHAIN_PWD" build.keychain
# echo "Cert Imported"
echo "node-linker=hoisted" >> .npmrc
pnpm install
# We need to create a new keychain, otherwise using the certificate will prompt
# with a UI dialog asking for the certificate password, which we can't
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ jobs:
# security import certificate.p12 -k build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
# security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MACOS_CI_KEYCHAIN_PWD" build.keychain
# echo "Cert Imported"
echo "node-linker=hoisted" >> .npmrc
pnpm install
# We need to create a new keychain, otherwise using the certificate will prompt
# with a UI dialog asking for the certificate password, which we can't
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "client"]
path = client
url = https://github.com/oceanbase/odc-client.git
branch = dev-4.2.1
branch = dev-4.2.2
16 changes: 16 additions & 0 deletions .secignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,22 @@
http://xxx.xxx.xxx.xxx:xxxx*
test@email.com
https://tools.ietf.org*
https://obodc-front.oss-cn-beijing.aliyuncs.com/ODC*
https://discord.gg*
https://qr.dingtalk.com/action/joingroup*
https://help.github.com*
https://npmmirror.com*
https://www.contributor-covenant.org*
https://www.conventionalcommits*
https://plugins.jetbrains.com
*@oceanbase.com
https://www.jetbrains.com*
https://plugins.jetbrains.com*
http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/oceanbase/odc*
http://pmd.sourceforge.net*
https://pmd.github.io*
http://ns.adobe.com*


--------------------------------------------------------
# Should use GLOB wildcard to configure and analysis the ignored folder
Expand Down
45 changes: 45 additions & 0 deletions CHANGELOG-zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# OceanBase Developer Center (ODC) CHANGELOG

## 4.2.1 (2023-09-25)

### 缺陷修复

SQL 执行

- OceanBase 4.0 之前版本时无法打印 DBMS 输出
- 编辑结果集时 DML 语句生成速度缓慢

导入导出

- 任务执行过程中导入/导出对象在任务详情中不显示

PL 调试

- OceanBase 多节点部署时 PL 调试偶现无法连接到数据库
- OceanBase Oracle 模式小写 schema 下调试匿名块时获取数据库连接错误

数据源管理

- 回收站模块生成的针对索引的 flashback 语句执行报错
- 会话管理界面无法显示会话正在执行的 SQL
- 批量导入连接时模版文件中存在空行或空列时引发空指针异常

数据脱敏

- OceanBase MySQL 模式配置为大小写敏感时,敏感列无法区分大小写

工单管理

- 工单提交后工单状态长期处于“排队中”不更新且工单不报错

第三方集成

- 审批流未包含外部审批节点时也会尝试获取外部审批工单的 ID

SQL-Check

- OceanBase Oracle 模式下无法检测表或列的注释是否存在

### 安全加固

- 解决第三方集成过程中可能发生的 SSRF 攻击
Loading