Skip to content

chore: release v2.19.0 #6026

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

Merged
merged 55 commits into from
Nov 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
94d7161
chore(deps): update devdependency eslint-plugin-standard to ^4.0.2 (#…
renovate[bot] Oct 22, 2020
3c7a3c0
chore(deps): update devdependency eslint-config-standard to v15 (#5945)
renovate[bot] Oct 22, 2020
ae51376
chore(deps): update devdependency terser to ^5.3.8 (#5948)
renovate[bot] Oct 22, 2020
d3cb1f2
chore:fix missing ` in carousel documentation (#5951)
82amp Oct 22, 2020
345ac81
chore(deps): update devdependency sass-loader to ^10.0.4 (#5952)
renovate[bot] Oct 22, 2020
9c7842c
chore(deps): update devdependency postcss to ^8.1.3 (#5953)
renovate[bot] Oct 23, 2020
6809ecb
chore(deps): update all non-major dependencies to ^26.6.1 (#5956)
renovate[bot] Oct 23, 2020
afeefc7
chore: update contributors
jacobmllr95 Oct 23, 2020
d8c7382
chore(deps): update devdependency @testing-library/jest-dom to ^5.11.…
renovate[bot] Oct 23, 2020
a29d1c1
chore(deps): update all non-major dependencies (#5959)
renovate[bot] Oct 24, 2020
b3946ed
fix(b-avatar): prevent avatar from being squished (#5963)
talkor Oct 25, 2020
6a35cff
chore(deps): update devdependency vue-router to ^3.4.8 (#5966)
renovate[bot] Oct 26, 2020
f51d0ca
chore(deps): update devdependency lint-staged to ^10.5.0 (#5967)
renovate[bot] Oct 26, 2020
3bb5008
chore(deps): update devdependency eslint to ^7.12.1 (#5969)
renovate[bot] Oct 27, 2020
97e37aa
Update README.md (#5971)
criskgl Oct 27, 2020
884834e
chore(deps): update devdependency eslint-config-prettier to ^6.15.0 (…
renovate[bot] Oct 27, 2020
5e82e7f
chore(deps): update devdependency eslint-config-standard to ^15.0.1 (…
renovate[bot] Oct 28, 2020
49a3f00
feat(b-media): improve aside right handling (#5965)
jd-solanki Oct 28, 2020
0e22540
chore(deps): update devdependency execa to ^4.1.0 (#5976)
renovate[bot] Oct 28, 2020
ecb33bd
fix(b-avatar): badge `z-index` handling (#5975)
jacobmllr95 Oct 28, 2020
8e45ad4
chore(deps): update devdependency bootstrap-icons to ^1.1.0 (#5977)
renovate[bot] Oct 28, 2020
f2207f9
chore(docs): replace `<b-input>` with `<b-form-input>` (#5978)
82amp Oct 28, 2020
1b37be5
chore(deps): update devdependency eslint-config-standard to v16 (#5979)
renovate[bot] Oct 29, 2020
c3e1c66
chore(deps): update devdependency postcss-cli to ^8.2.0 (#5983)
renovate[bot] Oct 30, 2020
bc5b696
Switched comments (#5984)
luckylooke Oct 30, 2020
137b095
chore(deps): update devdependency eslint-config-standard to ^16.0.1 (…
renovate[bot] Oct 31, 2020
ebee5ef
chore(deps): update devdependency lint-staged to ^10.5.1 (#5989)
renovate[bot] Oct 31, 2020
2a7e6d8
chore(deps): update devdependency @vue/test-utils to ^1.1.1 (#5991)
renovate[bot] Nov 1, 2020
15b4360
chore(deps): update devdependency rollup to ^2.33.0 (#5992)
renovate[bot] Nov 1, 2020
a2c3df8
chore: migrate from `node-sass` to `sass` (Dart Sass) (#5990)
renovate[bot] Nov 1, 2020
8cd6532
chore(deps): update devdependency rollup to ^2.33.1 (#5993)
renovate[bot] Nov 2, 2020
25ef63c
chore(deps): update devdependency sass-loader to ^10.0.5 (#5996)
renovate[bot] Nov 2, 2020
bc1c183
chore(deps): update devdependency babel-jest to ^26.6.2 (#5997)
renovate[bot] Nov 2, 2020
719d72e
chore(deps): update devdependency jest to ^26.6.2 (#5999)
renovate[bot] Nov 2, 2020
21d0f3a
chore(docs): add gull & dexam themes (#5995)
naime-hossain Nov 3, 2020
c1e5b0b
chore(ci): update Node.js versions (#6001)
jacobmllr95 Nov 3, 2020
411c3be
chore: add `SECURITY.md` (#6002)
jacobmllr95 Nov 3, 2020
1d955c6
chore(ci): add CodeQL action (#6003)
jacobmllr95 Nov 3, 2020
3b77e68
chore(ci): move to Dependabot for all dependency updates (#6004)
jacobmllr95 Nov 3, 2020
8224e10
chore(deps-dev): bump @babel/standalone from 7.12.4 to 7.12.5 (#6010)
dependabot[bot] Nov 4, 2020
02cc7bc
chore(deps-dev): bump babel-jest from 26.6.2 to 26.6.3 (#6011)
dependabot[bot] Nov 4, 2020
70d4965
chore(deps-dev): bump jest from 26.6.2 to 26.6.3 (#6012)
dependabot[bot] Nov 4, 2020
afdd540
chore(docs): improve component name formatting (#6014)
jacobmllr95 Nov 4, 2020
37ec7e9
fix(b-form-checkbox/b-form-radio): `chnage` event timing (#6008)
jacobmllr95 Nov 4, 2020
16f777b
fix(b-form-group): accessibility when `label-for` prop not set (#6006)
jacobmllr95 Nov 4, 2020
2296686
chore: unify interval/timeout handling (#6015)
jacobmllr95 Nov 5, 2020
cf7a1cb
fix(b-dropdown): click handling on close (closes #5982) (#6009)
jacobmllr95 Nov 5, 2020
14e1995
chore(deps-dev): bump sass from 1.28.0 to 1.29.0 (#6018)
dependabot[bot] Nov 5, 2020
27fc1bc
chore(deps-dev): bump marked from 1.2.2 to 1.2.3 (#6017)
dependabot[bot] Nov 5, 2020
a67506b
chore(deps-dev): bump @babel/standalone from 7.12.5 to 7.12.6 (#6016)
dependabot[bot] Nov 5, 2020
7d78b48
chore(docs): add another `pageOptions` setting example (#6019)
TomyCesaille Nov 5, 2020
159fb20
chore(deps-dev): bump postcss from 8.1.4 to 8.1.6 (#6021)
dependabot[bot] Nov 6, 2020
84366bf
chore(deps-dev): bump vue-router from 3.4.8 to 3.4.9 (#6022)
dependabot[bot] Nov 6, 2020
7ea0cc4
feat(config): improved defaults handling (closes #4507, #5138, #5291,…
Hiws Nov 7, 2020
22d05b3
chore: bump version to v2.19.0 (#6025)
jacobmllr95 Nov 8, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bundlewatch.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"files": [
{
"path": "./dist/bootstrap-vue-icons.js",
"maxSize": "110 kB"
"maxSize": "115 kB"
},
{
"path": "./dist/bootstrap-vue-icons.min.js",
Expand Down
30 changes: 30 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
day: tuesday
time: "12:00"
timezone: Europe/Berlin
reviewers:
- jackmu95
labels:
- "Type: CI"
- "Type: Dependencies"

- package-ecosystem: npm
directory: "/"
schedule:
interval: "daily"
time: "12:00"
timezone: Europe/Berlin
ignore:
- dependency-name: "bootstrap"
versions: [">=5.0.0"]
- dependency-name: "highlight.js"
versions: [">=10.0.0"]
- dependency-name: "prettier"
versions: [">1.14.3"]
- dependency-name: "@vue/test-utils"
versions: [">=2.0.0"]
reviewers:
- jackmu95
labels:
- "Type: Dependencies"
versioning-strategy: increase
rebase-strategy: disabled
22 changes: 0 additions & 22 deletions .github/renovate.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [10, 12]
node: [10, 12, 14]

steps:
- name: Clone repository
Expand Down Expand Up @@ -50,6 +50,6 @@ jobs:

- name: BundleWatch
run: yarn run bundlewatch
if: matrix.node == '12'
if: matrix.node == '14'
env:
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
58 changes: 58 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: "CodeQL"

on:
push:
pull_request:
schedule:
- cron: "0 2 * * 5"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: ["javascript"]

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file
# By default, queries listed here will override any specified in a config file
# Prefix the list here with "+" to use these queries and those in the config file
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java)
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines and
# modify them (or add more) to build your code if your project uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
node: [14]

steps:
- name: Clone repository
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
node: [14]

steps:
- name: Clone repository
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [10, 12]
node: [10, 12, 14]

steps:
- name: Clone repository
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

- name: CodeCov
uses: codecov/codecov-action@v1
if: matrix.node == '12'
if: matrix.node == '14'
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,48 @@ All notable changes to this project will be documented in this file. See
[standard-version](https://github.com/conventional-changelog/standard-version) for commit
guidelines.

<a name="2.19.0"></a>

## [v2.19.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.18.1...v2.19.0)

Released: 2020-11-08

### Features v2.19.0

- **b-media:** improve aside right handling
([#5965](https://github.com/bootstrap-vue/bootstrap-vue/issues/5965))
([49a3f00](https://github.com/bootstrap-vue/bootstrap-vue/commit/49a3f00420bf9958deda3a6be0ccb76cc3ea06ba))
- **config:** improved defaults handling (closes
[#4507](https://github.com/bootstrap-vue/bootstrap-vue/issues/4507),
[#5138](https://github.com/bootstrap-vue/bootstrap-vue/issues/5138),
[#5291](https://github.com/bootstrap-vue/bootstrap-vue/issues/5291),
[#5459](https://github.com/bootstrap-vue/bootstrap-vue/issues/5459),
[#5958](https://github.com/bootstrap-vue/bootstrap-vue/issues/5958))
([#5981](https://github.com/bootstrap-vue/bootstrap-vue/issues/5981))
([7ea0cc4](https://github.com/bootstrap-vue/bootstrap-vue/commit/7ea0cc4a16d27b179eca47d351eaa9fe6fdfd56e))

### Bug Fixes v2.19.0

- **b-avatar:** badge `z-index` handling
([#5975](https://github.com/bootstrap-vue/bootstrap-vue/issues/5975))
([ecb33bd](https://github.com/bootstrap-vue/bootstrap-vue/commit/ecb33bdb510832096bc5a5196a11c97388bf6411))
- **b-avatar:** prevent avatar from being squished
([#5963](https://github.com/bootstrap-vue/bootstrap-vue/issues/5963))
([b3946ed](https://github.com/bootstrap-vue/bootstrap-vue/commit/b3946ed7a7b327fb7c66b44caaf122460fc24005)),
closes [#5962](https://github.com/bootstrap-vue/bootstrap-vue/issues/5962)
- **b-dropdown:** click handling on close (closes
[#5982](https://github.com/bootstrap-vue/bootstrap-vue/issues/5982))
([#6009](https://github.com/bootstrap-vue/bootstrap-vue/issues/6009))
([cf7a1cb](https://github.com/bootstrap-vue/bootstrap-vue/commit/cf7a1cb017e2263939a64e300abbbbac35c121d4))
- **b-form-checkbox/b-form-radio:** `change` event timing
([#6008](https://github.com/bootstrap-vue/bootstrap-vue/issues/6008))
([37ec7e9](https://github.com/bootstrap-vue/bootstrap-vue/commit/37ec7e9991b66af51ff81420da8eb88928615f9d))
- **b-form-group:** accessibility when `label-for` prop not set
([#6006](https://github.com/bootstrap-vue/bootstrap-vue/issues/6006))
([16f777b](https://github.com/bootstrap-vue/bootstrap-vue/commit/16f777b14bdcf9ebb6fae0325d355c7f5272bd98))

<a name="2.18.1"></a>

## [v2.18.1](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.18.0...v2.18.1)

Released: 2020-10-21
Expand All @@ -22,6 +64,8 @@ Released: 2020-10-21
([#5934](https://github.com/bootstrap-vue/bootstrap-vue/issues/5934))
([8a367b6](https://github.com/bootstrap-vue/bootstrap-vue/commit/8a367b6296b0aa9700f67633fd60fb351e2f7373))

<a name="2.18.0"></a>

## [v2.18.0](https://github.com/bootstrap-vue/bootstrap-vue/compare/v2.17.3...v2.18.0)

Released: 2020-10-19
Expand Down
20 changes: 20 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Security Policy

## Supported Versions

| Version | Supported |
| ------- | ------------------ |
| 2.x | :white_check_mark: |
| 1.x | :x: |
| < 1.0 | :x: |

## Reporting a Vulnerability

The BootstrapVue team takes security issues very seriously. We appreciate your efforts to
responsibly disclose your findings, and will make every effort to acknowledge your contributions.

To report a security issue, email
[bootstrapvue.js@gmail.com](mailto:security@bootstrapvue.js@gmail.com) and include the word
"SECURITY" in the subject line.

We'll endeavor to respond quickly, and will keep you updated throughout the process.
21 changes: 10 additions & 11 deletions docs/components/componentdoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@
<anchored-heading :id="`comp-ref-${componentName}-props`" level="4" class="mb-3">
Properties
</anchored-heading>

<p>
All property default values are <b-link href="/docs/reference/settings">globally configurable</b-link>.
</p>

<b-table
:items="propsItems"
:fields="propsFields"
Expand All @@ -98,7 +103,6 @@
<template #cell(prop)="{ value, item }">
<code class="text-nowrap notranslate" translate="no">{{ value }}</code><br>
<b-badge v-if="item.required" variant="info">Required</b-badge>
<b-badge v-if="item.settings" variant="dark" href="/docs/reference/settings" title="Configurable in settings">Settings</b-badge>
<b-badge v-if="item.version" variant="secondary">v{{ item.version }}+</b-badge>
<b-badge v-if="item.isVModel" variant="primary">v-model</b-badge>
<b-badge v-if="item.xss" variant="warning">Use with caution</b-badge>
Expand Down Expand Up @@ -298,8 +302,7 @@
<script>
import Vue from 'vue'
import commonProps from '../common-props.json'
import { defaultConfig } from '../content'
import { kebabCase } from '../utils'
import { getComponentName, getCleanComponentName, kebabCase } from '../utils'
import AnchoredHeading from './anchored-heading'

export default {
Expand Down Expand Up @@ -425,7 +428,6 @@ export default {
propsItems() {
const props = this.componentProps
const propsMetaObj = this.componentPropsMetaObj
const componentSettings = defaultConfig[this.componentOptions.name] || {}

return Object.keys(props).map(prop => {
const p = props[prop]
Expand Down Expand Up @@ -457,16 +459,13 @@ export default {
? ''
: String(JSON.stringify(defaultValue, undefined, 1)).replace(/"/g, "'")

const settings = Object.prototype.hasOwnProperty.call(componentSettings, prop)

return {
prop: kebabCase(prop),
type,
defaultValue,
required: p.required || false,
description: meta.description || '',
version: meta.version || '',
settings,
xss: /[a-z]Html$/.test(prop),
isVModel: this.componentVModel && this.componentVModel.prop === prop,
deprecated: p.deprecated || false,
Expand All @@ -478,13 +477,13 @@ export default {
slotsItems() {
// We use object spread here so that `_showDetails` doesn't
// mutate the original array objects
return this.slots ? this.slots.map(s => ({ ...s })) : []
return this.slots ? this.slots.map(slot => ({ ...slot })) : []
},
componentName() {
return kebabCase(this.component).replace('{', '-{')
return getComponentName(this.component)
},
componentNameClean() {
return this.componentName.replace('{', '').replace('}', '')
return getCleanComponentName(this.component)
},
tag() {
return `<${this.componentName}>`
Expand Down Expand Up @@ -523,7 +522,7 @@ ul.component-ref-mini-toc:empty {
display: none;
}

/deep/ .word-wrap-normal {
>>> .word-wrap-normal {
white-space: normal !important;
word-break: normal !important;
overflow-wrap: normal !important;
Expand Down
2 changes: 1 addition & 1 deletion docs/components/contributors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default {
cb(this.processOcNodes(response.nodes || []), null)
} else {
// We just return an empty node list rather than spew an error
// eslint-disable-next-line standard/no-callback-literal
// eslint-disable-next-line node/no-callback-literal
cb([], xhr.statusText)
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/components/icons-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,16 @@ export default {
position: relative;
}

#bv-icons-table-result /deep/ .bi {
#bv-icons-table-result >>> .bi {
font-size: 1.5rem;
}

.form-group /deep/ .form-text {
.form-group >>> .form-text {
text-align: right;
}

// Icon zoom on hover
.flip-icon-list-icon /deep/ .card {
.flip-icon-list-icon >>> .card {
.bi {
transition: transform 0.15s;
}
Expand Down
Loading