Skip to content

Commit

Permalink
Release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
makeusabrew committed Dec 21, 2012
1 parent f792a0d commit aa50543
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 22 deletions.
31 changes: 22 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Bootbox - Twitter Bootstrap powered alert, confirm and flexible dialog boxes

Please see http://paynedigital.com/bootbox for full usage instructions, or head over to http://bootboxjs.com for
a demo page ([please feel free to improve it!](https://github.com/makeusabrew/bootbox/tree/gh-pages))
Please see http://bootboxjs.com for full usage instructions, or head over to http://paynedigital.com/bootbox for
the original writeup about the project.

## Contact

Expand All @@ -14,7 +14,7 @@ The easiest thing is to [find me on twitter](http://twitter.com/makeusabrew): [@

## Running Tests

* Tests live in tests/test.*.js and are run using [Mocha](http://visionmedia.github.com/mocha/) - to run simply open tests/index.html in your browser.
* Tests live in tests/test.\*.js and are run using [Mocha](http://visionmedia.github.com/mocha/) - to run simply open tests/index.html in your browser.
* Alternatively, tests can be run headlessly using [mocha-phantomjs](http://metaskills.net/mocha-phantomjs/):
```
phantomjs tests/vendor/mocha-phantomjs/lib/mocha-phantomjs.coffee tests/index.html
Expand All @@ -29,22 +29,35 @@ both projects use Semantic Versioning this should have been possible. However,
Bootstrap 2.2.x (and possibly 2.1.x) introduced breaking changes - or at least
changes considered backward incompatible in the context of this project. Over
time bugs started getting raised which eventually turned out to be due to subtle
changes in Bootstrap's code. Therefore, **2.5.1** is the last release which will
changes in Bootstrap's code. Therefore, **2.5.1** was the last release which will
support Bootstrap 2.0.x and is **not guaranteed** to work with anything higher than
Bootstrap 2.0.4.

Bootbox *3.0.0* is the first release to support Bootstrap 2.2.x. More about this [on the Bootbox website](http://bootboxjs.com/#dependencies).

### Roadmap

The next major release of Bootbox - 3.0.0 - will address all the incompatible changes
introduced by Bootstrap 2.2.x. As such, Bootstrap 2.1.x compatibility is a bit of a
wildcard and will never be explicitly supported.
The next major release of Bootbox - 4.0.0 - will involve a complete rewrite of the
internal code and introduce an entirely new public API. It will most likely require
Bootstrap 3.0.0 (assuming that sees the light of day first).

You can get a quick overview of the roadmap in the form of the project milestones
[as listed in the issue tracker](https://github.com/makeusabrew/bootbox/issues/milestones?direction=asc&sort=due_date).

## Latest Release: 2.5.1
## Latest Release: 3.0.0

* bump Bootstrap dependency to 2.2.2
* bump jQuery dependency to 1.8.3
* ensure callbacks are always invoked even if dialogs are dismissed with escape key (GH-49)
* fix button positions with Bootstrap 2.2.2 (GH-58)
* stop multiple dialogs crashing browsers (GH-60, GH-64)
* ensure ```shown``` event is fired properly even when animation is disabled (GH-69)
* use ```.on``` instead of ```.bind```
* commentify code a bit more

### 2.5.1

**This will be the last version of the library which supports Bootstrap 2.0.x**
**This was the last version of the library which supports Bootstrap 2.0.x**

* ensure bootbox object is explicitly added to window object for minfier visibility

Expand Down
5 changes: 5 additions & 0 deletions bootbox.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* bootbox.js v3.0.0
*
* http://bootboxjs.com/license.txt
*/
var bootbox = window.bootbox || (function(document, $) {

var _locale = 'en',
Expand Down
24 changes: 12 additions & 12 deletions bootbox.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion header.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* bootbox.js v2.5.1
* bootbox.js v3.0.0
*
* http://bootboxjs.com/license.txt
*/

0 comments on commit aa50543

Please sign in to comment.