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

[Feature-3751][*] Release 1.2.0 (LTS) #3948

Merged
merged 1 commit into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 1 addition & 7 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,10 @@ body:
Which version of Dinky are you running? We only accept bugs report from the LTS projects.
options:
- dev
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.1
- 1.0.0
- 0.7.5(Archived, Not Maintained)
- 0.7.4(Archived, Not Maintained)
- 0.7.3(Archived, Not Maintained)
- 0.7.2(Archived, Not Maintained)
- 0.7.1(Archived, Not Maintained)
- 0.7.0(Archived, Not Maintained)

validations:
required: true
Expand Down
20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,21 @@ Its main features are as follows:

## Run the Screenshot

> FlinkSQL Studio
> Data Studio

![datastudio](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/datastudio.png)
![datastudio](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1-2/datastudio.png)

> Grammar Check
> Data Debug

![checksql](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/checksql.png)
![datadebug](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1-2/data-debug.png)

> Version Management
> Task Monitor

![versiondiff](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/versiondiff.png)
![devops](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1-2/devops.png)

> lineage
> Task Metrics

![lineage](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/lineage.png)

> Task Monitoring

![monitor](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/monitor.png)
![metrics](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1-2/metrics.png)

## Participate in Contributions
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/DataLinkDC/dinky/pulls)
Expand Down
22 changes: 9 additions & 13 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

- FlinkSQL 数据开发:提示补全、语句美化、在线调试、逻辑校验、执行计划、Catalog、血缘分析、版本对比等
- 支持 FlinkSQL 多版本开发及多种执行模式:Local、Standalone、Yarn/Kubernetes Session、Yarn Per-Job、Yarn/Kubernetes Application
- 支持 Apache Flink 生态:CDC、Connector、FlinkCEP、FlinkCDC、Paimon、PyFlink 等
- 支持 Apache Flink 生态:FlinkCDC、Connector、FlinkCEP、Paimon、PyFlink 等
- 支持 FlinkSQL 语法增强:整库同步、执行环境、全局变量、表值聚合、加载依赖、行级权限、执行Jar任务等
- 支持 FlinkCDC 整库实时入仓入湖与 FlinkCDCPipeline 整库同步
- 支持实时在线调试预览 Table、ChangeLog 和 UDF
Expand All @@ -38,25 +38,21 @@

## 运行效果

> FlinkSQL Studio
> 数据开发

![datastudio](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/datastudio.png)
![datastudio](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1-2/datastudio.png)

> 语法检查
> 数据调试

![checksql](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/checksql.png)
![datadebug](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1-2/data-debug.png)

> 版本管理
> 作业监控

![versiondiff](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/versiondiff.png)
![devops](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1-2/devops.png)

> 血缘分析
> 作业指标

![lineage](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/lineage.png)

> 任务监控

