Skip to content

Latest commit

 

History

History
729 lines (404 loc) · 40.2 KB

CHANGELOG.md

File metadata and controls

729 lines (404 loc) · 40.2 KB

1.0.0-rc.2 (2017-08-24)

Bug Fixes

  • 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

Features

  • 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)

Features

  • 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 an onClick 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)

Bug Fixes

  • Modal: fix transitionend event listener removal, fixing occasional problems with modals. Thanks to @lodrantl

1.0.0-beta.2 (2017-06-21)

Bug Fixes

  • 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

Features

  • 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)

Bug Fixes

  • 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

Features

  • jQuery: Removed jQuery-dependency (ac489e8), closes #300

BREAKING CHANGES

  • jQuery: The triggerElement and viewportSelector 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)

Features

  • 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)

Features

  • 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 and optionLabelPath properties to better support select-like control components (271c52d)

1.0.0-alpha.10 (2017-04-13)

Bug Fixes

  • Install: Fix dependency validator to allow having bootstrap in bower dependencies. Thanks to Exelord. (2d5d254)

Features

  • Form: form element yields control component for easier customization (7fa354a)

1.0.0-alpha.9 (2017-04-01)

Bug Fixes

  • 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

Features

  • Info command: added ember bootstrap:info command (2c54d3f)

1.0.0-alpha.8 (2017-03-20)

Bug Fixes

  • 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, and sticky-top for BS4 for navbar position (bf46b39), closes #269

1.0.0-alpha.7 (2017-03-19)

Bug Fixes

  • Install: fixed missing dependency (silent-error) in package.json (7f6cc7a)

1.0.0-alpha.6 (2017-03-18)

Bug Fixes

  • 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

Features

  • 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)

Features

  • 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)

Features

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • Form: Restore the label for a checkbox in vertical layout
  • Modal: added guard to double invocation of show/hide methods (eb63088)

Features

  • 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)

Breaking Changes

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.

