Closed
Conversation
BREAKING CHANGES:
- React 17 -> 18.3.1
- Antd 4 -> 5.24.0
- @formily/antd -> @formily/antd-v5 ^1.2.0
- TypeScript 4.1 -> 5.8.0
- Webpack 4 -> 5.99.0
- Lerna 4 -> 8.2.0
React 18 fixes:
- Add children?: React.ReactNode to all component interfaces
- Remove .defaultProps (deprecated)
- Change useRef<T>() -> useRef<T>(null)
- Fix Rect vs DOMRect type issues
- Replace React.ReactChild -> React.ReactNode
- Migrate ReactDOM.render -> createRoot
Antd 5 fixes:
- Replace ~antd/lib/style/themes/default.less with local variables.less
- Remove antd CSS import (uses CSS-in-JS)
- Button.Group -> Space.Compact
- Breadcrumb.Item -> items prop
- overlayInnerStyle -> styles={{ body: {} }}
- destroyOnClose -> destroyOnHidden
- null in enum -> '' (empty string)
Webpack 5 fixes:
- [hash] -> [contenthash]
- Update less-loader/postcss-loader options syntax
- Replace file-loader/url-loader with asset modules
- Fix glob v11 API (GlobSync -> globSync)
- Remove externals for React/ReactDOM/antd (no UMD builds)
Other:
- Remove formily/next from workspace (Fusion Design not needed)
- Add check:antd5 script for deprecation detection
- Update monaco-editor to ^0.52.0
- Add missing peer dependencies
- Document rc-collapse children deprecation from @formily/antd-v5 - Document @dnd-kit div in tbody warning from ArrayTable - Update check-antd5-deprecations.ts with Collapse.Panel pattern - Add instructions for running deprecation checker
- Rename all packages from @designable/* to @sulesky/* - Update repository URLs to github.com/kapelan/designable - Set version to 1.0.0 for initial release - Update all import statements and dependencies
- Remove zh-CN and ko-KR language options from all playgrounds - Update GitHub links to kapelan/designable - Change button labels from Chinese to English - Update MDN links to English versions
- Enable ci.yml with Node 18.x/20.x, build, test, antd5 check - Fix commitlint.yml syntax error and update to v5 - Update check-pr-title.yml to use semantic-pull-request v5 - Update package-size.yml with checkout v4 - Remove pr-welcome.yml (unnecessary)
|
|
❌ Deploy Preview for designable-antd failed. Why did it fail? →
|
❌ Deploy Preview for designable-fusion failed. Why did it fail? →
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before submitting a pull request, please make sure the following is done...
main.npm test).npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.