Releases: cheeriojs/cheerio
Releases · cheeriojs/cheerio
0.14.0
- call encodeXML and directly expose decodeHTML (@fb55)
- use latest htmlparser2 and entities versions (@fb55)
- Deprecate
$.fn.toArray
(@jugglinmike) - Implement
$.fn.get
(@jugglinmike) - .replaceWith now replaces all selected elements. (@xavi-)
- Correct arguments for 'replaceWith' callback (@jugglinmike)
- switch to lodash (@fb55)
- update to entities@0.5.0 (@fb55)
- Fix attr when $ collection contains text modules (@kpdecker)
- Update to latest version of expect.js (@jugglinmike)
- Remove nodes from their previous structures (@jugglinmike)
- Update render.js (@stevenvachon)
- CDATA test (@stevenvachon)
- only ever one child index for cdata (@stevenvachon)
- don't loop through cdata children array (@stevenvachon)
- proper rendering of CDATA (@stevenvachon)
- Add cheerio-only bench option (@kpdecker)
- Avoid delete operations (@kpdecker)
- Add independent html benchmark (@kpdecker)
- Cache tag check in render (@kpdecker)
- Simplify attribute rendering step (@kpdecker)
- Add html rendering bench case (@kpdecker)
- Remove unnecessary check from removeAttr (@kpdecker)
- Remove unnecessary encoding step for attrs (@kpdecker)
- Add test for removeAttr+attr on boolean attributes (@kpdecker)
- Add single element benchmark case (@kpdecker)
- Optimize filter with selector (@kpdecker)
- Fix passing context as dom node (@alfred-nsh)
- Fix bug in
nextUntil
(@jugglinmike) - Fix bug in
nextAll
(@jugglinmike) - Implement
selector
argument ofnext
method (@jugglinmike) - Fix bug in
prevUntil
(@jugglinmike) - Implement
selector
argument ofprev
method (@jugglinmike) - Fix bug in
prevAll
(@jugglinmike) - Fix bug in
siblings
(@jugglinmike) - Avoid unnecessary indexOf from toggleClass (@kpdecker)
- Use strict equality rather than falsy check in eq (@kpdecker)
- Add benchmark coverage for all $ APIs (@kpdecker)
- Optimize filter Cheerio intermediate creation (@kpdecker)
- Optimize siblings cheerio instance creation (@kpdecker)
- Optimize identity cases for first/last/eq (@kpdecker)
- Use domEach for traversal (@kpdecker)
- Inline children lookup in find (@kpdecker)
- Use domEach in data accessor (@kpdecker)
- Avoid cheerio creation in add/remove/toggleClass (@kpdecker)
- Implement getAttr local helper (@kpdecker)
0.13.1
- Fix select with context in Cheerio function (@jugglinmike)
- Remove unecessary DOM maintenance logic (@jugglinmike)
- Deprecate support for node 0.6
0.13.0
- Remove "root" node (@jugglinmike)
- Fix bug in
prevAll
,prev
,nextAll
,next
,prevUntil
,nextUntil
(@jugglinmike) - Fix
replaceWith
method (@jugglinmike) - added nextUntil() and prevUntil() (@finspin)
- Remove internal
connect
function (@jugglinmike) - Rename
Cheerio#make
to document private status (@jugginmike) - Remove extraneous call to
_.uniq
(@jugglinmike) - Use CSSselect library directly (@jugglinmike)
- Run CI against Node v0.11 as an allowed failure (@jugginmike)
- Correct bug in
Cheerio#parents
(@jugglinmike) - Implement
$.fn.end
(@jugginmike) - Ignore colons inside of url(.*) when parsing css (@Meekohi)
- Introduce rudimentary benchmark suite (@jugglinmike)
- Update HtmlParser2 version (@jugglinmike)
- Correct inconsistency in
$.fn.map
(@jugglinmike) - fixed traversing tests (@finspin)
- Simplify
make
method (@jugglinmike) - Avoid shadowing instance methods from arrays (@jugglinmike)
0.12.4
- Coerce JSON values returned by
data
(@jugglinmike) - issue #284: when rendering HTML, use original data attributes (@Trott)
- Introduce JSHint for automated code linting (@jugglinmike)
- Prevent
find
from returning duplicate elements (@jugglinmike) - Implement function signature of
replaceWith
(@jugglinmike) - Implement function signature of
before
(@jugglinmike) - Implement function signature of
after
(@jugglinmike) - Implement function signature of
append
/prepend
(@jugglinmike) - Extend iteration methods to accept nodes (@jugglinmike)
- Improve
removeClass
(@jugglinmike) - Complete function signature of
addClass
(@jugglinmike) - Fix bug in
removeClass
(@jugglinmike) - Improve contributing.md (@jugglinmike)
- Fix and document .css() (@jugglinmike)
0.12.3
- Add .toggleClass() function (@CyberThom)
- Add contributing guidelines (@jugglinmike)
- Fix bug in
siblings
(@jugglinmike) - Correct the implementation
filter
andis
(@jugglinmike) - add .data() function (@andi-neck)
- add .css() (@yields)
- Implements contents() (@jlep)
0.12.2
- Correct implementation of
$.fn.text
(@jugglinmike) - Refactor Cheerio array creation (@jugglinmike)
- Extend manipulation methods to accept Arrays (@jugglinmike)
- support .attr(attributeName, function(index, attr)) (@xiaohwan)
0.12.1
- Correct behavior of
Cheerio#parents
(@jugglinmike) - Double quotes inside attributes kills HTML (@khoomeister)
- Making next({}) and prev({}) return empty object (@absentTelegraph)
- Implement $.parseHTML (@jugglinmike)
- Correct bug in jQuery.fn.closest (@jugglinmike)
- Correct behavior of $.fn.val on 'option' elements (@jugglinmike)
0.12.0
- Breaking Change: Changed context from parent to the actual passed one (@swissmanu)
- Fixed: jquery checkbox val behavior (@jhubble)
- Added: output xml with $.xml() (@Maciek416)
- Bumped: htmlparser2 to 3.1.1
- Fixed: bug in attr(key, val) on empty objects (@farhadi)
- Added: prevAll, nextAll (@lessmind)
- Fixed: Safety check in parents and closest (@zero21xxx)
- Added: .is(sel) (@zero21xxx)
0.11.0
- Added: .closest() (@jeremy-dentel)
- Added: .parents() (@zero21xxx)
- Added: .val() (@rschmukler & @leahciMic)
- Added: Travis support for node 0.10.0 (@jeremy-dentel)
- Fixed: .find() if no selector (@davidchambers)
- Fixed: Propagate syntax errors caused by invalid selectors (@davidchambers)