woocommerce/packages/js/navigation/zh-cn/PREVIOUS_CHANGELOG.md
2026-04-15 10:18:01 +08:00

86 lines
No EOL
2.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 7.0.1
- 添加缺失的依赖项。#8349
- 更新所有次要/补丁版本变更的 js 包。#8392
# 7.0.0
## 重大变更
- 更新依赖项以支持 react 17。#8305
- 放弃对 IE11 的支持。#8305
## 6.1.0
- 修复 commonjs 模块构建,允许包独立构建。#7286
- 添加 `getSetOfIdsFromQuery` 工具函数。
- 修复 `getIdsFromQuery``0` 作为有效 ID 的支持。
# 6.0.1
- 更新依赖项。
# 6.0.0
-`addHistoryListener()` 移至此包,该函数支持添加一个在历史变更时执行的监听器。
- 更新依赖项。
- 为导航添加持久化查询的管理。
- 向 getNewPath 添加页面参数以覆盖默认页面 wc-admin #5821
## 重大变更
- 将 Lodash 移至 peer 依赖项。
# 5.3.0
- `getQueryExcludedScreens` 返回应从持久化查询逻辑中排除的屏幕列表。
- `getScreenFromPath` 给定一个路径(默认为当前路径),返回简单的屏幕"名称"
# 5.2.0
- 添加插槽/填充组件 WooNavigationItem、NavSlotFillProvider 和 useNavSlot。
# 5.1.1
- 版本更新以取消包的弃用状态。
# 5.1.0
- 在 getActiveFiltersFromQuery() 和 getQueryFromActiveFilters() 中支持多个高级筛选器实例。
# 5.0.0
- `getPersistedQuery` 为扩展添加一个过滤器以添加持久化查询,`woocommerce_admin_persisted_queries`
# 4.0.0
## 重大变更
-`wcSettings` 从此包中解耦 (#3294)
- 此包不再提供 `getAdminLink`。它通过 woo-blocks 插件v2.5 或 WC 3.9)在 `wcSettings` 全局变量上导出,当通过 `wc-settings` 句柄入队时。
# 3.0.0
- `getHistory` 已更新,以在 URL 查询中反映路径参数。
- `getNewPath` 也已更新,以在 URL 查询中反映路径参数。
- `stringifyQuery` 方法不再可用,请改用 `@wordpress/url` 包中的 `addQueryArgs`
- 添加了一个新的 `<Form />` 组件。
- Stepper 组件:添加新的 `content``description` 属性。
- 移除 `getAdminLink()` 和对全局设置对象的依赖。
# 2.1.1
- 将许可证更新为 GPL-3.0-or-later
# 2.1.0
- 新方法 `getSearchWords`,用于提取给定查询对象的搜索词。
- 提升依赖项版本。
# 2.0.0
-`history` 导出替换为 `getHistory`(允许延迟创建历史记录)
# 1.1.0
- 将 `getTimeRelatedQuery` 重命名为 `getPersistedQuery`