What's Changed
🚀 Features
- feat: supports specifying the position of the preference button (#4154) @anncwb
- feat: support custom background colors for sidebar and header (#4151) @anncwb
- feat: add swap component and optimizing layout known issues (#4149) @anncwb
- feat(@vben/playground): add full-screen examples (#4126) @wangjue666
- feat(@vben/playground): Add a clipboard example (#4133) @wangjue666
- feat: support vue file unit testing, add some components unit testing (#4119) @anncwb
- feat: add page component (#4087) @likui628
- feat: add ellipsis-text component (#4019) @wangjue666
🐞 Bug Fixes
- fix: the translation is incorrect when switching languages for the first time (#4146) @likui628
- fix: automatic hiding and displaying of headers can only be used on content (#4145) @anncwb
- fix: some icons behave inconsistently on menu and tab (#4144) @likui628
- fix: type
Component
is not assignable toRouteMeta
(#4140) @likui628 - fix(@vben/common-ui): text omission component expansion exception (#4139) @wangjue666
- fix: tab close by key, fixed: #4132 (#4136) @mynetfan
- fix: missing route data in guard of web-ele and web-naive, fixed: #41… (#4117) @falcon-jin
- fix: missing route data in guard, fixed: #4108 (#4115) @mynetfan
- fix: activePath not working in menu, fixed: #4112 (#4113) @mynetfan
- fix: use correct route data in tabbar, fixed: #4107 (#4110) @mynetfan
- fix: tabsToolMore cannot be opened in a new window (#4107) (#4109) @P2K0
- fix: issue with vben/styles/global global injection (#4106) @zmcode
- fix: inconsistent performance between breadcrumbs and tabs (#4105) @anncwb
- fix: when borderRaidus is a string, the component displays an exception (#4102) @anncwb
- fix: add colorInfo in SeedToken (#4096) @wangjue666
- fix: menu-badge color not correct (#4089) @likui628
📈 Performance
- perf: staticRoutes is renamed externalRoutes (#4143) @anncwb
- perf: improve login page UI (#4142) @anncwb
- perf: optimize the diffPreferences logic and adjust the unit test (#4130) @anncwb
- refactor: adjust all sample pages and use page components (#4118) @anncwb
- refactor: migrate demo applications to playground (#4116) @anncwb
- perf: remove duplicate code (#4083) @pzzyf
- perf: correct cloneDeep spelling errors (#4099) @aonoa
👻 Maintenance
- chore: semiDarkMenu renamed semiDarkSidebar (#4152) @anncwb
- chore(deps): bump the non-breaking-changes group with 5 updates (#4147) @dependabot
- chore(deps): bump the non-breaking-changes group with 10 updates (#4131) @dependabot
- chore(deps): bump cheerio from 1.0.0-rc.12 to 1.0.0 (#4104) @dependabot
- chore(deps): bump the non-breaking-changes group with 6 updates (#4103) @dependabot
- chore: update eslint configuration and adjust docker command (#4101) @anncwb
- chore(deps): bump the non-breaking-changes group with 14 updates (#4092) @dependabot
Full Changelog: v5.0.1...v5.1.0