From 2b236a96a27d5b225b595de1f3ffd44a2435836f Mon Sep 17 00:00:00 2001 From: Nick Payne Date: Mon, 26 Aug 2013 13:38:08 +0100 Subject: [PATCH] Release 4.0.0 --- CHANGELOG.md | 13 ++++++++++++- README.md | 21 ++++++++++----------- bootbox.js | 2 +- bower.json | 2 +- header.txt | 2 +- package.json | 4 ++-- 6 files changed, 27 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 532de3ec..5d36f093 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,15 @@ -## Latest Release: 3.3.0 +## Latest Release: 4.0.0 + +* Bootstrap 3.0.0 compatibility +* Complete rewrite (and new public API) +* Use strict mode +* Add close buttons to wrapper methods (GH-92) +* Allow dialog titles to be specified (GH-51, GH-112) +* Allow optional extra class on dialog wrapper (GH-116) +* Fix ```backdrop: true``` not firing close handler (GH-77) +* Replace various configuration methods with one ```setDefaults``` + +### 3.3.0 * Add Polish translation (GH-93) * Add Danish translation (GH-96) diff --git a/README.md b/README.md index 6c4baf67..16fa3ad4 100644 --- a/README.md +++ b/README.md @@ -47,17 +47,16 @@ coming weeks in the form of new minor releases. There is no new major (e.g. 5.x) release on the roadmap at present. -## Latest Release: 3.3.0 - -* Add Polish translation (GH-93) -* Add Danish translation (GH-96) -* Pass event object to custom callbacks (GH-103) -* Add Chinese (Taiwan / China) translations (GH-106) -* Make prompt input block-level (GH-111) -* Add link: true option to prevent btn class from being applied (GH-114) -* Prevent child elements triggering hidden callback (GH-115) -* Replace Phing with Grunt -* Replace Closure compiler with UglifyJS +## Latest Release: 4.0.0 + +* Bootstrap 3.0.0 compatibility +* Complete rewrite (and new public API) +* Use strict mode +* Add close buttons to wrapper methods (GH-92) +* Allow dialog titles to be specified (GH-51, GH-112) +* Allow optional extra class on dialog wrapper (GH-116) +* Fix ```backdrop: true``` not firing close handler (GH-77) +* Replace various configuration methods with one ```setDefaults``` For a full list of releases and changes please see [the changelog](https://github.com/makeusabrew/bootbox/blob/master/CHANGELOG.md). diff --git a/bootbox.js b/bootbox.js index c92bdc4d..6da84eb7 100644 --- a/bootbox.js +++ b/bootbox.js @@ -1,5 +1,5 @@ /** - * bootbox.js [v4.x/master branch] + * bootbox.js v4.0.0 * * http://bootboxjs.com/license.txt */ diff --git a/bower.json b/bower.json index 18be92b1..741717ac 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "bootbox.js", - "version": "x.x.x", + "version": "4.0.0", "main": "./bootbox.js", "ignore": [ "**/.*" diff --git a/header.txt b/header.txt index 0f1a8749..73296e65 100644 --- a/header.txt +++ b/header.txt @@ -1,5 +1,5 @@ /** - * bootbox.js v3.3.0 + * bootbox.js v4.0.0 * * http://bootboxjs.com/license.txt */ diff --git a/package.json b/package.json index 062257cc..873a8a50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bootbox.js", - "version": "3.3.0", + "version": "4.0.0", "description": "Wrappers for JavaScript alert(), confirm() and other flexible dialogs using Twitter's bootstrap framework", "directories": { "test": "tests" @@ -19,7 +19,7 @@ "grunt-contrib-uglify": "~0.2.2", "grunt": "~0.4.1", "karma": "~0.10.1", - "grunt-contrib-jshint": "~0.6.2", + "grunt-contrib-jshint": "~0.6.3", "karma-mocha": "~0.1.0", "karma-phantomjs-launcher": "~0.1.0", "mocha": "~1.12.0",