npm bootstrap-vue 2.0.0-rc.28
v2.0.0-rc.28

latest releases: 2.23.1, 2.23.0, 2.22.0...
4 years ago

Please see the changelog for a complete list of commits, and the online documentation for usage.

Notable changes

This release is expected to be the last RC release. Next release (hopefully) will be v2.0.0 stable.

Fixes

  • b-carousel: reset touchDeltaX to prevent click transformed in swipe.
  • b-modal: prevent page scroll when tabbing to bottom of modal + better CTRL+TAB handling.
  • b-table: better detection of active text selection during click events.
  • b-table: do not sort by formatted value by default (sort by formatted was introduced in 2.0.0-rc.25).
  • b-table, b-table-lite: place <tfoot> after <tbody> element for accessibility reasons (and HTML5 spec)
  • b-tabs: fix nav item id and aria-controls bug

Features

  • config: add config defaults for all size properties.
  • b-form-file, b-form-checkbox, b-form-radio: have input element inherit non-prop attributes.
  • b-form-file, b-form-checkbox, b-form-radio: add support for control sizes.
  • b-table: programmatic row selection.
  • b-table: make sorting by formatted value opt-in per field (note this is a change from the sorting by formatted value behaviour of versions 2.0.0-rc.25 through rc.27).
  • b-table: added TypeScript declarations for sort-compare-locale and sort-compare-options.
  • b-table: allow users to specify top-level keys to be ignored or included when filtering, plus add option to filter based on formatted value.
  • b-table, b-table-lite: introduce new field scoped slot naming convention + new fallback scoped slots, and deprecates old field slot name convention.
  • b-table-simple: new simple <table> wrapper component that allows users to render their own <thead>, <tfoot>, <body>, etc, content, supporting Bootstrap v4 basic table style options.
  • tables: new table child element helper components (b-tbody, b-thead, b-tfoot, b-tr, b-th, and b-td), plus new sort-null-last and table-variant props.
  • tables: add optional sticky header (fixed header) support via new prop sticky-header.
  • tables: add optional sticky columns (fixed column) support.
  • b-toast: added SCSS variable for overriding default toast background color opacity value.

Potential breaking changes

  • b-table: based on user feedback, sorting by formatted value is now opt-in per field. This is a change from the default sorting by formatted value behaviour of versions 2.0.0-rc.25 through rc.27. Sorting by formatted value was introduced in 2.0.0-rc.25.

Deprecation notes

  • b-table and b-table-lite field scoped slot name syntax (for custom data and header/footer formatting) has been changed in this version to use a new square bracketed syntax. While the previous naming syntax still works, it has been deprecated in favour of the newer naming convention (which prevents potential slot-name conflicts with fields named default and other table slots). Users are encouraged to switch to the new table field slot name syntax, as the old slot name syntax will be removed in 2.0.0 stable release!

  • Users should have switched to the simplified import syntax (introduced in v2.0.0-rc.22) when importing individual plugins, components, and/or directives. Importing from the es/ build directory has been deprecated and will be removed in 2.0.0 stable release!

Don't miss a new bootstrap-vue release

NewReleases is sending notifications on new releases.