All Versions
52
Latest Version
Avg Release Cycle
103 days
Latest Release
2487 days ago

Changelog History
Page 5

  • v0.6.0 Changes

    February 07, 2012
    • 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('<ul><li><li></ul>')) from getting parent, next, prev attributes.
    • ๐Ÿ“œ Halted htmlparser2 at v2.2.2 until single attributes bug gets fixed.

    # 0.5.1 / 2012-02-05

    • ๐Ÿ›  Fixed minor regression: \$(...).text(fn) would fail

    # 0.5.1 / 2012-02-05

    • ๐Ÿ›  Fixed regression: HTML pages with comments would fail

    # 0.5.0 / 2012-02-04

    • Transitioned from Coffeescript back to Javascript
    • ๐Ÿ“œ Parser now ignores whitespace
    • ๐Ÿ›  Fixed issue with double slashes on self-enclosing tags
    • โž• Added boolean attributes to html rendering

    # 0.4.2 / 2012-01-16

    • ๐Ÿ‘ 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 / 2011-12-19

    • โœ… Minor packaging changes to allow make test to work from npm installation

    # 0.4.0 / 2011-12-19

    • โœ… 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 / 2011-11-19

    • ๐Ÿ“œ 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 / 2011-11-9

    • ๐Ÿ’… 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 / 2011-11-5

    • ๐Ÿ›  Fixed before(...) & after(...) if there is no parent (Closes Issue: #2)
    • Comments now rendered correctly (Closes Issue: #5)
  • v0.5.1 Changes

    February 05, 2012
    • ๐Ÿ›  Fixed minor regression: $(...).text(fn) would fail
  • v0.5.0 Changes

    February 04, 2012
    • Transitioned from Coffeescript back to Javascript
    • ๐Ÿ“œ Parser now ignores whitespace
    • ๐Ÿ›  Fixed issue with double slashes on self-enclosing tags
    • โž• Added boolean attributes to html rendering
  • v0.4.2 Changes

    January 16, 2012
    • ๐Ÿ‘ Multiple selectors support: $('.apple, .orange'). Thanks @siddMahen!
    • โšก๏ธ Update package.json to always use latest cheerio-soupselect
    • ๐Ÿ›  Fix memory leak in index.js
  • v0.4.1 Changes

    December 19, 2011
    • โœ… Minor packaging changes to allow make test to work from npm installation
  • v0.4.0 Changes

    December 19, 2011
    • โœ… 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
  • v0.3.2 Changes

    • ๐Ÿ›  Fixed $(...).text(...) to work with "root" element
  • v0.3.1 Changes

    November 25, 2011
    • 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(...)
  • v0.3.0 Changes

    November 19, 2011
    • ๐Ÿ“œ 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
  • v0.2.2 Changes

    • ๐Ÿ’… 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)