8000 chore: release v2.3.0 · ssmbct-netops/bootstrap-vue@7f3577f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f3577f

Browse files
authored
chore: release v2.3.0
chore: release v2.3.0
2 parents 6caa0ba + bba1dc8 commit 7f3577f

Some content is hidden

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

72 files changed

+3690
-1079
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,40 @@
44
> [standard-version](https://github.com/conventional-changelog/standard-version) for commit
55
> guidelines.
66
7+
<a name="2.3.0"></a>
8+
9+
## [v2.3.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.2.2...v2.3.0)
10+
11+
Released: 2020-01-24
12+
13+
### Features v2.3.0
14+
15+
- **b-button-close:** add `content` prop
16+
([#4574](https://github.com/bootstrap-vue/bootstrap-vue/issues/4574))
17+
([7379c6d](https://github.com/bootstrap-vue/bootstrap-vue/commit/7379c6dd0bac76307720645080741b3b0ed7ed99))
18+
- **b-form-tags:** new option to specify input type (closes
19+
[#4644](https://github.com/bootstrap-vue/bootstrap-vue/issues/4644))
20+
([#4645](https://github.com/bootstrap-vue/bootstrap-vue/issues/4645))
21+
([b899fac](https://github.com/bootstrap-vue/bootstrap-vue/commit/b899faceb4c1fd8562454fa93432e70d7113401b))
22+
- **b-pagination, b-pagination-nav:** add page button class props and option to show first/last page
23+
numbers (closes [#4597](https://github.com/bootstrap-vue/bootstrap-vue/issues/4597),
24+
[#4533](https://github.com/bootstrap-vue/bootstrap-vue/issues/4533))
25+
([#4622](https://github.com/bootstrap-vue/bootstrap-vue/issues/4622))
26+
([3a3ee1d](https://github.com/bootstrap-vue/bootstrap-vue/commit/3a3ee1dc9312a1a8c530a5ea42d1d239d5a24351))
27+
- **icons:** add stacking support
28+
([#4658](https://github.com/bootstrap-vue/bootstrap-vue/issues/4658))
29+
([b185cdb](https://github.com/bootstrap-vue/bootstrap-vue/commit/b185cdb686ddddcde1b98585b1fbc48859fc541a))
30+
31+
### Bug Fixes v2.3.0
32+
33+
- **v-b-modal:** only unbind/rebind during componentUpdated hook if trigger element or modal ID
34+
changes (closes [#4669](https://github.com/bootstrap-vue/bootstrap-vue/issues/4669))
35+
([#4672](https://github.com/bootstrap-vue/bootstrap-vue/issues/4672))
36+
([e53a05d](https://github.com/bootstrap-vue/bootstrap-vue/commit/e53a05d960a9de0ca9636ee31e0197e7e554ddbc))
37+
- **utils:** pass all Array/Object util shortcuts as functions, for handling late loaded polyfills
38+
([#4647](https://github.com/bootstrap-vue/bootstrap-vue/issues/4647))
39+
([f584425](https://github.com/bootstrap-vue/bootstrap-vue/commit/f5844256a03d2f4b8006900419acfa2c5e3803c3))
40+
741
<a name="2.2.2"></a>
842

943
## [v2.2.2](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.2.1...v2.2.2)

docs/components/footer.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
Currently v{{ version }}. Code licensed
5151
<a href="https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE" target="_blank">MIT</a>.
5252
Docs generated with <a href="https://nuxtjs.org/" target="_blank">Nuxt.js</a>
53+
<template v-if="isNetlify"> and proudly hosted on <a href="https://www.netlify.com" target="_blank">Netlify</a></template>
5354
</p>
5455
</b-container>
5556
</footer>
@@ -80,6 +81,11 @@ export default {
8081
},
8182
data() {
8283
return { version }
84+
},
85+
computed: {
86+
isNetlify() {
87+
return Boolean(process.env.NETLIFY)
88+
}
8389
}
8490
}
8591
</script>

docs/content/index.js

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,21 @@ export const directives = importAll(directivesContext)
1010

1111
const iconsContext = require.context('~/../src/icons', false, /package.json/)
1212
const icons = importAll(iconsContext) || {}
13-
// Since there are over 300 icons, we only return the first BIcon component, plus one
14-
// extra example icon component which we modify the icon name to be `BIcon{IconName}`
13+
// Since there are over 300 icons, we only return `BIcon` and `BIconstack` component, plus
14+
// one extra example icon component which we modify the icon name to be `BIcon{IconName}`
1515
// We sort the array to ensure `BIcon` appears first
1616
icons[''].components = icons[''].components
17-
.sort((a, b) => (a < b ? -1 : a > b ? 1 : 0))
18-
.slice(0, 2)
19-
.map(c => ({ ...c }))
20-
icons[''].components[1].component = 'BIcon{IconName}'
17+
.filter(c => c.component === 'BIconBlank' || !/^BIcon[A-Z]/.test(c.component))
18+
.sort((a, b) => (a.component < b.component ? -1 : a.component > b.component ? 1 : 0))
19+
.map(c => {
20+
c = { ...c }
21+
if (c.component === 'BIconBlank') {
22+
c.component = 'BIcon{IconName}'
23+
// We add a special `srcComponent` to grab the prop `$options` data from
24+
c.srcComponent = 'BIconBlank'
25+
}
26+
return c
27+
})
2128
export { icons }
2229

2330
const referenceContext = require.context('~/markdown/reference', true, /meta.json/)

docs/markdown/intro/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ some good starting points would be:
3636
- [Vue Guide](https://vuejs.org/v2/guide/)
3737
- [Vue API](https://vuejs.org/v2/api/)
3838
- [Bootstrap v{{bootstrapVersionMinor}} documentation](https://getbootstrap.com/)
39-
- [Vue loader scoped CSS](https://vue-loader.vuejs.org/guide/scoped-css.html), if using scoped styles
40-
in SFC (Single File Component) `.vue` files
39+
- [Vue loader scoped CSS](https://vue-loader.vuejs.org/guide/scoped-css.html), if using scoped
40+
styles in SFC (Single File Component) `.vue` files
4141

4242
## Documentation information
4343

docs/markdown/reference/starter-templates/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ created when you run `yarn build`.
111111

112112
### Importing individual components and directives
113113

114-
As an example, you can import `<b-card>` (plus some of it's sub components) and `<b-table>` as
114+
As an example, you can import `<b-card>` (plus some of its sub components) and `<b-table>` as
115115
follows:
116116

117117
```js

docs/markdown/reference/validation/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
## Vuelidate
77

88
[Vuelidate](https://github.com/vuelidate/vuelidate/) provides "Simple, lightweight model-based
9-
validation for Vue.js". Installation instructions and other documentation can be found at
10-
https://vuelidate.netlify.com/.
9+
validation for Vue.js". Installation instructions and other documentation can be found at their
10+
[website](https://vuelidate.js.org/).
1111

1212
### Vuelidate example
1313

docs/nuxt.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ module.exports = {
112112

113113
modern: 'client',
114114

115+
env: {
116+
NETLIFY: process.env.NETLIFY
117+
},
118+
115119
build: {
116120
extractCSS: true,
117121
cssSourceMap: true,

docs/pages/docs/icons/index.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,10 @@ export default {
6161
computed: {
6262
componentMeta() {
6363
// `docs/content/index.js` massages the list of icon components
64-
// to include only `BIcon` and an example component
65-
const components = this.meta.components
66-
// Add in a special property or grabbing the component props
67-
// as `BIcon{IconName}` doesn't exist
68-
components[1].srcComponent = 'BIconBlank'
69-
return components
64+
// to include only `BIcon`, `BIconstack` and an example component
65+
// The example icon has a special `srcComponent` property that lists
66+
// `BIconBlank` as the component to grab the `$options.props` from
67+
return this.meta.components
7068
},
7169
importMeta() {
7270
return { ...this.meta, slug: 'icons', components: this.componentMeta }

docs/pages/play.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ const STORAGE_MAX_RETENTION = 7 * 24 * 60 * 60 * 1000 // 7 days
340340
341341
// --- Helper functions ---
342342
343-
// Remove a node from it's parent's children
343+
// Remove a node from its parent's children
344344
const removeNode = node => node && node.parentNode && node.parentNode.removeChild(node)
345345
346346
// Indent a value by the given count

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-vue",
3-
"version": "2.2.2",
3+
"version": "2.3.0",
44
"description": "BootstrapVue, with over 40 plugins and more than 80 custom components, custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.",
55
"main": "dist/bootstrap-vue.common.js",
66
"web": "dist/bootstrap-vue.js",
@@ -91,7 +91,7 @@
9191
"dependencies": {
9292
"@nuxt/opencollective": "^0.3.0",
9393
"bootstrap": ">=4.4.1 <5.0.0",
94-
"popper.js": "^1.16.0",
94+
"popper.js": "^1.16.1",
9595
"portal-vue": "^2.1.7",
9696
"vue-functional-data-merge": "^3.1.0"
9797
},
@@ -108,12 +108,12 @@
108108
"autoprefixer": "^9.7.4",
109109
"babel-core": "^7.0.0-bridge.0",
110110
"babel-eslint": "^10.0.3",
111-
"babel-jest": "^24.9.0",
111+
"babel-jest": "^25.1.0",
112112
"babel-plugin-istanbul": "^6.0.0",
113113
"bootstrap-icons": "^1.0.0-alpha2",
114114
"clean-css-cli": "^4.3.0",
115-
"codecov": "^3.6.1",
116-
"codemirror": "^5.50.2",
115+
"codecov": "^3.6.2",
116+
"codemirror": "^5.51.0",
117117
"codesandbox": "^2.1.11",
118118
"core-js": ">=2.6.5 <3.0.0",
119119
"cross-env": "^6.0.3",
@@ -131,26 +131,26 @@
131131
"eslint-plugin-vue": "^6.1.2",
132132
"esm": "^3.2.25",
133133
"gh-pages": "^2.2.0",
134-
"highlight.js": "^9.17.1",
134+
"highlight.js": "^9.18.0",
135135
"html-loader": "^0.5.5",
136-
"husky": "^4.0.10",
137-
"jest": "^24.9.0",
136+
"husky": "^4.2.1",
137+
"jest": "^25.1.0",
138138
"jest-environment-jsdom-fourteen": "^1.0.1",
139 97AE -
"lint-staged": "^9.5.0",
139+
"lint-staged": "^10.0.2",
140140
"loader-utils": "^1.2.3",
141141
"lodash": "^4.17.15",
142142
"marked": "^0.8.0",
143-
"node-sass": "^4.13.0",
143+
"node-sass": "^4.13.1",
144144
"nuxt": "^2.11.0",
145145
"postcss-cli": "^7.1.0",
146146
"prettier": "1.14.3",
147147
"require-context": "^1.1.0",
148-
"rollup": "^1.29.0",
148+
"rollup": "^1.29.1",
149149
"rollup-plugin-babel": "^4.3.3",
150150
"rollup-plugin-commonjs": "^10.1.0",
151151
"rollup-plugin-node-resolve": "^5.2.0",
152152
"sass-loader": "^8.0.2",
153-
"standard-version": "^7.0.1",
153+
"standard-version": "^7.1.0",
154154
"terser": "^4.6.3",
155155
"vue": "^2.6.11",
156156
"vue-jest": "^3.0.5",

0 commit comments

Comments
 (0)
0