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

Update dependency antd to v5 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 20, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
antd (source) ^4.18.7 -> ^5.0.0 age adoption passing confidence

Release Notes

ant-design/ant-design

v5.0.0

Compare Source

🏆 Ant Design 5.0.0 is out!

Read it before migration

🌟 If you want to migrate to Ant Design 5.0, please check V4 to V5.

Major Changes
  • 🔥 New Components
  • 🔥 New Component Variants
  • 💄 New Design
    • 💄 Change primary color to #​1677ff. #​37254
    • 💄 Change basic border radius to 6px, and support gradient radius. #​37146 #​37369
    • 💄 Optimize transition duration. #​37438
    • 💄 Optimize padding and remove border for some components. #​37283
    • 💄 Optimize focus style for some components. #​37483
    • 💄 Optimize style with large border radius.
      • 💄 Optimize Table hover style. #​37370
      • 💄 Optimize Segmented hover style. #​37498
      • 💄 Optimize Dropdown hover style. #​37491
      • 💄 Optimize close button style for some components like Modal. #​37634
      • 💄 Optimize Menu style. #​38009
      • 💄 Optimize hover style for some more components. #​37433
    • 💄 Optimize Switch transition. #​37658
    • 💄 Optimize Anchor ink ball style. #​38616
  • 🆕 Export object theme which contains hooks and algorithms related with theme. #​36302
    • 🆕 Add theme.useToken hook to get Design Token in context. #​36267
    • 🆕 Preset algorithm
  • 🆕 ConfigProvider support theme prop to modify theme configuration. For more: Customize Theme.
    • 🆕 Support multiple algorithm pipeline. #​37082
    • 🆕 Support switching wireframe style. #​37507
    • 🆕 Support override Design Token for single component. #​37568
  • 🆕 Add locale directory in package, which contains commonjs locale files. #​38194 @​chunsch
  • 🗑 Do not support IE browser anymore.
  • 🗑 Remove package antd/lib. #​36362
    • 🛠 Change main in package.json to dist/antd.js. eb8835f
  • 🗑 Remove dist/antd.css, and add dist/reset.css to override common styles. #​36224
  • 🗑 Deprecate visible and provide open instead in components below. @​yykoypj
    • 🗑 Tag deprecate visible. #​36671
    • 🗑 Table deprecate filterDropdownVisible and provide filterDropdownOpen. #​36747
    • 🗑 Drawer deprecate visible and provide open instead. #​36750
    • 🗑 Modal deprecate visible and provide open instead. #​36774
    • 🗑 Dropdown deprecate visible and provide open instead. #​36799
    • 🗑 Tooltip deprecate visible and provide open instead, Popover and Popconfirm. #​36807
  • 🗑 Deprecate dropdownClassName and provide popupClassName instead in components below. @​heiyu4585
    • 🗑 AutoComplete deprecate dropdownClassName and provide popupClassName instead. #​37087
    • 🗑 Mentions deprecate dropdownClassName and provide popupClassName instead. #​37122
    • 🗑 Cascader deprecate dropdownClassName and provide popupClassName instead. #​37089
    • 🗑 Select deprecate dropdownClassName and provide popupClassName instead. #​37091
    • 🗑 TreeSelect deprecate dropdownClassName and provide popupClassName instead. #​37092
    • 🗑 DatePicker and TimePicker deprecate dropdownClassName and provide popupClassName instead. #​37207
  • 🛠 Refactor styles with CSS-in-JS for all components.
    • 🗑 Remove less and css in package. #​36244
  • 🛠 Change date library from Moment.js to Day.js, for more: Use custom date library. b22815d @​iamkun
  • 🛠 React Notification to support React 18 concurrent mode and refactor useNotification hook,which is preferred instead of static function. #​35423 #​35568
  • 🛠 Slider props related with Tooltip are unified into tooltip. #​37043 @​yykoypj
  • 🛠 Migrate official site to dumi@2. #​38328

  • 🏆 Ant Design 5.0.0 已发布!欢迎阅读我们的 发布文档
    升级必读
  • 🌟 如果你想升级到 Ant Design 5.0,请仔细查阅我们的迁移文档
    主要变化
  • 🔥 新增组件
  • 🔥 新增组件变体
  • 💄 设计变化
    • 💄 调整主色为 #​1677ff#​37254
    • 💄 基础圆角调整为 6px,并支持梯度圆角。#​37146 #​37369
    • 💄 优化组件整体动画速度,效果更简练。#​37438
    • 💄 对部分组件进行了去线框化和间距上的调整,整体风格更加简洁。#​37283
      • 💄 Pagination 组件去线框化。#​37441
      • 💄 优化 Timeline 组件 UI 设计。#​37465
      • 💄 优化 Steps 组件 UI 设计。#​37473
    • 💄 优化部分组件 focus 样式。#​37483
    • 💄 优化组件圆角较大时的部分样式。
      • 💄 优化 Table 组件 hover 样式。#​37370
      • 💄 优化 Segmented 组件 hover 样式。#​37498
      • 💄 优化 Dropdown 组件 hover 样式。#​37491
      • 💄 优化 Modal 等组件关闭按钮样式。#​37634
      • 💄 优化 Menu 组件样式。#​38009
      • 💄 更多组件 hover 样式优化。#​37433
    • 💄 优化 Switch 组件动画效果。#​37658
    • 💄 优化 Anchor 组件样式 UI 设计。#​38616
  • 🆕 新增导出对象 theme,用于获取主题相关属性。#​36302
    • 🆕 新增 theme.useToken hook,用于获取当前上下文的主题变量。#​36267
    • 🆕 新增内置算法。
  • 🆕 ConfigProvider 新增 theme 属性,用于更改主题配置,详情:定制主题
    • 🆕 支持多个 algorithm#​37082
    • 🆕 支持线框化切换。#​37507
    • 🆕 支持覆盖单个组件的主题变量。#​37568
  • 🆕 产物新增 locale 目录,内含 cjs 格式的语言文件。#​38194 @​chunsch
  • 🗑 移除对 IE 的支持。
  • 🗑 移除 lib 产物。#​36362
    • 🛠 调整 package.jsonmaindist/antd.jseb8835f
  • 🗑 移除 dist/antd.css 产物。默认不再入侵全局样式,新增 dist/reset.css 用于重置部分常见样式。#​36224
  • 🗑 废弃下列组件的 visible 属性,改用 open@​yykoypj
    • 🗑 Tag 废弃 visible 属性。#​36671
    • 🗑 Table filterDropdownVisible 调整为 filterDropdownOpen#​36747
    • 🗑 Drawer 废弃 visible 属性,改用 open#​36750
    • 🗑 Modal 废弃 visible 属性,改用 open#​36774
    • 🗑 Dropdown 废弃 visible 属性,改用 open#​36799
    • 🗑 Tooltip & Popover & Popconfirm 废弃 visible 属性,改用 open#​36807
  • 🗑 废弃下列组件的 dropdownClassName,统一为 popupClassName@​heiyu4585
    • 🗑 AutoComplete 废弃 dropdownClassName,改用 popupClassName#​37087
    • 🗑 Mentions 废弃 dropdownClassName,改用 popupClassName#​37122
    • 🗑 Cascader 废弃 dropdownClassName,改用 popupClassName#​37089
    • 🗑 Select 废弃 dropdownClassName,改用 popupClassName#​37091
    • 🗑 TreeSelect 废弃 dropdownClassName,改用 popupClassName#​37092
    • 🗑 DatePicker 和 TimePicker 废弃 dropdownClassName,改用 popupClassName#​37207
  • 🛠 所有组件使用 CSS-in-JS 重构样式。
    • 🗑 移除 less 及相关 less 和 css 产物。#​36244
  • 🛠 内置时间库由 Moment.js 替换为 Day.js,详情:使用自定义日期库b22815d @​iamkun
  • 🛠 重构 Notification 以支持 React 18 concurrent 模式,并重构 useNotification hook,推荐替代静态方法使用。#​35423 #​35568
  • 🛠 Slider 组件 Tooltip 相关 API 合并至 tooltip 属性中。#​37043 @​yykoypj
  • 🛠 文档站技术栈迁移 dumi@2#​38328

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Nov 20, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
installing v2 tool node v18.12.1
linking tool node v18.12.1
node: v18.12.1 /usr/local/bin/node
npm: 8.19.2  /usr/local/bin/npm
Installed v2 /usr/local/buildpack/tools/v2/node.sh in 7 seconds
skip cleanup, not a docker build: 2ad7cb67a330
installing v2 tool pnpm v6.35.1

