[Snyk] Upgrade bootstrap-vue from 2.0.0-rc.13 to 2.0.1 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade
bootstrap-vue
from 2.0.0-rc.13 to 2.0.1.Release notes
Released: 2019-09-13
Please see the changelog for a complete list of commits, and the online documentation for usage.
Bug Fixes v2.0.1
top
orbottom
selected (fixes #4052) (#4055) (9ccfe4c)document.body
instead ofdocument
for IE11 support (fixes #4074) (#4075) (1eda4fe)disabled
config option (#4057) (f488dc1)Released: 2019-09-06
Please see the changelog for a complete list of commits, and the online documentation for usage.
BoootstrapVue 2.0.0 stable introduces several new features and bug fixes. Please note that this release also includes several breaking changes.
Notable improvements:
title
attribute changes and configuration changes. The component versions now perform better when qucikly hovering/unhovering 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./deep/
,::v-deep
or>>>
deep selectors for targeting inner elements, just like with any other component).<b-table>
, with the ability to place them on either the right (default) or left of the table cell headers (via a new prop).<b-table>
selctable rows.<b-table>
and<b-table-lite>
.Breaking changes and deprecated features removal v2.0.0
Please carefully read the following before upgrading to v2.0.0 stable!
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).Two notable breaking changes are:
v-slot
syntax and its limitations (which currently are not documented in the Vue.JS docs)./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.
Migration guide v2.0.0
/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. IE11)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.$bv-tooltip-bg-level
has been removed. Use variable$b-tooltip-bg-level
instead.$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.
Bug Fixes v2.0.0
v-show
(fixes #3936, #3702) (#3937) (be3ac62)nativeOn
property to componentData when rendering a router link (#3976) (62fb0b6)div
(closes #3896) (#3921) (8bf3a55)no-fade
set (#4004) (332b79f):key
forrow-details
row based on theprimary-key
field value if available (#4025) (c7cb16f)role
if element has arole
assigned (#3889) (5d155ba)#3717, #3854, closes #3451) (#3908) (eebab43)
Features v2.0.0
no-wrap
for disabling wrapping to start/end (closes #3902) (#3905) (2c8bd23)role=presentation
to<li>
elements for improved a11y (#3996) (464d257)v-b-visible
directive (#3977) (249ccfa)(4046a53)
shown
(closes #3945) (#3979) (6f2827e)filterByFormatted
andsortByFormatted
to accept a formatter function reference (closes #3892) (#3898) (5492b38)filter-debounce
prop for debouncing filter updates (#3891) (03536a5)selectAllRows()
andclearSelected()
to thead/tfoot slot scopes (addresses #3901) (#3907) (86c53dd)aria-details
rather thanaria-describedby
when details row showing (addresses #3801) (#3992) (f6f73c7)custom-foot
to allow user to create their own table footer (closes #3960) (#4027) (cbeeef9)no-border-collapse
prop and SCSS (#3987) (253b4f6)Depreaction removals v2.0.0
text
(#3868) (29eb8b1)horizontal
andbreakpoint
(#3879) (b301822)BvModalEvent
deprecations (#3864) (90c299c)es/
build (#3604) (3828f59)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
: resettouchDeltaX
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 itemid
andaria-controls
bugFeatures
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 forsort-compare-locale
andsort-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.b-tbody
,b-thead
,b-tfoot
,b-tr
,b-th
, andb-td
), plus newsort-null-last
andtable-variant
props.sticky-header
.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
andb-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 nameddefault
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!Please see the changelog for a complete list of commits, and the online documentation for usage.
Notable changes
Fixes
b-modal
: ensure header is read for accessibility with JAWS screen readerb-nav-item-dropdown
: clicking toggle a second time should close menub-table
: fix IE11 edge case where custom inputs were not clickable in clickable/sortable cellstooltip
,popover
: handle case where tooltips are applied to dropdowns, obscuring the menu in some cases. Tooltips/popover now auto-hide when the menu opens.Features
b-dropdown
: new propsplit-button-type
to specify button type for the split buttonb-modal
: for accessibility, read only modal title and not whole header + additional A11Y optionsb-tabs
: add newtabs-start
slot for prepending extra contentless tab buttons. Deprecatetabs
slot in favour of newtabs-end
slot.Other
Please see the changelog for a complete list of commits, and the online documentation for usage.
Notable changes:
Fixes
b-collapse
: fix memory leak from$root
listenerb-table
: add clearfix to table cells in case label wraps in stacked mode on small screensFeatures
b-dropdown
,b-nav-item-dropdown
: add newlazy
prop (for improved performance if you have many dropdowns in a single component/app)tooltip
,popover
: add support for contextual variants and custom class (components and directives), and configurable via SCSS vars, and bootstrap SCSS theme maps.Performance
b-link
: convert from functional component to regular component (reduces computation time for generating click handlers during render/re-render)core-js
orpolyfill.io
polyfills.Types
bv-toast
: addnoCloseButton
property toBvToastOptions
declaration fileOther
Deprecation
Users should switch to the simplified import syntax (introduced in
v2.0.0-rc.22
) when importing individual plugins, components, and/or directives. Importing from thees/
build directory has been deprecated and will be removed in 2.0.0 stable release.Please see the changelog for a complete list of commits, and the online documentation for usage.
Notable changes
Fixes
b-input-group
: fix kebab-case prop names forprepend-html
andappend-html
.b-table
,b-table-lite
: adjustments to sort icon SCSS positioning, which fixes issues with placing dropdowns in table header cells.Features
b-tooltip
,b-popover
: remove need for route watcher, preventing open tooltip/popover from closing if child route changes and trigger element is still in document.b-table
,b-table-lite
: don't renderthead
ortfoot
if no detected fields (for accessibility reasons).b-table
: allow sorting of virtual fields that have a formatter function + support optionallocalCompare
options.b-tabs
: emit newchanged
event whenever tabs added, removed or re-ordered.Other
devDependency
anddependency
updatesDeprecation
Users should switch to the simplified import syntax (introduced in
v2.0.0-rc.22
) when importing individual plugins, components, and/or directives. Importing from thees/
build has been deprecated and will be removed in 2.0.0 stable release.Please see the changelog for a complete list of commits, and the online documentation for usage.
Notable changes
Fixes
b-table
: ensurectx.sortBy
is an empty string when no sort key selectedb-table-lite
: add checks to helper mixins for existence ofstopIfBusy
methodb-tabs
: handle edge case when registered tabs change ordertransformAssetUrls
value forb-card-img
and in reference docsof
operator where possibleFeatures
Deprecation
Users should switch to the simplified import syntax (introduced in
v2.0.0-rc.22
) when importing individual plugins, components, and/or directives. Importing from thees/
build has been deprecated and will be removed in 2.0.0 stable release.Please see the changelog for a complete list of commits, and the online documentation for usage.
Fixes
b-dropdown
: close dropdown when clicking on nested elements inside dropdown items withto
propbform-input
,b-form-textarea
: handle case where input has been removed from document during a browser auto-completeb-modal
: fix IE11 issue with copy/paste from modal into MS Wordb-modal
: properly render*-html
props if providedb-modal
: ensureignoreBackdropClick
flag is properly cleared inclickOut
handlerb-pagination-nav
: attempt to re-auto-detect current page whenpages
array ornumber-of-pages
changesb-table
: ensure provider is refreshed whenfilter
is an objectb-tabs
: improve childb-tab
detection routine - fixes when using extendedb-tab
child components and fixes bug when specifying an ID on eachb-tab
childvue-functional-data-merge
to^3.1.0
(to fix handle nested style strings passed to functional components)BInputGroup
to TypeScript definitionsFeatures
b-table-lite
: new light-weight table component<b-table-lite>
for displaying simple tabular data, without all the heavier features of<b-table>
Deprecation
Users should switch to the simplified import syntax (introduced in
v2.0.0-rc.22
) when importing individual plugins, components, and/or directives. Importing from thees/
build has been deprecated and will be removed in 2.0.0 stable release.2.0.0-rc.22 (2019-05-31)
Please see the changelog for a complete list of commits, and the online documentation for usage.
Notable changes
The ESM and CJS builds now both include these top level named exports.
es/
build directory (changed in v2.0.0-rc.21) back to mini-commonjs modules (from true ES modules) due to issues with Nuxt.js dev mode and some webpack builds expecting CJS format when cherry-picking individual components, directives and plugins from sub-directories.es/
build has been deprecated in favour of the neweresm
andcjs
builds, which allows for importing individual components, directives and plugins from top-level named exports. Users are encouraged to update their imports to the new syntax.Fixes
b-modal
: usesafeId()
when comparingid
received by hide/show handlerb-tabs
: fix regression with dynamically added tabs not showingform controls
: handle autofocus when inside a modal (or when inside a transition)nuxt
module: use bundle new esm build of bootstrap-vuetypes
: fix typing of BvComponent and BvPlugines/
directory build, revert to mini-cjs modules (notees/
dir is now deprecated)Features
b-button
: new propsquared
for generating buttons with squared cornersb-tooltip
,b-popover
: allow global delay customization via configimport { ModalPlugin, CardPlugin, BAlert, BRow, BCol, VBScollspyPlugin } from 'bootstrap-vue'
esm/
modular build with top-level named exports (tree shakeable)dist/bootstrap-vue.esm.js
esm bundle with top-level named exportsdist/bootstrap-vue.common.js
bundle with top-level named exportstransformAssetUrls
settings for BootstrapVue component props.2.0.0-rc.21 (2019-05-26)
Please see the changelog for a complete list of commits, and the online documentation for usage.
Notable changes
Fixes
b-alert
: handle case where dismiss countdown changes to a boolean valueb-dropdown
: delay opening of dropdown via $nextTick when using the.show()
methodb-input-group
: fix issue with append slotb-input-group
: use same input-group-prepend/append for both props and slotsb-modal
: delay initially open modal via nextTick when using v-model or visible propb-tabs
: fix regression when tabs are rendered in a lazy modalb-toaster
: CSS fix for IE11 supportinstallFactory
for mainBootstrapVue
plugin installerFeatures
b-img-lazy
: add support for IntersectionObserver (default, with fallback to scroll events if Intersection Observer not available)b-modal
: use custom transporter component for portalling contentb-tooltip
,b-popover
: addfallback-placement
propb-table
: don't use cssgrid
for stacked table SCSS - for IE11 compatibilityautofocus
prop that will auto-foucs the input when the component is inserted into the DOM'Multiple Vue instances detected'
when testing in vue-test-utils + JSDOMAccessibility
b-toast
: prevent duplicate toast announcements for screen readersOther
from
bootstrap-vue
GitHub Release Notes馃 View latest project report
馃洜 Adjust upgrade PR settings
馃敃 Ignore this dependency or unsubscribe from future upgrade PRs