![monitor](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1/monitor.png)
![metrics](https://raw.githubusercontent.com/DataLinkDC/dinky/dev/images/v1-2/metrics.png)

## 参与贡献

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const WelcomeItem = (prop: WelcomeProps) => {
<div>
<Space>
<Congratulations size={60} />
<Title>{l('welcome.welcom')}</Title>
<Title>{l('welcome.welcome')}</Title>
</Space>
<br />
<Text type={'secondary'}>{l('welcome.welcome.content')}</Text>
Expand Down
92 changes: 92 additions & 0 deletions docs/download/dinky-1.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
sidebar_position: 78
title: 1.2.0 release
---

| Dinky 版本 | Flink 版本 | 二进制程序 | Source |
|----------|----------|---------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|
| 1.2.0 | 1.14 | [dinky-release-1.14-1.2.0.tar.gz](https://github.com/DataLinkDC/dinky/releases/download/v1.2.0/dinky-release-1.14-1.2.0.tar.gz) | [Source code (zip)](https://github.com/DataLinkDC/dinky/archive/refs/tags/v1.2.0.zip) |
| 1.2.0 | 1.15 | [dinky-release-1.15-1.2.0.tar.gz](https://github.com/DataLinkDC/dinky/releases/download/v1.2.0/dinky-release-1.15-1.2.0.tar.gz) | [Source code (zip)](https://github.com/DataLinkDC/dinky/archive/refs/tags/v1.2.0.zip) |
| 1.2.0 | 1.16 | [dinky-release-1.16-1.2.0.tar.gz](https://github.com/DataLinkDC/dinky/releases/download/v1.2.0/dinky-release-1.16-1.2.0.tar.gz) | [Source code (zip)](https://github.com/DataLinkDC/dinky/archive/refs/tags/v1.2.0.zip) |
| 1.2.0 | 1.17 | [dinky-release-1.17-1.2.0.tar.gz](https://github.com/DataLinkDC/dinky/releases/download/v1.2.0/dinky-release-1.17-1.2.0.tar.gz) | [Source code (zip)](https://github.com/DataLinkDC/dinky/archive/refs/tags/v1.2.0.zip) |
| 1.2.0 | 1.18 | [dinky-release-1.18-1.2.0.tar.gz](https://github.com/DataLinkDC/dinky/releases/download/v1.2.0/dinky-release-1.18-1.2.0.tar.gz) | [Source code (zip)](https://github.com/DataLinkDC/dinky/archive/refs/tags/v1.2.0.zip) |
| 1.2.0 | 1.19 | [dinky-release-1.19-1.2.0.tar.gz](https://github.com/DataLinkDC/dinky/releases/download/v1.2.0/dinky-release-1.19-1.2.0.tar.gz) | [Source code (zip)](https://github.com/DataLinkDC/dinky/archive/refs/tags/v1.2.0.zip) |
| 1.2.0 | 1.20 | [dinky-release-1.20-1.2.0.tar.gz](https://github.com/DataLinkDC/dinky/releases/download/v1.2.0/dinky-release-1.19-1.2.0.tar.gz) | [Source code (zip)](https://github.com/DataLinkDC/dinky/archive/refs/tags/v1.2.0.zip) |

## Dinky-1.2.0 发行说明

### 升级说明

:::warning 重要
v1.2.0 替换所有 Dinky 相关 jar 后直接重启可自动升级。
:::

### 新功能
- 添加了 国内 npm 的镜像源(使用 profile 方式支持)
- 支持 Flink-1.20
- 支持 FlinkCDC 3.2.0
- 新增内置的 flink history server,从而极大降低了任务状态获取不正确的问题
- 增加角色和权限的一些页面提示
- 增加血缘展示获取时的 loading 效果
- 实现作业导入导出
- 支持对 FlinkSQL 及 CDCSOURCE 作业进行 Mock 预览测试
- 数据开发支持实时更新作业状态
- 增加首次部署时的引导初始化页面

### 修复
- 修复show databases 无法正常执行的问题
- 修复部分 json 序列化问题
- 修复 Flink1.19 下的 SQL Cli 存在的问题
- 修复k8s模式下 任务端口不可用的问题
- 修复 git 项目功能中存在的一些问题(默认值,拖拽排序)
- 修复kubernetes-operator模式下的 SavePoint 路径逻辑并调整 Flink 配置获取的配置方法
- 修复当数据开发页面打开过多任务时导致页面长时间无响应问题
- 修复 git 项目在构建过程中存在的问题
- 修复代码编辑器中的缩略图显示问题
- 修复 pg 的 sql 自动初始化问题
- 修复local 模式提交任务的问题
- 修复 Oracle 整库同步时的数据类型转换问题
- 修复工作台点击作业时,无实例产生的异常
- 修复 postgres 查询数据时语法报错问题
- 修复 flyway 无法支持 mysql5.7 的问题
- 修复 Oracle 数据源类型中获取主键列不正确的问题
- 修复任务列表排序不生效问题
- 修复 Git 项目页面重复刷新问题
- 修复钉钉告警可能存在的空指针异常
- 修复代理 Flink 地址存在的问题
- 修复查看catalog中的表结构无法正常显示问题

### 优化
- 优化获取任务详情时,支持https协议
- 优化工作台页面布局
- 删除dinky_cluster表的唯一索引,解决在 yarn/k8s 开启高可用时造成唯一索引冲突问题
- 优化部分 Mapper 的查询
- 优化 git 项目后端类声明属性的类型
- 删除UDF 注册管理中的提示文案
- 优化部分页面布局,使其在小屏幕上显示更加友好
- 优化版本更新逻辑,解决升级带来的缓存问题(自动对比版本实现)
- 优化数据源详情列表树节点过多时虚拟滚动不生效导致页面渲染过慢问题
- 优化登录页,解决资源过大卡顿问题
- 优化应用启动速度
- 优化将从集群配置启动的集群变更为手动注册
- 优化系统配置描述过长的展示布局
- 优化运维中心 flink 任务算子图的整体布局及渲染效率

### 重构
- 重构 user.dir 获取方式,避免不同部署环境下获取项目根路径错误的问题
- 将 SSE 重构替换为 websocket
- 重构获取任务监控数据的请求方式
- 移除 hutool-json 提升数据转换效率


### 文档
- 添加 Dinky 集成到 Datasophon 的文档
- 添加 SQL Cli 使用文档
- 优化文档页脚
- 增加角色绑定租户相关提示文档

### CI/CD
- 添加 github bug 模版的可选择版本项
- 移除部署文档时的国内仓库代理配置


8 changes: 8 additions & 0 deletions docs/download/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ title: 下载 Dinky

使用以下链接,下载并查看发行说明

## 1.2.0 release

- **发行时间:** 2024-11-24

- **[下载及发行说明](./dinky-1.2.0)**

---

## 1.1.0 release

- **发行时间:** 2024-07-29
Expand Down
18 changes: 7 additions & 11 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,20 @@ import CarouselList from "@site/src/components/CarouselList";
const info = [
{
id: 1,
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/datastudio.png',
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/data-studio.png',
},
{
id: 2,
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/checksql.png',
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/data-debug.png',
},
{
id: 3,
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/versiondiff.png',
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/task-devops.png',
},
{
id: 4,
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/lineage.png',
},
{
id: 5,
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/monitor.png',
},
image: 'https://pic.dinky.org.cn/dinky/docs/zh-CN/home/task-monitor.png',
}
];
const FeatureList = [
{
Expand Down Expand Up @@ -208,7 +204,7 @@ export default function Home() {
<div className="card mb-0 mr-lg-5">
<div className="card-body p-2">
<img alt="Image placeholder"
src="https://pic.dinky.org.cn/dinky/docs/zh-CN/home/datastudio.png"
src="https://pic.dinky.org.cn/dinky/docs/zh-CN/home/data-studio.png"
className="img-fluid shadow rounded"/>
</div>
</div>
Expand All @@ -231,7 +227,7 @@ export default function Home() {
<div className="col-lg-6">
<div className="card mb-0 ml-lg-5">
<div className="card-body p-2">
<img alt="Image placeholder" src="https://pic.dinky.org.cn/dinky/docs/zh-CN/home/monitor.png"
<img alt="Image placeholder" src="https://pic.dinky.org.cn/dinky/docs/zh-CN/home/task-monitor.png"
className="img-fluid shadow rounded"/>
</div>
</div>
Expand Down
Binary file added images/v1-2/data-debug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/v1-2/datastudio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/v1-2/devops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/v1-2/metrics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<protobuf-java.version>2.5.0</protobuf-java.version>
<reflections.version>0.10.2</reflections.version>
<revision>1.2.0-SNAPSHOT</revision>
<revision>1.2.0</revision>
<sa-token.version>1.37.0</sa-token.version>
<scala.version>2.12.10</scala.version>
<!-- `provided` for product environment ,`compile` for dev environment -->
Expand Down
Loading