Compare commits

...

13 Commits

Author SHA1 Message Date
katherinehhh
9e49ae49b7 Merge branch 'next' into T-2209 2025-04-30 14:41:57 +08:00
Katherine
1814835ec5
fix: build error (#6812) 2025-04-30 10:36:08 +08:00
katherinehhh
d4259214fc Merge branch 'main' into next 2025-04-30 09:54:17 +08:00
gchust
b164d9a2fa
fix: incorrect variable selection when first click to load data (#6802)
* fix: incorrect variable selection when first click to load data

* Revert "fix: incorrect variable selection when first click to load data"

This reverts commit 0caa9a84b15c51cf87e03819c51b79d8be3e99e9.

* fix: e2e tests
2025-04-30 09:42:35 +08:00
Katherine
fd8606e69e
fix: duplicate validation error messages for rule violations in form field (#6805) 2025-04-30 09:36:05 +08:00
Katherine
fe005e091a
fix: ssue with configuring linkage rules in subform (popup) within subtable (#6803) 2025-04-30 09:35:26 +08:00
xilesun
dfc5ec098c fix(verification): migration version number 2025-04-30 09:34:05 +08:00
nocobase[bot]
b98a9a97e8 Merge branch 'main' into next 2025-04-29 23:42:41 +00:00
Zeke Zhang
db88e8301f
fix: exclude 'attachmentURL' from associated form item filter (#6809) 2025-04-30 07:42:18 +08:00
nocobase[bot]
39e27f94a7 Merge branch 'main' into next 2025-04-29 12:07:16 +00:00
nocobase[bot]
5c2bd3c496 docs: update changelogs 2025-04-29 12:06:39 +00:00
nocobase[bot]
4a0ce6fdda Merge branch 'main' into next 2025-04-29 11:58:24 +00:00
nocobase[bot]
09c53403eb chore(versions): 😊 publish v1.6.25 2025-04-29 11:57:38 +00:00
7 changed files with 102 additions and 5 deletions

View File

@ -5,6 +5,54 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v1.6.25](https://github.com/nocobase/nocobase/compare/v1.6.24...v1.6.25) - 2025-04-29
### 🎉 New Features
- **[undefined]** add publish ci for license kit ([#6786](https://github.com/nocobase/nocobase/pull/6786)) by @jiannx
- **[Data visualization: ECharts]** Add "Y-Axis inverse" setting for bar charts by @2013xile
### 🚀 Improvements
- **[utils]** Increase the height of the filter button field list and sort/categorize the fields ([#6779](https://github.com/nocobase/nocobase/pull/6779)) by @zhangzhonghe
- **[client]** optimize subtable add button style and align paginator on the same row ([#6790](https://github.com/nocobase/nocobase/pull/6790)) by @katherinehhh
- **[File manager]** Add OSS timeout option default to 10min ([#6795](https://github.com/nocobase/nocobase/pull/6795)) by @mytharcher
- **[Password policy]** Change default password expiration to never expire by @2013xile
- **[WeCom]** Prioritize corporate email over personal email when updating the user's email by @2013xile
### 🐛 Bug Fixes
- **[client]**
- In the collapse block, clicking the clear button in the relationship field search box should not delete the data range ([#6782](https://github.com/nocobase/nocobase/pull/6782)) by @zhangzhonghe
- association field not submitting data when displaying field from related collection ([#6798](https://github.com/nocobase/nocobase/pull/6798)) by @katherinehhh
- Prohibit moving menus before or after page tabs ([#6777](https://github.com/nocobase/nocobase/pull/6777)) by @zhangzhonghe
- Table block displays duplicate data when filtering ([#6792](https://github.com/nocobase/nocobase/pull/6792)) by @zhangzhonghe
- In the filter form, switching the field operator and then refreshing the page causes an error ([#6781](https://github.com/nocobase/nocobase/pull/6781)) by @zhangzhonghe
- **[database]**
- Avoid error thrown when data type is not string ([#6797](https://github.com/nocobase/nocobase/pull/6797)) by @mytharcher
- add unavailableActions to sql collection and view collection ([#6765](https://github.com/nocobase/nocobase/pull/6765)) by @katherinehhh
- **[create-nocobase-app]** Temporarily fix mariadb issue by downgrading to 2.5.6 ([#6762](https://github.com/nocobase/nocobase/pull/6762)) by @chenos
- **[Authentication]** Disallow changing authenticator name ([#6808](https://github.com/nocobase/nocobase/pull/6808)) by @2013xile
- **[Template print]** Fix: Correct permission validation logic to prevent unauthorized actions. by @sheldon66
- **[File storage: S3(Pro)]** access url expiration invalid by @jiannx
- **[Block: Tree]** After connecting through a foreign key, clicking to trigger filtering results in empty filter conditions by @zhangzhonghe
## [v1.6.24](https://github.com/nocobase/nocobase/compare/v1.6.23...v1.6.24) - 2025-04-24
### 🚀 Improvements

View File

@ -5,6 +5,54 @@
格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/),
并且本项目遵循 [语义化版本](https://semver.org/spec/v2.0.0.html)。
## [v1.6.25](https://github.com/nocobase/nocobase/compare/v1.6.24...v1.6.25) - 2025-04-29
### 🎉 新特性
- **[undefined]** 添加 license kit 发包ci ([#6786](https://github.com/nocobase/nocobase/pull/6786)) by @jiannx
- **[数据可视化EChrats]** 条形图支持“y轴反向”设置 by @2013xile
### 🚀 优化
- **[utils]** 增加筛选按钮字段列表的高度,和对字段进行排序分类 ([#6779](https://github.com/nocobase/nocobase/pull/6779)) by @zhangzhonghe
- **[client]** 优化子表格添加按钮样式,并将分页器与按钮排列在同一行 ([#6790](https://github.com/nocobase/nocobase/pull/6790)) by @katherinehhh
- **[文件管理器]** 增加 OSS 存储引擎的超时时间配置项,且默认为 10 分钟 ([#6795](https://github.com/nocobase/nocobase/pull/6795)) by @mytharcher
- **[密码策略]** 默认密码过期时间修改为不过期 by @2013xile
- **[企业微信]** 更新用户邮箱时优先使用企业邮箱而不是个人邮箱 by @2013xile
### 🐛 修复
- **[client]**
- 折叠面板区块中,当点击关系字段搜索框的清空按钮后,不应该删除数据范围 ([#6782](https://github.com/nocobase/nocobase/pull/6782)) by @zhangzhonghe
- 关系字段,在显示关系表下的字段数据时不提交数据 ([#6798](https://github.com/nocobase/nocobase/pull/6798)) by @katherinehhh
- 禁止将菜单移动到页面 tab 的前面和后面 ([#6777](https://github.com/nocobase/nocobase/pull/6777)) by @zhangzhonghe
- 表格区块在筛选时重复显示数据 ([#6792](https://github.com/nocobase/nocobase/pull/6792)) by @zhangzhonghe
- 筛选表单中,切换字段操作符后,刷新页面会报错 ([#6781](https://github.com/nocobase/nocobase/pull/6781)) by @zhangzhonghe
- **[database]**
- 避免文本类型输入数据不是字符串时的报错 ([#6797](https://github.com/nocobase/nocobase/pull/6797)) by @mytharcher
- 补充sql collection和view collection 的unavailableActions ([#6765](https://github.com/nocobase/nocobase/pull/6765)) by @katherinehhh
- **[create-nocobase-app]** 回退 mariadb 版本至 2.5.6,解决兼容性问题 ([#6762](https://github.com/nocobase/nocobase/pull/6762)) by @chenos
- **[用户认证]** 不允许修改认证器标识 ([#6808](https://github.com/nocobase/nocobase/pull/6808)) by @2013xile
- **[模板打印]** 修复:修正权限校验逻辑,防止未授权操作。 by @sheldon66
- **[文件存储S3 (Pro)]** 访问地址有效期无效 by @jiannx
- **[区块:树]** 通过外键连接后,点击触发筛选,筛选条件为空 by @zhangzhonghe
## [v1.6.24](https://github.com/nocobase/nocobase/compare/v1.6.23...v1.6.24) - 2025-04-24
### 🚀 优化

View File

@ -50,6 +50,7 @@ const InternalFormBlockProvider = (props) => {
const form = useMemo(
() =>
createForm({
validateFirst: true,
readPretty,
}),
[readPretty],

View File

@ -28,8 +28,8 @@ import { isSubMode } from '../../../../schema-component/antd/association-field/u
import { useIsAssociationField } from '../../../../schema-component/antd/form-item';
import { FormLinkageRules } from '../../../../schema-settings/LinkageRules';
import { SchemaSettingsLinkageRules } from '../../../../schema-settings/SchemaSettings';
import { SchemaSettingsItemType } from '../../../../application';
import { useColumnSchema } from '../../../../schema-component';
import { SchemaSettingsItemType } from '../../../../application';
const enabledIndexColumn: SchemaSettingsItemType = {
name: 'enableIndexColumn',

View File

@ -484,7 +484,7 @@ export function Input(props: VariableInputProps) {
value={variable ?? cValue}
onChange={onSwitch}
loadData={loadData as any}
changeOnSelect={changeOnSelect}
changeOnSelect={changeOnSelect ?? true}
fieldNames={fieldNames}
disabled={disabled}
>

View File

@ -599,9 +599,9 @@ const associationFieldToMenu = (
export const useFilterAssociatedFormItemInitializerFields = () => {
const { name, fields } = useCollection_deprecated();
const { getCollectionFields } = useCollectionManager_deprecated();
const interfaces = ['o2o', 'oho', 'obo', 'm2o', 'm2m'];
const excludedInterfaces = ['attachmentURL'];
return fields
?.filter((field) => field.target && field.uiSchema && interfaces.includes(field.interface))
?.filter((field) => field.target && field.uiSchema && !excludedInterfaces.includes(field.interface))
.map((field) => associationFieldToMenu(field, field.name, name, getCollectionFields, []))
.filter(Boolean);
};

View File

@ -13,7 +13,7 @@ import { SMS_OTP_VERIFICATION_TYPE } from '../../constants';
export default class extends Migration {
on = 'afterLoad'; // 'beforeLoad' or 'afterLoad'
appVersion = '<1.6.1';
appVersion = '<1.7.0';
async up() {
const providers = await this.db.getRepository('verifications_providers').find();