Migration to @waline/client V3
Less than 1 minute...
Support Range Changes
Node.js:
V3 only supports the latest LTS Node version.
The current LTS versions are Node.js 18 and Node.js 20, which means we have removed support for Node.14 and Node 16.
Browser:
V3 only supports modern browsers, aligning with Vite's Default Browser Support Range
- Chrome >=87
- Firefox >=78
- Safari >=14
- Edge >=88
Feature Removal
- Now, when getting path binded to a counter element,
id
is no longer read. you should usedata-path
. - Legacy packages have been removed.
CSS Variables Update
bgcolor
in CSS variables are changed to bg-color
:
---waline-bgcolor: #fff;
+--waline-bg-color: #fff;
---waline-bgcolor-light: #f8f8f8;
+--waline-bg-color-light: #f8f8f8;
---waline-bgcolor-hover: #f0f0f0;
+--waline-bg-color-hover: #f0f0f0;
---waline-disable-bgcolor: #f8f8f8;
+--waline-disable-bg-color: #f8f8f8;
---waline-code-bgcolor: #282c34;
+--waline-code-bg-color: #282c34;
---waline-info-bgcolor: #f8f8f8;
+--waline-info-bg-color: #f8f8f8;
TIPS: The comment area is only for demo. If you have any questions, please go to Github Discussion to ask.
What do you think?
- 0
- 0
- 0
- 0
- 0
- 0
Powered by Waline v3.4.2