added 1 package in 2s
linking tool pnpm v6.35.1
6.35.1
Installed v2 /usr/local/buildpack/tools/v2/pnpm.sh in 4 seconds
skip cleanup, not a docker build: 2ad7cb67a330
 WARN  The "store" setting has been renamed to "store-dir". Please use the new name.
Progress: resolved 0, reused 1, downloaded 0, added 0

   ╭──────────────────────────────────────────────────────────────────╮
   │                                                                  │
   │                Update available! 6.35.1 → 7.16.1.                │
   │   Changelog: https://github.com/pnpm/pnpm/releases/tag/v7.16.1   │
   │                Run "pnpm add -g pnpm" to update.                 │
   │                                                                  │
   │      Follow @pnpmjs for updates: https://twitter.com/pnpmjs      │
   │                                                                  │
   ╰──────────────────────────────────────────────────────────────────╯

Progress: resolved 10, reused 9, downloaded 0, added 0
Progress: resolved 16, reused 14, downloaded 0, added 0
Progress: resolved 44, reused 15, downloaded 0, added 0
Progress: resolved 54, reused 25, downloaded 0, added 0
.                                        |  WARN  deprecated [email protected]
Progress: resolved 69, reused 33, downloaded 0, added 0
Progress: resolved 79, reused 39, downloaded 7, added 0
Progress: resolved 88, reused 42, downloaded 11, added 0
Progress: resolved 112, reused 42, downloaded 20, added 0
Progress: resolved 128, reused 42, downloaded 23, added 0
Progress: resolved 141, reused 42, downloaded 27, added 0
Progress: resolved 186, reused 44, downloaded 31, added 0
 WARN  GET https://registry.npmjs.org/cookie-signature/download/cookie-signature-1.0.6.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/utils-merge/download/utils-merge-1.0.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@webassemblyjs/wasm-edit/download/@webassemblyjs/wasm-edit-1.11.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/fresh/download/fresh-0.5.2.tgz?cache=0&sync_timestamp=1633501772403&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ffresh%2Fdownload%2Ffresh-0.5.2.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@webassemblyjs/ast/download/@webassemblyjs/ast-1.11.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/setprototypeof/download/setprototypeof-1.2.0.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/merge-descriptors/download/merge-descriptors-1.0.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ansi-html-community/download/ansi-html-community-0.0.8.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@webassemblyjs/wasm-parser/download/@webassemblyjs/wasm-parser-1.11.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /tmp/renovate-cache/others/pnpm/v3
  Virtual store is at:             node_modules/.pnpm
Progress: resolved 204, reused 61, downloaded 41, added 0
Progress: resolved 264, reused 121, downloaded 41, added 0
Progress: resolved 275, reused 138, downloaded 41, added 0
Progress: resolved 275, reused 171, downloaded 41, added 0
Progress: resolved 275, reused 176, downloaded 41, added 0
Progress: resolved 275, reused 177, downloaded 41, added 0
Progress: resolved 406, reused 345, downloaded 41, added 0
.                                        |  WARN  deprecated [email protected]
Progress: resolved 548, reused 502, downloaded 41, added 0
.                                        |  WARN  deprecated @stylelint/[email protected]
 WARN  GET https://registry.npmjs.org/@nodelib/fs.scandir/download/@nodelib/fs.scandir-2.1.5.tgz error (ERR_PNPM_FETCH_404). Will retry in 10 seconds. 2 retries left.
Progress: resolved 622, reused 577, downloaded 41, added 0
 WARN  GET https://registry.npmjs.org/cookie-signature/download/cookie-signature-1.0.6.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/setprototypeof/download/setprototypeof-1.2.0.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/utils-merge/download/utils-merge-1.0.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@webassemblyjs/wasm-edit/download/@webassemblyjs/wasm-edit-1.11.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@webassemblyjs/ast/download/@webassemblyjs/ast-1.11.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/fresh/download/fresh-0.5.2.tgz?cache=0&sync_timestamp=1633501772403&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ffresh%2Fdownload%2Ffresh-0.5.2.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/merge-descriptors/download/merge-descriptors-1.0.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@webassemblyjs/wasm-parser/download/@webassemblyjs/wasm-parser-1.11.1.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/ansi-html-community/download/ansi-html-community-0.0.8.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
Progress: resolved 716, reused 672, downloaded 41, added 0
Progress: resolved 843, reused 799, downloaded 41, added 0
Progress: resolved 921, reused 878, downloaded 41, added 0
Progress: resolved 921, reused 878, downloaded 42, added 0
 WARN  GET https://registry.npmjs.org/@nodelib/fs.scandir/download/@nodelib/fs.scandir-2.1.5.tgz error (ERR_PNPM_FETCH_404). Will retry in 1 minute. 1 retries left.
undefined
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/cookie-signature/download/cookie-signature-1.0.6.tgz: Not Found - 404

No authorization header was set for the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants