Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

576 rader
22 KiB

4 år sedan
  1. 0.22.0 / 2016-08-23
  2. ==================
  3. * Return undefined in .prop if given an invalid element or tag (#880)
  4. * Merge pull request #884 from cheeriojs/readme-cleanup
  5. * readme updates
  6. * Merge pull request #881 from piamancini/patch-1
  7. * Added backers and sponsors from OpenCollective
  8. * Use jQuery from the jquery module in benchmarks (#871)
  9. * Document, test, and extend static `$.text` method (#855)
  10. * Fix typo on calling _.extend (#861)
  11. * Update versions (#870)
  12. * Use individual lodash functions (#864)
  13. * Added `.serialize()` support. Fixes #69 (#827)
  14. * Update Readme.md (#857)
  15. * add extension for JSON require call
  16. * remove gittask badge
  17. * Merge pull request #672 from underdogio/dev/checkbox.radio.values.sqwished
  18. * Added default value for checkboxes/radios
  19. 0.20.0 / 2016-02-01
  20. ==================
  21. * Add coveralls badge, remove link to old report (Felix Böhm)
  22. * Update lodash dependeny to 4.1.0 (leif.hanack)
  23. * Fix PR #726 adding 'appendTo()' and 'prependTo()' (Delgan)
  24. * Added appendTo and prependTo with tests #641 (digihaven)
  25. * Fix #780 by changing options context in '.find()' (Felix Böhm)
  26. * Add an unit test checking the query of child (Delgan)
  27. * fix #667: attr({foo: null}) removes attribute foo, like attr('foo', null) (Ray Waldin)
  28. * Include reference to dedicated "Loading" section (Mike Pennisi)
  29. * Added load method to $ (alanev)
  30. * update css-select to 1.2.0 (Felix Böhm)
  31. * Fixing Grammatical Error (Dan Corman)
  32. * Test against node v0.12 --> v4.2 (Jason Kurian)
  33. * Correct output in example (Felix Böhm)
  34. * Fix npm files filter (Bogdan Chadkin)
  35. * Enable setting data on all elements in selection (Mike Pennisi)
  36. * Reinstate `$.fn.toArray` (Mike Pennisi)
  37. * update css-select to 1.1.0 (Thomas Shafer)
  38. * Complete implementation of `wrap` (Mike Pennisi)
  39. * Correct name of unit test (Mike Pennisi)
  40. * Correct grammar in test titles (Mike Pennisi)
  41. * Normalize whitespace (Mike Pennisi)
  42. * Insert omitted assertion (Mike Pennisi)
  43. * Update invocation of `children` (Mike Pennisi)
  44. * Begin implementation of `wrap` method (Dandlezzz)
  45. * Update Readme.md (Sven Slootweg)
  46. * fix document's mistake in Readme.md (exoticknight)
  47. * Add tests for setting text and html as non-strings (Ryc O'Chet)
  48. * Fix for passing non-string values to .html or .text (Ryc O'Chet)
  49. * use a selector to filter form elements (fb55)
  50. * fix README.md typo (Yutian Li)
  51. * README: fix spelling (Chris Rebert)
  52. * Added support for options without a `value` attribute. Fixes #633 (Todd Wolfson)
  53. * responding to pull request feedback - remove item() method and related tests (Ray Waldin)
  54. * add length property and item method to object returned by prop('style'), plus tests (Ray Waldin)
  55. * Added .prop method to readme (Artem Burtsev)
  56. * Added .prop method (Artem Burtsev)
  57. * Added Gitter badge (The Gitter Badger)
  58. 0.19.0 / 2015-03-21
  59. ==================
  60. * fixed allignment (fb55)
  61. * added test case for malformed json in data attributes (fb55)
  62. * fix: handle some extreme cases like `data-custom="{{templatevar}}"`. There is possibility error while parsing json . (Harish.K)
  63. * Add missing optional selector doc for {prev,next}{All,Until} (Jérémie Astori)
  64. * update to dom-serializer@0.1.0 (Felix Böhm)
  65. * Document `Cheerio#serialzeArray` (Mike Pennisi)
  66. * Fixed up `serializeArray()` and added multiple support (Todd Wolfson)
  67. * Implement serializeArray() (Jarno Leppänen)
  68. * recognize options in $.xml() (fb55)
  69. * lib/static.js: text(): rm errant space before ++ (Chris Rebert)
  70. * Do not expose internal `children` array (Mike Pennisi)
  71. * Change lodash dependencies to ^3.1.0 (Samy Pessé)
  72. * Update lodash@3.1.0 (Samy Pessé)
  73. * Updates Readme.md: .not(function (index, elem)) (Patrick Ward)
  74. * update to css-select@1.0.0 (fb55)
  75. * Allow failures in Node.js v0.11 (Mike Pennisi)
  76. * Added: Gittask badge (Matthew Mueller)
  77. * Isolate prototypes of functions created via `load` (Mike Pennisi)
  78. * Updates Readme.md: adds JS syntax highlighting (frankcash)
  79. * #608 -- Add support for insertBefore/insertAfter syntax. Supports target types of: $, [$], selector (both single and multiple results) (Ben Cochran)
  80. * Clone input nodes when inserting over a set (Mike Pennisi)
  81. * Move unit test files (Mike Pennisi)
  82. * remove unnecessarily tricky code (David Chambers)
  83. * pass options to $.html in toString (fb55)
  84. * add license info to package.json (Chris Rebert)
  85. * xyz@~0.5.0 (David Chambers)
  86. * Remove unofficial signature of `children` (Mike Pennisi)
  87. * Fix bug in `css` method (Mike Pennisi)
  88. * Correct bug in implementation of `Cheerio#val` (Mike Pennisi)
  89. 0.18.0 / 2014-11-06
  90. ==================
  91. * bump htmlparser2 dependency to ~3.8.1 (Chris Rebert)
  92. * Correct unit test titles (Mike Pennisi)
  93. * Correct behavior of `after` and `before` (Mike Pennisi)
  94. * implement jQuery's .has() (Chris Rebert)
  95. * Update repository url (haqii)
  96. * attr() should return undefined or name for booleans (Raoul Millais)
  97. * Update Readme.md (Ryan Breen)
  98. * Implement `Cheerio#not` (Mike Pennisi)
  99. * Clone nodes according to original parsing options (Mike Pennisi)
  100. * fix lint error (David Chambers)
  101. * Add explicit tests for DOM level 1 API (Mike Pennisi)
  102. * Expose DOM level 1 API for Node-like objects (Mike Pennisi)
  103. * Correct error in documentation (Mike Pennisi)
  104. * Return a fully-qualified Function from `$.load` (Mike Pennisi)
  105. * Update tests to avoid duck typing (Mike Pennisi)
  106. * Alter "loaded" functions to produce true instances (Mike Pennisi)
  107. * Organize tests for `cheerio.load` (Mike Pennisi)
  108. * Complete `$.prototype.find` (Mike Pennisi)
  109. * Use JSHint's `extends` option (Mike Pennisi)
  110. * Remove aliases for exported methods (Mike Pennisi)
  111. * Disallow unused variables (Mike Pennisi)
  112. * Remove unused internal variables (Mike Pennisi)
  113. * Remove unused variables from unit tests (Mike Pennisi)
  114. * Remove unused API method references (Mike Pennisi)
  115. * Move tests for `contains` method (Mike Pennisi)
  116. * xyz@0.4.0 (David Chambers)
  117. * Created a wiki for companies using cheerio in production (Matthew Mueller)
  118. * Implement `$.prototype.index` (Mike Pennisi)
  119. * Implement `$.prototype.addBack` (Mike Pennisi)
  120. * Added double quotes to radio attribute name to account for characters such as brackets (akant10)
  121. * Update History.md (Gabriel Falkenberg)
  122. * add 0.17.0 changelog (David Chambers)
  123. * exit prepublish script if tag not found (David Chambers)
  124. * alphabetize devDependencies (fb55)
  125. * ignore coverage dir (fb55)
  126. * submit coverage to coveralls (fb55)
  127. * replace jscoverage with istanbul (fb55)
  128. 0.17.0 / 2014-06-10
  129. ==================
  130. * Fix bug in internal `uniqueSplice` function (Mike Pennisi)
  131. * accept buffer argument to cheerio.load (David Chambers)
  132. * Respect options on the element level (Alex Indigo)
  133. * Change state definition to more readable (Artem Burtsev)
  134. * added test (0xBADC0FFEE)
  135. * add class only if doesn't exist (Artem Burtsev)
  136. * Made it less insane. (Alex Indigo)
  137. * Implement `Cheerio#add` (Mike Pennisi)
  138. * Use "loaded" instance of Cheerio in unit tests (Mike Pennisi)
  139. * Be more strict with object check. (Alex Indigo)
  140. * Added options argument to .html() static method. (Alex Indigo)
  141. * Fixed encoding mishaps. Adjusted tests. (Alex Indigo)
  142. * use dom-serializer module (fb55)
  143. * don't test on 0.8, don't ignore 0.11 (Felix Böhm)
  144. * parse: rm unused variables (coderaiser)
  145. * cheerio: rm unused variable (coderaiser)
  146. * Fixed test (Avi Kohn)
  147. * Added test (Avi Kohn)
  148. * Changed == to === (Avi Kohn)
  149. * Fixed a bug in removing type="hidden" attr (Avi Kohn)
  150. * sorted (Alexey Raspopov)
  151. * add `muted` attr to booleanAttributes (Alexey Raspopov)
  152. * fixed context of `this` in .html (Felix Böhm)
  153. * append new elements for each element in selection (fb55)
  154. 0.16.0 / 2014-05-08
  155. ==================
  156. * fix `make bench` (David Chambers)
  157. * makefile: add release-* targets (David Chambers)
  158. * alphabetize dependencies (David Chambers)
  159. * Rewrite `data` internals with caching behavior (Mike Pennisi)
  160. * Fence .val example as js (Kevin Sawicki)
  161. * Fixed typos. Deleted trailing whitespace from test/render.js (Nattaphoom Ch)
  162. * Fix manipulation APIs with removed elements (kpdecker)
  163. * Perform manual string parsing for hasClass (kpdecker)
  164. * Fix existing element removal (kpdecker)
  165. * update render tests (Felix Böhm)
  166. * fixed cheerio path (Felix Böhm)
  167. * use `entities.escape` for attribute values (Felix Böhm)
  168. * bump entities version (Felix Böhm)
  169. * remove lowerCaseTags option from readme (Felix Böhm)
  170. * added test case for .html in xmlMode (fb55)
  171. * render xml in `html()` when `xmlMode: true` (fb55)
  172. * use a map for booleanAttributes (fb55)
  173. * update singleTags, use utils.isTag (fb55)
  174. * update travis badge URL (Felix Böhm)
  175. * use typeof instead of _.isString and _.isNumber (fb55)
  176. * use Array.isArray instead of _.isArray (fb55)
  177. * replace _.isFunction with typeof (fb55)
  178. * removed unnecessary error message (fb55)
  179. * decode entities in htmlparser2 (fb55)
  180. * pass options object to CSSselect (fb55)
  181. 0.15.0 / 2014-04-08
  182. ==================
  183. * Update callbacks to pass element per docs (@kpdecker)
  184. * preserve options (@fb55)
  185. * Use SVG travis badge (@t3chnoboy)
  186. * only use static requires (@fb55)
  187. * Optimize manipulation methods (@kpdecker)
  188. * Optimize add and remove class cases (@kpdecker)
  189. * accept dom of DomHandler to cheerio.load (@nleush)
  190. * added parentsUntil method (@finspin)
  191. * Add performance optimization and bug fix `empty` method (@kpdecker)
  192. 0.14.0 / 2014-04-01
  193. ==================
  194. * call encodeXML and directly expose decodeHTML (@fb55)
  195. * use latest htmlparser2 and entities versions (@fb55)
  196. * Deprecate `$.fn.toArray` (@jugglinmike)
  197. * Implement `$.fn.get` (@jugglinmike)
  198. * .replaceWith now replaces all selected elements. (@xavi-)
  199. * Correct arguments for 'replaceWith' callback (@jugglinmike)
  200. * switch to lodash (@fb55)
  201. * update to entities@0.5.0 (@fb55)
  202. * Fix attr when $ collection contains text modules (@kpdecker)
  203. * Update to latest version of expect.js (@jugglinmike)
  204. * Remove nodes from their previous structures (@jugglinmike)
  205. * Update render.js (@stevenvachon)
  206. * CDATA test (@stevenvachon)
  207. * only ever one child index for cdata (@stevenvachon)
  208. * don't loop through cdata children array (@stevenvachon)
  209. * proper rendering of CDATA (@stevenvachon)
  210. * Add cheerio-only bench option (@kpdecker)
  211. * Avoid delete operations (@kpdecker)
  212. * Add independent html benchmark (@kpdecker)
  213. * Cache tag check in render (@kpdecker)
  214. * Simplify attribute rendering step (@kpdecker)
  215. * Add html rendering bench case (@kpdecker)
  216. * Remove unnecessary check from removeAttr (@kpdecker)
  217. * Remove unnecessary encoding step for attrs (@kpdecker)
  218. * Add test for removeAttr+attr on boolean attributes (@kpdecker)
  219. * Add single element benchmark case (@kpdecker)
  220. * Optimize filter with selector (@kpdecker)
  221. * Fix passing context as dom node (@alfred-nsh)
  222. * Fix bug in `nextUntil` (@jugglinmike)
  223. * Fix bug in `nextAll` (@jugglinmike)
  224. * Implement `selector` argument of `next` method (@jugglinmike)
  225. * Fix bug in `prevUntil` (@jugglinmike)
  226. * Implement `selector` argument of `prev` method (@jugglinmike)
  227. * Fix bug in `prevAll` (@jugglinmike)
  228. * Fix bug in `siblings` (@jugglinmike)
  229. * Avoid unnecessary indexOf from toggleClass (@kpdecker)
  230. * Use strict equality rather than falsy check in eq (@kpdecker)
  231. * Add benchmark coverage for all $ APIs (@kpdecker)
  232. * Optimize filter Cheerio intermediate creation (@kpdecker)
  233. * Optimize siblings cheerio instance creation (@kpdecker)
  234. * Optimize identity cases for first/last/eq (@kpdecker)
  235. * Use domEach for traversal (@kpdecker)
  236. * Inline children lookup in find (@kpdecker)
  237. * Use domEach in data accessor (@kpdecker)
  238. * Avoid cheerio creation in add/remove/toggleClass (@kpdecker)
  239. * Implement getAttr local helper (@kpdecker)
  240. 0.13.1 / 2014-01-07
  241. ==================
  242. * Fix select with context in Cheerio function (@jugglinmike)
  243. * Remove unecessary DOM maintenance logic (@jugglinmike)
  244. * Deprecate support for node 0.6
  245. 0.13.0 / 2013-12-30
  246. ==================
  247. * Remove "root" node (@jugglinmike)
  248. * Fix bug in `prevAll`, `prev`, `nextAll`, `next`, `prevUntil`, `nextUntil` (@jugglinmike)
  249. * Fix `replaceWith` method (@jugglinmike)
  250. * added nextUntil() and prevUntil() (@finspin)
  251. * Remove internal `connect` function (@jugglinmike)
  252. * Rename `Cheerio#make` to document private status (@jugginmike)
  253. * Remove extraneous call to `_.uniq` (@jugglinmike)
  254. * Use CSSselect library directly (@jugglinmike)
  255. * Run CI against Node v0.11 as an allowed failure (@jugginmike)
  256. * Correct bug in `Cheerio#parents` (@jugglinmike)
  257. * Implement `$.fn.end` (@jugginmike)
  258. * Ignore colons inside of url(.*) when parsing css (@Meekohi)
  259. * Introduce rudimentary benchmark suite (@jugglinmike)
  260. * Update HtmlParser2 version (@jugglinmike)
  261. * Correct inconsistency in `$.fn.map` (@jugglinmike)
  262. * fixed traversing tests (@finspin)
  263. * Simplify `make` method (@jugglinmike)
  264. * Avoid shadowing instance methods from arrays (@jugglinmike)
  265. 0.12.4 / 2013-11-12
  266. ==================
  267. * Coerce JSON values returned by `data` (@jugglinmike)
  268. * issue #284: when rendering HTML, use original data attributes (@Trott)
  269. * Introduce JSHint for automated code linting (@jugglinmike)
  270. * Prevent `find` from returning duplicate elements (@jugglinmike)
  271. * Implement function signature of `replaceWith` (@jugglinmike)
  272. * Implement function signature of `before` (@jugglinmike)
  273. * Implement function signature of `after` (@jugglinmike)
  274. * Implement function signature of `append`/`prepend` (@jugglinmike)
  275. * Extend iteration methods to accept nodes (@jugglinmike)
  276. * Improve `removeClass` (@jugglinmike)
  277. * Complete function signature of `addClass` (@jugglinmike)
  278. * Fix bug in `removeClass` (@jugglinmike)
  279. * Improve contributing.md (@jugglinmike)
  280. * Fix and document .css() (@jugglinmike)
  281. 0.12.3 / 2013-10-04
  282. ===================
  283. * Add .toggleClass() function (@cyberthom)
  284. * Add contributing guidelines (@jugglinmike)
  285. * Fix bug in `siblings` (@jugglinmike)
  286. * Correct the implementation `filter` and `is` (@jugglinmike)
  287. * add .data() function (@andi-neck)
  288. * add .css() (@yields)
  289. * Implements contents() (@jlep)
  290. 0.12.2 / 2013-09-04
  291. ==================
  292. * Correct implementation of `$.fn.text` (@jugglinmike)
  293. * Refactor Cheerio array creation (@jugglinmike)
  294. * Extend manipulation methods to accept Arrays (@jugglinmike)
  295. * support .attr(attributeName, function(index, attr)) (@xiaohwan)
  296. 0.12.1 / 2013-07-30
  297. ==================
  298. * Correct behavior of `Cheerio#parents` (@jugglinmike)
  299. * Double quotes inside attributes kills HTML (@khoomeister)
  300. * Making next({}) and prev({}) return empty object (@absentTelegraph)
  301. * Implement $.parseHTML (@jugglinmike)
  302. * Correct bug in jQuery.fn.closest (@jugglinmike)
  303. * Correct behavior of $.fn.val on 'option' elements (@jugglinmike)
  304. 0.12.0 / 2013-06-09
  305. ===================
  306. * Breaking Change: Changed context from parent to the actual passed one (@swissmanu)
  307. * Fixed: jquery checkbox val behavior (@jhubble)
  308. * Added: output xml with $.xml() (@Maciek416)
  309. * Bumped: htmlparser2 to 3.1.1
  310. * Fixed: bug in attr(key, val) on empty objects (@farhadi)
  311. * Added: prevAll, nextAll (@lessmind)
  312. * Fixed: Safety check in parents and closest (@zero21xxx)
  313. * Added: .is(sel) (@zero21xxx)
  314. 0.11.0 / 2013-04-22
  315. ==================
  316. * Added: .closest() (@jeremy-dentel)
  317. * Added: .parents() (@zero21xxx)
  318. * Added: .val() (@rschmukler & @leahciMic)
  319. * Added: Travis support for node 0.10.0 (@jeremy-dentel)
  320. * Fixed: .find() if no selector (@davidchambers)
  321. * Fixed: Propagate syntax errors caused by invalid selectors (@davidchambers)
  322. 0.10.8 / 2013-03-11
  323. ==================
  324. * Add slice method (SBoudrias)
  325. 0.10.7 / 2013-02-10
  326. ==================
  327. * Code & doc cleanup (davidchambers)
  328. * Fixed bug in filter (jugglinmike)
  329. 0.10.6 / 2013-01-29
  330. ==================
  331. * Added `$.contains(...)` (jugglinmike)
  332. * formatting cleanup (davidchambers)
  333. * Bug fix for `.children()` (jugglinmike & davidchambers)
  334. * Remove global `render` bug (wvl)
  335. 0.10.5 / 2012-12-18
  336. ===================
  337. * Fixed botched publish from 0.10.4 - changes should now be present
  338. 0.10.4 / 2012-12-16
  339. ==================
  340. * $.find should query descendants only (@jugglinmike)
  341. * Tighter underscore dependency
  342. 0.10.3 / 2012-11-18
  343. ===================
  344. * fixed outer html bug
  345. * Updated documentation for $(...).html() and $.html()
  346. 0.10.2 / 2012-11-17
  347. ===================
  348. * Added a toString() method (@bensheldon)
  349. * use `_.each` and `_.map` to simplify cheerio namesakes (@davidchambers)
  350. * Added filter() with tests and updated readme (@bensheldon & @davidchambers)
  351. * Added spaces between attributes rewritten by removeClass (@jos3000)
  352. * updated docs to remove reference to size method (@ironchefpython)
  353. * removed HTML tidy/pretty print from cheerio
  354. 0.10.1 / 2012-10-04
  355. ===================
  356. * Fixed regression, filtering with a context (#106)
  357. 0.10.0 / 2012-09-24
  358. ===================
  359. * Greatly simplified and reorganized the library, reducing the loc by 30%
  360. * Now supports mocha's test-coverage
  361. * Deprecated self-closing tags (HTML5 doesn't require them)
  362. * Fixed error thrown in removeClass(...) @robashton
  363. 0.9.2 / 2012-08-10
  364. ==================
  365. * added $(...).map(fn)
  366. * manipulation: refactor `makeCheerioArray`
  367. * make .removeClass() remove *all* occurrences (#64)
  368. 0.9.1 / 2012-08-03
  369. ==================
  370. * fixed bug causing options not to make it to the parser
  371. 0.9.0 / 2012-07-24
  372. ==================
  373. * Added node 8.x support
  374. * Removed node 4.x support
  375. * Add html(dom) support (@wvl)
  376. * fixed xss vulnerabilities on .attr(), .text(), & .html() (@benatkin, @FB55)
  377. * Rewrote tests into javascript, removing coffeescript dependency (@davidchambers)
  378. * Tons of cleanup (@davidchambers)
  379. 0.8.3 / 2012-06-12
  380. ==================
  381. * Fixed minor package regression (closes #60)
  382. 0.8.2 / 2012-06-11
  383. ==================
  384. * Now fails gracefully in cases that involve special chars, which is inline with jQuery (closes #59)
  385. * text() now decode special entities (closes #52)
  386. * updated travis.yml to test node 4.x
  387. 0.8.1 / 2012-06-02
  388. ==================
  389. * fixed regression where if you created an element, it would update the root
  390. * compatible with node 4.x (again)
  391. 0.8.0 / 2012-05-27
  392. ==================
  393. * Updated CSS parser to use FB55/CSSselect. Cheerio now supports most CSS3 psuedo selectors thanks to @FB55.
  394. * ignoreWhitespace now on by default again. See #55 for context.
  395. * Changed $(':root') to $.root(), cleaned up $.clone()
  396. * Support for .eq(i) thanks to @alexbardas
  397. * Removed support for node 0.4.x
  398. * Fixed memory leak where package.json was continually loaded
  399. * Tons more tests
  400. 0.7.0 / 2012-04-08
  401. ==================
  402. * Now testing with node v0.7.7
  403. * Added travis-ci integration
  404. * Replaced should.js with expect.js. Browser testing to come
  405. * Fixed spacing between attributes and their values
  406. * Added HTML tidy/pretty print
  407. * Exposed node-htmlparser2 parsing options
  408. * Revert .replaceWith(...) to be consistent with jQuery
  409. 0.6.2 / 2012-02-12
  410. ==================
  411. * Fixed .replaceWith(...) regression
  412. 0.6.1 / 2012-02-12
  413. ==================
  414. * Added .first(), .last(), and .clone() commands.
  415. * Option to parse using whitespace added to `.load`.
  416. * Many bug fixes to make cheerio more aligned with jQuery.
  417. * Added $(':root') to select the highest level element.
  418. Many thanks to the contributors that made this release happen: @ironchefpython and @siddMahen
  419. 0.6.0 / 2012-02-07
  420. ==================
  421. * *Important:* `$(...).html()` now returns inner HTML, which is in line with the jQuery spec
  422. * `$.html()` returns the full HTML string. `$.html([cheerioObject])` will return the outer(selected element's tag) and inner HTML of that object
  423. * Fixed bug that prevented HTML strings with depth (eg. `append('<ul><li><li></ul>')`) from getting `parent`, `next`, `prev` attributes.
  424. * Halted [htmlparser2](https://github.com/FB55/node-htmlparser) at v2.2.2 until single attributes bug gets fixed.
  425. 0.5.1 / 2012-02-05
  426. ==================
  427. * Fixed minor regression: $(...).text(fn) would fail
  428. 0.5.1 / 2012-02-05
  429. ==================
  430. * Fixed regression: HTML pages with comments would fail
  431. 0.5.0 / 2012-02-04
  432. ==================
  433. * Transitioned from Coffeescript back to Javascript
  434. * Parser now ignores whitespace
  435. * Fixed issue with double slashes on self-enclosing tags
  436. * Added boolean attributes to html rendering
  437. 0.4.2 / 2012-01-16
  438. ==================
  439. * Multiple selectors support: $('.apple, .orange'). Thanks @siddMahen!
  440. * Update package.json to always use latest cheerio-soupselect
  441. * Fix memory leak in index.js
  442. 0.4.1 / 2011-12-19
  443. ==================
  444. * Minor packaging changes to allow `make test` to work from npm installation
  445. 0.4.0 / 2011-12-19
  446. ==================
  447. * Rewrote all unit tests as cheerio transitioned from vows -> mocha
  448. * Internally, renderer.render -> render(...), parser.parse -> parse(...)
  449. * Append, prepend, html, before, after all work with only text (no tags)
  450. * Bugfix: Attributes can now be removed from script and style tags
  451. * Added yield as a single tag
  452. * Cheerio now compatible with node >=0.4.7
  453. 0.3.2 / 2011-12-1
  454. =================
  455. * Fixed $(...).text(...) to work with "root" element
  456. 0.3.1 / 2011-11-25
  457. ==================
  458. * Now relying on cheerio-soupselect instead of node-soupselect
  459. * Removed all lingering htmlparser dependencies
  460. * 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
  461. * Added jQuery's $(...).replaceWith(...)
  462. 0.3.0 / 2011-11-19
  463. ==================
  464. * Now using htmlparser2 for parsing (2x speed increase, cleaner, actively developed)
  465. * Added benchmark directory for future speed tests
  466. * $('...').dom() was funky, so it was removed in favor of $('...').get(). $.dom() still works the same.
  467. * $.root now correctly static across all instances of $
  468. * Added a screencast
  469. 0.2.2 / 2011-11-9
  470. =================
  471. * Traversing will select `<script>` and `<style>` tags (Closes Issue: #8)
  472. * .text(string) now working with empty elements (Closes Issue: #7)
  473. * Fixed before(...) & after(...) again if there is no parent (Closes Issue: #2)
  474. 0.2.1 / 2011-11-5
  475. =================
  476. * Fixed before(...) & after(...) if there is no parent (Closes Issue: #2)
  477. * Comments now rendered correctly (Closes Issue: #5)
  478. < 0.2.0 / 2011-10-31
  479. ====================
  480. * Initial release (untracked development)