Skip to content

Commit

Permalink
Merge pull request #220 from 10up/develop
Browse files Browse the repository at this point in the history
2.2.0
  • Loading branch information
Rahmon authored Aug 9, 2021
2 parents e3ecb41 + ae9851b commit 45af727
Show file tree
Hide file tree
Showing 68 changed files with 22,969 additions and 7,864 deletions.
50 changes: 50 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
module.exports = {
extends: [
"@10up/eslint-config"
],
overrides: [
{
files: ["*.js"],
rules: {
"vars-on-top": "off",
"one-var": "off",
"prefer-const": "off",
"object-shorthand": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-param-description": "off",
"jsdoc/newline-after-description": "off",
"jsdoc/check-types": "off",
"jsdoc/require-returns-check": "off",
"jsdoc/no-undefined-types": "off",
"jsdoc/require-description": "off",
"jsdoc/require-param": "off",
"jsdoc/require-returns": "off",
"jsdoc/check-tag-names": "off",
"jsdoc/check-param-names": "off",
"jsdoc/check-indentation": "off",
"prefer-template": "off",
"prefer-destructuring": "off",
"prefer-rest-params": "off",
"no-undef": "off",
"no-var": "off",
"no-param-reassign": "off",
"no-unused-vars": "off",
"no-restricted-globals": "off",
"no-alert": "off",
"no-multi-assign": "off",
"no-redeclare": "off",
"no-lonely-if": "off",
"no-prototype-builtins": "off",
"no-undef-init": "off",
"no-cond-assign": "off",
"no-empty": "off",
"no-restricted-properties": "off",
"block-scoped-var": "off",
"default-case": "off",
"eqeqeq": "off",
"consistent-return": "off",
"valid-typeof": "off"
}
}
]
};
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Linting

on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop

jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install node v12
uses: actions/setup-node@v2
with:
node-version: 12
- name: npm install
run: npm install
- name: eslint
run: npm run lint-js
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.editorconfig
node_modules
release
.sass-cache
.sass-cache
vendor
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file, per [the Ke

## [Unreleased] - TBD

## [2.2.0] - 2021-08-09

### Breaking Changes
- BC_Utility API changed:
- See `set_cache_item` and `delete_cache_item` in `includes/class-bc-utility.php`.
- Removed `remove_deleted_players` function.
### Fixed
- Undefined index warnings. Props [@sanketio](https://github.com/sanketio) via [#197](https://github.com/10up/brightcove-video-connect/pull/197).
- Typo for the `$allowedtags` global used in conjunction with wp_kses. Props [@theskinnyghost](https://github.com/theskinnyghost) via [#203](https://github.com/10up/brightcove-video-connect/pull/203).
- Performance issue related with bc_transient_keys option. Props [@Rahmon](https://github.com/Rahmon) via [#215](https://github.com/10up/brightcove-video-connect/pull/215).
- Playlist preview in the editor. Props [@Rahmon](https://github.com/Rahmon) via [#216](https://github.com/10up/brightcove-video-connect/pull/216).

### Security
- Bump `hosted-git-info` from 2.8.8 to 2.8.9 (props [@dependabot](https://github.com/dependabot) via [#212](https://github.com/10up/brightcove-video-connect/pull/212))
- Bump `normalize-url` from 4.5.0 to 4.5.1 (props [@dependabot](https://github.com/dependabot) via [#213](https://github.com/10up/brightcove-video-connect/pull/213))

## [2.1.4] - 2021-06-23
### Fixed
- Fix: Default Source field when is submitted unchecked.
Expand Down Expand Up @@ -300,6 +316,7 @@ All notable changes to this project will be documented in this file, per [the Ke
- First release

[Unreleased]: https://github.com/10up/brightcove-video-connect/compare/master...develop
[2.2.0]: https://github.com/10up/brightcove-video-connect/compare/2.1.4...2.2.0
[2.1.4]: https://github.com/10up/brightcove-video-connect/compare/2.1.3...2.1.4
[2.1.3]: https://github.com/10up/brightcove-video-connect/compare/2.1.2...2.1.3
[2.1.2]: https://github.com/10up/brightcove-video-connect/compare/2.1.1...2.1.2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Brightcove integration plugin, manage your Brightcove video cloud from within WordPress, using the latest APIs.
[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Release Version](https://img.shields.io/github/release/10up/brightcove-video-connect.svg)](https://github.com/10up/brightcove-video-connect/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v5.6%20tested-success.svg) [![GPLv2 License](https://img.shields.io/github/license/10up/brightcove-video-connect.svg)](https://github.com/10up/brightcove-video-connect/blob/develop/LICENSE.md)
[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Release Version](https://img.shields.io/github/release/10up/brightcove-video-connect.svg)](https://github.com/10up/brightcove-video-connect/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v5.8%20tested-success.svg) [![GPLv2 License](https://img.shields.io/github/license/10up/brightcove-video-connect.svg)](https://github.com/10up/brightcove-video-connect/blob/develop/LICENSE.md)

## Description

Expand Down
Loading

0 comments on commit 45af727

Please sign in to comment.