New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: release 2.0.0 stable #3862
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #3862 +/- ##
==========================================
+ Coverage 99.3% 99.86% +0.55%
==========================================
Files 233 238 +5
Lines 4485 4475 -10
Branches 1270 1257 -13
==========================================
+ Hits 4454 4469 +15
+ Misses 25 5 -20
+ Partials 6 1 -5
Continue to review full report at Codecov.
|
…ed a11y (#3996) * chore(dropdown): add `role=presentation` to `<li>` elements * Update dropdown-form.js * Update dropdown-group.js * Update dropdown-header.js * Update dropdown-item-button.js * Update dropdown-item.js * Update dropdown-text.js
jacobmllr95
approved these changes
Sep 1, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Preparation for release 2.0.0 stable
Live preview: https://deploy-preview-3862--bootstrap-vue.netlify.com/
Once 2.0.0 stable is released, we will be following standard release versioning:
Notable changes
Breaking changes and deprecated features removal
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.
Two notable breaking changes are:
v-slot
syntax and its limitations./es
build directory. Users should be importing the new top level named exports.Read below for more details.
Migration notes:
/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 relies only onIntersectionObserver
support (native or via 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 (i.e. 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 slot naming convention has changed. Users should be using the new table round bracketed slot naming syntax. Use slotcell(field)
instead offield
,head(field)
instead ofHEAD_field
, usefoot(field)
instead ofFOOT_field
. The changes were required for better compatibility with the new Vuev-slot
syntax. Note thathead
,foot
andcell
must be lower case. The square bracket syntax introduced in 2.0.0-rc.28 has been replaced with the round bracket syntax to reduce possible confusion and issues with Vue's 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 filter criteria (i.e. the search value, search RegEp, 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) fields definition format instead.b-table
: sorting icon SASS variables have been changed to handle new SVG backgrounds. If you had custom CSS styling/icons, they will not work as before but sorting will still work.b-tabs
: removal of deprecatedtabs
slot. Use slottabs-end
instead.b-tabs
: removal of deprecatedbottom
prop. Use theend
prop insteadb-tab
: removal of deprecatedhref
prop.$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.Fixes
b-link
: only add thenativeOn
property to componentData when rendering a router linkb-form-textarea
: handle initial auto-height when in modal or other component with transition or usesv-show
directive. RequiresIntersectionObserver
support (silently fails if not supported or no polyfill)b-modal
: ensure non-prop attributes are transferred to the modal outer wrapperdiv
b-modal
: fix scroll to top issue when modal hasno-fade
setb-table
,b-table-lite
: render header/footer when not always stacked modeb-table
,b-table-lite
: handle edge case where field slot returns no vNodesb-table
: fix issues with sorting icons by replacing them with SVG backgroundsv-b-toggle
: don't overriderole
if element has arole
assigned'hover'
(or'focus'
), one can now move the mouse over (or move focus to) the tooltip/popover and it will remain opentitle
attribute changes and config option changes while the tooltip or popover is openFeatures
b-modal
: Uses can now uses scoped style classes. users will still need to use the vue-loader/deep/
(or::v-deep
or>>>
) selector to target inner elements of the modal.b-modal
: add prop for auto focusing one of the built in-buttons onceshown
. Works with modal message boxes as well. acceptable values are'ok'
,'cancel'
(both in the default footer), or'close'
(thex
button in header)b-nav
: add card header supportb-pagination
: if number of pages changes, try and keep current page activeb-table
,b-table-lite
: add support for custom header attributesb-table
,b-table-lite
,b-table-simple
: addno-border-collapse
prop and associated SCSS. Mainly for use with sticky headers and columns.b-table
: allow field definition propertiesfilterByFormatted
andsortByFormatted
to accept a formatter function referenceb-table
: addfilter-debounce
prop for debouncing filter updatesb-table
: new sorting icons using SVG backgrounds, plus option to place icon on left of header cellb-toast
: Uses can now uses scoped style classes. users will still need to use the vue-loader/deep/
(or::v-deep
or>>>
) selector to target inner elements of the toast.variant
andcustom-class
are reactive and can be changed while tooltip is opencustom-class
can now be a scoped style, but note that one still needs the vue-loader/deep/
(or::v-deep
or>>>
) selector to target the inner elements of the tooltip or popover.50
ms (delays are applicable forhover
andfocus
only), which will help reduce "spastic" tooltips/popovers.triggers
to'manual'
which allows only programmatic showing/hiding of tooltips and popovers$root
events can use this ID to open/close/enable/disable the tooltip/popover. Use of the trigger element's ID works as well.<transition>
component. Previously tooltips and popovers could not take advantage of Vue's<transition>
component. The use of the<transition>
component has greatly reduced the lines of code required, at the expense of a few new lines of custom SCSS.Other To Do's
v-slot
slot/slot-scope syntaxv-slot
syntax (spaces in slot names, uppercase issues with browser templates, etc)