Skip to content

Releases: cheeriojs/cheerio

0.4.2

15 Dec 00:33
Compare
Choose a tag to compare
  • Multiple selectors support: $('.apple, .orange'). Thanks @siddMahen!
  • Update package.json to always use latest cheerio-soupselect
  • Fix memory leak in index.js

0.4.1

15 Dec 00:33
Compare
Choose a tag to compare
  • Minor packaging changes to allow make test to work from npm installation

0.4.0

15 Dec 00:33
Compare
Choose a tag to compare
  • Rewrote all unit tests as cheerio transitioned from vows -> mocha

  • Internally, renderer.render -> render(...), parser.parse -> parse(...)

  • Append, prepend, html, before, after all work with only text (no tags)

  • Bugfix: Attributes can now be removed from script and style tags

  • Added yield as a single tag

  • Cheerio now compatible with node >=0.4.7

    0.3.2 / 2011-12-1

  • Fixed $(...).text(...) to work with "root" element

    0.3.1 / 2011-11-25

  • Now relying on cheerio-soupselect instead of node-soupselect

  • Removed all lingering htmlparser dependencies

  • parser now returns parent "root" element. Root now never needs to be updated when there is multiple roots. This fixes ongoing issues with before(...), after(...) and other manipulation functions

  • Added jQuery's $(...).replaceWith(...)

0.3.0

15 Dec 00:34
Compare
Choose a tag to compare
  • Now using htmlparser2 for parsing (2x speed increase, cleaner, actively developed)
  • Added benchmark directory for future speed tests
  • $('...').dom() was funky, so it was removed in favor of $('...').get(). $.dom() still works the same.
  • $.root now correctly static across all instances of $
  • Added a screencast

0.2.2

15 Dec 00:35
Compare
Choose a tag to compare
  • Traversing will select <script> and <style> tags (Closes Issue: #8)
  • .text(string) now working with empty elements (Closes Issue: #7)
  • Fixed before(...) & after(...) again if there is no parent (Closes Issue: #2)

0.2.1

15 Dec 00:35
Compare
Choose a tag to compare
  • Fixed before(...) & after(...) if there is no parent (Closes Issue: #2)
  • Comments now rendered correctly (Closes Issue: #5)

0.2.0

15 Dec 00:36
Compare
Choose a tag to compare
  • Initial release (untracked development)