Features

  • 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 to onDismissed. Added onDismiss action, that prevents hiding the alert automatically when it returns false (8460af4)
  • Alert: renamed dismissedAction to onDismissed. Added onDismiss 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 to onClick 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 and validation 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 and bs-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 by bs-form wrap these for you, so use them whenever possible. (3e7d81f)
  • Modal: added transitionDuration and backdropTransitionDuration. (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 from onHide (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 and bs-modal for custom markup. This replaces the previous header, body and footer 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">

0.11.3 (2016-11-30)

Features

  • Modal: support custom class (2b23316b)
  • Tooltips: support custom class. Thanks to rstudner (7877c5df, closes #161)

<a name"0.11.2">

0.11.2 (2016-11-08)

Bug Fixes

  • 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)

Features

  • Button: Addition/support for title attribute on buttons. Thanks to basz (3d630874, closes #148)

<a name"0.11.1">

0.11.1 (2016-10-27)

Bug Fixes

  • Alert: added missing alert-dismissible class (9c8f5ace, closes #146)

<a name"0.11.0">

0.11.0 (2016-10-08)

Features

  • Tooltips: Added support for tooltips and popovers (25d16ccd, closes #7)

<a name"0.10.0">

0.10.0 (2016-09-15)

Bug Fixes

  • Accordion: fixed use of private parentView property, breaking tests in Ember 2.8 (9d7584ed)
  • Modal:
    • fixed "You modified ... twice in a single render" deprecation/assertion (cdd35ac3)
    • Modal is rendered in place when no wormhole container is found. Fixes modals in Fastboot (c4184f29)
    • added fixes for Glimmer2, including workaround for ember-wormhole (ce9a2c25)

Features

  • Form: model is passed as parameter to default and before actions (6c9282a7, closes #126)

Breaking Changes

  • 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">

0.9.1 (2016-08-20)

Bug Fixes

  • Modal: perform cleanup when removing an opened modal from DOM without waiting for transition. Thanks to sukima (e863f71f)

Features

  • FormElement: adds showValidationOn events. Thanks to jelhan (#127) (2eb7ac07)

<a name"0.9.0">

0.9.0 (2016-08-13)

Bug Fixes

  • 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:
    • fix Ember.Array.contains deprecation in Ember 2.8+ (700802f0)
    • fix Ember.Handlebars.SafeString deprecation in Ember 2.8+ (09d5a245)

Features

  • 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">

0.8.0 (2016-07-02)

Bug Fixes

  • ButtonGroup: allow value 0 (Number) as valid value for a bs-button (#105). Thanks to arohr (d770cf67)

Features

  • 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">

0.7.3 (2016-06-22)

Bug Fixes

  • 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

Features

  • 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">

0.7.2 (2016-05-29)

Bug Fixes

  • Alert: fixed fade out animation
  • FormElement: fixed overriding form model by setting bs-form-element model. Thanks to jelhan

Features

  • 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">

0.7.1 (2016-05-11)

Bug Fixes

  • FormElement: fixed validation property dependent keys (16903155)

Features

  • 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">

0.7.0 (2016-04-02)

Bug Fixes

Features

  • 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

Breaking Changes

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">

0.6.4 (2016-03-07)

Bug Fixes

Features

<a name"0.6.3">

0.6.3 (2016-03-04)

Bug Fixes

  • Accordion: Fix toggling accordion items. (925ee7d6, closes #56)
  • Alert:
    • Alert is initially hidden when visible=false (10aa8870, closes #61)
    • missing fade out animation when clicking close button (11acbccd, closes #59)

Features

<a name"0.6.2">

0.6.2 (2016-02-25)

Bug Fixes

  • 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">

0.6.1 (2016-02-06)

Bug Fixes

  • FormElement: changing formLayout on parent form now correctly updates bootstrap markup (5ff1c870, closes #47)

Features

  • Alert: add a dismissed action (760a2db5), closes #45)
  • FormElement: support custom controls (641d96e7, closes #46)

<a name"0.6.0">

0.6.0 (2016-01-12)

Bug Fixes

  • FormElement: Fixed select box for form layouts other than vertical, had wrong property assignments (2c15ec2c)

Features

  • 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)

Breaking Changes

  • 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">

0.5.1 (2016-01-04)

Bug Fixes

  • Modal: closing a modal left backdrop element in DOM on IE9 (0e24f351)
  • Fixed bootstrap theme inclusion order, thanks to huberts (PR#31)

Features

  • Modal: implemented scrollbar layout adjustments when opening modals, like the original bootstrap.js modals (3e28b099)

<a name"0.5.0">

0.5.0 (2015-11-12)

Features

  • Modal:
    • added bs-modal component and sub components for creating Bootstrap modal dialogs

<a name"0.4.1">

0.4.1 (2015-10-31)

  • FormElement:
    • Wire up for attribute used in form-element component, thanks to cyk (3ed081a)

<a name"0.4.0">

0.4.0 (2015-09-22)

  • Collapse:
    • added bs-collapse component for collapsible content (794b52d5)
    • refactored bs-accordion-item to use bs-collapse internally (58b0d868)

<a name"0.3.0">

0.3.0 (2015-09-09)

Features

  • Accordion:

<a name"0.2.0">

0.2.0 (2015-08-14)

Features

  • 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">

0.1.4 (2015-08-05)

Bug Fixes

  • Components.FormElement: Wrong classes for horizontal layout forms (14) (1caba612)

<a name"0.1.3">

0.1.3 (2015-07-07)

Bug Fixes

  • 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)

Features

  • Form: submitOnEnter submits the form when user presses enter, even if no submit button (fcc9898b)

<a name"0.1.2">

0.1.2 (2015-04-22)

Features

  • I18n: support for ember-i18n added: selected components support translateable properties

<a name"0.1.1">

0.1.1 (2015-04-21)

Bug Fixes

  • FormGroup: fixed wrong form group validation class in Ember 1.11 (ff72909e)

<a name"0.1.0">

0.1.0 (2015-04-17)

Features

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">

0.0.9 (2015-04-08)

Bug Fixes

  • ButtonGroup:
    • initial value did not set active buttons properly

<a name"0.0.8">

0.0.8 (2015-04-08)

Bug Fixes

  • ButtonGroup:
    • fixed radio button being clicked twice to deactivate itself (6175e12d)
    • fixed broken button group value added separate button page to dummy app (2c2dafc0)
  • bower: fixed missing bootstrap dependency in bower.json. Did not affect the host ember (5c00c2b9)

<a name"0.0.7">

0.0.7 (2015-03-14)

Features

  • Dropdown: new component for Bootstrap dropdowns

Misc

  • Enhanced API docs, with custom theme
  • Updated to ember-cli 0.2.0, ember.js 1.10

<a name"0.0.6">

0.0.6 (2015-03-10)

  • Alert: component for dismissible Bootstrap alerts

<a name"0.0.5">

0.0.5 (2015-02-2)

  • ButtonGroup: component for groups of Buttons, with radio and checkbox style toggling

<a name"0.0.4">

0.0.4 (2015-01-25)

  • Initial release