Skip to content

Commit 66bdb41

Browse files
committed
Release 2.0.0
1 parent 373e422 commit 66bdb41

7 files changed

Lines changed: 98 additions & 12 deletions

File tree

.cliff/cliff-readme-txt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Contributors: alecrust
55
Tags: video, player, plyr, youtube, vimeo
66
Requires at least: 6.6
77
Tested up to: 6.9
8-
Stable tag: 1.11.6
8+
Stable tag: 2.0.0
99
Requires PHP: 7.2
1010
License: GPL-2.0-or-later
1111
License URI: https://www.gnu.org/licenses/gpl-2.0.html

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,50 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
#### [2.0.0](https://github.com/AlecRust/protected-video/releases/tag/2.0.0)
6+
7+
> 23 December 2025
8+
9+
- Improve formatting [`373e422`](https://github.com/AlecRust/protected-video/commit/373e422f844dc096318cd215ad548b3aa4f6b4c3)
10+
- Remove /scripts from .distignore [`8f5f9c5`](https://github.com/AlecRust/protected-video/commit/8f5f9c516353148b671f6c5144957de928dcaee2)
11+
- Fix lint [`d304b3f`](https://github.com/AlecRust/protected-video/commit/d304b3fb7d63e78fad10c0d817ac6c335d648fb9)
12+
- Align 7.2 as the minimum PHP version [`52221ec`](https://github.com/AlecRust/protected-video/commit/52221ecacdfb1e7026ba7a2bd109d3420434ae8c)
13+
- Apply PHPDoc/type fixes [`0d16df5`](https://github.com/AlecRust/protected-video/commit/0d16df53a3b6edb88cbc0782f1e7d916a3248fbb)
14+
- Exclude built files from Prettier [`ce7f381`](https://github.com/AlecRust/protected-video/commit/ce7f381e9159f5dfd58130604900d996157d0ed4)
15+
- Simplify PHPCS config [`5967f9c`](https://github.com/AlecRust/protected-video/commit/5967f9cc444dc8d1ff7024d9753fdc636b91dbdc)
16+
- Fix has_block() call to use post content [`8f480de`](https://github.com/AlecRust/protected-video/commit/8f480de9822eb980e353d08bc1599b7242be9b89)
17+
- Add phpcompatibility-wp lint check [`256abdb`](https://github.com/AlecRust/protected-video/commit/256abdbd32d63c47783fe04430e6e3148fe93570)
18+
- Refactor back to bundling Plyr within plugin assets [`3145af5`](https://github.com/AlecRust/protected-video/commit/3145af54087a0e265b4438a883adcf4630b9386e)
19+
- Remove unnecessary version fallback [`7ed9282`](https://github.com/AlecRust/protected-video/commit/7ed92820ecfdbe04231b7d1642b2e128999e7a20)
20+
- Tidy build URL/path computation [`352a7c3`](https://github.com/AlecRust/protected-video/commit/352a7c3501cdf8e15559c065b81b35790a817053)
21+
- Remove redundant wp_script_add_data [`c08b895`](https://github.com/AlecRust/protected-video/commit/c08b895f339dfb7621ebc2e19a0383a329f807fd)
22+
- Refactor block assets loading [`18808d0`](https://github.com/AlecRust/protected-video/commit/18808d0bfb457fe56b132597db181e08c97c54f2)
23+
- Remove legacy options migration hook [`f1e3fcd`](https://github.com/AlecRust/protected-video/commit/f1e3fcda8b2e6ac384911ffc21811e98f784f5c8)
24+
- Add rel attribute to external link [`6538a9e`](https://github.com/AlecRust/protected-video/commit/6538a9e92dab6b982a16114bd3c08c477ce4d3ea)
25+
- Fix shortcode to encode video ID and harden frontend decode [`75374be`](https://github.com/AlecRust/protected-video/commit/75374bec80d950a0af3a414d47474be8628aab26)
26+
- Add PHPCS and fix fallout [`d848a03`](https://github.com/AlecRust/protected-video/commit/d848a030560a307e846ec3a00f7189a01b10efb5)
27+
- Include Plyr and get-video-id LICENSE.md files in build [`151eea6`](https://github.com/AlecRust/protected-video/commit/151eea6e21301aca5139800521eac6ed2cfb9c4b)
28+
- Exclude /vendor from plugin dist [`6261aae`](https://github.com/AlecRust/protected-video/commit/6261aae79f6030d1d5351a6aa27d023dc971429b)
29+
- Update minimum PHP version 7.0 -> 7.2 [`eb9b868`](https://github.com/AlecRust/protected-video/commit/eb9b8685f6b616c749e54db7f64b7bb1c54616ac)
30+
- Change Plugin URI to HTTPS [`8ccbdd7`](https://github.com/AlecRust/protected-video/commit/8ccbdd7a89aabcf8948be500df253563a1d29d45)
31+
- Fix minimum WP version 4.6 -> 6.6 [`0738c0c`](https://github.com/AlecRust/protected-video/commit/0738c0c9141c83a536027d58fcc2218aeadf80a0)
32+
- Improve release notes generating [`7ec2a0f`](https://github.com/AlecRust/protected-video/commit/7ec2a0f5e9ba300bcd5616f3584646a827a9db2c)
33+
- Upgrade Plyr 3.7.8 -> 3.8.3 and improve loading behaviour [`ec21e19`](https://github.com/AlecRust/protected-video/commit/ec21e19c9a1e24b183930e9b40ba3b6f7a41ac63)
34+
- Increase GrumPHP memory limit [`e6f2470`](https://github.com/AlecRust/protected-video/commit/e6f24703d968cf593ae10e0f2fc64ea89b6fc0c7)
35+
- Update WordPress "Tested up to" version to 6.9 [`0863f71`](https://github.com/AlecRust/protected-video/commit/0863f71a957c8a7289445cd4f87f253624ce5742)
36+
- Upgrade CI PHP version 8.3 -> 8.4 [`63c273b`](https://github.com/AlecRust/protected-video/commit/63c273b487ca9928938727ddf7b87aa068a4459f)
37+
- Remove unnecessary cache option from actions/setup-node [`2d74aed`](https://github.com/AlecRust/protected-video/commit/2d74aed519e504adf674b9af8e1ef6f51d555800)
38+
- Bump actions/setup-node from 4 to 6 [`81c858a`](https://github.com/AlecRust/protected-video/commit/81c858af88d88cb0b3b824ab58ec433c94ae051c)
39+
- Set packageManager in package.json [`3cd0200`](https://github.com/AlecRust/protected-video/commit/3cd0200ea545a16c1f4129393b5c92cf29403abd)
40+
- Update Composer dependencies [`e28c0b7`](https://github.com/AlecRust/protected-video/commit/e28c0b75c9cd2744932be5276ba48a50c3a5659e)
41+
- Upgrade ESLint v8 -> v9 [`6ca926c`](https://github.com/AlecRust/protected-video/commit/6ca926c5e2f51f1cc92066850623954ad525910a)
42+
- Bump npm dependencies [`4d9b3d3`](https://github.com/AlecRust/protected-video/commit/4d9b3d3bc1eb3b034e5c994c3f207407436151c4)
43+
- Adjust formatting [`349cea5`](https://github.com/AlecRust/protected-video/commit/349cea513e05258f5e3812608015a3ecb6e5fe41)
44+
- Improve formatting [`332318a`](https://github.com/AlecRust/protected-video/commit/332318a86610f021274bd6b674d32e13144825d5)
45+
- Bump actions/checkout from 5 to 6 [`27d51f3`](https://github.com/AlecRust/protected-video/commit/27d51f3086e084090ef658a6a07808057e11fa89)
46+
- Bump actions/checkout from 4 to 5 [`1e7ee0f`](https://github.com/AlecRust/protected-video/commit/1e7ee0f44b748e84c8954020e04f0bff400fe21e)
47+
- Bump actions/upload-pages-artifact from 3 to 4 [`fd559d4`](https://github.com/AlecRust/protected-video/commit/fd559d4c8c4fca1512ee3b347e2c508232616546)
48+
549
#### [1.11.6](https://github.com/AlecRust/protected-video/releases/tag/1.11.6)
650

751
> 6 July 2024

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "protected-video",
3-
"version": "1.11.6",
3+
"version": "2.0.0",
44
"description": "YouTube/Vimeo player that prevents easy sharing of the video.",
55
"author": "Alec Rust (https://www.alecrust.com/)",
66
"license": "GPL-2.0-or-later",

protected-video.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin URI: https://github.com/AlecRust/protected-video
55
* GitHub Plugin URI: AlecRust/protected-video
66
* Description: YouTube/Vimeo player that prevents easy sharing of the video.
7-
* Version: 1.11.6
7+
* Version: 2.0.0
88
* Author: Alec Rust
99
* Author URI: https://www.alecrust.com/
1010
* Requires PHP: 7.2
@@ -25,7 +25,7 @@
2525
/**
2626
* Plugin version.
2727
*/
28-
define( 'PROTECTED_VIDEO_VERSION', '1.11.6' );
28+
define( 'PROTECTED_VIDEO_VERSION', '2.0.0' );
2929

3030
/**
3131
* Load core plugin class defining all hooks.

readme.txt

Lines changed: 47 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: alecrust
33
Tags: video, player, plyr, youtube, vimeo
44
Requires at least: 6.6
55
Tested up to: 6.9
6-
Stable tag: 1.11.6
6+
Stable tag: 2.0.0
77
Requires PHP: 7.2
88
License: GPL-2.0-or-later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -64,10 +64,10 @@ The main color of the player can be configured at **Settings > Protected Video**
6464

6565
`
6666
<style>
67-
:root {
68-
--plyr-badge-background: #000;
69-
--plyr-control-radius: 5px;
70-
}
67+
:root {
68+
--plyr-badge-background: #000;
69+
--plyr-control-radius: 5px;
70+
}
7171
</style>
7272
`
7373

@@ -119,6 +119,48 @@ For performance reasons, Protected Video only loads its associated JS and CSS wh
119119

120120
== Changelog ==
121121

122+
= 2.0.0 - 2025-12-23 =
123+
124+
* Improve formatting
125+
* Remove /scripts from .distignore
126+
* Fix lint
127+
* Align 7.2 as the minimum PHP version
128+
* Apply PHPDoc/type fixes
129+
* Exclude built files from Prettier
130+
* Simplify PHPCS config
131+
* Fix has_block() call to use post content
132+
* Add phpcompatibility-wp lint check
133+
* Refactor back to bundling Plyr within plugin assets
134+
* Remove unnecessary version fallback
135+
* Tidy build URL/path computation
136+
* Remove redundant wp_script_add_data
137+
* Refactor block assets loading
138+
* Remove legacy options migration hook
139+
* Add rel attribute to external link
140+
* Fix shortcode to encode video ID and harden frontend decode
141+
* Add PHPCS and fix fallout
142+
* Include Plyr and get-video-id LICENSE.md files in build
143+
* Exclude /vendor from plugin dist
144+
* Update minimum PHP version 7.0 -> 7.2
145+
* Change Plugin URI to HTTPS
146+
* Fix minimum WP version 4.6 -> 6.6
147+
* Improve release notes generating
148+
* Upgrade Plyr 3.7.8 -> 3.8.3 and improve loading behaviour
149+
* Increase GrumPHP memory limit
150+
* Update WordPress "Tested up to" version to 6.9
151+
* Upgrade CI PHP version 8.3 -> 8.4
152+
* Remove unnecessary cache option from actions/setup-node
153+
* Bump actions/setup-node from 4 to 6
154+
* Set packageManager in package.json
155+
* Update Composer dependencies
156+
* Upgrade ESLint v8 -> v9
157+
* Bump npm dependencies
158+
* Adjust formatting
159+
* Improve formatting
160+
* Bump actions/checkout from 5 to 6
161+
* Bump actions/checkout from 4 to 5
162+
* Bump actions/upload-pages-artifact from 3 to 4
163+
122164
= 1.11.6 - 2024-07-06 =
123165

124166
* Update WordPress "Tested up to" to 6.6

src/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "protected-video/protected-video",
5-
"version": "1.11.6",
5+
"version": "2.0.0",
66
"title": "Protected Video",
77
"category": "embed",
88
"example": {

0 commit comments

Comments
 (0)