1 | ## 5.1.0 (Latest Release)
|
2 |
|
3 | - Adds `scrollable` option, which enables the scrollable modal content added in Bootstrap 4.3
|
4 | - Adds `extra-large` as a size option
|
5 | - Adds aliased/alternative keys for all size options: `sm`, `lg`, `xl`
|
6 |
|
7 | ### 5.0.1
|
8 |
|
9 | - Adds Tamil locale
|
10 |
|
11 | ### 5.0.0
|
12 |
|
13 | - Updates Bootbox to be compatible with both Bootstrap 4 and Bootstrap 3.
|
14 | - Pulls button locale options to separate file
|
15 | - Corrects Russion locale
|
16 | - Changes default button trigger to target the button with the `bootbox-accept` class; this corrects instances where no button has the `btn-primary` class.
|
17 | - Various bugfixes
|
18 |
|
19 | #### Prompt
|
20 |
|
21 | - Refactors prompt function to use the same dialog factory as alert and confirm
|
22 | - Adds new input types for prompt:
|
23 | - `radio`
|
24 | - `range`
|
25 | - Adds prompt input constraints for `min`, `max`, `step`, `maxlength`, `pattern`, and `required`
|
26 | - Adds `pattern` option for prompt inputs
|
27 | - Allows `message` option for prompt
|
28 | - Allows `multiple` option for prompt when used with `inputType` set to `select`
|
29 |
|
30 | #### Dialog options
|
31 |
|
32 | - Adds `locale` option - allows locale to be set on a dialog-by-dialog basis
|
33 | - Adds `swapButtonOrder` option to allow reversing the default button order
|
34 | - Adds `centerVertical` option - adds support for vertically-centered dialogs (requires Bootstrap 4)
|
35 |
|
36 | ## 4.4.0
|
37 |
|
38 | * Allow `backdrop` options of `true` and `false` to dismiss modals
|
39 | * Pass dialog as `this` value in callbacks
|
40 | * Bootstrap 3.3.2 compatibility
|
41 | * jQuery 1.11.2 compatibility
|
42 | * Add support for `maxlength` prompt input attribute
|
43 | * Gracefully detect lack of Bootstrap library rather than crashing
|
44 | * Expose `addLocale` and `removeLocale` for custom locale settings
|
45 | * Expose `setLocale` helper to select a locale rather than using `setDefaults("locale", ...)`
|
46 | * Add Hungarian locale
|
47 | * Add Croatian locale
|
48 | * Add Bulgarian locale
|
49 | * Add Thai locale
|
50 | * Add Persian locale
|
51 | * Add Albanian locale
|
52 |
|
53 | ### 4.3.0
|
54 |
|
55 | * Add `size` option (`large`, `small`)
|
56 | * Stop propagation on form submit
|
57 | * Return bootbox object from `hideAll`
|
58 | * Add Portuguese locale
|
59 | * Add Czech locale
|
60 | * Add Greek locale
|
61 | * Add Estonian locale
|
62 | * Add Indonesian locale
|
63 | * Add Japanese locale
|
64 |
|
65 | ### 4.2.0
|
66 |
|
67 | * Add Swedish locale
|
68 | * Add Latvian locale
|
69 | * Add Turkish locale
|
70 | * Add Hebrew locale
|
71 | * Add password input type
|
72 | * Add textarea input type
|
73 | * Add date input type
|
74 | * Add time input type
|
75 | * Add number input type
|
76 | * Support DOM selectors for container argument
|
77 | * UMD support
|
78 | * Better support on mobile devices
|
79 |
|
80 | ### 4.1.0
|
81 |
|
82 | * Add support for placeholder attribute in prompts
|
83 | * Add select, email and checkbox types for prompts (thanks [@tarlepp](https://github.com/tarlepp))
|
84 | * Add Norwegian locale
|
85 | * Allow setDefaults to take two key/val arguments
|
86 | * Add unique classes for main dialog methods
|
87 | * Create bower package
|
88 |
|
89 | ### 4.0.0
|
90 |
|
91 | * Bootstrap 3.0.0 compatibility
|
92 | * Complete rewrite (and new public API)
|
93 | * Use strict mode
|
94 | * Add close buttons to wrapper methods (GH-92)
|
95 | * Allow dialog titles to be specified (GH-51, GH-112)
|
96 | * Allow optional extra class on dialog wrapper (GH-116)
|
97 | * Fix ```backdrop: true``` not firing close handler (GH-77)
|
98 | * Replace various configuration methods with one ```setDefaults```
|
99 |
|
100 | ## 3.3.0
|
101 |
|
102 | * Add Polish translation (GH-93)
|
103 | * Add Danish translation (GH-96)
|
104 | * Pass event object to custom callbacks (GH-103)
|
105 | * Add Chinese (Taiwan / China) translations (GH-106)
|
106 | * Make prompt input block-level (GH-111)
|
107 | * Add link: true option to prevent btn class from being applied (GH-114)
|
108 | * Prevent child elements triggering hidden callback (GH-115)
|
109 | * Replace Phing with Grunt
|
110 | * Replace Closure compiler with UglifyJS
|
111 |
|
112 | ### 3.2.0
|
113 |
|
114 | * ensure ```onEscape``` handlers return callback values properly (GH-91)
|
115 | * ensure clicking close button invokes onEscape handler if present
|
116 |
|
117 | ### 3.1.0
|
118 |
|
119 | * ensure ```confirm``` and ```prompt``` methods return callback values properly (GH-90)
|
120 | * address various jshint warnings (GH-79)
|
121 | * add ```setBtnClasses``` method for custom standard button classes (GH-87)
|
122 |
|
123 | ### 3.0.0
|
124 |
|
125 | * bump Bootstrap dependency to 2.2.2
|
126 | * bump jQuery dependency to 1.8.3
|
127 | * ensure callbacks are always invoked even if dialogs are dismissed with escape key (GH-49)
|
128 | * fix button positions with Bootstrap 2.2.2 (GH-58)
|
129 | * stop multiple dialogs crashing browsers (GH-60, GH-64)
|
130 | * ensure ```shown``` event is fired properly even when animation is disabled (GH-69)
|
131 | * use ```.on``` instead of ```.bind```
|
132 | * commentify code a bit more
|
133 |
|
134 | ## 2.5.1
|
135 |
|
136 | **This was the last version of the library to support Bootstrap 2.0.x**
|
137 |
|
138 | * ensure bootbox object is explicitly added to window object for minfier visibility
|
139 |
|
140 | ### 2.5.0
|
141 |
|
142 | * add option to specify proper href attributes for buttons instead of callbacks (@StevePotter)
|
143 | * add option to override per-modal classes (@ciaranj)
|
144 |
|
145 | ### 2.4.2
|
146 |
|
147 | * revert ```backdrop``` default value to 'static' instead of ```true``` to prevent background clicks dismissing dialogs (GH-55)
|
148 |
|
149 | ### 2.4.1
|
150 |
|
151 | * fix ```backdrop``` when supplied as an argument to ```bootbox.dialog```
|
152 | * fix incorrect README version
|
153 |
|
154 | ### 2.4.0
|
155 |
|
156 | * add ```bootbox.backdrop(bool)``` method (@gucki)
|
157 | * add default parameter option to ```bootbox.prompt``` (@pzgz)
|
158 |
|
159 | ### 2.3.3
|
160 |
|
161 | * add inline ```overflow: hidden``` CSS property (GH-46)
|
162 | * move license info to separate hosted file to reduce file size
|
163 |
|
164 | ### 2.3.2
|
165 |
|
166 | * Change button href attributes to ```javascript:;``` (@joshnesbitt)
|
167 | * Explicitly ```window.jQuery``` through to ```Bootbox``` object (@nuegon)
|
168 |
|
169 |
|
170 | ### 2.3.1
|
171 |
|
172 | * Ensure bootbox.prompt() gives focus to input, disable input autocomplete
|
173 |
|
174 | ### 2.3.0
|
175 |
|
176 | * Added bootbox.prompt() to mimic native prompt() method
|
177 | * Added Russian locale (#27)
|
178 |
|
179 | ### 2.2.0
|
180 |
|
181 | * Allowed button callbacks to explicitly return false to prevent dialog from closing (thanks @benoit-ponsero)
|
182 | * Added version number to header comments (#26)
|
183 |
|
184 | ### 2.1.2
|
185 |
|
186 | * Added close button to re-scoped click handler (thanks @SeanMcGee and @kentbrew)
|
187 |
|
188 | ### 2.1.1
|
189 |
|
190 | * Fixed incorrect button click handler selector (thanks FGRibreau)
|
191 |
|
192 | ### 2.1.0
|
193 |
|
194 | * Added support for Bootstrap's Glyphicons via the ```icon``` option
|
195 | * Added inline license information into bootbox.js and bootbox.min.js
|
196 | * Tidied up source a little
|
197 |
|
198 | ### 2.0.1
|
199 |
|
200 | * Removed dummy Google Closure Compiler method from minified library (thanks j0k3r!)
|
201 |
|
202 | ### 2.0.0
|
203 |
|
204 | * Updated Bootstrap dependency from 1.4 to 2.0
|
205 | * Class definitions now require ```btn-``` prefix as per Bootstrap 2.0
|
206 | * Added Brazilian locale
|
207 | * Added ```animate``` dialog option
|
208 | * Added ```bootbox.animate(bool)``` option to set default animation preference
|
209 | * Animated dialogs now rely on ```bootstrap-transitions.js``` as required by Bootstrap 2.0
|
210 |
|
211 | ## 1.1.2
|
212 |
|
213 | * Added licensing information to README
|
214 |
|
215 | #### 1.1.1
|
216 | * Updated german locale
|
217 |
|
218 | #### 1.1.0
|
219 | * Secondary option of two-button dialog no longer has 'danger' class
|
220 | * New bootbox.modal() method for generic non-dialog popups
|
221 | * Allow jQuery objects to be passed as main dialog argument
|
222 |
|
\ | No newline at end of file |