Ng Bootstrap Versions Save

Angular powered Bootstrap

16.0.0

5 months ago

This release bumps minimum required versions to Angular 17.0.0 and Bootstrap 5.3.2.

Main features:

  • dark mode support for all components and demo site.
  • new stacked progressbar markup in Bootstrap 5.3 allowed us to do the long-standing stacked progressbar feature request.
  • Ethiopian calendar for datepicker.
  • old component-based accordion implementation is removed (it was deprecated in 14.1.0 in favor of directive-based implementation).
  • we're using new control flow syntax internally and for all demos.

Please make sure to check the BREAKING CHANGES section below.

Bug Fixes

  • use setInput where possible for dynamic components (f29a7b5)
  • datepicker: fix day hover color in dark mode (519bbc3)
  • dropdown: add show class to dropdown toggle when dropdown is open (#4532) (6bf2ab0), closes #4531
  • nav: NgbNavLinkBase matches multiple times (02ab48b), closes #4594
  • schematics: use getMainFilePath() to get main project file (acd635a)
  • tooltip: add offset to align with Bootstrap 5.3 (6fd04af), closes #4574
  • datepicker: startDate type should accept dates with days (#4618) (81ec20a), closes #4616
  • accordion: allow querying body template (#4625) (472d842), closes #4623
  • dropdown: allow setting custom tabindex on items (#4626) (3d9f052), closes #4592
  • nav: correct focus handing with keyboard (184b6bd)

Features

  • bootstrap 5.3 and dark mode (99c2162), closes #4450
  • add axe a11y tests of the demo site (#4588) (b573a2b)
  • progressbar: add stacked progressbar (#4621) (1982133)
  • datepicker: add ethiopian date picker (bf02fb0), closes #4499
  • migrate to the new control flow syntax (6c3570b)
  • accordion: remove type from configuration (ed7732a)
  • accordion: remove component-based version (7aab9e3)
  • dropdown: remove deprecated NgbNavbar directive (c2c8061)

BREAKING CHANGES

  • minimum required versions are now Angular 17.0.0, Bootstrap 5.3.2 and Popper 2.11.8
  • accordion: removed component-based accordion. It was deprecated in 14.1.0
  • accordion: removed type property from the NgbAccordionConfig. It was deprecated in 14.1.0.
  • we use inject function internally more than before, so constructor signatures have changed for all components. If you extend our components (and you really shouldn't do it), you might need to update your code.
  • nav: NgbNavbar directive is removed, as it is no longer required. It was deprecated in 14.2.0.
  • nav: default value for the @Input() keyboard: boolean | 'changeWithArrows' was changed from false to true, meaning that all navs are now keyboard accessible by default and focus between navs moves with arrow keys. Focusing behavior follows the WAI-ARIA tab recommendation as well as Bootstrap's nav implementation. To turn off keyboard support set keyboard to false either on the individual NgbNav or via NgbNavConfig

16.0.0-rc.2

5 months ago

This release migrates to the new control flow syntax internally and for all demos.

Bug Fixes

Features

  • datepicker: add ethiopian date picker (bf02fb0), closes #4499
  • migrate to the new control flow syntax (6c3570b)

16.0.0-rc.1

5 months ago

Bug Fixes

  • datepicker: startDate type should accept dates with days (#4618) (81ec20a), closes #4616

16.0.0-rc.0

5 months ago

This release bumps minimum required versions to Angular 17.0.0, Bootstrap 5.3.2 and introduces dark mode support for components and demo site.

It also removes old component-based accordion implementation, which was deprecated in 14.1.0 in favor of directive-based implementation.

Bug Fixes

  • use setInput where possible for dynamic components (f29a7b5)
  • datepicker: fix day hover color in dark mode (519bbc3)
  • dropdown: add show class to dropdown toggle when dropdown is open (#4532) (6bf2ab0), closes #4531
  • nav: NgbNavLinkBase matches multiple times (02ab48b), closes #4594
  • schematics: use getMainFilePath() to get main project file (acd635a)
  • tooltip: add offset to align with Bootstrap 5.3 (6fd04af), closes #4574

Features

  • bootstrap 5.3 and dark mode (99c2162), closes #4450
  • add axe a11y tests of the demo site (#4588) (b573a2b)
  • accordion: remove type from configuration (ed7732a)
  • accordion: remove component-based version (7aab9e3)
  • dropdown: remove deprecated NgbNavbar directive (c2c8061)

BREAKING CHANGES

  • minimum required versions are now Angular 17.0.0, Bootstrap 5.3.2 and Popper 2.11.8
  • accordion: removed component-based accordion. It was deprecated in 14.1.0
  • accordion: removed type property from the NgbAccordionConfig. It was deprecated in 14.1.0.
  • nav: NgbNavbar directive is removed, as it is no longer required. It was deprecated in 14.2.0.
  • we use inject function internally more than before, so constructor signatures have changed for all components. If you extend our components (and you really shouldn't do it), you might need to update your code.

15.1.2

6 months ago

This release aligns tooltip closing behavior with Bootstrap (both desktop and mobile), fixes a long-standing bug with tooltip opening issues.

While we don't consider it a breaking change, some complex existing tooltips might behave differently.

Bug Fixes

  • accordion: initialize destroyOnHide from configuration (a8b39be)
  • rating: generate correct aria-readonly/disabled attributes (#4586) (f99bc96)
  • tooltip: align closing behavior with Bootstrap (55f45fd), closes #3889
  • tooltip: fixed closing on hover from arrow direction (4417ee6), closes #3997
  • tooltip: remove padding for non-standard placements (c7c0978), closes #4369

15.1.1

8 months ago

Bug Fixes

  • accordion: override destroyOnHide correctly (#4545) (e0f15c6), closes #4541
  • dropdown: fix arrow navigation inside shadow dom (#4548) (995d22d), closes #4540
  • scrollspy: change active to '' (empty) after explicit stop (cec803d)
  • scrollspy: recompute active when unobserving fragments (4dac691)

15.1.0

9 months ago

15.1.0 (2023-07-06)

This release introduces Scrollspy service and directives.

Features

  • accordion: add 'show' and 'hide' events (#4537) (005290e), closes #4528
  • popover/tooltip: allow specifying context via template (#4512) (56779ae)
  • scrollspy: add scrollspy service and directives (a16430f), closes #5

15.0.1

10 months ago

Bug Fixes

  • dropdown: set display when inside a navbar and guarded by ngIf (#4521) (05eafb2), closes #4520
  • revert some inputs to optional (#4519) (decfe41), closes #4516 #4518
  • schematics: don't use deprecated --name option (be75dcc)
  • schematics: support apps created with --standalone flag (7f5f7b6), closes #4511

15.0.0

11 months ago

This release bumps minimum supported version of Angular to 16.0.0.

No new features are introduced since 14.x, apart from some inputs becoming required.

Bug Fixes

  • datepicker: remove navigation arrow .right class (#3922) (3735699)

Features

BREAKING CHANGES

  • datepicker: Might be breaking, if datepicker arrows are customized. Datepicker navigation arrow markup.

BEFORE:

<div class="ngb-dp-arrow">       <!-- left -->
<div class="ngb-dp-arrow right"> <!-- right -->

AFTER:

<div class="ngb-dp-arrow ngb-dp-arrow-prev"> <!-- prev -->
<div class="ngb-dp-arrow ngb-dp-arrow-next"> <!-- next -->

14.2.0

11 months ago

Bug Fixes

Features

  • datepicker: add 'contentTemplate' to input datepicker (2bfc212), closes #4497
  • datepicker: allow accessing i18n from the instance (0864688)
  • dropdown: replace NgbNavbar usage by DOM call to closest() (#4471) (c524384), closes #4462
  • modal: allow update options of opened modal (e945442), closes #4281 #4396 #4446
  • typeahead: add selectOnExact option (4eb6cc7), closes #4371