🌐 AI搜索 & 代理 主页
Skip to content

Commit 2ed2fde

Browse files
authored
chore: release v2.1.0
chore: release v2.1.0
2 parents 7b16a72 + d998b84 commit 2ed2fde

File tree

96 files changed

+4135
-993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+4135
-993
lines changed

CHANGELOG.md

Lines changed: 117 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,115 @@
44
> [standard-version](https://github.com/conventional-changelog/standard-version) for commit
55
> guidelines.
66
7+
<a name="2.1.0"></a>
8+
9+
## [v2.1.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.0.4...v2.1.0)
10+
11+
Released: 2019-11-12
12+
13+
### Features v2.1.0
14+
15+
- auto-generate file `web-types.json` for WebStorm, and files `vetur-tags.json` and
16+
`vetur-attributes.json` for Vetur (closes
17+
[#4107](https://github.com/bootstrap-vue/bootstrap-vue/issues/4107))
18+
([#4110](https://github.com/bootstrap-vue/bootstrap-vue/issues/4110))
19+
([1a3e6a5](https://github.com/bootstrap-vue/bootstrap-vue/commit/1a3e6a5))
20+
- **b-dropdown:** add `block` support to toggle button (closes
21+
[#4266](https://github.com/bootstrap-vue/bootstrap-vue/issues/4266))
22+
([#4269](https://github.com/bootstrap-vue/bootstrap-vue/issues/4269))
23+
([30029e3](https://github.com/bootstrap-vue/bootstrap-vue/commit/30029e3))
24+
- **b-form-group:** allow setting label cols props to `auto` (closes
25+
[#4217](https://github.com/bootstrap-vue/bootstrap-vue/issues/4217))
26+
([#4218](https://github.com/bootstrap-vue/bootstrap-vue/issues/4218))
27+
([21a822b](https://github.com/bootstrap-vue/bootstrap-vue/commit/21a822b))
28+
- **b-form-input, b-form-textarea:** add `lazy` modifier prop to update v-model on change/blur event
29+
([#4169](https://github.com/bootstrap-vue/bootstrap-vue/issues/4169))
30+
([55787dd](https://github.com/bootstrap-vue/bootstrap-vue/commit/55787dd))
31+
- **b-form-input, b-form-textarea:** add `v-model` debouncing feature, and deprecate `<b-table>`
32+
prop `filter-debounce` (closes
33+
[#4150](https://github.com/bootstrap-vue/bootstrap-vue/issues/4150))
34+
([#4314](https://github.com/bootstrap-vue/bootstrap-vue/issues/4314))
35+
([3ecdfa2](https://github.com/bootstrap-vue/bootstrap-vue/commit/3ecdfa2))
36+
- **b-img, b-img-lazy:** add support for `srcset` and `sizes` props (closes
37+
[#4348](https://github.com/bootstrap-vue/bootstrap-vue/issues/4348))
38+
([#4350](https://github.com/bootstrap-vue/bootstrap-vue/issues/4350))
39+
([f419cb4](https://github.com/bootstrap-vue/bootstrap-vue/commit/f419cb4))
40+
- **b-pagination, b-pagination-nav:** add `pills` style option
41+
([#4236](https://github.com/bootstrap-vue/bootstrap-vue/issues/4236))
42+
([605d4c4](https://github.com/bootstrap-vue/bootstrap-vue/commit/605d4c4))
43+
- **b-table:** add `selectRow()` and `unselectRow()` methods to cell and row-details slot scopes,
44+
and new prop `no-select-on-click`
45+
([#4283](https://github.com/bootstrap-vue/bootstrap-vue/issues/4283))
46+
([64b881f](https://github.com/bootstrap-vue/bootstrap-vue/commit/64b881f))
47+
- **b-table:** default the row select feature `selected-variant` to the `active` variant
48+
([#4128](https://github.com/bootstrap-vue/bootstrap-vue/issues/4128))
49+
([af372b0](https://github.com/bootstrap-vue/bootstrap-vue/commit/af372b0))
50+
- **b-table, b-table-lite:** add in head/foot row variant prop (addresses
51+
[#4215](https://github.com/bootstrap-vue/bootstrap-vue/issues/4215))
52+
([#4216](https://github.com/bootstrap-vue/bootstrap-vue/issues/4216))
53+
([b222c7c](https://github.com/bootstrap-vue/bootstrap-vue/commit/b222c7c))
54+
- **b-table, b-table-lite:** add prop `details-td-class` for applying classes to the details row
55+
`<td>` ([#4276](https://github.com/bootstrap-vue/bootstrap-vue/issues/4276))
56+
([702a1ef](https://github.com/bootstrap-vue/bootstrap-vue/commit/702a1ef))
57+
- **b-tabs:** emit cancelable BvEvent before changing tabs via new `activate-tab` event (closes
58+
[#4273](https://github.com/bootstrap-vue/bootstrap-vue/issues/4273))
59+
([#4274](https://github.com/bootstrap-vue/bootstrap-vue/issues/4274))
60+
([9b195dd](https://github.com/bootstrap-vue/bootstrap-vue/commit/9b195dd))
61+
- **v-b-visible:** make `v-b-visible` directive available for public use
62+
([#4318](https://github.com/bootstrap-vue/bootstrap-vue/issues/4318))
63+
([5fa7e22](https://github.com/bootstrap-vue/bootstrap-vue/commit/5fa7e22))
64+
65+
### Bug Fixes v2.1.0
66+
67+
- **b-dropdown:** handle issue with touch devices on MacOS using Safari/Firefox (Fixes
68+
[#4328](https://github.com/bootstrap-vue/bootstrap-vue/issues/4328),
69+
[#4344](https://github.com/bootstrap-vue/bootstrap-vue/issues/4344))
70+
([#4329](https://github.com/bootstrap-vue/bootstrap-vue/issues/4329))
71+
([2779a0a](https://github.com/bootstrap-vue/bootstrap-vue/commit/2779a0a))
72+
- **b-nav-form, b-nav-text:** ensure these sub-components have `<li>` as root element for
73+
accessibility ([#4100](https://github.com/bootstrap-vue/bootstrap-vue/issues/4100))
74+
([6774800](https://github.com/bootstrap-vue/bootstrap-vue/commit/6774800))
75+
- **b-pagination, b-pagination-nav:** add UP/DOWN keyboard navigation support for JAWS (fixes
76+
[#4322](https://github.com/bootstrap-vue/bootstrap-vue/issues/4322))
77+
([#4325](https://github.com/bootstrap-vue/bootstrap-vue/issues/4325))
78+
([c686088](https://github.com/bootstrap-vue/bootstrap-vue/commit/c686088))
79+
- **b-table, b-table-lite, b-table-simple:** fix issue with sticky columns when table is not
80+
responsive but has sticky headers
81+
(fixes [#4354](https://github.com/bootstrap-vue/bootstrap-vue/issues/4354))
82+
([#4356](https://github.com/bootstrap-vue/bootstrap-vue/issues/4356))
83+
([56b3958](https://github.com/bootstrap-vue/bootstrap-vue/commit/56b3958))
84+
- **b-table, b-table-lite, b-tbody:** fix delegated event handlers when transition + minor
85+
adjustment to row `key` generation (fixes
86+
[#4370](https://github.com/bootstrap-vue/bootstrap-vue/issues/4370),
87+
[#4360](https://github.com/bootstrap-vue/bootstrap-vue/issues/4360))
88+
([#4372](https://github.com/bootstrap-vue/bootstrap-vue/issues/4372))
89+
([030a3d8](https://github.com/bootstrap-vue/bootstrap-vue/commit/030a3d8))
90+
- **b-tabs:** allow space to trigger tab activation when `no-key-nav` is enabled (fixes
91+
[#4323](https://github.com/bootstrap-vue/bootstrap-vue/issues/4323))
92+
([#4326](https://github.com/bootstrap-vue/bootstrap-vue/issues/4326))
93+
([731365b](https://github.com/bootstrap-vue/bootstrap-vue/commit/731365b))
94+
- **v-b-modal:** ensure trigger element is keyboard accessible if not a link or button, for A11Y
95+
([#4365](https://github.com/bootstrap-vue/bootstrap-vue/issues/4365))
96+
([f54ca29](https://github.com/bootstrap-vue/bootstrap-vue/commit/f54ca29))
97+
- **v-b-modal:** open modal using `ENTER` key on non-button elements for A11Y
98+
([#4364](https://github.com/bootstrap-vue/bootstrap-vue/issues/4364))
99+
([0d27d7b](https://github.com/bootstrap-vue/bootstrap-vue/commit/0d27d7b))
100+
- **v-b-tooltip, v-b-popover:** ensure reference to trigger element is passed to title/content
101+
function (fixes [#4331](https://github.com/bootstrap-vue/bootstrap-vue/issues/4331))
102+
([#4332](https://github.com/bootstrap-vue/bootstrap-vue/issues/4332))
103+
([ea0cbda](https://github.com/bootstrap-vue/bootstrap-vue/commit/ea0cbda))
104+
- **v-b-visible:** fix type error in `componentUpdated` hook + minor docs update/fixes
105+
([#4327](https://github.com/bootstrap-vue/bootstrap-vue/issues/4327))
106+
([5f3ba9e](https://github.com/bootstrap-vue/bootstrap-vue/commit/5f3ba9e))
107+
- **web-types:** update web-types code generation to match latest schema
108+
([#4271](https://github.com/bootstrap-vue/bootstrap-vue/issues/4271))
109+
([009431e](https://github.com/bootstrap-vue/bootstrap-vue/commit/009431e))
110+
111+
### Other v2.1.0
112+
113+
- **b-table:** deprecate prop `filter-debounce` in favour of `b-form-input` debouncing
114+
- documentation updates and fixes
115+
7116
<a name="2.0.4"></a>
8117

9118
## [v2.0.4](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.0.3...v2.0.4)
@@ -48,15 +157,15 @@ Released: 2019-10-05
48157
- **b-form-file:** fix prop type checking for `value` prop
49158
([#4168](https://github.com/bootstrap-vue/bootstrap-vue/issues/4168))
50159
([a8e2e56](https://github.com/bootstrap-vue/bootstrap-vue/commit/a8e2e56))
51-
- **b-nav-item-dropdown:** focus-out handling when new focus comes from another `dropdown-toggle` (closes
52-
[#4113](https://github.com/bootstrap-vue/bootstrap-vue/issues/4113))
160+
- **b-nav-item-dropdown:** focus-out handling when new focus comes from another `dropdown-toggle`
161+
(closes [#4113](https://github.com/bootstrap-vue/bootstrap-vue/issues/4113))
53162
([#4139](https://github.com/bootstrap-vue/bootstrap-vue/issues/4139))
54163
([9c37875](https://github.com/bootstrap-vue/bootstrap-vue/commit/9c37875))
55164
- **b-table:** minor code optimizations to filter debouncing
56165
([#4167](https://github.com/bootstrap-vue/bootstrap-vue/issues/4167))
57166
([018eef1](https://github.com/bootstrap-vue/bootstrap-vue/commit/018eef1))
58-
- **b-table, b-table-lite, b-table-simple:** disable sticky header max-height on printers / print media
59-
([#4147](https://github.com/bootstrap-vue/bootstrap-vue/issues/4147))
167+
- **b-table, b-table-lite, b-table-simple:** disable sticky header max-height on printers / print
168+
media ([#4147](https://github.com/bootstrap-vue/bootstrap-vue/issues/4147))
60169
([24c62c5](https://github.com/bootstrap-vue/bootstrap-vue/commit/24c62c5))
61170
- **b-tooltip, b-popover:** add `SVGElement` as acceptable prop type (closes
62171
[#4173](https://github.com/bootstrap-vue/bootstrap-vue/issues/4173))
@@ -86,8 +195,8 @@ Released: 2019-10-05
86195
[#3647](https://github.com/bootstrap-vue/bootstrap-vue/issues/3647))
87196
([#4161](https://github.com/bootstrap-vue/bootstrap-vue/issues/4161))
88197
([fdd2a83](https://github.com/bootstrap-vue/bootstrap-vue/commit/fdd2a83))
89-
- add quick links (page table of contents) to docs pages for small screens, and add table of contents to
90-
section index pages (instead of a redirect to first child page)
198+
- add quick links (page table of contents) to docs pages for small screens, and add table of
199+
contents to section index pages (instead of a redirect to first child page)
91200
([#4145](https://github.com/bootstrap-vue/bootstrap-vue/issues/4145))
92201
([22268aa](https://github.com/bootstrap-vue/bootstrap-vue/commit/22268aa))
93202

@@ -2032,7 +2141,7 @@ Released: (2019-02-14)
20322141
- **table:** add support for transitions on tbody element
20332142
([#1821](https://github.com/bootstrap-vue/bootstrap-vue/issues/1821))
20342143
([#2450](https://github.com/bootstrap-vue/bootstrap-vue/issues/2450))
2035-
([91514af](https://github.com/bootstrap-vue/bootstrap-vue/commit/91514af))
2144+
([91514af](https://github.com/bootstrap-vue/bootstrap-vue/commit/91514af445221286ef0bc55985556d58e3c54fdc))
20362145
- **table:** add table row middle click (auxclicked) event
20372146
([#2425](https://github.com/bootstrap-vue/bootstrap-vue/issues/2425))
20382147
([23250a2](https://github.com/bootstrap-vue/bootstrap-vue/commit/23250a2))
@@ -2261,7 +2370,7 @@ Released: 2018-04-01
22612370
### Bug Fixes v2.0.0-rc.4
22622371

22632372
- **build:** don't exclude lodash.get
2264-
([543c3c2](https://github.com/bootstrap-vue/bootstrap-vue/commit/543c3c2))
2373+
([543c3c2](https://github.com/bootstrap-vue/bootstrap-vue/commit/543c3c2f9aeccffb03c571aeea93333774243ab3))
22652374
- **card:** pass children instead of default prop to sub-components
22662375
([63b35e3](https://github.com/bootstrap-vue/bootstrap-vue/commit/63b35e3))
22672376

CONTRIBUTING.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,40 @@
22

33
> 👍🎉 First off, thanks for taking the time to contribute! 🎉👍
44
5-
## Playground & Issue Reports
5+
## Playground & Issue reports
66

7-
If you want to play with BootstrapVue components without any local setup just head to
8-
[OnlinePlayground](https://bootstrap-vue.js.org/play) and you can interactively play and test
7+
If you want to play with BootstrapVue components without any local setup just head to our
8+
[Online Playground](https://bootstrap-vue.js.org/play) and you can interactively play and test
99
components with a fresh Vue instance. If you want to keep your changes or make PRs reporting a
10-
component's misbehaviour you can save them in JSFiddle and provide that link in issues.
10+
component's misbehaviour you can save them to _CodePen_, _CodeSandbox_ or _JSFiddle_ and provide
11+
that link in issues.
1112

1213
## Setup
1314

1415
- Clone this repo (`git clone https://github.com/bootstrap-vue/bootstrap-vue --branch=dev`)
15-
- Make sure you have node & yarn installed locally.
16+
- Make sure you have `node` & `yarn` installed locally
1617
- `cd bootstrap-vue`
17-
- Run `yarn install` to get all dependencies installed.
18+
- Run `yarn install` to get all dependencies installed
1819

1920
## Work on components
2021

2122
If you want to hack and improve components locally, you can follow these steps:
2223

23-
- Run `yarn docs-dev` to run a local development server.
24-
- Head to `http://localhost:3000/play`.
25-
- Now you can locally make changes to components (they are located in the `components` directory).
26-
Changes will be applied with webpack hot-reloading without needing to reload the page.
27-
- Finally feel free to share your awesome hacks with others and opening a PR.
24+
- Run `yarn docs-dev` to run a local development server
25+
- Head to `http://localhost:3000/play`
26+
- Now you can locally make changes to components (they are located in the `components` directory)
27+
Changes will be applied with webpack hot-reloading without needing to reload the page
28+
- Finally feel free to share your awesome hacks with others and opening a PR
2829

2930
## Test inside your project
3031

3132
If you want to see your changes in your project instead of the playground:
3233

33-
- Execute `yarn link` inside _bootstrap-vue_ directory.
34+
- Execute `yarn link` inside _bootstrap-vue_ directory
3435
- In your project run `yarn link bootstrap-vue`
3536
- Run `yarn watch` inside _bootstrap-vue_
3637
- Now every time you change a component, a new production version will be built and ready on your
37-
project.
38+
project
3839

3940
## Pull requests
4041

@@ -45,21 +46,21 @@ This is very important, as the `CHANGELOG` is generated from these messages.
4546
Examples:
4647

4748
- `fix(b-modal): fixes some broken modal stuff`
48-
- `feat(b-table): add a feature to the table component!`
49+
- `feat(b-table): add a feature to the table component`
4950

5051
## Financial contributions
5152

5253
We also welcome financial contributions in full transparency on our
53-
[open collective](https://opencollective.com/bootstrap-vue). Anyone can file an expense. If the
54+
[Open Collective](https://opencollective.com/bootstrap-vue). Anyone can file an expense. If the
5455
expense makes sense for the development of the community, it will be "merged" in the ledger of our
5556
open collective by the core contributors and the person who filed the expense will be reimbursed.
5657

5758
Consider asking your company to also support this open source project by
58-
[becoming a sponsor](https://opencollective.com/bootstrap-vue#sponsor)
59+
[becoming a sponsor](https://opencollective.com/bootstrap-vue/contribute/).
5960

6061
## Contributors
6162

62-
Thank you to all the people who have already contributed to bootstrap-vue!
63+
Thank you to all the people who have already contributed to BootstrapVue!
6364

6465
<div class="p-3 mb-3text-center">
6566
<a href="https://github.com/bootstrap-vue/bootstrap-vue/graphs/contributors" rel="noopener" class="d-inline-block"><img src="https://opencollective.com/bootstrap-vue/contributors.svg?width=890" class="img-fluid"></a>

0 commit comments

Comments
 (0)