1.0.0-rc.2 (2017-08-24)
- BS4: Pin Bootstrap4 version to 4.0.0-alpha.6 until -beta issues have been fixed, see #410 (ad2dcee)
- Form: assert valid
formLayout
. Thanks to @donaldwasserman (c03bdf5), closes #418 - Modal: fixed Modals in IE9 by using polyfill for unsupported
classlist
(5b90e44) - modal: fix error in older browsers (e18bc81), closes #395
- Accordion: enable setting custom class to accordion item body. Thanks to @Techn1x (36646a7), closes #404
- Install: Use findHost function in included hook. Thanks to @synaptiko (dfe2344)
1.0.0-rc.1 (2017-07-26)
- Build: add support for (explicit) tree shaking, removing unused components from build (8852021), closes #140 See Setup guide for instructions.
- Button: setting
bubble=true
will cause a click event to bubble up, even when the button has anonClick
handler (2a4cd24) - Modal: refactored visibility rendering of modals, making open modals render correctly in FastBoot (565d805), closes #380
- register as Ember library, showing addon version in console and Ember Inspector (47cc7ef)
- Modal: fix transitionend event listener removal, fixing occasional problems with modals. Thanks to @lodrantl
1.0.0-beta.2 (2017-06-21)
- Accordion: add static CSS fix to enable clicking on whole header on iOS (2a8fefe), closes #355
- Button: fix event bubbling for submit buttons. Event bubbling is prevented when a
onClick
action handler has been set (89c575d) - Button: Stop event bubbling when clicked (a2d123b), closes #347
- Dropdown: Make dropdowns BS4 compliant (b37c150)
- Form: fixed various form classes for Bootstrap 4. Thanks to @Rapid0o (f487ecd), closes #336
- Modal: Trigger submit on all forms in modal body. Thanks to @Moxide (b2b32b8), closes #362
- Modal/Tooltip/Popover: Updated ember-wormhole fixes FastBoot problems for Modals, Tooltips and Popovers (19b8328), closes #284
- Popover: Fix scrollposition for FF - fixes #357 (ef97a62)
- Tooltip/Popover: fixed offset of arrow for subsequent displays (0ed9042), closes #361
- Tooltip/Popover: fixed positioning being slightly off (3ba51b1)
- Tooltip/Popover: Fixed removing event listeners of destroyed components (33dfda7), closes #350
- FormElement: Add customWarning property to show warnings independently of validation. Thanks to @elgordino (540e233)
- Navbar: automatically collapse menu when clicking nav link on mobile (2008884), closes #317
- Navbar: expose public
collapsed
property, call onCollapse/onCollapsed and onExpand/onExpanded actions (27f0da9)
1.0.0-beta.1 (2017-06-05)
- AccordionItem: preventDefault click on title link. Thanks to @dajk (78bb9e9), closes #311
- Modal: Fixed
onClick
dummy action. Thanks to @dajk (76dadf2) - Setup: Soften the build-time errors to warnings for non-standard configurations (fec690e), closes #322
- jQuery: The
triggerElement
andviewportSelector
properties of tooltips and popovers now expect a valid CSS Selector. If you used any jQuery specific non-standard selector features like:eq()
for example, this needs to be refactored!
1.0.0-alpha.12 (2017-04-26)
- AccordionItem: yield title and body as contextual components for better customization. Thanks to @dajk (8d09cdf), closes #283
- Build: Upgrade to ember-cli-babel@6 to enable new ember-cli targets feature (cf9a77d)
1.0.0-alpha.11 (2017-04-21)
- FastBoot: prepare for upcoming FastBoot 1.0 breaking changes. ember-bootstrap should now be compatible with pre and post 1.0 versions of FastBoot! (7474e72)
- FormElement:
helpText
allows you to add a block of help text next to your form control (c23af92), closes #169 - FormElement: Added
options
andoptionLabelPath
properties to better support select-like control components (271c52d)
1.0.0-alpha.10 (2017-04-13)
- Install: Fix dependency validator to allow having bootstrap in bower dependencies. Thanks to Exelord. (2d5d254)
- Form: form element yields control component for easier customization (7fa354a)
1.0.0-alpha.9 (2017-04-01)
- Install: Blueprint honor existing config (#285) (030131e), closes #282
- Install: Use configured
bootstrapVersion
if present (e68d372), closes #276 - Install: Address the situation where
ember-cli-build.js
could not be edited, closes #279
- Info command: added
ember bootstrap:info
command (2c54d3f)
1.0.0-alpha.8 (2017-03-20)
- Install: fixed default options not being applied at addon installation, causing a
Bootstrap version must be 3 or 4
error (1d753cb), closes #272 - Install: fixed wrong config being added to
ember-cli-build.js
when no preprocessor was used (63210bf) - Navbar: Use
fixed-top
,fixed-bottom
, andsticky-top
for BS4 for navbarposition
(bf46b39), closes #269
1.0.0-alpha.7 (2017-03-19)
- Install: fixed missing dependency (
silent-error
) in package.json (7f6cc7a)
1.0.0-alpha.6 (2017-03-18)
- Build: fix build issue with ember-cli 2.12.0. Thanks to @rwjblue (377edb6)
- Dropdown: Dropdown with a
block=true
toggle button has 'dropdown' class instead of 'btn-group' (5f9cd78), closes #244 - FormElement: shows automatic validation state only when validator addon is present (#266) (c163e54), closes #240
- Installation: Improved default blueprint (
ember g ember-bootstrap
) for addon installation. Installs only the necessary dependencies, based on your chosen Bootstrap version and optional CSS preprocessor. Introduces new options--bootstrapVersion
to easily switch Bootstrap version (3/4) and--preprocessor
to choose the CSS preprocessor (Sass/Less), including installation of the preprocessor addon itself if required. Also does not require Bower anymore! Find all details at the Getting started guide. Thanks to srvance! - Dropdown: Adds isOpen to dropdown template hash. Thanks to @theroncross (58abd4b), closes #251
1.0.0-alpha.5 (2017-02-27)
- Bootstrap 4: experimental support for Bootstrap 4 added, thanks to the terrific work of srvance. For instructions visit the Getting started guide. (#206)
- FormElement:
customError
shows custom error message independent of the model's validation (93e451a) - Modal: use separate components for modal header and close button to allow for better customization (7ba6bc1)
1.0.0-alpha.4 (2017-02-09)
- FormElement: Add input as available event for showValidationOn. Thanks to elgordino (#210) (b153864)
- Modal: container div for ember-wormhole renamed to
#ember-bootstrap-wormhole
, is added at build-time to index.html, not through initializer anymore (9b4013a), closes #222 - Modal: Fall back to not using fade transition in FastBoot by default, so FastBoot rendered app contains immediately visible modal (b95aad9)
1.0.0-alpha.3 (2017-01-21)
- FormElement: supports most common HTML5 attributes (3ef492c), closes #179
- FormGroup/FormElement: supports control sizing through
size
property (90ca70b), closes #202 - LESS: when installing ember-bootstrap and ember-cli-less is present, an
@import
statement is automatically added to app.less, the static CSS is not imported (regardless of importBootstrapCSS setting) (992b65f) - NavItem: calls onClick action (5188c80), closes #196
- SASS: when installing ember-bootstrap and ember-cli-sass is present, the SASS port of Bootstrap 3 is installed and an
@import
statement is automatically added to app.sass (5666a06), closes #178 - SASS/LESS: Add warnings when required dependencies are missing (2d2ff5f)
1.0.0-alpha.2 (2017-01-10)
- FormElement: input elements also trigger on change event as well as on input event (62600fc)
- Modal: Fixed missing close button for header yielded by bs-modal (1100e3f)
1.0.0-alpha.1 (2017-01-02)
- Form: Restore the label for a checkbox in vertical layout
- Modal: added guard to double invocation of show/hide methods (eb63088)
- Dropdown: menu item component is yielded as a contextual component from DropdownMenu (55e508f)
- Form: FormGroup component is yielded as a contextual component from Form (0941946), closes #186
- Nav: added contextual link-to component (8c7d2b5)
1.0.0-alpha (2016-12-27)
Please note that the 1.0 release of ember-bootstrap will introduce several breaking changes to make use of modern Ember features, follow Data Down Actions Up (DDAU) best practises and to make its API consistent. Most changes will fall into one of the following categories:
- Use contextual components for parent/child components
- Use one-way bindings for public properties to not violate DDAU
- renamed actions for consistency
Also ember-bootstrap 1.0 requires at least Ember v2.3!
See the following list for details.
- Accordion: binding to
selected
property is one-way, thus preventing DDAU violations (a44ec7d) - Accordion: uses contectual components for items. Fires
onChange
action. (bbab0f4) - Accordion: yield
change
action for adding custom behaviour (e8936cd) - Alert: Binding to visible property is one-way only (DDAU) (d3ab2f3)
- Alert: renamed
dismissedAction
toonDismissed
. AddedonDismiss
action, that prevents hiding the alert automatically when it returns false (8460af4) - Alert: renamed
dismissedAction
toonDismissed
. AddedonDismiss
action, that prevents hiding the alert automatically when it returns false (99a139b) - Button: removed
toggle
property,active
state is not changed by button itself anymore (DDAU). Changed default action toonClick
closure action with changed signature (14cd0bf) - ButtonGroup: refactored to make use of contextual components, does not change
value
(DDAU) (603c67d) - Collapse: renamed actions to onShow/onShown/onHide/onHidden (9dad149)
- Dropdown: refactored to make use of contextual components, added onShow and onHide actions (ae4d2af)
- Form: FormElement component is yielded as contextual component (2509620)
- Form: renamed actions to onBefore/onSubmit/onInvalid (e1397a1)
- FormElement: support readonly attribute. Thanks to basz (dec8e8c)
- FormElement: the existing block params
id
,value
andvalidation
are yielded as hash properties (c353154) - FormElement: uses one-way controls thus supporting DDAU pattern. Calls onChange action when input values have changed. Form component initializes FormElement with default action that updates the models property, but can be overriden. (dda8e36)
- Input: The
bs-input
andbs-textarea
components have been removed, as they were based on the basic Ember input helpers that allow only two-way bindings. Use simple<input class="form-control">
elements instead if needed. The form elements yielded bybs-form
wrap these for you, so use them whenever possible. (3e7d81f) - Modal: added
transitionDuration
andbackdropTransitionDuration
. (d49c79a), closes #78 - Modal: Binding to open property is one-way only (DDAU) (c3869c9)
- Modal: dropped
autoClose
property. Preventing automatically closing the modal can now be done by returning false fromonHide
(1bffd84) - Modal: refactored to use contextual components for header, footer and body (c3d449e)
- Modal: Renamed actions to onShow/onShown/onHide/onHidden/onSubmit for consistency (91ec078)
- Modal: Splitted in
bs-modal-simple
for default markup andbs-modal
for custom markup. This replaces the previousheader
,body
andfooter
flags (3ef2bf7) - Nav: refactored to yield nav item as a contextual component (da7ef45)
- NavBar: refactored to use contextual components. Thanks to srvance (1f49c28)
- Progress: Progress bar component is yielded as contextual component (a237379)
- Select: removed deprecated select component and FromElement with controlType="select" (9f04445)
- Tab: Binding to activeId property is one-way only (DDAU) (2e3e44a)
- Tab: refactored to yield tab pane as a contextual component. Changed default action to
onChange
(0185589) - Tab: returning false from
onChange
prevents changing the active tab (DDAU) (3ac6225)
<a name"0.11.3">
- Modal: support custom class (2b23316b)
- Tooltips: support custom class. Thanks to rstudner (7877c5df, closes #161)
<a name"0.11.2">
- ButtonGroup: null value sync with child buttons. Thanks to apokinsocha (f96ff45a)
- Modal: fixed Modal not closing when setting open=false in Ember 1.13 (f59b94da)
<a name"0.11.1">
<a name"0.11.0">
<a name"0.10.0">
- Accordion: fixed use of private parentView property, breaking tests in Ember 2.8 (9d7584ed)
- Modal:
-
Form: the signature of the default action that is called when submitting the form has changed. The form's model is always the first parameter, with an optional validation result as the second parameter
Before:
submit(validationResult) { ... }
After:
submit(model, validationResult) { ... }
(6c9282a7)
<a name"0.9.1">
- Modal: perform cleanup when removing an opened modal from DOM without waiting for transition. Thanks to sukima (e863f71f)
<a name"0.9.0">
- Dropdown: removed data-toggle="dropdown" attribute to prevent clash if original bootstrap is present. (bf44d272, closes #115)
- Form: fixed novalidate attribute being a string value of "false" or "true" (45db61dd)
- General:
- AccordionItem: Add expanded class name for accordion item. (268bc0d3)
- Dropdown: support "dropup" style (f7813087, closes #114)
- Navbar: added set of components for creating navbars. Thanks to srvance for implementation (6065a0b4, closes #48)
<a name"0.8.0">
- ButtonGroup: allow value 0 (Number) as valid value for a bs-button (#105). Thanks to arohr (d770cf67)
- Nav: added components bs-nav and bs-nav-item for bootstrap navs (dc66fe7b)
- Tab: added components bs-tab and bs-tab-pane for dynamic tabs (d3e2725b)
- FormElement: support validations with warning messages (supported by ember-cp-validations 3.0 (cd324d16)
<a name"0.7.3">
- ComponentChildMixin: this.nearestOfType() is not reliable in willDestroyElement hook. Thanks to jelhan (44a9fa0f, closes #99)
- Build: import map file along with bootstrap-theme.css. Thanks to williamherry
- Form: update showValidations on form elements wrapped by another component. Thanks to jelhan
- FormElement: adds support for invisible (sr-only) label. Thanks to jelhan (8419f35e)
- FormElement: yield validation state. Thanks to jelhan (5f28d1e1)
- FormElement: adjust position of feedback items if there is input group. Thanks to jelhan
<a name"0.7.2">
- Alert: fixed fade out animation
- FormElement: fixed overriding form model by setting bs-form-element model. Thanks to jelhan
- Fastboot: Fixed breaking apps in Fastboot environment. Thanks to openhouse. Fastboot is now officially supported and automatically tested.
- Button: add support for returning a promise from a closure action to support automatic state change (fb8fa1e3, closes #87)
- Form: adds support for novalidate attribute. Thanks to jelhan
<a name"0.7.1">
- FormElement: fixed validation property dependent keys (16903155)
- Less Import: import Bootstrap's less assets simply by importing 'ember-bootstrap/bootstrap' in your app.less (ab38b9d5, closes #80)
<a name"0.7.0">
- Config: fix config loader, closes #68. Thanks to Offir Golan
- Form/FormElement: Added validation hooks for external validation addons. See the Breaking Changes. Thanks to Offir Golan
- FormElement: Support disabled property. Thanks to oswaldoacauan
- FormElement: Support required property. Thanks to Offir Golan
- Form: Add before submit action. Thanks to Offir Golan
Direct support for ember-validations for validations your ember-bootstrap forms has been removed in favor of an API that supports adding support for specific validation libraries through additional addons. If you rely on ember-validations then install this addon when upgrading ember-bootstrap to enable support for it: ember-bootstrap-validations
Additional support for ember-cp-validations has been added by Offir Golan through ember-bootstrap-cp-validations
<a name"0.6.4">
- Modal:
- fixed autofocus feature for whormholed modals (c3cec755)
- Expose modal to contained components. Thanks to bendemboski (7d26d07d, closes #58)
- Make modal-closer mixin less brittle (refs #58). Thanks to bendemboski (4d32b08a)
- Modal: Implement openAction (refs #55). Thanks to bendemboski (ab713eef)
<a name"0.6.3">
- Modal: Implement autofocus support. Thanks to bendemboski (10f6d71f, closes #55)
<a name"0.6.2">
- Addon: Remove hardcoding of
isDevelopingAddon
. Thanks to @rwjblue (015fa5f - Addon: Allow using ember-bootstrap within another addon (a2e5b29f, closes #50)
- Modal: Patch emulateTransitionEnd to support andThen() waiting for transition (ae787626, closes #53)
<a name"0.6.1">
- FormElement: changing formLayout on parent form now correctly updates bootstrap markup (5ff1c870, closes #47)
- Alert: add a dismissed action (760a2db5), closes #45)
- FormElement: support custom controls (641d96e7, closes #46)
<a name"0.6.0">
- FormElement: Fixed select box for form layouts other than vertical, had wrong property assignments (2c15ec2c)
- ProgressBar: Added support for progress bars as native ember components
- I18nSupport: Removed I18nSupport mixin as this is not needed anymore with ember-i18n 4.x help (a5ade3c1)
- If you rely on ember-bootstrap components to use the old ember-i18n TranslatableProperties mixin, you should update ember-i18n to the latest version and use the "t" helper to supply already translated strings to ember-bootstrap component properties in your templates.
(a5ade3c1)
<a name"0.5.1">
- Modal: closing a modal left backdrop element in DOM on IE9 (0e24f351)
- Fixed bootstrap theme inclusion order, thanks to huberts (PR#31)
- Modal: implemented scrollbar layout adjustments when opening modals, like the original bootstrap.js modals (3e28b099)
<a name"0.5.0">
- Modal:
- added bs-modal component and sub components for creating Bootstrap modal dialogs
<a name"0.4.1">
<a name"0.4.0">
- Collapse:
<a name"0.3.0">
- Accordion:
- added accordion components (f2bbaca8)
<a name"0.2.0">
- Ember: Updated components to be compatible with Ember 1.13 (thanks to jesenko) and 2.0. NOTE: Ember 1.13 is the minimum required version for ember-bootstrap 0.2.0 and above
- Tests: Refactored all component tests to use the new integration test style
- Select: added Ember.Select replacement component (19144085)
<a name"0.1.4">
- Components.FormElement: Wrong classes for horizontal layout forms (14) (1caba612)
<a name"0.1.3">
- Ember: Updated to Ember-cli 0.2.7, fixed deprecation warnings in Ember 1.13 (1fc78c4)
- Ember: Updated to Ember-cli 0.2.5 / Ember.js 1.12. Fixed test failures because of missi (45e59f03)
- Form: submitOnEnter submits the form when user presses enter, even if no submit button (fcc9898b)
<a name"0.1.2">
- I18n: support for ember-i18n added: selected components support translateable properties
<a name"0.1.1">
- FormGroup: fixed wrong form group validation class in Ember 1.11 (ff72909e)
<a name"0.1.0">
New form classes to support creating powerful forms:
- Form: base form class
- FormGroup: component for Bootstrap form-group elements with validation rendering
- FormElement: extends FormGroup to implement automatic markup generation and model based validations
<a name"0.0.9">
- ButtonGroup:
- initial value did not set active buttons properly
<a name"0.0.8">
- ButtonGroup:
- bower: fixed missing bootstrap dependency in bower.json. Did not affect the host ember (5c00c2b9)
<a name"0.0.7">
- Dropdown: new component for Bootstrap dropdowns
- Enhanced API docs, with custom theme
- Updated to ember-cli 0.2.0, ember.js 1.10
<a name"0.0.6">
- Alert: component for dismissible Bootstrap alerts
<a name"0.0.5">
- ButtonGroup: component for groups of Buttons, with radio and checkbox style toggling
<a name"0.0.4">
- Initial release