Update assets (major)
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
copy-webpack-plugin | ^11.0.0 -> ^12.0.0 |
||||
css-loader | ^6.2.0 -> ^7.0.0 |
||||
css-minimizer-webpack-plugin | ^4.0.0 -> ^7.0.0 |
||||
daisyui (source) | ^2.31.0 -> ^4.0.0 |
||||
glob | ^8.0.3 -> ^10.0.0 |
||||
postcss-import | ^15.0.0 -> ^16.0.0 |
||||
postcss-loader | ^7.0.0 -> ^8.0.0 |
||||
topbar (source) | ^1.0.1 -> ^3.0.0 |
||||
webpack-cli (source) | ^4.10.0 -> ^5.0.0 |
Release Notes
webpack-contrib/copy-webpack-plugin (copy-webpack-plugin)
v12.0.2
v12.0.1
v12.0.0
⚠ BREAKING CHANGES
webpack-contrib/css-loader (css-loader)
v7.1.1
v7.1.0
Features
v7.0.0
⚠ BREAKING CHANGES
- The
modules.namedExport
option istrue
by default if you enable theesModule
option
Migration guide:
Before:
import style from "./style.css";
console.log(style.myClass);
After:
import * as style from "./style.css";
console.log(style.myClass);
To restore 6.x behavior, please use:
module.exports = {
module: {
rules: [
{
test: /\.css$/i,
loader: "css-loader",
options: {
modules: {
namedExport: false,
exportLocalsConvention: 'as-is',
//
// or, if you prefer camelcase style
//
// exportLocalsConvention: 'camel-case-only'
},
},
},
],
},
};
- The
modules.exportLocalsConvention
has the valueas-is
when themodules.namedExport
option istrue
and you don't specify a value - Minimum supported webpack version is
5.27.0
- Minimum supported Node.js version is
18.12.0
Features
- The
modules.namedExports
option works fine with anymodules.exportLocalsConvention
values (f96a110) - Added dashed variants for the
modules.exportLocalsConvention
options (40e1668)
v6.11.0
Features
Bug Fixes
v6.10.0
Features
- add
@rspack/core
as an optional peer dependency (#1568) (3924679) - pass the
resourceQuery
andresourceFragment
to theauto
andmode
callback (#1569) (d641c4d) - support named exports with any characters (6f43929)
6.9.1 (2024-01-18)
Bug Fixes
- css nesting support
-
@scope
at-rule support
v6.9.1
v6.9.0
Features
Bug Fixes
6.8.1 (2023-05-28)
Bug Fixes
v6.8.1
v6.8.0
Features
- use template literal when it possible to prevent
Maximum call stack size exceeded
(#1525) (6eb5661)
Bug Fixes
6.7.4 (2023-05-19)
Bug Fixes
6.7.3 (2022-12-14)
Bug Fixes
6.7.2 (2022-11-13)
Bug Fixes
6.7.1 (2022-03-08)
Bug Fixes
v6.7.4
v6.7.3
v6.7.2
v6.7.1
v6.7.0
Features
v6.6.0
Features
- added the
hashStrategy
option (ca4abce)
6.5.1 (2021-11-03)
Bug Fixes
v6.5.1
v6.5.0
Features
Bug Fixes
- respect
nosources
in thedevtool
option (c60eff2)
v6.4.0
Features
- generate more collision resistant for locals (c7db752)
Bug Fixes
- classes generation for client and server bundling (303a3a1)
v6.3.0
Features
- added
[folder]
placeholder (a0dee4f) - added the
exportType
option with'array'
,'string'
and'css-style-sheet'
values (c6d2066)-
'array'
- the default export isArray
with API forstyle-loader
and other -
'string'
- the default export isString
you don't needto-string-loader
loader anymore -
'css-style-sheet'
- the default export is aconstructable stylesheet
, you can useimport sheet from './styles.css' assert { type: 'css' };
like in a browser, more information you can find here
-
- supported
supports()
andlayer()
functions in@import
at-rules (#1377) (bce2c17) - fix multiple merging multiple
@media
at-rules (#1377) (bce2c17)
Bug Fixes
webpack-contrib/css-minimizer-webpack-plugin (css-minimizer-webpack-plugin)
v7.0.0
⚠ BREAKING CHANGES
v6.0.0
⚠ BREAKING CHANGES
5.0.1 (2023-06-13)
Bug Fixes
v5.0.1
v5.0.0
⚠ BREAKING CHANGES
- update
cssnano
to v6 (migration guide - https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.0) (#224)
Features
4.2.2 (2022-10-13)
Bug Fixes
4.2.1 (2022-10-06)
Bug Fixes
saadeghi/daisyui (daisyui)
v4.11.1
Bug Fixes
- disable initial button animation for
prefers-reduced-motion
(57d470e)
v4.11.0
Features
- add
tab-active
style for tabs witharia-selected="true"
attribute (213ee58)
v4.10.5
Bug Fixes
v4.10.4
Bug Fixes
v4.10.3
v4.10.2
Bug Fixes
v4.10.1
Bug Fixes
v4.10.0
Features
v4.9.0
Features
v4.8.0
Features
- checkbox/toggle with
checked="true"
won't force to show a checked value visually anymore (17585a6), closes #2911
v4.7.3
Features
- add
carousel-start
utility class
v4.7.2
Bug Fixes
v4.7.1
Bug Fixes
- don't apply menu item styles to
btn
is inside menu (ac60762)
v4.7.0
Features
- use CSS scrollbar-gutter for drawer. close #2622, close #2483, close #2782, close #2142, closes #2004 (863afaf)
v4.6.3
Bug Fixes
v4.6.2
Bug Fixes
v4.6.1
Bug Fixes
v4.6.0
Bug Fixes
v4.5.0
Features
Bug Fixes
v4.4.24
Bug Fixes
- unwanted background color in
.prose pre>code
(5d6daf3)
v4.4.23
Bug Fixes
v4.4.22
Bug Fixes
v4.4.21
Bug Fixes
v4.4.20
Bug Fixes
v4.4.19
Bug Fixes
- input type=date text-align issue in iOS (acf5377)
v4.4.18
v4.4.17
Bug Fixes
v4.4.16
Bug Fixes
- drawer and modal backdrop color (0f994e3)
v4.4.15
Bug Fixes
v4.4.14
Bug Fixes
v4.4.13
npm i -D daisyui@4.4.13
v4.4.12
Bug Fixes
v4.4.11
Bug Fixes
v4.4.10
Bug Fixes
v4.4.9
Bug Fixes
v4.4.8
Bug Fixes
- Fix:
button-active
color fallback for old browser - Fix:
link
hover color fallback for old browser - Fix:
menu
line color fallback for old browser
v4.4.7
Bug Fixes
v4.4.6
Bug Fixes
v4.4.5
Bug Fixes
- missing menu hover bg color (87c5ad7)
v4.4.4
Bug Fixes
v4.4.3
Bug Fixes
v4.4.2
Bug Fixes
- unwanted background color in
.prose pre>code
(5d6daf3)
v4.4.1
Bug Fixes
- input type=date text-align issue in iOS (acf5377)
v4.4.0
Features
- invalid color value in config now shows an error (41ee386)
v4.3.1
v4.2.3
v4.2.2
v4.2.1
v4.2.0
v4.1.1
v4.1.0
v4.0.9
Bug Fixes
- divider default color not being visible on dark themes (fffd021)
v4.0.8
Bug Fixes
- footer text opacity (f4be765)
v4.0.7
v4.0.6
Bug Fixes
v4.0.5
Bug Fixes
v4.0.4
Bug Fixes
v4.0.3
Bug Fixes
- specificity issue on form inputs
v4.0.2
Bug Fixes
v4.0.1
v4.0.0
Breaking changes
-
🌈 OKLCH colors- daisyUI 4 uses wide-gamut OKLCH colors internally instead of HSL now.
- The new OKLCH color model unlock access to 30% more colors comparing to RGB/HSL.
- All internal color variables (
--p
,--s
, etc) now contain OKLCH values instead of HSL. - If you're using those CSS variables directly inside your project like
hsl(var(--p))
you have to change it tooklch(var(--p))
- OKLCH colors are supported in Chrome/Edge 111+, Safari 15.4+, Firefox 113+
- For old browsers, daisyUI provides HEX fallback colors only for the default dark/light themes.
- Read more about OKLCH colors here.
-
🌈 Color names- Removed all
*-focus
color names. They where being used only for buttons. - Darker colors are now generated using CSS color-mix() under the hood.
- The following class names are removed now:
primary-focus
secondary-focus
accent-focus
neutral-focus
- You can also make a color darker or lighter using CSS
color-mix()
. For example to make primary (--p
) color darker by 7%, you can use this class name:
bg-[color-mix(in_oklab,oklch(var(--p)),black_7%)]
- Removed all
-
🎨 Themes- there's a change in property names in
daisyui/src/theming/themes.js
file.
If you're customizing a built-in daisyUI theme like this: ...require("daisyui/src/theming/themes")["[data-theme=light]"], change it to: ...require("daisyui/src/theming/themes")["light"], - All theme colors adjusted for better contrast, better color harmony and better accessibility.
- there's a change in property names in
- 🧠 Logical CSS properties
- daisyUI 4 components use logical CSS properties instead of directional rules (
mr-*
,pl-*
, etc) - If you are using directional CSS rules (right/left) to modify daisyUI styles, it still works fine in LTR mode but you may want to double check.
- daisyUI 4 components use logical CSS properties instead of directional rules (
-
⬅ ️ RTL- Removed
rtl
daisyUI config - All components now support LTR/RTL without any config or plugin.
- You don't need
tailwindcss-flip
plugin anymore. - You don't need to set
rtl: true
intailwind.config.js
- Just add
dir=rtl
to<html>
tag and everything will be RTL on runtime.
- Removed
-
🗂 ️ Tab- No need to repeat modifier classes for each
tab
item. - these modifier classes for
tab
are removed:tab-lifted
tab-bordered
tab-lg
tab-md
tab-sm
tab-xs
- Use the following modifier classes for the parent
tabs
class instead:tabs-lifted
tabs-bordered
tabs-lg
tabs-md
tabs-sm
tabs-xs
-
tabs
class is now using grid, instead of flex. - Lifted tab now uses a single pseudo element (
:before
) instead of two (:before
andafter
)
- No need to repeat modifier classes for each
-
⏺ ️ Button- buttons are not uppercase by default anymore
- Removed
--btn-text-case
CSS variable from themes
-
⚙ ️ Config- Removed
rtl
config because RTL is now automatic
- Removed
-
📦 Dependencies- Removed
colord
,rtlcss
,postcss
,tailwindcss
- Added
culori
,picocolors
- Removed
Features
-
💡 Efficiency- 92% less NPM module dependencies
- 73% smaller install size and node_modules footprint
-
✨ New components:timeline
skeleton
diff
theme-controller
-
➗ New divider color modifier class namesdivider-primary
divider-secondary
divider-accent
divider-neutral
divider-success
divider-warning
divider-info
divider-error
-
➗ New divider position modifier class namesdivider-start
divider-end
-
🎨 New themes:- Dim
- Nord
- Sunset
-
⏺ ️ Buttons- Added hover color for the following other buttons:
btn-info
btn-success
btn-warning
btn-error
- Added hover color for the following other buttons:
-
🗂 ️ Tab- Empty
tab
tag now grows and fills the empty space -
tab
class can now be a radio input.aria-label
value will be shown as the tab title so it's accessible for screen readers and keyboard navigation. - New
tab-content
class allows you to switch tab content
- Empty
- 🧩
@tailwindcss/forms
- Fix compatibility with
@tailwindcss/forms
plugin (even though you don't need it alongside daisyUI)
- Fix compatibility with
-
⚙ ️ Config- New
themeRoot
config- Now you can define target another element instead of
:root
to receive the color CSS variables. - This is useful for using colors in shadow root.
- Now you can define target another element instead of
- New
Bug Fixes
- Text color for disabled input #1622
- Fix tab radius
- Fix missing utility classes
- Docs: Prefix not work on responsive classes #2445
- Hover animations for state buttons #1790
- Skeleton component #186
- Uppercase buttons #2187
Docs
- New translations for docs
- Arabic
- Farsi
- daisyUI official store – Get professional templates made by daisyUI
- daisyUI resources – A handpicked collection of community videos, articles and courses about daisyUI
- Add roadmap page
- Add docs for utiltiy classes
- Update theme generator
- Show browser support for components that are using new CSS rules
v3.9.4
Bug Fixes
v3.9.3
Bug Fixes
v3.9.2
Features
- improve logs (379137c)
v3.9.1
v3.9.0
Features
- increase Tailwind CSS dependency from ^3 to ^3.1 (35e577f)
v3.8.3
Bug Fixes
v3.8.2
v3.8.1
Features
- add
:focus-within
style to.input
(#2363) (cac7938) - disable input outline when there's an
<input>
tag inside a.input
wrapper (dc1766b)
Bug Fixes
v3.8.0
Features
v3.7.7
v3.7.6
Bug Fixes
v3.7.5
v3.7.4
v3.7.3
Bug Fixes
v3.7.2
Bug Fixes
v3.7.1
v3.7.0
Features
v3.6.6
v3.6.5
Bug Fixes
v3.6.4
Bug Fixes
v3.6.3
Bug Fixes
v3.6.2
Bug Fixes
v3.6.1
v3.6.0
v3.5.1
Bug Fixes
v3.5.0
Features
- improve animation and transition speed for checkbox, collapse, drawer, dropdown, loading, menu, modal, radio, rating, swap, toggle, badge, file-input (561e4e6)
Bug Fixes
v3.4.0
Features
v3.3.2
Bug Fixes
v3.3.1
Bug Fixes
- rename
toolbar
class of browser mockup tomockup-browser-toolbar
to avoid future conflicts (23f9e17)
v3.3.0
Features
v3.2.2
Bug Fixes
v3.2.1
Bug Fixes
- cleanup dependencies (57d79d3)
v3.2.0
Features
- less node dependencies (f5859f7)
v3.1.11
Bug Fixes
v3.1.10
Bug Fixes
v3.1.9
Bug Fixes
v3.1.8
Bug Fixes
v3.1.7
v3.1.6
Bug Fixes
v3.1.5
Bug Fixes
v3.1.4
v3.1.3
Bug Fixes
v3.1.2
Bug Fixes
v3.1.1
Bug Fixes
v3.1.0
Features
-
input-bordered
,select-bordered
,textarea-bordered
are now usingbase-200
for border coloe instead ofbase-content/20
(0f5df66)
Bug Fixes
v3.0.29
v3.0.28
v3.0.27
v3.0.26
v3.0.25
v3.0.24
v3.0.23
v3.0.22
v3.0.20
v3.0.19
v3.0.18
v3.0.17
v3.0.16
v3.0.15
v3.0.14
v3.0.12
v3.0.11
v3.0.10
v3.0.9
v3.0.8
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.52.0
v2.51.6
v2.51.5
v2.51.4
v2.51.3
v2.51.2
v2.51.1
v2.51.0
v2.50.2
v2.50.1
v2.50.0
v2.49.0
v2.48.0
v2.47.1
v2.47.0
v2.46.1
v2.46.0
v2.45.0
v2.44.0
v2.43.2
v2.43.1
v2.43.0
v2.42.1
v2.42.0
v2.41.0
v2.40.1
v2.40.0
v2.39.1
v2.39.0
v2.38.1
v2.38.0
v2.37.0
v2.36.1
v2.36.0
v2.35.0
v2.34.1
v2.34.0
v2.33.0
v2.32.0
isaacs/node-glob (glob)
v10.3.14
v10.3.13
v10.3.12
v10.3.11
v10.3.10
v10.3.9
v10.3.8
v10.3.7
v10.3.6
v10.3.5
v10.3.4
v10.3.3
v10.3.2
v10.3.1
v10.3.0
v10.2.7
v10.2.6
v10.2.5
v10.2.4
v10.2.3
v10.2.2
v10.2.1
v10.2.0
v10.1.0
v10.0.0
- No default exports, only named exports
v9.3.5
v9.3.4
v9.3.3
- Upgraded minimatch to v8, adding support for any degree of nested extglob patterns.
v9.3.2
v9.3.1
v9.3.0
v9.2.1
v9.2.0
v9.1.2
v9.1.1
v9.1.0
v9.0.2
v9.0.1
v9.0.0
v8.1.0
postcss/postcss-import (postcss-import)
v16.1.0
v16.0.1
v16.0.0
- BREAKING: Require Node.js v18+ (#550, #551)
- BREAKING: Signifigant rewrite, with small behavioral tweaks in a number of edge cases
- Support for
@supports
conditional imports added (#532, #548) - When
skipDuplicates
isfalse
, handles import cycles correctly (#462, #535) - Add
warnOnEmpty
option to allow disabling warnings for empty files (#84, #541) - Use proper
node.error
s (#518, #540)
Huge thanks to @romainmenke
for all the hard work he put into this release.
v15.1.0
- Add
data:
URL support (this is not useful for most consumers) (#515)
v15.0.1
webpack-contrib/postcss-loader (postcss-loader)
v8.1.1
v8.1.0
Features
v8.0.0
⚠ BREAKING CHANGES
7.3.4 (2023-12-27)
Bug Fixes
7.3.3 (2023-06-10)
Bug Fixes
-
perf: avoid using
klona
for postcss options (#658) (e754c3f) - bug with loading configurations after updating
cosmiconfig
to version 8.2 (684d265)
7.3.2 (2023-05-28)
Bug Fixes
7.3.1 (2023-05-26)
Bug Fixes
- warning and error serialization (65748ec)
v7.3.4
v7.3.3
v7.3.2
v7.3.1
v7.3.0
Features
7.2.4 (2023-04-04)
Bug Fixes
7.2.3 (2023-04-03)
Bug Fixes
7.2.2 (2023-04-03)
Bug Fixes
7.2.1 (2023-04-03)
Bug Fixes
v7.2.4
v7.2.3
v7.2.2
v7.2.1
v7.2.0
Features
v7.1.0
Features
7.0.2 (2022-11-29)
Bug Fixes
7.0.1 (2022-07-11)
Bug Fixes
v7.0.2
webpack/webpack-cli (webpack-cli)
v5.1.4
Bug Fixes
- multi compiler progress output (f659624)
v5.1.3
Bug Fixes
v5.1.2
Bug Fixes
- improve check for custom webpack and webpack-dev-server package existance (0931ab6)
- improve help for some flags (f468614)
- improved support for
.cts
and.mts
extensions (a77daf2)
v5.1.1
Bug Fixes
v5.1.0
Features
Performance Improvements
5.0.2 (2023-04-21)
Bug Fixes
- error message for missing default export in configuration (#3685) (e0a4a09)
- perf: reduced startup time (3b79059)
5.0.1 (2022-12-05)
Bug Fixes
v5.0.2
Bug Fixes
- error message for missing default export in configuration (#3685) (e0a4a09)
- perf: reduced startup time (3b79059)
v5.0.1
Bug Fixes
v5.0.0
Bug Fixes
- improve description of the
--disable-interpret
option (#3364) (bdb7e20) - remove the redundant
utils
export (#3343) (a9ce5d0) - respect
NODE_PATH
env variable (#3411) (83d1f58) - show all CLI specific flags in the minimum help output (#3354) (35843e8)
Features
- failOnWarnings option (#3317) (c48c848)
- update commander to v9 (#3460) (6621c02)
- added the
--define-process-env-node-env
option - update
interpret
to v3 andrechoir
to v0.8 - add an option for preventing interpret (#3329) (c737383)
BREAKING CHANGES
- the minimum supported webpack version is v5.0.0 (#3342) (b1af0dc), closes #3342
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
- webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0
- remove the
migrate
command (#3291) (56b43e4), closes #3291 - remove the
--prefetch
option in favor thePrefetchPlugin
plugin - remove the
--node-env
option in favor--define-process-env-node-env
- remove the
--hot
option in favor of directly using theHotModuleReplacement
plugin (only forbuild
command, forserve
it will work) - the behavior logic of the
--entry
option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please usewebpack --entry-reset --entry './src/my-entry.js'
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot