Replies: 4 comments
-
Hell yeah! Stoked to this land. |
Beta Was this translation helpful? Give feedback.
-
AFTER 2 YEARS! THANKS ^_^ |
Beta Was this translation helpful? Give feedback.
-
This was a big mistake as seen by the issues in the package, please move this release to 2.0.0 and promote The longer you keep things this way the more people are going to have an issue when the wrongly tagged and newly added functionality for 1.0.0 isn't available anymore after the revert. |
Beta Was this translation helpful? Give feedback.
-
my project auto installed cheerio version 1.0.0 because I did not lock the version, and then reported an error After checking, it was because I installed @vue/server-test-utils,@vue/server-test-utils depends on cheerio version 1.0.0-rc.2 ,cheerio released 1.0.0 with breaking changes. 1.0.0 requires node18 but I am using node 16, which causes code errors. |
Beta Was this translation helpful? Give feedback.
-
Cheerio 1.0 is here! 🎉
Announcement Blog Post
Breaking Changes
The minimum NodeJS version is now 18.17 or higher build(deps): bump undici from 5.28.4 to 6.19.5 #3959
Import paths were simplified. For example, use
cheerio/slim
instead ofcheerio/lib/slim
. Update build tooling, update imports, require Node 16 #3970The deprecated default Cheerio instance and static methods were removed. Remove deprecated exports #3974
Before, it was possible to write code like this:
Make sure to always load documents first:
Node types previously re-exported by Cheerio must now be imported directly
from (
domhandler
)(https://github.com/fb55/domhandler). refactor: Remove type re-exports #3969htmlparser2 options now reside exclusively under the
xml
key (refactor(options): Revamp option handling #2916):New Features
Fixes
cheerio/utils
by @blixt in fix(package): Allow imports ofcheerio/lib/utils
#2601data
, and simplify by @fb55 in fix(attributes): Allow empty string indata
, and simplify #2818closest
be able to start from text nodes by @Qualtagh in fix(traversing): Makeclosest
be able to start from text nodes #2811Other
Full Changelog: v1.0.0-rc.12...v1.0.0
This discussion was created from the release v1.0.0.
Beta Was this translation helpful? Give feedback.
All reactions