This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new d3c375baa7a [Add] 4.0.4 release note (#3473)
d3c375baa7a is described below
commit d3c375baa7a2ff637e66a933adf145bec97ee783
Author: zhuwei <[email protected]>
AuthorDate: Wed Mar 18 00:42:40 2026 +0800
[Add] 4.0.4 release note (#3473)
Co-authored-by: zhuwei <[email protected]>
---
docs/releasenotes/all-release.md | 4 +-
docs/releasenotes/v4.0/release-4.0.4.md | 78 ++++++++++++++++++++++
.../current/releasenotes/all-release.md | 4 +-
.../current/releasenotes/v4.0/release-4.0.4.md | 78 ++++++++++++++++++++++
.../version-4.x/releasenotes/all-release.md | 4 +-
.../version-4.x/releasenotes/v4.0/release-4.0.4.md | 78 ++++++++++++++++++++++
sidebars.ts | 1 +
.../version-4.x/releasenotes/all-release.md | 4 +-
.../version-4.x/releasenotes/v4.0/release-4.0.4.md | 78 ++++++++++++++++++++++
versioned_sidebars/version-4.x-sidebars.json | 1 +
10 files changed, 326 insertions(+), 4 deletions(-)
diff --git a/docs/releasenotes/all-release.md b/docs/releasenotes/all-release.md
index 2c38c3b13c3..75b069bfb38 100644
--- a/docs/releasenotes/all-release.md
+++ b/docs/releasenotes/all-release.md
@@ -9,7 +9,7 @@
This document presents a summary of Apache Doris versions released within one
year, listed in reverse chronological order.
:::tip Latest Release
-🎉 Version 4.0.3 is released. Check out the 🔗[Release
Notes](../releasenotes/v4.0/release-4.0.3) here. Apache Doris 4.0 takes a major
step forward with new AI support (vector search, AI Functions) and better
full-text search capabilities. These upgrades help users stay ahead in the AI
and agent era, enabling companies to handle everything from traditional BI
analysis to AI-driven workloads.
+🎉 Version 4.0.4 is released. Check out the 🔗[Release
Notes](../releasenotes/v4.0/release-4.0.4) here. Apache Doris 4.0 takes a major
step forward with new AI support (vector search, AI Functions) and better
full-text search capabilities. These upgrades help users stay ahead in the AI
and agent era, enabling companies to handle everything from traditional BI
analysis to AI-driven workloads.
<br />
@@ -28,6 +28,8 @@ This document presents a summary of Apache Doris versions
released within one ye
<br />
+- [2026-03-11, Apache Doris 4.0.4 is
released](../releasenotes/v4.0/release-4.0.4.md)
+
- [2026-02-02, Apache Doris 4.0.3 is
released](../releasenotes/v4.0/release-4.0.3.md)
- [2025-12-29, Apache Doris 3.1.4 is
released](../releasenotes/v3.1/release-3.1.4.md)
diff --git a/docs/releasenotes/v4.0/release-4.0.4.md
b/docs/releasenotes/v4.0/release-4.0.4.md
new file mode 100644
index 00000000000..000905bc605
--- /dev/null
+++ b/docs/releasenotes/v4.0/release-4.0.4.md
@@ -0,0 +1,78 @@
+---
+{
+ "title": "Release 4.0.4",
+ "language": "en",
+ "description": "Here's the Apache Doris 4.0.4 release notes:"
+}
+---
+
+### Features
+
+- Enable system table all_manifests for Iceberg tables
([#60279](https://github.com/apache/doris/pull/60279))
+- Support bucket-domain-name for OSS
([#59755](https://github.com/apache/doris/pull/59755))
+- Support flexible partial update for routine load
([#60128](https://github.com/apache/doris/pull/60128))
+- Implement expire_snapshots procedure for Iceberg tables
([#59979](https://github.com/apache/doris/pull/59979))
+- Support PREVIOUS_DAY function
([#60680](https://github.com/apache/doris/pull/60680))
+- Support 3 spatial functions: ST_Distance, ST_GeometryType, ST_Length
([#60170](https://github.com/apache/doris/pull/60170))
+- Support more INTERVAL time-unit
([#60347](https://github.com/apache/doris/pull/60347))
+- Add OzoneProperties to support Apache Ozone
([#60809](https://github.com/apache/doris/pull/60809))
+- Support MaxCompute ram_role_arn and ecs_ram_role
([#60649](https://github.com/apache/doris/pull/60649))
+- Support schema change for complex types in Iceberg external tables
([#60169](https://github.com/apache/doris/pull/60169))
+- Support score range filter pushdown (min_score semantics)
([#60997](https://github.com/apache/doris/pull/60997))
+- Support multiple tokenize index in one column
([#60415](https://github.com/apache/doris/pull/60415))
+- Add x509 cert based auth framework
([#60098](https://github.com/apache/doris/pull/60098))
+- Support dfs.client.use.datanode.hostname for libhdfs3
([#59915](https://github.com/apache/doris/pull/59915))
+
+### Improvements
+
+- Improve password validation to align with MySQL STRONG policy
([#60188](https://github.com/apache/doris/pull/60188))
+- Optimize the performance of parquet dict decoder
([#59681](https://github.com/apache/doris/pull/59681))
+- Supports dynamically changing the rate limiter config
([#59465](https://github.com/apache/doris/pull/59465))
+- Split metadata scan ranges per split
([#60257](https://github.com/apache/doris/pull/60257))
+- Optimize Iceberg rewrite_data_files to avoid generating excessive small
files ([#60063](https://github.com/apache/doris/pull/60063))
+- Use COUNT_ON_INDEX on variant subcolumns
([#60404](https://github.com/apache/doris/pull/60404))
+- Optimize file split size for multi-catalog
([#60637](https://github.com/apache/doris/pull/60637))
+- Limit the download rate of warmup task
([#60180](https://github.com/apache/doris/pull/60180))
+- Optimize performance of certain time field functions used with FROM_UNIXTIME
([#60843](https://github.com/apache/doris/pull/60843))
+- Add fold constant for PREVIOUS_DAY
([#60755](https://github.com/apache/doris/pull/60755))
+- Support PostgreSQL partition table sync for streaming job
([#60560](https://github.com/apache/doris/pull/60560))
+
+### Bugfixes
+
+- Fix crash caused by concurrent compaction accessing shared sample_infos
([#60376](https://github.com/apache/doris/pull/60376))
+- Fix unnecessary conflict range in lazy commit
([#60274](https://github.com/apache/doris/pull/60274))
+- Fix routine load task schedule stuck after create task fail
([#60143](https://github.com/apache/doris/pull/60143))
+- Fix DELETE/UPDATE cannot resolve column when table alias uses AS keyword
([#60335](https://github.com/apache/doris/pull/60335))
+- Fix boolean query AllScorer combination handling
([#60438](https://github.com/apache/doris/pull/60438))
+- Fix query cache not hit when use sort and one phase aggregation
([#60298](https://github.com/apache/doris/pull/60298))
+- Modify ORC reader to make error reporting more accurate
([#60234](https://github.com/apache/doris/pull/60234))
+- Fix prune nested column maybe throw NullPointerException
([#60395](https://github.com/apache/doris/pull/60395))
+- Fix partitions function throw error when query internal table without
specifying catalog condition
([#60247](https://github.com/apache/doris/pull/60247))
+- Fix backends udf return rows incompatible with show backends command
([#60210](https://github.com/apache/doris/pull/60210))
+- Fix AggregateNode compute digest of query cache should consider
sortByGroupKey ([#60431](https://github.com/apache/doris/pull/60431))
+- Fix predicate should be pushed down when conjunct contains CAST for Variant
([#60485](https://github.com/apache/doris/pull/60485))
+- Treat no such key as empty response when listing objects (part 2) for S3
([#60286](https://github.com/apache/doris/pull/60286))
+- Fix empty string MATCH on keyword index returning wrong results
([#60500](https://github.com/apache/doris/pull/60500))
+- Fix PhysicalDictionarySink.resetLogicalProperties() does not reset logical
properties properly ([#60495](https://github.com/apache/doris/pull/60495))
+- Fix %f (microseconds) format specifier in str_to_date
([#60632](https://github.com/apache/doris/pull/60632))
+- Throw exception for date_floor/ceil instead of return NULL
([#60633](https://github.com/apache/doris/pull/60633))
+- Fix S3-compatible storage must support temporary credentials when vendor
credentials are configured at catalog level
([#60232](https://github.com/apache/doris/pull/60232))
+- Fix empty InsertIntoDictionaryCommand originSql
([#60631](https://github.com/apache/doris/pull/60631))
+- Fix width_bucket did not enforce that the fourth argument must be a constant
([#60643](https://github.com/apache/doris/pull/60643))
+- Validate mode parameter in search() DSL options
([#60785](https://github.com/apache/doris/pull/60785))
+- Fix range search prepare failed on NULL literal for ANN
([#60564](https://github.com/apache/doris/pull/60564))
+- Make dot match newline in regexp_fn by default
([#60831](https://github.com/apache/doris/pull/60831))
+- Fix Azure Storage Vault endpoint always using HTTP instead of HTTPS
([#60854](https://github.com/apache/doris/pull/60854))
+- Add rest external catalog for gson compatibility for Paimon
([#60917](https://github.com/apache/doris/pull/60917))
+- Disable strict mode for variant internal cast to fix INSERT INTO SELECT
returning all NULLs ([#60900](https://github.com/apache/doris/pull/60900))
+- Default to the Default chain when S3 role_arn is set without provider_type
([#60822](https://github.com/apache/doris/pull/60822))
+- Fix parquet reader lazy materialization cannot filter
([#60474](https://github.com/apache/doris/pull/60474))
+- Fix point query ignoring session timezone for functions like from_unixtime
([#60913](https://github.com/apache/doris/pull/60913))
+- Make AND/OR/NOT operators case-sensitive in search DSL
([#59747](https://github.com/apache/doris/pull/59747))
+- Decouple min pipeline executor size from ConnectContext
([#60958](https://github.com/apache/doris/pull/60958))
+- Fix Azure endpoint detection for sovereign clouds with force-global config
support ([#60903](https://github.com/apache/doris/pull/60903))
+- Backport search() function improvements and bug fixes
([#61028](https://github.com/apache/doris/pull/61028))
+- Fix encrypt key is not case sensitive
([#60288](https://github.com/apache/doris/pull/60288))
+- Make hive compress split assertion BE-aware
([#60947](https://github.com/apache/doris/pull/60947))
+- Support CLIENT_DEPRECATE_EOF to fix empty result with MySQL driver 9.5.0
([#61050](https://github.com/apache/doris/pull/61050))
+- Fix basic and icu tokenizer can not be customized in custom analyzer
([#60506](https://github.com/apache/doris/pull/60506))
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/all-release.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/all-release.md
index e46c6061df9..88aafa417c6 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/all-release.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/all-release.md
@@ -11,7 +11,7 @@
:::tip 最新发布
-🎉 4.0.3 版本已于 2026 年 2 月 2
日正式发布,详情可查看[版本发布](../releasenotes/v4.0/release-4.0.3)。新版本通过 AI
与搜索能力的深度融合、离线计算的稳定性提升、性能与易用性的双重优化,进一步拓宽了数据库的应用边界,可更好地支撑企业从传统 BI 分析到 AI
智能检索、从实时查询到大规模离线批处理的全场景数据分析需求。无论是互联网、金融、零售等行业的实时报表、用户行为分析,还是政务、医疗领域的文档检索、大规模数据批处理,新版本
Doris 都将为用户提供更高效、更可靠的数据分析体验。
+🎉 4.0.4 版本已于 2026 年 3 月 11
日正式发布,详情可查看[版本发布](../releasenotes/v4.0/release-4.0.4)。新版本通过 AI
与搜索能力的深度融合、离线计算的稳定性提升、性能与易用性的双重优化,进一步拓宽了数据库的应用边界,可更好地支撑企业从传统 BI 分析到 AI
智能检索、从实时查询到大规模离线批处理的全场景数据分析需求。无论是互联网、金融、零售等行业的实时报表、用户行为分析,还是政务、医疗领域的文档检索、大规模数据批处理,新版本
Doris 都将为用户提供更高效、更可靠的数据分析体验。
<br />
🎉 3.1.4 版本已于 2025 年 12 月 19
日正式发布,详情可查看[版本发布](../releasenotes/v3.1/release-3.1.4)。Apache Doris 3.1
是半结构化分析领域的里程碑,引入了稀疏列和模板化
schema,显著提升了查询和索引性能。它还显著增强了湖仓一体能力,通过异步物化视图和优化连接属性,实现了数据湖和数据仓的无缝集成。新版本在存储引擎上提供了灵活列更新,并通过分区裁剪和基于数据特征的优化器,实现了查询性能的巨大飞跃。
@@ -27,6 +27,8 @@
<br />
+- [2026-03-11, Apache Doris 4.0.4 版本发布](../releasenotes/v4.0/release-4.0.4.md)
+
- [2026-02-02, Apache Doris 4.0.3 版本发布](../releasenotes/v4.0/release-4.0.3.md)
- [2025-12-29, Apache Doris 3.1.4 版本发布](../releasenotes/v3.1/release-3.1.4.md)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/v4.0/release-4.0.4.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/v4.0/release-4.0.4.md
new file mode 100644
index 00000000000..f48c59a85b5
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/v4.0/release-4.0.4.md
@@ -0,0 +1,78 @@
+---
+{
+ "title": "Release 4.0.4",
+ "language": "zh-CN",
+ "description": "Apache Doris 4.0.4 版本发布说明"
+}
+---
+
+### Features
+
+- 为Iceberg表启用系统表all_manifests
([#60279](https://github.com/apache/doris/pull/60279))
+- 支持为OSS配置bucket-domain-name
([#59755](https://github.com/apache/doris/pull/59755))
+- 支持Routine Load的灵活部分更新 ([#60128](https://github.com/apache/doris/pull/60128))
+- 为Iceberg表实现expire_snapshots过程
([#59979](https://github.com/apache/doris/pull/59979))
+- 支持PREVIOUS_DAY函数 ([#60680](https://github.com/apache/doris/pull/60680))
+- 支持3个空间函数:ST_Distance、ST_GeometryType、ST_Length
([#60170](https://github.com/apache/doris/pull/60170))
+- 支持更多INTERVAL时间单位 ([#60347](https://github.com/apache/doris/pull/60347))
+- 添加OzoneProperties以支持Apache Ozone
([#60809](https://github.com/apache/doris/pull/60809))
+- 支持MaxCompute的ram_role_arn和ecs_ram_role认证
([#60649](https://github.com/apache/doris/pull/60649))
+- 支持Iceberg外表复杂类型的schema变更
([#60169](https://github.com/apache/doris/pull/60169))
+- 支持分数范围过滤下推(min_score语义)
([#60997](https://github.com/apache/doris/pull/60997))
+- 支持在同一列上创建多个分词索引 ([#60415](https://github.com/apache/doris/pull/60415))
+- 添加基于x509证书的认证框架 ([#60098](https://github.com/apache/doris/pull/60098))
+- 为libhdfs3支持dfs.client.use.datanode.hostname配置
([#59915](https://github.com/apache/doris/pull/59915))
+
+### Improvements
+
+- 改进密码验证以对齐MySQL STRONG策略
([#60188](https://github.com/apache/doris/pull/60188))
+- 优化parquet字典解码器性能 ([#59681](https://github.com/apache/doris/pull/59681))
+- 支持动态修改速率限制器配置 ([#59465](https://github.com/apache/doris/pull/59465))
+- 按split拆分元数据扫描范围 ([#60257](https://github.com/apache/doris/pull/60257))
+- 优化Iceberg rewrite_data_files以避免生成过多小文件
([#60063](https://github.com/apache/doris/pull/60063))
+- 在variant子列上使用COUNT_ON_INDEX
([#60404](https://github.com/apache/doris/pull/60404))
+- 优化多源catalog的文件拆分大小 ([#60637](https://github.com/apache/doris/pull/60637))
+- 限制预热任务的下载速率 ([#60180](https://github.com/apache/doris/pull/60180))
+- 优化与FROM_UNIXTIME联用的某些时间字段函数性能
([#60843](https://github.com/apache/doris/pull/60843))
+- 为PREVIOUS_DAY添加常量折叠优化 ([#60755](https://github.com/apache/doris/pull/60755))
+- 支持流式任务同步PostgreSQL分区表 ([#60560](https://github.com/apache/doris/pull/60560))
+
+### Bugfixes
+
+- 修复并发compaction访问共享sample_infos导致的崩溃
([#60376](https://github.com/apache/doris/pull/60376))
+- 修复lazy commit中不必要的范围冲突 ([#60274](https://github.com/apache/doris/pull/60274))
+- 修复创建任务失败后Routine Load任务调度卡住的问题
([#60143](https://github.com/apache/doris/pull/60143))
+- 修复表别名使用AS关键字时DELETE/UPDATE无法解析列的问题
([#60335](https://github.com/apache/doris/pull/60335))
+- 修复布尔查询中AllScorer组合处理问题 ([#60438](https://github.com/apache/doris/pull/60438))
+- 修复使用排序和单阶段聚合时查询缓存不命中的问题
([#60298](https://github.com/apache/doris/pull/60298))
+- 修改ORC读取器使错误报告更准确 ([#60234](https://github.com/apache/doris/pull/60234))
+- 修复裁剪嵌套列时可能抛出NullPointerException的问题
([#60395](https://github.com/apache/doris/pull/60395))
+- 修复查询内部表未指定catalog条件时partitions函数报错的问题(与show partitions命令不兼容)
([#60247](https://github.com/apache/doris/pull/60247))
+- 修复backends UDF返回行与show backends命令不兼容的问题
([#60210](https://github.com/apache/doris/pull/60210))
+- 修复AggregateNode计算查询缓存摘要时应考虑sortByGroupKey的问题
([#60431](https://github.com/apache/doris/pull/60431))
+- 修复当谓词包含针对Variant的CAST时未能下推的问题
([#60485](https://github.com/apache/doris/pull/60485))
+- 修复S3列出对象时将“no such key”视为空响应(第二部分)
([#60286](https://github.com/apache/doris/pull/60286))
+- 修复空字符串在keyword索引上MATCH返回错误结果的问题
([#60500](https://github.com/apache/doris/pull/60500))
+- 修复PhysicalDictionarySink.resetLogicalProperties()未正确重置逻辑属性的问题
([#60495](https://github.com/apache/doris/pull/60495))
+- 修复str_to_date中%f(微秒)格式说明符的处理
([#60632](https://github.com/apache/doris/pull/60632))
+- 修复date_floor/ceil返回NULL的问题,改为抛出异常
([#60633](https://github.com/apache/doris/pull/60633))
+- 修复在catalog级别配置了厂商凭证时,S3兼容存储必须支持临时凭证的问题
([#60232](https://github.com/apache/doris/pull/60232))
+- 修复InsertIntoDictionaryCommand的originSql为空的问题
([#60631](https://github.com/apache/doris/pull/60631))
+- 修复width_bucket未强制要求第四个参数为常量的情况
([#60643](https://github.com/apache/doris/pull/60643))
+- 验证search() DSL选项中的mode参数
([#60785](https://github.com/apache/doris/pull/60785))
+- 修复ANN范围搜索在NULL字面量上准备失败的问题
([#60564](https://github.com/apache/doris/pull/60564))
+- 使regexp_fn默认将点号匹配换行符 ([#60831](https://github.com/apache/doris/pull/60831))
+- 修复Azure Storage Vault端点始终使用HTTP而非HTTPS的问题
([#60854](https://github.com/apache/doris/pull/60854))
+- 为Paimon添加REST外部catalog以解决gson兼容性问题
([#60917](https://github.com/apache/doris/pull/60917))
+- 为Variant内部类型转换禁用严格模式,修复INSERT INTO SELECT返回全NULL的问题
([#60900](https://github.com/apache/doris/pull/60900))
+- 修复当设置S3 role_arn但未指定provider_type时,默认使用Default链
([#60822](https://github.com/apache/doris/pull/60822))
+- 修复parquet reader惰性物化无法过滤的问题
([#60474](https://github.com/apache/doris/pull/60474))
+- 修复点查询忽略会话时区影响from_unixtime等函数的问题
([#60913](https://github.com/apache/doris/pull/60913))
+- 使search DSL中的AND/OR/NOT运算符区分大小写
([#59747](https://github.com/apache/doris/pull/59747))
+- 解耦最小pipeline执行器大小与ConnectContext
([#60958](https://github.com/apache/doris/pull/60958))
+- 修复启用了force-global配置时Azure sovereign云的端点检测问题
([#60903](https://github.com/apache/doris/pull/60903))
+- search()函数的改进和bug修复 ([#61028](https://github.com/apache/doris/pull/61028))
+- 修复加密密钥未区分大小写的问题 ([#60288](https://github.com/apache/doris/pull/60288))
+- 使Hive压缩split断言在BE端可感知 ([#60947](https://github.com/apache/doris/pull/60947))
+- 支持CLIENT_DEPRECATE_EOF标志,修复MySQL驱动9.5.0返回空结果的问题
([#61050](https://github.com/apache/doris/pull/61050))
+- 修复自定义分析器中basic和icu分词器无法定制的问题
([#60506](https://github.com/apache/doris/pull/60506))
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/releasenotes/all-release.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/releasenotes/all-release.md
index e46c6061df9..88aafa417c6 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/releasenotes/all-release.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/releasenotes/all-release.md
@@ -11,7 +11,7 @@
:::tip 最新发布
-🎉 4.0.3 版本已于 2026 年 2 月 2
日正式发布,详情可查看[版本发布](../releasenotes/v4.0/release-4.0.3)。新版本通过 AI
与搜索能力的深度融合、离线计算的稳定性提升、性能与易用性的双重优化,进一步拓宽了数据库的应用边界,可更好地支撑企业从传统 BI 分析到 AI
智能检索、从实时查询到大规模离线批处理的全场景数据分析需求。无论是互联网、金融、零售等行业的实时报表、用户行为分析,还是政务、医疗领域的文档检索、大规模数据批处理,新版本
Doris 都将为用户提供更高效、更可靠的数据分析体验。
+🎉 4.0.4 版本已于 2026 年 3 月 11
日正式发布,详情可查看[版本发布](../releasenotes/v4.0/release-4.0.4)。新版本通过 AI
与搜索能力的深度融合、离线计算的稳定性提升、性能与易用性的双重优化,进一步拓宽了数据库的应用边界,可更好地支撑企业从传统 BI 分析到 AI
智能检索、从实时查询到大规模离线批处理的全场景数据分析需求。无论是互联网、金融、零售等行业的实时报表、用户行为分析,还是政务、医疗领域的文档检索、大规模数据批处理,新版本
Doris 都将为用户提供更高效、更可靠的数据分析体验。
<br />
🎉 3.1.4 版本已于 2025 年 12 月 19
日正式发布,详情可查看[版本发布](../releasenotes/v3.1/release-3.1.4)。Apache Doris 3.1
是半结构化分析领域的里程碑,引入了稀疏列和模板化
schema,显著提升了查询和索引性能。它还显著增强了湖仓一体能力,通过异步物化视图和优化连接属性,实现了数据湖和数据仓的无缝集成。新版本在存储引擎上提供了灵活列更新,并通过分区裁剪和基于数据特征的优化器,实现了查询性能的巨大飞跃。
@@ -27,6 +27,8 @@
<br />
+- [2026-03-11, Apache Doris 4.0.4 版本发布](../releasenotes/v4.0/release-4.0.4.md)
+
- [2026-02-02, Apache Doris 4.0.3 版本发布](../releasenotes/v4.0/release-4.0.3.md)
- [2025-12-29, Apache Doris 3.1.4 版本发布](../releasenotes/v3.1/release-3.1.4.md)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/releasenotes/v4.0/release-4.0.4.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/releasenotes/v4.0/release-4.0.4.md
new file mode 100644
index 00000000000..f48c59a85b5
--- /dev/null
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/releasenotes/v4.0/release-4.0.4.md
@@ -0,0 +1,78 @@
+---
+{
+ "title": "Release 4.0.4",
+ "language": "zh-CN",
+ "description": "Apache Doris 4.0.4 版本发布说明"
+}
+---
+
+### Features
+
+- 为Iceberg表启用系统表all_manifests
([#60279](https://github.com/apache/doris/pull/60279))
+- 支持为OSS配置bucket-domain-name
([#59755](https://github.com/apache/doris/pull/59755))
+- 支持Routine Load的灵活部分更新 ([#60128](https://github.com/apache/doris/pull/60128))
+- 为Iceberg表实现expire_snapshots过程
([#59979](https://github.com/apache/doris/pull/59979))
+- 支持PREVIOUS_DAY函数 ([#60680](https://github.com/apache/doris/pull/60680))
+- 支持3个空间函数:ST_Distance、ST_GeometryType、ST_Length
([#60170](https://github.com/apache/doris/pull/60170))
+- 支持更多INTERVAL时间单位 ([#60347](https://github.com/apache/doris/pull/60347))
+- 添加OzoneProperties以支持Apache Ozone
([#60809](https://github.com/apache/doris/pull/60809))
+- 支持MaxCompute的ram_role_arn和ecs_ram_role认证
([#60649](https://github.com/apache/doris/pull/60649))
+- 支持Iceberg外表复杂类型的schema变更
([#60169](https://github.com/apache/doris/pull/60169))
+- 支持分数范围过滤下推(min_score语义)
([#60997](https://github.com/apache/doris/pull/60997))
+- 支持在同一列上创建多个分词索引 ([#60415](https://github.com/apache/doris/pull/60415))
+- 添加基于x509证书的认证框架 ([#60098](https://github.com/apache/doris/pull/60098))
+- 为libhdfs3支持dfs.client.use.datanode.hostname配置
([#59915](https://github.com/apache/doris/pull/59915))
+
+### Improvements
+
+- 改进密码验证以对齐MySQL STRONG策略
([#60188](https://github.com/apache/doris/pull/60188))
+- 优化parquet字典解码器性能 ([#59681](https://github.com/apache/doris/pull/59681))
+- 支持动态修改速率限制器配置 ([#59465](https://github.com/apache/doris/pull/59465))
+- 按split拆分元数据扫描范围 ([#60257](https://github.com/apache/doris/pull/60257))
+- 优化Iceberg rewrite_data_files以避免生成过多小文件
([#60063](https://github.com/apache/doris/pull/60063))
+- 在variant子列上使用COUNT_ON_INDEX
([#60404](https://github.com/apache/doris/pull/60404))
+- 优化多源catalog的文件拆分大小 ([#60637](https://github.com/apache/doris/pull/60637))
+- 限制预热任务的下载速率 ([#60180](https://github.com/apache/doris/pull/60180))
+- 优化与FROM_UNIXTIME联用的某些时间字段函数性能
([#60843](https://github.com/apache/doris/pull/60843))
+- 为PREVIOUS_DAY添加常量折叠优化 ([#60755](https://github.com/apache/doris/pull/60755))
+- 支持流式任务同步PostgreSQL分区表 ([#60560](https://github.com/apache/doris/pull/60560))
+
+### Bugfixes
+
+- 修复并发compaction访问共享sample_infos导致的崩溃
([#60376](https://github.com/apache/doris/pull/60376))
+- 修复lazy commit中不必要的范围冲突 ([#60274](https://github.com/apache/doris/pull/60274))
+- 修复创建任务失败后Routine Load任务调度卡住的问题
([#60143](https://github.com/apache/doris/pull/60143))
+- 修复表别名使用AS关键字时DELETE/UPDATE无法解析列的问题
([#60335](https://github.com/apache/doris/pull/60335))
+- 修复布尔查询中AllScorer组合处理问题 ([#60438](https://github.com/apache/doris/pull/60438))
+- 修复使用排序和单阶段聚合时查询缓存不命中的问题
([#60298](https://github.com/apache/doris/pull/60298))
+- 修改ORC读取器使错误报告更准确 ([#60234](https://github.com/apache/doris/pull/60234))
+- 修复裁剪嵌套列时可能抛出NullPointerException的问题
([#60395](https://github.com/apache/doris/pull/60395))
+- 修复查询内部表未指定catalog条件时partitions函数报错的问题(与show partitions命令不兼容)
([#60247](https://github.com/apache/doris/pull/60247))
+- 修复backends UDF返回行与show backends命令不兼容的问题
([#60210](https://github.com/apache/doris/pull/60210))
+- 修复AggregateNode计算查询缓存摘要时应考虑sortByGroupKey的问题
([#60431](https://github.com/apache/doris/pull/60431))
+- 修复当谓词包含针对Variant的CAST时未能下推的问题
([#60485](https://github.com/apache/doris/pull/60485))
+- 修复S3列出对象时将“no such key”视为空响应(第二部分)
([#60286](https://github.com/apache/doris/pull/60286))
+- 修复空字符串在keyword索引上MATCH返回错误结果的问题
([#60500](https://github.com/apache/doris/pull/60500))
+- 修复PhysicalDictionarySink.resetLogicalProperties()未正确重置逻辑属性的问题
([#60495](https://github.com/apache/doris/pull/60495))
+- 修复str_to_date中%f(微秒)格式说明符的处理
([#60632](https://github.com/apache/doris/pull/60632))
+- 修复date_floor/ceil返回NULL的问题,改为抛出异常
([#60633](https://github.com/apache/doris/pull/60633))
+- 修复在catalog级别配置了厂商凭证时,S3兼容存储必须支持临时凭证的问题
([#60232](https://github.com/apache/doris/pull/60232))
+- 修复InsertIntoDictionaryCommand的originSql为空的问题
([#60631](https://github.com/apache/doris/pull/60631))
+- 修复width_bucket未强制要求第四个参数为常量的情况
([#60643](https://github.com/apache/doris/pull/60643))
+- 验证search() DSL选项中的mode参数
([#60785](https://github.com/apache/doris/pull/60785))
+- 修复ANN范围搜索在NULL字面量上准备失败的问题
([#60564](https://github.com/apache/doris/pull/60564))
+- 使regexp_fn默认将点号匹配换行符 ([#60831](https://github.com/apache/doris/pull/60831))
+- 修复Azure Storage Vault端点始终使用HTTP而非HTTPS的问题
([#60854](https://github.com/apache/doris/pull/60854))
+- 为Paimon添加REST外部catalog以解决gson兼容性问题
([#60917](https://github.com/apache/doris/pull/60917))
+- 为Variant内部类型转换禁用严格模式,修复INSERT INTO SELECT返回全NULL的问题
([#60900](https://github.com/apache/doris/pull/60900))
+- 修复当设置S3 role_arn但未指定provider_type时,默认使用Default链
([#60822](https://github.com/apache/doris/pull/60822))
+- 修复parquet reader惰性物化无法过滤的问题
([#60474](https://github.com/apache/doris/pull/60474))
+- 修复点查询忽略会话时区影响from_unixtime等函数的问题
([#60913](https://github.com/apache/doris/pull/60913))
+- 使search DSL中的AND/OR/NOT运算符区分大小写
([#59747](https://github.com/apache/doris/pull/59747))
+- 解耦最小pipeline执行器大小与ConnectContext
([#60958](https://github.com/apache/doris/pull/60958))
+- 修复启用了force-global配置时Azure sovereign云的端点检测问题
([#60903](https://github.com/apache/doris/pull/60903))
+- search()函数的改进和bug修复 ([#61028](https://github.com/apache/doris/pull/61028))
+- 修复加密密钥未区分大小写的问题 ([#60288](https://github.com/apache/doris/pull/60288))
+- 使Hive压缩split断言在BE端可感知 ([#60947](https://github.com/apache/doris/pull/60947))
+- 支持CLIENT_DEPRECATE_EOF标志,修复MySQL驱动9.5.0返回空结果的问题
([#61050](https://github.com/apache/doris/pull/61050))
+- 修复自定义分析器中basic和icu分词器无法定制的问题
([#60506](https://github.com/apache/doris/pull/60506))
\ No newline at end of file
diff --git a/sidebars.ts b/sidebars.ts
index d450b43a68b..fd154a390a1 100644
--- a/sidebars.ts
+++ b/sidebars.ts
@@ -2578,6 +2578,7 @@ const sidebars: SidebarsConfig = {
type: 'category',
label: 'v4.0',
items: [
+ 'releasenotes/v4.0/release-4.0.4',
'releasenotes/v4.0/release-4.0.3',
'releasenotes/v4.0/release-4.0.2',
'releasenotes/v4.0/release-4.0.1',
diff --git a/versioned_docs/version-4.x/releasenotes/all-release.md
b/versioned_docs/version-4.x/releasenotes/all-release.md
index 2c38c3b13c3..75b069bfb38 100644
--- a/versioned_docs/version-4.x/releasenotes/all-release.md
+++ b/versioned_docs/version-4.x/releasenotes/all-release.md
@@ -9,7 +9,7 @@
This document presents a summary of Apache Doris versions released within one
year, listed in reverse chronological order.
:::tip Latest Release
-🎉 Version 4.0.3 is released. Check out the 🔗[Release
Notes](../releasenotes/v4.0/release-4.0.3) here. Apache Doris 4.0 takes a major
step forward with new AI support (vector search, AI Functions) and better
full-text search capabilities. These upgrades help users stay ahead in the AI
and agent era, enabling companies to handle everything from traditional BI
analysis to AI-driven workloads.
+🎉 Version 4.0.4 is released. Check out the 🔗[Release
Notes](../releasenotes/v4.0/release-4.0.4) here. Apache Doris 4.0 takes a major
step forward with new AI support (vector search, AI Functions) and better
full-text search capabilities. These upgrades help users stay ahead in the AI
and agent era, enabling companies to handle everything from traditional BI
analysis to AI-driven workloads.
<br />
@@ -28,6 +28,8 @@ This document presents a summary of Apache Doris versions
released within one ye
<br />
+- [2026-03-11, Apache Doris 4.0.4 is
released](../releasenotes/v4.0/release-4.0.4.md)
+
- [2026-02-02, Apache Doris 4.0.3 is
released](../releasenotes/v4.0/release-4.0.3.md)
- [2025-12-29, Apache Doris 3.1.4 is
released](../releasenotes/v3.1/release-3.1.4.md)
diff --git a/versioned_docs/version-4.x/releasenotes/v4.0/release-4.0.4.md
b/versioned_docs/version-4.x/releasenotes/v4.0/release-4.0.4.md
new file mode 100644
index 00000000000..000905bc605
--- /dev/null
+++ b/versioned_docs/version-4.x/releasenotes/v4.0/release-4.0.4.md
@@ -0,0 +1,78 @@
+---
+{
+ "title": "Release 4.0.4",
+ "language": "en",
+ "description": "Here's the Apache Doris 4.0.4 release notes:"
+}
+---
+
+### Features
+
+- Enable system table all_manifests for Iceberg tables
([#60279](https://github.com/apache/doris/pull/60279))
+- Support bucket-domain-name for OSS
([#59755](https://github.com/apache/doris/pull/59755))
+- Support flexible partial update for routine load
([#60128](https://github.com/apache/doris/pull/60128))
+- Implement expire_snapshots procedure for Iceberg tables
([#59979](https://github.com/apache/doris/pull/59979))
+- Support PREVIOUS_DAY function
([#60680](https://github.com/apache/doris/pull/60680))
+- Support 3 spatial functions: ST_Distance, ST_GeometryType, ST_Length
([#60170](https://github.com/apache/doris/pull/60170))
+- Support more INTERVAL time-unit
([#60347](https://github.com/apache/doris/pull/60347))
+- Add OzoneProperties to support Apache Ozone
([#60809](https://github.com/apache/doris/pull/60809))
+- Support MaxCompute ram_role_arn and ecs_ram_role
([#60649](https://github.com/apache/doris/pull/60649))
+- Support schema change for complex types in Iceberg external tables
([#60169](https://github.com/apache/doris/pull/60169))
+- Support score range filter pushdown (min_score semantics)
([#60997](https://github.com/apache/doris/pull/60997))
+- Support multiple tokenize index in one column
([#60415](https://github.com/apache/doris/pull/60415))
+- Add x509 cert based auth framework
([#60098](https://github.com/apache/doris/pull/60098))
+- Support dfs.client.use.datanode.hostname for libhdfs3
([#59915](https://github.com/apache/doris/pull/59915))
+
+### Improvements
+
+- Improve password validation to align with MySQL STRONG policy
([#60188](https://github.com/apache/doris/pull/60188))
+- Optimize the performance of parquet dict decoder
([#59681](https://github.com/apache/doris/pull/59681))
+- Supports dynamically changing the rate limiter config
([#59465](https://github.com/apache/doris/pull/59465))
+- Split metadata scan ranges per split
([#60257](https://github.com/apache/doris/pull/60257))
+- Optimize Iceberg rewrite_data_files to avoid generating excessive small
files ([#60063](https://github.com/apache/doris/pull/60063))
+- Use COUNT_ON_INDEX on variant subcolumns
([#60404](https://github.com/apache/doris/pull/60404))
+- Optimize file split size for multi-catalog
([#60637](https://github.com/apache/doris/pull/60637))
+- Limit the download rate of warmup task
([#60180](https://github.com/apache/doris/pull/60180))
+- Optimize performance of certain time field functions used with FROM_UNIXTIME
([#60843](https://github.com/apache/doris/pull/60843))
+- Add fold constant for PREVIOUS_DAY
([#60755](https://github.com/apache/doris/pull/60755))
+- Support PostgreSQL partition table sync for streaming job
([#60560](https://github.com/apache/doris/pull/60560))
+
+### Bugfixes
+
+- Fix crash caused by concurrent compaction accessing shared sample_infos
([#60376](https://github.com/apache/doris/pull/60376))
+- Fix unnecessary conflict range in lazy commit
([#60274](https://github.com/apache/doris/pull/60274))
+- Fix routine load task schedule stuck after create task fail
([#60143](https://github.com/apache/doris/pull/60143))
+- Fix DELETE/UPDATE cannot resolve column when table alias uses AS keyword
([#60335](https://github.com/apache/doris/pull/60335))
+- Fix boolean query AllScorer combination handling
([#60438](https://github.com/apache/doris/pull/60438))
+- Fix query cache not hit when use sort and one phase aggregation
([#60298](https://github.com/apache/doris/pull/60298))
+- Modify ORC reader to make error reporting more accurate
([#60234](https://github.com/apache/doris/pull/60234))
+- Fix prune nested column maybe throw NullPointerException
([#60395](https://github.com/apache/doris/pull/60395))
+- Fix partitions function throw error when query internal table without
specifying catalog condition
([#60247](https://github.com/apache/doris/pull/60247))
+- Fix backends udf return rows incompatible with show backends command
([#60210](https://github.com/apache/doris/pull/60210))
+- Fix AggregateNode compute digest of query cache should consider
sortByGroupKey ([#60431](https://github.com/apache/doris/pull/60431))
+- Fix predicate should be pushed down when conjunct contains CAST for Variant
([#60485](https://github.com/apache/doris/pull/60485))
+- Treat no such key as empty response when listing objects (part 2) for S3
([#60286](https://github.com/apache/doris/pull/60286))
+- Fix empty string MATCH on keyword index returning wrong results
([#60500](https://github.com/apache/doris/pull/60500))
+- Fix PhysicalDictionarySink.resetLogicalProperties() does not reset logical
properties properly ([#60495](https://github.com/apache/doris/pull/60495))
+- Fix %f (microseconds) format specifier in str_to_date
([#60632](https://github.com/apache/doris/pull/60632))
+- Throw exception for date_floor/ceil instead of return NULL
([#60633](https://github.com/apache/doris/pull/60633))
+- Fix S3-compatible storage must support temporary credentials when vendor
credentials are configured at catalog level
([#60232](https://github.com/apache/doris/pull/60232))
+- Fix empty InsertIntoDictionaryCommand originSql
([#60631](https://github.com/apache/doris/pull/60631))
+- Fix width_bucket did not enforce that the fourth argument must be a constant
([#60643](https://github.com/apache/doris/pull/60643))
+- Validate mode parameter in search() DSL options
([#60785](https://github.com/apache/doris/pull/60785))
+- Fix range search prepare failed on NULL literal for ANN
([#60564](https://github.com/apache/doris/pull/60564))
+- Make dot match newline in regexp_fn by default
([#60831](https://github.com/apache/doris/pull/60831))
+- Fix Azure Storage Vault endpoint always using HTTP instead of HTTPS
([#60854](https://github.com/apache/doris/pull/60854))
+- Add rest external catalog for gson compatibility for Paimon
([#60917](https://github.com/apache/doris/pull/60917))
+- Disable strict mode for variant internal cast to fix INSERT INTO SELECT
returning all NULLs ([#60900](https://github.com/apache/doris/pull/60900))
+- Default to the Default chain when S3 role_arn is set without provider_type
([#60822](https://github.com/apache/doris/pull/60822))
+- Fix parquet reader lazy materialization cannot filter
([#60474](https://github.com/apache/doris/pull/60474))
+- Fix point query ignoring session timezone for functions like from_unixtime
([#60913](https://github.com/apache/doris/pull/60913))
+- Make AND/OR/NOT operators case-sensitive in search DSL
([#59747](https://github.com/apache/doris/pull/59747))
+- Decouple min pipeline executor size from ConnectContext
([#60958](https://github.com/apache/doris/pull/60958))
+- Fix Azure endpoint detection for sovereign clouds with force-global config
support ([#60903](https://github.com/apache/doris/pull/60903))
+- Backport search() function improvements and bug fixes
([#61028](https://github.com/apache/doris/pull/61028))
+- Fix encrypt key is not case sensitive
([#60288](https://github.com/apache/doris/pull/60288))
+- Make hive compress split assertion BE-aware
([#60947](https://github.com/apache/doris/pull/60947))
+- Support CLIENT_DEPRECATE_EOF to fix empty result with MySQL driver 9.5.0
([#61050](https://github.com/apache/doris/pull/61050))
+- Fix basic and icu tokenizer can not be customized in custom analyzer
([#60506](https://github.com/apache/doris/pull/60506))
\ No newline at end of file
diff --git a/versioned_sidebars/version-4.x-sidebars.json
b/versioned_sidebars/version-4.x-sidebars.json
index 9196edfb39b..03a73f421cd 100644
--- a/versioned_sidebars/version-4.x-sidebars.json
+++ b/versioned_sidebars/version-4.x-sidebars.json
@@ -2595,6 +2595,7 @@
"type": "category",
"label": "v4.0",
"items": [
+ "releasenotes/v4.0/release-4.0.4",
"releasenotes/v4.0/release-4.0.3",
"releasenotes/v4.0/release-4.0.2",
"releasenotes/v4.0/release-4.0.1",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]