All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.22.0 (2022-04-17)
- b-dropdown: add
toggle-attrs
prop (closes #3694) (#6339) (6cfcbb3) - b-form-group: add
content-cols
props and scopeddefault
slot (closes #6095, #6118) (#6178) (fab6dc5) - b-form-tags: add
feedback-aria-live
prop (#6347) (5332970) - b-form-tags: add
no-tags-remove
prop (closes #6162) (#6163) (92de1f9) - b-form-tags: add
reset
method (#6104) (d610291) - b-form-tags: adds
focusin
&focusout
to wrapper and prevents firing multiplefocus
/blur
events (#6395) (44e558f) - b-link: support
exact-path
andexact-path-active-class
props for router link (fixes #6434) (#6811) (576e67b) - add
headerTag
andfooterTag
props to all componets with header and footer (#6375) (c6dd70a) - b-media: improve aside right handling (#5965) (49a3f00)
- b-sidebar: add
header
slot (#6179) (341b7f0) - config: improved defaults handling (closes #4507, #5138, #5291, #5459, #5958) (#5981) (7ea0cc4)
- refactor: code enhancements for easier Vue 3 migration (closes #6124, #6139) (#6141) (5bf6733)
- b-avatar: badge
z-index
handling (#5975) (ecb33bd) - b-avatar: prevent avatar from being squished (#5963) (b3946ed), closes #5962
- b-badge: attribute inheritance (#6217) (2d31f31)
- b-dropdown: click handling on close (closes #5982) (#6009) (cf7a1cb)
- b-dropdown: decrease delay when hiding inside a navbar on no-touch devices (closes #6306) (#6367) (7d72605)
- b-dropdown: only apply
heading
role to header when not aheader
tag (#6274) (bd67da0) - b-dropdown: root events (#6198) (6dcd233)
- b-dropdown: Sets correct
aria-haspopup
attribute for the toggle button (#6865) (d92c2f1) - b-form-checkbox/b-form-radio:
chnage
event timing (#6008) (37ec7e9) - b-form-datepicker:
valueAsDate
prop handling (#6159) (5cb8e0c) - b-form-datepicker/b-form-timepicker: control size (#6249) (f2ffbeb)
- b-form-datepicker/b-form-timepicker: label styles when in
button-only
mode (closes #6172) (#6186) (e8842ba) - b-form-group: accessibility when
label-for
prop not set (#6006) (16f777b) - b-form-input: modified value handling (#6084) (d6d8e3c)
- b-form-input/b-form-textarea: legacy browser support (closes #6283) (#6345) (a79d98a)
- b-form-spinbutton: button markup (#6101) (5082976)
- b-form-tags: required handling (closes #6094) (#6103) (2dc6b9d)
- b-icon: title render handling (#6233) (b025047)
- b-img-lazy:
blank
placeholder for Firefox (closes #6320) (#6349) (9b297c9) - b-img-lazy: fix blank-src not work error (#6302) (a6ace2f)
- b-link: remove default values from
vue-router
pass-down props (closes #6373) (#6374) (0a14828) - b-skeleton: accepts custom attributes (#6858) (9b1edc9)
- b-table: fix range selection of b-table (#6606) (c11f0db)
- b-table: selected table header text no longer prevents table row selection (#6645) (010ab31)
- replace sass division with multiplication (#6834) (dd051e9)
- b-form-group: remove
role="alert"
from valid/invalid feedback (closes #6300, #6307) (#6346) (c0959c4) - b-input-tags: not respecting custom
$input-color
(closes #6388) (#6389) (9f045d4) - b-pagination: don't set initial page count twice (#6200) (d7394e3)
- b-sidebar: make sure to not exceed 100% in height (closes #6176) (#6234) (782e11d)
- b-table: add missing
role="grid"
when selectable (closes #6305) (#6372) (bc02fb8) - b-table: add missing
sortKey
field type and correct a typo (#6355) (f5ca62f) - b-table: allow
responsive
andstacked
props together (#6266) (fa977a8) - b-table: default
role
togrid
whenselectable
andtable
otherwise (#6383) (3f5a309), closes #6326 - b-table: header cell overflow for
.sr-only
sort label (#6371) (11617b4) - b-table: only set
aria-describedby
when caption really exists (#6251) (b980017) - b-table: only set
tabindex="0"
for sortable TH's (#6102) (dd23742) - b-table: prefer user-provided
role
attribute (#6382) (9e25a3b) - b-table: set
aria-sort
when usingsortKey
andno-local-sorting
(closes #6602) (#6603) (2438137) - b-table: sort handling for numeric string values (closes #6092) (#6105) (29fbcb5)
- b-tabs: cleanup rendering logic (#6154) (8aeb9e9)
- b-tabs: restore correct active tab detection logic (closes #6205) (#6208) (6d92a43)
- docs: completing the url so that the link is correct (#6545) (c9c85a9)
- nav-item-dropdown: update dropdown to set correct aria-controls (97bb97b)
- utils/dom: bind
requestAF()
towindow
(#6508) (#6511) (f8caaec) - clean up props inheritance (#6265) (79784ae)
- environment detection based on
userAgent
(#6226) (cdfd16c) - table: default sort compare logic for date strings (#6153) (3696a1f)
- user supplied prop function detection (#6070) (cea6051)
- user supplied prop function detection (closes #6112) (#6113) (1d85839)
- table: use original value for fallback when number parsing fails in
defaultSortCompare()
(c375ce9)
Released: 2021-01-01
- b-dropdown: only apply
heading
role to header when not aheader
tag (#6274) (bd67da0) - b-table: allow
responsive
andstacked
props together (#6266) (fa977a8) - clean up props inheritance (#6265) (79784ae)
- b-form-datepicker/b-form-timepicker: control size (#6249) (f2ffbeb)
- b-icon: title render handling (#6233) (b025047)
- b-sidebar: make sure to not exceed 100% in height (closes #6176) (#6234) (782e11d)
- b-table: only set
aria-describedby
when caption really exists (#6251) (b980017) - environment detection based on
userAgent
(#6226) (cdfd16c)
Released: 2020-12-16
- b-badge: attribute inheritance (#6217) (2d31f31)
- b-dropdown: root events (#6198) (6dcd233)
- b-pagination: don't set initial page count twice (#6200) (d7394e3)
- b-tabs: restore correct active tab detection logic (closes #6205) (#6208) (6d92a43)
Released: 2020-12-14
- b-form-group: add
content-cols
props and scopeddefault
slot (closes #6095, #6118) (#6178) (fab6dc5) - b-form-tags: add
no-tags-remove
prop (closes #6162) (#6163) (92de1f9) - b-sidebar: add
header
slot (#6179) (341b7f0) - refactor: code enhancements for easier Vue 3 migration (closes #6124, #6139) (#6141) (5bf6733)
- icons: update Bootstrap Icons to v1.2.1 (#6194) (799e272)
- icons: update Bootstrap Icons to v1.2.0 (#6180) (00682e5)
- b-form-datepicker:
valueAsDate
prop handling (#6159) (5cb8e0c) - b-form-datepicker/b-form-timepicker: label styles when in
button-only
mode (closes #6172) (#6186) (e8842ba) - b-tabs: cleanup rendering logic (#6154) (8aeb9e9)
- table: default sort compare logic for date strings (#6153) (3696a1f)
- table: use original value for fallback when number parsing fails in
defaultSortCompare()
(c375ce9)
Released: 2020-12-01
Released: 2020-11-30
- b-form-input: modified value handling (#6084) (d6d8e3c)
- b-form-spinbutton: button markup (#6101) (5082976)
- b-form-tags: required handling (closes #6094) (#6103) (2dc6b9d)
- b-table: only set
tabindex="0"
for sortable TH's (#6102) (dd23742) - b-table: sort handling for numeric string values (closes #6092) (#6105) (29fbcb5)
- user supplied prop function detection (#6070) (cea6051)
Released: 2020-11-08
- b-media: improve aside right handling (#5965) (49a3f00)
- config: improved defaults handling (closes #4507, #5138, #5291, #5459, #5958) (#5981) (7ea0cc4)
- icons: update Bootstrap Icons to v1.1.0 (#5977) (8e45ad4)
- b-avatar: badge
z-index
handling (#5975) (ecb33bd) - b-avatar: prevent avatar from being squished (#5963) (b3946ed), closes #5962
- b-dropdown: click handling on close (closes #5982) (#6009) (cf7a1cb)
- b-form-checkbox/b-form-radio:
change
event timing (#6008) (37ec7e9) - b-form-group: accessibility when
label-for
prop not set (#6006) (16f777b)
Released: 2020-10-21
- b-form-group: content element ID handling (closes #5930) (#5933) (fecd558)
- b-icon: local component lookup (#5939) (4586b49)
- b-link:
href
handling with live router (closes #5927) (#5934) (8a367b6)
Released: 2020-10-19
- b-calendar: add
no-key-nav
property (closes #5861) (#5883) (955ad63) - update
core-js
to v3 (#5894) (aeed981)
- b-calendar: month formatting for certain dates (#5911) (7de1844)
- b-card: properly support header/footer with body image overlay (#5872) (bd8319d)
- b-carousel: fix glitching when switching slides fast (closes #5810) (#5845) (761bc93)
- b-link:
href
handling inconsistencies to<router-link>
(closes #5820) (#5876) (daea0e5) - b-skeleton: animation overflow issue for Safari (#5863) (bfd4f96)
- v-tooltip, v-popover: render data-* attributes on root components (closes #5836) (#5882) (f6b51e0)
Released: 2020-09-18
- No changes to v2.17.2.
Released: 2020-09-18
- b-nav-item-dropdown:
boundary
handling in<b-navbar>
(closes #5789) (#5794) (73383bf) - b-skeleton: add missing component exports (#5806) (871ce22)
- b-tooltip, b-popover: fix
title
not being reset on hide (#5793) (31eeb0a)
Released: 2020-09-16
- b-modal: solve body padding not being removed (#5771) (78d51f1)
- b-table: properly handle empty included/excluded filter fields (closes #5775) (#5780) (78ac383)
Released: 2020-09-13
- b-avatar: add size classes for
sm
andlg
sizes (closes #5592) (#5768) (942bf31) - b-calendar: add
nav-button-variant
prop (closes #5702) (#5705) (aa291fc) - b-form-file: improved drag and drop handling (closes #3673) (#5727) (3b12a73)
- b-icon: add proper
title
support (closes #5711) (#5724) (3756b2c) - b-pagination/b-pagination-nav: allow page change to be prevented (closes #5679) (#5755) (7e18c61)
- b-sidebar: add
noEnforceFocus
prop (closes #5707) (#5734) (c11c237) - b-skeleton: add skeleton components (closes #5413) (#5575) (31c06b5)
- b-table: add
sortKey
option forno-local-sorting
events (#5746) (f847dae) - b-tags: add
limit
prop (#5543) (caa0f1a) - docs: auto-detect settings props in component reference (#5761) (0ddb2e0)
- icons: update Bootstrap Icons to v1.0.0 (#5708) (edc2d35)
- b-avatar: image fit and scale (closes #5610, #5655) (#5675) (9812248)
- b-button-toolbar: allow focus to leave toolbar by keyboard (#5737) (f54e427)
- b-form-checkbox:
change
event value when in multiple mode (#5716) (5150b94) - b-form-checkbox/b-form-radio: remove
autocomplete="off"
attribute (#5764) (443aaf1) - b-form-datepicker/b-form-timepicker/b-nav-item-dropdown: dropdown positioning handling (closes #5700, #5630) (#5765) (7ec2205)
- b-form-file: drop handling for huge amounts of files (closes #5615) (#5685) (d54b240)
- b-form-input: fix debounce when value does not change (#5632) (111ca65)
- b-form-tags: ensure same height with or without tags (#5752) (07102f9)
- b-form-textarea:
setStyle()
util usage (bf7a65f) - b-pagination: properly calculate number of links with
hide-ellipsis
option (closes #5514) (#5678) (98e17ca) - bv-tooltip: hide the tooltip when the title is set to empty (closes #5648) (#5677) (5363a31)
- perf: reactivity issues with
bvAttrs
andbvListeners
(closes #5520) (#5753) (d83a2b1) - v-b-toggle: prevent scroll anchoring behavior (closes #5715) (#5769) (390a5c7)
- component destroy handling on parent destroy (#5749) (e67d341)
- don't display BootstrapVue warning messages when in production (bf8966f)
- don't display warning messages when in production (closes #5598) (#5763) (4b5d916)
- b-table: make sure to apply all formatters of field configuration (closes #5672) (#5674) (c7c14ea)
- ssr: avoid tree missmatches by either using
domProps
orchildren
(closes #5453, #5557) (#5723) (5e8dad8) - v-b-toggle: handle component updates on click listeners (#5690) (156b1d6)
Released: 2020-07-27
- b-form-tags: add
ignoreInputFocusSelector
prop to make input focus behavior configurable (closes #5425) (#5429) (26d5953) - docs: launch themes page with first BootstrapVue theme (#5549) (ec51ef0)
- icons: update Bootstrap Icons to v1.0.0-alpha5 (#5533) (d52ce0b)
- properly handle special characters in user-provided IDs (closes #4927, #5561) (#5564) (1fabd68)
- b-form-checkbox-group: only emit
input
when value loosely changes (#5432) (e76d408) - b-form-tags: unit test (#5586) (f4d509a)
- b-icon: use
aria-label
attribute instead ofalt
(#5581) (72a1363) - b-img: Allow empty
alt
prop (fixes #5524) (#5545) (b22829d) - b-table: prevent endless reevaluation when using v-model and object/array literal prop values (#5554) (f127d91)
- b-tags: replace spacing utility with static CSS (fixes #5523) (#5544) (e0de687)
Released: 2020-05-22
- css: update Bootstrap to v4.5.0 (#5395) (ba7a55e)
- icons: update Bootstrap Icons to v1.0.0-alpha4 (#5420) (3208309)
- b-sidebar: add prop
backdrop-variant
(#5411) (4b0c163) - b-link: add support 3rd party router links such as Gridsome's
<g-link>
(closes #2627) (#5358) (6d29e1c) - b-navbar-toggle: add
disabled
prop (#5397) (0b7082b) - v-b-toggle: check for target ID via
href
if a link (#5398) (33e39b0) - types: create declarations for
<b-calendar>
and<b-time>
context event objects (closes #5366) (#5374) (8f3ca30) - support
<nuxt-link>
'sprefetch
property (closes #5125) (#5355) (b9416cb)
- v-b-toggle: don't check for evt.defaultPrevented (closes #5391) (#5396) (a1543b2)
- b-link: default new
<nuxt-link>
propprefetch
tonull
for true tri-state prop (#5357) (3f41c91) - ensure all intervals/timeouts/observers are cleared when component is destroyed (#5362) (064cdf4)
- properly handle HTML props render order (closes #5363) (#5365) (844ecda)
- fix docs CodeSandbox integration (#5381) (a948846)
Released: 2020-05-12
- b-avatar-group: new helper component
<b-avatar-group>
(#5272) (c84faae) - b-nav-item-dropdown: improve default handling of dropdown toggle link (closes #3942) (#5344) (62c6105)
- v-b-toggle: support specifying target ID via directive argument, and array of target IDs via directive value (closes #4834) (#5336) (260ef72)
- b-modal: remove
role="document"
from.modal-content
(#5345) (0c2b406) - perf: avoid useless re-renders of component on parent update (#4825) (2cb3fe0)
- dev dependency upgrades
- docs updates
- upgrade to vue test utils 1.0.x
Released: 2020-05-05
- b-table, b-table-lite, b-table-simple: handle head/foot variant for sticky columns (fixes #5278) (#5279) (53e309e)
- documentation updates
- dev dependency updates
Released: 2020-04-27
- b-calendar, b-form-datepicker: relax
YYYY-MM-DD
string parsing (closes #5232) (#5242) (f362802) - b-form-rating: add
show-value-max
prop to show possible max rating whenshow-value
istrue
(#5200) (e9d54e6) - b-overlay: add support for overlay
click
event (closes #5243) (#5248) (582560f)
- b-avatar: set
align-items: center
for default slot content (fixes: #5205) (#5207) (c4981fd) - b-calendar, b-form-datepicker: minor adjustments to styling and example updates (#5211) (f0d8ffe)
- b-form-datepicker, b-form-timepicker: fix menu padding in button only mode (fixes #5251) (#5252) (d57a643)
- b-form-datepicker, b-form-timepicker: adjust scss to support input-groups (#5231) (7b1adc4)
- b-form-datepicker, b-form-timepicker: prevent duplicate validation icons (fixes #5237) (#5238) (6354e6e)
- types: update table field definition types to include sticky column (fixes #5263) (#5265) (20eb3ac)
- handle nested form options normalization (#5247) (0c57ffe)
- dev dependencies updates
- documentation updates
- new docs domain
https://bootstrap-vue.org/
Released: 2020-04-20
- b-avatar: add support for badges on avatars (#5124) (a2e465b)
- b-avatar: if
variant
is empty string, then remove spacing around image (closes #5154) (#5156) (7ff87fc) - b-calendar, b-form-datepicker: add prop
weekday-header-format
to specify weekday header length (closes #5171) (#5175) (8241644) - b-calendar, b-form-datepicker: add scoped slots for date navigation buttons (closes #5117) (#5147) (5f69864)
- b-form-datepicker: add pass through prop
date-info-fn
(closes #4826) (#5150) (bf35f80) - b-form-rating: new
b-form-rating
custom component (#5132) (30ad7fe) - b-sidebar: add optional backdrop support (#5182) (c6375e5)
- custom components: avoid using padding/margin utility classes where possible (closes #5117) (#5121) (8c6cfe0)
- icons: new
throb
andfade
animations (#5122) (bc0117c)
- b-alert: fix memory leak by using the correct method to clear the countdown timeout (#5158) (7a7f33d)
- b-avatar: fix button type font size inheritance (#5177) (441ebdc)
- b-calendar: use
Intl.NumberFormat
for formatting the number in the date buttons (closes #5171) (#5179) (cbf2cd0) - b-form-datepicker: make datepicker respect
no-highlight-today
prop (#5159) (c4ead33)
- documentation updates
- dev dependency updates
Released: 2020-04-07
- b-avatar: if image
src
fails to load, then show icon, text or fallback icon (#5079) (ed6704d) - b-calendar, b-form-datepicker: add optional decade navigation buttons (addresses #4976) (#5112) (b1f74a8)
- b-calendar, b-form-datepicker: handle keyboard navigation when selected date is out of range (fixes #5057) (#5108) (6ed09f4)
- b-link: don't render
target
orrel
attrs whenrouter-tag
other thana
orarea
provided (#5107) (33c6cef) - tooltip, popover: handle
'click blur'
trigger on iOS webkit browsers (fixes #5099) (#5103) (27da76c)
- additional unit testing
- dev dependencies updates
- minor documentation updates
Released: 2020-04-02
- b-avatar: remove default padding when in button mode (fixes #5073) (#5076) (26377b3)
- b-table: fix context object
currentPage
issue introduced in v2.10.0 (fixes #5065) (#5067) (874dca2)
- dev dependency updates
Released: 2020-04-01
- b-avatar: remove duplicate button variant class (#5056) (9f78f32)
- b-card: handle
header-html
andfooter-html
props correctly (fixes #5038) (#5039) (f378aef) - types: add missing declaration for
b-form-timepicker
(closes #5035) (#5036) (ae84118)
- documentation site improvements and updates
- dev dependency updates
Released: 2020-03-25
- b-aspect: new custom component
<b-aspect>
(#5008) (662c8e0) - b-avatar: add
alt
prop for adding alt attribute to image and icon avatars (closes #4990) (#4991) (d1474f2) - b-dropdown-item-button, b-dropdown-item-button: add
button-class
andlink-class
prop (#5014) (b39d31c) - b-form-datepicker, b-form-timepicker: emit
shown
andhidden
events (#5004) (eb259b9) - b-navbar-toggle: make default slot scoped (#4995) (144d45f)
- Ensure that the
IconsPlugin
is imported when exporting from playground to CodePen, CodeSandbox, and JsFiddle (#5003)
- dev dependency updates
Released: 2020-03-22
- icons: update Bootstrap Icons to v1.0.0.alpha3
(#4966)
(d481365)
- 200+ new icons
skip-*
icon names fixed (closes #4733)document-*
icons renamed tofile-*
alert-*
icons renamed toexclamation-*
columns-gutters
icon renamed tocolumns-gap
diamond
icon renamed togem
because of newdiamond-*
shape icons
- b-avatar: new
<b-avatar>
component (#4974) (b2325a3) - b-form-spinbutton: add slots for increment and decrement button content (closes #4958) (#4963) (5684405)
- docs updates
- dev dependencies updates
Released: 2020-03-14
- b-overlay: new component
b-overlay
(#4907) (134d64d) - b-calendar, b-form-datepicker: add new
initial-date
prop, and constrain today/current month buttons betweenmin
andmax
(closes #4899) (#4906) (1d957eb) - b-form-datepicker, b-form-timepicker: add support for icon button only mode (closes #4888) (#4915) (13660c3)
- b-icon: add animated icon options (closes #4720) (#4934, #4945, #4948) (7c781fa, b786f67, 927c234)
- b-form-file: fix value prop validation when using directory mode (fixes #4912) (#4913) (498a262)
- b-form-file: make sure to catch all errors when resetting the input (#4936) (682bc46)
deps
: update devDependency rollup to 2.0.x- minor docs updates
Released: 2020-03-06
- b-form-spinbutton: respect step value for initial decrement when
wrap
enabled (closes #4884) (#4885) (28e7245)
- documentation updates and fixes
- dev dependency updates
Released: 2020-03-05
- b-calendar, b-form-datepicker: allow customization of in-component displayed date format (closes #4797) (#4835) (85c7e75)
- b-form-datepicker: add
button-content
optionally scoped slot for calendar icon (#4795) (7a00910) - b-form-datepicker: add
calendar-width
prop (closes #4817) (#4822) (91b77bc) - b-pagination, b-pagination-nav: improve aria accessibility - changes to inner structure and aria attributes (closes: #4811, #4160) (#4810) (7ee4baa)
- b-tabs: add ability to provide custom tab button attributes (closes: #4803) (#4806) (c541d3d)
- b-time, b-form-timepicker: new components
b-time
andb-form-timepicker
(#4783) (417ef8f)
- b-form-datepicker: menu focus handling for Firefox and Safari on MacOS, and fix v-model update issue (closes #4814, #4827) (#4824) (09fa920)
- b-form-spinbutton: prevent buttons from re-ordering when parent element is RTL (#4802) (ae2cce9)
- b-form-spinbutton: prevent double increment/decrement on mobile (fixes #4838) (#4842) (9c2c700)
- documentation updates
- dev dependency updates
Released: 2020-02-18
- b-calendar, b-form-datepicker: new components
b-calendar
andb-form-datepicker
(closes #3676, #1428) (#4712) (af0ded0) - b-form-spinbutton: new form control component
b-form-spinbutton
(#4744) (da5e473) - v-b-hover: new directive for reacting to hover changes (#4771) (b7adc6d)
- b-form-tags: improve accessibility for screen reader users (#4775) (2328630)
- b-modal: additional fixes for show transition behaviour (closes #4761) (#4777) (1113c6f)
- documentation updates
- documentation accessibility improvements
- dev dependency updates
Released: 2020-02-15
- b-button: when
href
is "#" addrole=button
and appropriate keydown handlers for A11Y (#4768) (087a128) - b-modal: fix transition show enter timing (closes #4761) (#4766) (968c957)
- documentation updates
- dev dependency updates
Released: 2020-02-12
- b-form-input, b-form-textarea: handle change event for all mobile device keyboards (closes #4724) (#4739) (166a932)
- b-tooltip, v-b-tooltip: fix arrow margin (#4727) (865a655)
- dev dependency updates
- minor docs updates
Released: 2020-02-01
- b-modal: add
ignore-enforce-focus-selector
prop (closes #4537) (#4702) (c3ac992) - b-nav-item-dropdown: add
boundary
prop, applicable when not inb-navbar
(closes #4684) (#4691) (3a50ad8)
- b-dropdown: focus-in handling for Safari and Firefox on macOS/iOS (closes #4328) (#4426) (2eab55b)
- b-form-input, b-form-textarea: properly handle out-of-sync values (closes #4695) (#4701) (954176d)
Released: 2020-01-24
- b-button-close: add
content
prop (#4574) (7379c6d) - b-form-tags: new option to specify input type (closes #4644) (#4645) (b899fac)
- b-pagination, b-pagination-nav: add page button class props and option to show first/last page numbers (closes #4597, #4533) (#4622) (3a3ee1d)
- icons: add stacking support (#4658) (b185cdb)
- v-b-modal: only unbind/rebind during componentUpdated hook if trigger element or modal ID changes (closes #4669) (#4672) (e53a05d)
- utils: pass all Array/Object util shortcuts as functions, for handling late loaded polyfills (#4647) (f584425)
Released: 2020-01-15
- dev dependencies updates
- minor docs updates
Released: 2020-01-13
- icons: make icon transform props work with IE 11 (closes #4607) (#4608) (899779f)
- types: add missing declarations for
b-form-select-option
&b-form-select-option-group
(#4595) (8d60832) - types: include named export BootstrapVue in declaration file (#4590) (603307a)
- modal, tooltips, popovers: remove
nextTick
delay when updating content in transporter portal (closes #4589) (#4604) (0e3e7e0) - utils: correct
identity
spelling error (#4579) (7fed191)
- dev dependencies updates
Released: 2020-01-08
- New optional icon components based on
BootstrapIcons v1.0.0-alpha2
- New tagged input component
<b-form-tags>
- Support for
Bootstrap v4.4.1
CSS/SCSS
- icons: new optional icon components (#4489) (d2bef17)
- b-collapse: add new prop
appear
to animate an initially visible collapse (#4317) (136a72b) - b-collapse: add optional scoping to default slot (#4405) (8e95bac)
- b-container: add support for Bootstrap v4.4.x new responsive containers (0e318f4)
- b-dropdown: add splitClass property to dropdown component (#4394) (a5f342e)
- b-dropdown-form: new
form-class
prop for adding classes to the form element (closes #4474) (#4475) (eef4200) - b-form-select: add group/tree support and dedicated option and option-group components (closes #3222) (#4267) (f1ed017)
- b-form-select: support paths for
valueField
,textField
,htmlField
anddisabledField
props (#4386) (ed3b736) - b-form-tags: new tagged input component (#4409) (00eb9d9)
- b-row: add Bootstrap v4.4 row columns support (#4439) (833b028)
- b-table: better sort labeling for screen readers (closes #4487) (#4488) (d4e66fa)
- b-table, b-table-lite: new
tbody-tr-attr
prop for arbitrary row attributes (closes #1864) (#4481) (4acf6ed) - b-tooltip: add
noninteractive
prop (closes #4556) (#4563) (b3ad726) - build: configure pre-commit hook (closes #4532) (#4552) (1bf9e59)
- b-table, b-table-lite: handle edge case with row events when table is removed from dom. instantiate row event handlers only when listeners are registered (fixes #4384) (#4388) (9a81cd4)
- b-toast: fix internal
ensureToaster
method call when toaster name changes (#4468) (744bb7a) - tooltips, popovers: fix memory leak (closes #4400) (#4401) (c71352d)
- docs: handle undocumented breaking changes in babel-standalone for IE 11 (#4484) (56f8bb5)
Released: 2019-11-12
- auto-generate file
web-types.json
for WebStorm, and filesvetur-tags.json
andvetur-attributes.json
for Vetur (closes #4107) (#4110) (1a3e6a5) - b-dropdown: add
block
support to toggle button (closes #4266) (#4269) (30029e3) - b-form-group: allow setting label cols props to
auto
(closes #4217) (#4218) (21a822b) - b-form-input, b-form-textarea: add
lazy
modifier prop to update v-model on change/blur event (#4169) (55787dd) - b-form-input, b-form-textarea: add
v-model
debouncing feature, and deprecate<b-table>
propfilter-debounce
(closes #4150) (#4314) (3ecdfa2) - b-img, b-img-lazy: add support for
srcset
andsizes
props (closes #4348) (#4350) (f419cb4) - b-pagination, b-pagination-nav: add
pills
style option (#4236) (605d4c4) - b-table: add
selectRow()
andunselectRow()
methods to cell and row-details slot scopes, and new propno-select-on-click
(#4283) (64b881f) - b-table: default the row select feature
selected-variant
to theactive
variant (#4128) (af372b0) - b-table, b-table-lite: add in head/foot row variant prop (addresses #4215) (#4216) (b222c7c)
- b-table, b-table-lite: add prop
details-td-class
for applying classes to the details row<td>
(#4276) (702a1ef) - b-tabs: emit cancelable BvEvent before changing tabs via new
activate-tab
event (closes #4273) (#4274) (9b195dd) - v-b-visible: make
v-b-visible
directive available for public use (#4318) (5fa7e22)
- b-dropdown: handle issue with touch devices on MacOS using Safari/Firefox (Fixes #4328, #4344) (#4329) (2779a0a)
- b-nav-form, b-nav-text: ensure these sub-components have
<li>
as root element for accessibility (#4100) (6774800) - b-pagination, b-pagination-nav: add UP/DOWN keyboard navigation support for JAWS (fixes #4322) (#4325) (c686088)
- b-table, b-table-lite, b-table-simple: fix issue with sticky columns when table is not responsive but has sticky headers (fixes #4354) (#4356) (56b3958)
- b-table, b-table-lite, b-tbody: fix delegated event handlers when transition + minor
adjustment to row
key
generation (fixes #4370, #4360) (#4372) (030a3d8) - b-tabs: allow space to trigger tab activation when
no-key-nav
is enabled (fixes #4323) (#4326) (731365b) - v-b-modal: ensure trigger element is keyboard accessible if not a link or button, for A11Y (#4365) (f54ca29)
- v-b-modal: open modal using
ENTER
key on non-button elements for A11Y (#4364) (0d27d7b) - v-b-tooltip, v-b-popover: ensure reference to trigger element is passed to title/content function (fixes #4331) (#4332) (ea0cbda)
- v-b-visible: fix type error in
componentUpdated
hook + minor docs update/fixes (#4327) (5f3ba9e) - web-types: update web-types code generation to match latest schema (#4271) (009431e)
- b-table: deprecate prop
filter-debounce
in favour ofb-form-input
debouncing - documentation updates and fixes
Released: 2019-10-11
- b-carousel: disable the next/prev controls when the carousel is sliding (closes #4210) (#4212) (64d556d)
- b-dropdown-form: fix SCSS styling when placed in a nav dropdown (fixes #4220) (#4223) (b852bba)
- types: correct the declared export name for
BCardSubTitle
component (#4229) (9f216df)
- b-table, b-table-lite: improve render performance for large tables (closes #4211, #4155) (#4213) (f3f42f2)
- add
"sass"
entry inpackage.json
- minor docs fixes and updates
Released: 2019-10-05
- b-form-file: fix prop type checking for
value
prop (#4168) (a8e2e56) - b-nav-item-dropdown: focus-out handling when new focus comes from another
dropdown-toggle
(closes #4113) (#4139) (9c37875) - b-table: minor code optimizations to filter debouncing (#4167) (018eef1)
- b-table, b-table-lite, b-table-simple: disable sticky header max-height on printers / print media (#4147) (24c62c5)
- b-tooltip, b-popover: add
SVGElement
as acceptable prop type (closes #4173) (#4174) (fab7fea) - v-b-modal: bind to inner link or button for dropdown items or nav items (fixes #4149) (#4187) (5c28bd2)
- b-table, b-table-lite: delegate row event handlers to the tbody element (#4192) (3f0d46a)
- tables: make
b-th
extendb-td
instead of using functional wrappers (#4156) (c9715a8) - tables: improve provide/inject performance (addresses #4155) (#4164) (152fefc)
- add prop descriptions to component reference tables (closes #3647) (#4161) (fdd2a83)
- add quick links (page table of contents) to docs pages for small screens, and add table of contents to section index pages (instead of a redirect to first child page) (#4145) (22268aa)
Released: 2019-09-20
This patch release includes a few minor bug fixes and documentation updates.
- b-popover, b-tooltip: ensure prop
boundary-padding
is passed to popper instance (fixes #4131) (#4133) (a54a647) - b-collapse: make
id
prop not required (#4109) (4f935ce) - tables: add in missing Bootstrap variant class
bg-active
for dark tables (#4098) (d9900ab) - tables: ensure row variant
active
(classtable-active
) takes precedence over other row variants (addresses #3008) (#4127) (fdb8bb6) - tooltips, popovers: hide trigger element
title
attribute during show delay (fixes #4114) (#4120) (2dd8d5a)
Released: 2019-09-13
This patch release includes a few minor bug fixes and documentation updates.
- b-media: fix vertical align class when
top
orbottom
selected (fixes #4052) (#4055) (9ccfe4c) - b-table: handle filter as an object when using items provider, and prevent duplicate provider calls on mount (fixes #4065) (#4068) (9ddd115)
- b-table: remove extra slashes in mixins imports (#4087) (77f5be1)
- tooltips, popovers: check
document.body
instead ofdocument
for IE 11 support (fixes #4074) (#4075) (1eda4fe) - v-b-tooltip, v-b-popover: add missing
disabled
config option (#4057) (f488dc1) - v-b-tooltip, v-b-popover: don't show if no title/content provided (closes #4064) (#4076) (0b7de29)
Released: 2019-09-06
BootstrapVue 2.0.0 stable introduces several new features and bug fixes. Please note that this release also includes several breaking changes.
Notable improvements:
- Tooltips and popovers have been completely re-written for better reactivity and stability. The
directive versions are now reactive to trigger element
title
attribute changes and configuration changes. The component versions now perform better when quickly hovering/un-hovering the trigger element. Component and directive versions now have a default delay of50
ms (affects'hover'
and'focus'
triggers only). They can now have a trigger of'manual'
(when used by itself) of which they can only be opened or closed programmatically. Users can now optionally specify the ID that the tooltip or popover uses. For accessibility reasons, thetitle
attribute is removed from the trigger element (target) only when the tooltip or popover is showing, and is restored when hidden. - Modals, tooltips, popovers, and toasts now work with scoped style classes (requires the use of
vue-loader's
/deep/
,::v-deep
or>>>
deep selectors for targeting inner elements, just like with any other component). - New SVG background image based sorting indicator icons for
<b-table>
, with the ability to place them on either the right (default) or left of the table cell headers (via a new prop). - Programmatic selection of
<b-table>
selectable rows. - Ability to provide your own custom footer structure for
<b-table>
and<b-table-lite>
.
Please carefully read the following before upgrading to v2.0.0 stable!
- Vue
2.6
+ is now required at a minimum,2.6.10
+ is recommended. Some components will fail to work as expected if using Vue2.5
(notably tooltips and popovers, but other components may be affected as well). - All deprecated features have been removed in v2.0.0 stable in order to reduce bundle size and simplify code.
Two notable breaking changes are:
- changes to the table slot naming syntax: the table slot syntax introduced in rc.28 has been
modified in v2.0.0 stable for better compatibility with the new Vue
v-slot
syntax and its limitations (which currently are not documented in the Vue.JS docs). - the removal of the deprecated
/es
build directory: Users should now be importing the new top-level named exports when importing individual components, directives, and plugins.
Read the following migration guide for more details.
- Removal of the deprecated
/es
build directory. Users should now be using the new simplified import syntax introduced in v2.0.0-rc.22. Users should be importing the top-level named exports instead. b-dropdown
: removal of deprecatedtext
slot. Use thebutton-content
slot instead.b-form-*
controls,b-form-group
,b-form-invalid-feedback
andb-form-valid-feedback
: validation propstate
now only acceptstrue
,false
, ornull
values. Passing the strings'invalid'
or'valid'
will no longer work.b-form-group
: removal of the deprecatedhorizontal
andbreakpoint
props. Use propslabel-cols{-{breakpoint}}
instead.b-img-lazy
,b-card-img-lazy
: now rely only onIntersectionObserver
support (native or via a polyfill) to determine when to show the image. IfIntersectionObserver
support is not detected, then the image will always be shown. Use a polyfill if you need to support older browsers (e.g. IE 11)b-modal
: the deprecatedBvModalEvent
methodcancel()
has been removed. Use the methodpreventDefault()
instead.b-modal
: the deprecatedBvModalEvent
propertymodalId
has been removed. Use the propertycomponentId
instead.b-nav
: removal of the deprecatedis-nav
prop. Useb-navbar-nav
component instead when placing navs inb-navbar
.b-nav-item-dropdown
: deprecated propsextra-menu-classes
andextra-toggle-classes
have been removed. Used propsmenu-class
andtoggle-class
(respectively) instead.b-table
andb-table-lite
: table cell field, header and footer scoped slot naming convention has changed. Users should be using the new table round bracketed slot naming syntax: use slotcell(field)
instead offield
or[field]
, use slothead(field)
instead ofHEAD_field
orHEAD[field]
, usefoot(field)
instead ofFOOT_field
orFOOT[field]
. This change was required for better compatibility with the new Vuev-slot
syntax. The square bracket syntax introduced in2.0.0-rc.28
has been replaced with the round bracket syntax to reduce possible confusion and potential future issues with Vue 2.6's new dynamic slot name syntax.b-table
: thefilter
prop will no longer accept a function reference (previously deprecated). Instead, pass a function to thefilter-function
prop when using a custom filter function. The propfilter
is only to be used for the filter's criteria (i.e. the search value, searchRegExpr
, etc.).b-table
: passing an object as afields
definition will no longer work. Use the array of strings or array of objects (or a combination of the two) fields definition format instead.b-table
: sorting icon SASS variables have been changed to handle the new SVG backgrounds. If you previously had custom CSS styling/icons, they will not work as expected - but sorting will still work. the SVG backgrounds can be controlled via SASS variables.b-tab
: removal of deprecatedhref
prop. Use<b-nav>
for controlling panes that change with URL changes.b-tabs
: removal of deprecatedtabs
slot. Use slottabs-end
instead.b-tabs
: removal of deprecatedbottom
prop. Use theend
prop instead.- Tooltip SCSS: deprecated variable
$bv-tooltip-bg-level
has been removed. Use variable$b-tooltip-bg-level
instead. - Popover SCSS: deprecated variables
$bv-popover-bg-level
,$bv-popover-border-level
, and$bv-popover-color-level
have been removed. Use variables$b-popover-bg-level
,$b-popover-border-level
, and$b-popover-color-level
(respectively) instead.
Please refer to the documentation for the latest usage and examples, and below for a list of fixes and new features.
- b-dropdown-*: ensure class bindings are placed on root element for all dropdown sub-components (closes #4022) (#4024) (81efb89)
- b-form-textarea: handle initial auto-height when in modal, tabs, or other component with
transition or which uses
v-show
(fixes #3936, #3702) (#3937) (be3ac62) - b-link: only add the
nativeOn
property to componentData when rendering a router link (#3976) (62fb0b6) - b-modal: ensure non-prop attributes are transferred to the modal outer wrapper
div
(closes #3896) (#3921) (8bf3a55) - b-modal: fix scroll to top issue when modal has
no-fade
set (#4004) (332b79f) - b-table, b-table-lite: handle edge case where field slot returns no vNodes (fixes #3919) (#3920) (a392059)
- b-table, b-table-lite: render header when not always stacked mode (fixes #3886) (#3887) (2302b31)
- b-table, b-table-lite: generate
:key
forrow-details
row based on theprimary-key
field value if available (#4025) (c7cb16f) - v-b-toggle: don't override
role
if element has arole
assigned (#3889) (5d155ba) - tooltip, popover: overall code refactor for better reactivity and performance (fixes: #1990, #2937, #3480, #3717, #3854, closes #3451) (#3908) (eebab43)
- b-carousel: add prop
no-wrap
for disabling wrapping to start/end (closes #3902) (#3905) (2c8bd23) - b-dropdown: add
role=presentation
to<li>
elements for improved a11y (#3996) (464d257) - b-img-lazy: switch IntersectionObserver to use private
v-b-visible
directive (#3977) (249ccfa) - b-modal: add scoped style support when portalled (non-static modal) (#3962) (77ad6b9)
- b-nav: add card header support (#3883) (4046a53)
- b-pagination: if number of pages changes, try and keep current page active (closes #3716) (#3990) (ae8ce78)
- b-modal: add prop for auto focusing one of the built in-buttons once
shown
(closes #3945) (#3979) (6f2827e) - b-table: allow field definition properties
filterByFormatted
andsortByFormatted
to accept a formatter function reference (closes #3892) (#3898) (5492b38) - b-table: new sorting icons using SVG, plus option to place icon on left of header cell (closes #3687, #3696, #3918, #3966) (#3968) (c4442f4)
- b-table: add
filter-debounce
prop for debouncing filter updates (#3891) (03536a5) - b-table: add
selectAllRows()
andclearSelected()
to thead/tfoot slot scopes (addresses #3901) (#3907) (86c53dd) - b-table, b-table-lite: switch slot name syntax to use round brackets instead of square brackets (#3986) (fca7bd5)
- b-table, b-table-lite: remove deprecated slot names, introduce new slot names (#3866) (249efd9)
- b-table, b-table-lite: use
aria-details
rather thanaria-describedby
when details row showing (addresses #3801) (#3992) (f6f73c7) - b-table, b-table-lite: add support for custom header attributes (closes #2244) (#3876) (8784f31)
- b-table, b-table-lite: add new scoped slot
custom-foot
to allow user to create their own table footer (closes #3960) (#4027) (cbeeef9) - b-table, b-table-lite, b-table-simple: add
no-border-collapse
prop and SCSS (#3987) (253b4f6) - b-toast: add support for scoped styles (#3963) (ca1b5de)
- tooltip, popover: overall code refactor for better reactivity and performance (fixes: #1990, #2937, #3480, #3717, #3854, closes #3451) (#3908) (eebab43)
- b-dropdown: remove deprecated slot
text
(#3868) (29eb8b1) - b-form-group: remove deprecated prop
horizontal
andbreakpoint
(#3879) (b301822) - b-nav, b-nav-item-dropdown: remove deprecated slot and props (#3867) (21fab35)
- b-modal: remove
BvModalEvent
deprecations (#3864) (90c299c) - b-table, b-table-lite: switch slot name syntax to use round brackets instead of square brackets (#3986) (fca7bd5)
- b-table, b-table-lite: remove deprecated slot names, introduce new slot names (#3866) (249efd9)
- b-tabs: remove deprecations (#3863) (0edac49)
- tooltip/popover: remove SCSS deprecations (#3869) (bea49d4)
- build: remove deprecated
es/
build (#3604) (3828f59)
For prior release notes and commits, please refer to the CHANGELOG-OLD file.