From 1ac35bcab9e2c27e9ba7796b85bb5408d939779e Mon Sep 17 00:00:00 2001 From: Matt Mueller Date: Sat, 19 Nov 2011 21:24:24 -0800 Subject: [PATCH] Release 0.3.0 --- History.md | 8 ++++++++ lib/cheerio.js | 2 +- package.json | 2 +- src/cheerio.coffee | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/History.md b/History.md index 835556cea4..f4dd553d03 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,11 @@ +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 ================= diff --git a/lib/cheerio.js b/lib/cheerio.js index 29ff32b4ec..9315665cca 100644 --- a/lib/cheerio.js +++ b/lib/cheerio.js @@ -13,7 +13,7 @@ trimLeft = /^\s+/; trimRight = /\s+$/; cheerio.fn = cheerio.prototype = { - cheerio: "0.2.2", + cheerio: "0.3.0", constructor: cheerio, init: function(selector, context, root) { var elems, match; diff --git a/package.json b/package.json index 1b4407ac91..aa7c055aec 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "cheerio", "description": "Tiny, fast, and elegant implementation of core jQuery designed specifically for the server", "keywords": ["htmlparser", "jquery", "selector", "scraper"], - "version": "0.2.2", + "version": "0.3.0", "repository": { "type": "git", "url": "git://github.com/MatthewMueller/cheerio.git" diff --git a/src/cheerio.coffee b/src/cheerio.coffee index 9a77840e04..72aa32134c 100644 --- a/src/cheerio.coffee +++ b/src/cheerio.coffee @@ -18,7 +18,7 @@ cheerio = do -> trimRight = /\s+$/ cheerio.fn = cheerio.prototype = - cheerio : "0.2.2" + cheerio : "0.3.0" constructor: cheerio init: (selector, context, root) -> # Handle $(""), $(null), or $(undefined)