0.13.1 / 2014-01-07 ================== * Fix select with context in Cheerio function (@jugglinmike) * Remove unecessary DOM maintenance logic (@jugglinmike) * Deprecate support for node 0.6 0.13.0 / 2013-12-30 ================== * 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 / 2013-11-12 ================== * 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 / 2013-10-04 =================== * Add .toggleClass() function (@cyberthom) * Add contributing guidelines (@jugglinmike) * Fix bug in `siblings` (@jugglinmike) * Correct the implementation `filter` and `is` (@jugglinmike) * add .data() function (@andi-neck) * add .css() (@yields) * Implements contents() (@jlep) 0.12.2 / 2013-09-04 ================== * 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 / 2013-07-30 ================== * 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 / 2013-06-09 =================== * 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 / 2013-04-22 ================== * 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) 0.10.8 / 2013-03-11 ================== * Add slice method (SBoudrias) 0.10.7 / 2013-02-10 ================== * Code & doc cleanup (davidchambers) * Fixed bug in filter (jugglinmike) 0.10.6 / 2013-01-29 ================== * Added `$.contains(...)` (jugglinmike) * formatting cleanup (davidchambers) * Bug fix for `.children()` (jugglinmike & davidchambers) * Remove global `render` bug (wvl) 0.10.5 / 2012-12-18 =================== * Fixed botched publish from 0.10.4 - changes should now be present 0.10.4 / 2012-12-16 ================== * $.find should query descendants only (@jugglinmike) * Tighter underscore dependency 0.10.3 / 2012-11-18 =================== * fixed outer html bug * Updated documentation for $(...).html() and $.html() 0.10.2 / 2012-11-17 =================== * Added a toString() method (@bensheldon) * use `_.each` and `_.map` to simplify cheerio namesakes (@davidchambers) * Added filter() with tests and updated readme (@bensheldon & @davidchambers) * Added spaces between attributes rewritten by removeClass (@jos3000) * updated docs to remove reference to size method (@ironchefpython) * removed tidy from cheerio 0.10.1 / 2012-10-04 =================== * Fixed regression, filtering with a context (#106) 0.10.0 / 2012-09-24 =================== * Greatly simplified and reorganized the library, reducing the loc by 30% * Now supports mocha's test-coverage * Deprecated self-closing tags (HTML5 doesn't require them) * Fixed error thrown in removeClass(...) @robashton 0.9.2 / 2012-08-10 ================== * added $(...).map(fn) * manipulation: refactor `makeCheerioArray` * make .removeClass() remove *all* occurrences (#64) 0.9.1 / 2012-08-03 ================== * fixed bug causing options not to make it to the parser 0.9.0 / 2012-07-24 ================== * Added node 8.x support * Removed node 4.x support * Add html(dom) support (@wvl) * fixed xss vulnerabilities on .attr(), .text(), & .html() (@benatkin, @FB55) * Rewrote tests into javascript, removing coffeescript dependency (@davidchambers) * Tons of cleanup (@davidchambers) 0.8.3 / 2012-06-12 ================== * Fixed minor package regression (closes #60) 0.8.2 / 2012-06-11 ================== * Now fails gracefully in cases that involve special chars, which is inline with jQuery (closes #59) * text() now decode special entities (closes #52) * updated travis.yml to test node 4.x 0.8.1 / 2012-06-02 ================== * fixed regression where if you created an element, it would update the root * compatible with node 4.x (again) 0.8.0 / 2012-05-27 ================== * Updated CSS parser to use FB55/CSSselect. Cheerio now supports most CSS3 psuedo selectors thanks to @FB55. * ignoreWhitespace now on by default again. See #55 for context. * Changed $(':root') to $.root(), cleaned up $.clone() * Support for .eq(i) thanks to @alexbardas * Removed support for node 0.4.x * Fixed memory leak where package.json was continually loaded * Tons more tests 0.7.0 / 2012-04-08 ================== * Now testing with node v0.7.7 * Added travis-ci integration * Replaced should.js with expect.js. Browser testing to come * Fixed spacing between attributes and their values * Added HTML pretty print * Exposed node-htmlparser2 parsing options * Revert .replaceWith(...) to be consistent with jQuery 0.6.2 / 2012-02-12 ================== * Fixed .replaceWith(...) regression 0.6.1 / 2012-02-12 ================== * Added .first(), .last(), and .clone() commands. * Option to parse using whitespace added to `.load`. * Many bug fixes to make cheerio more aligned with jQuery. * Added $(':root') to select the highest level element. Many thanks to the contributors that made this release happen: @ironchefpython and @siddMahen 0.6.0 / 2012-02-07 ================== * *Important:* `$(...).html()` now returns inner HTML, which is in line with the jQuery spec * `$.html()` returns the full HTML string. `$.html([cheerioObject])` will return the outer(selected element's tag) and inner HTML of that object * Fixed bug that prevented HTML strings with depth (eg. `append('