From 024e782c0db2dcd0effda15a929c63b06ba92663 Mon Sep 17 00:00:00 2001 From: Mike van den Hoek Date: Mon, 30 Nov 2026 09:44:55 +0100 Subject: [PATCH 1/2] chore: align markdown formatting with Prettier and keep readme style --- .editorconfig | 4 ++++ .prettierignore | 1 + 2 files changed, 5 insertions(+) create mode 100644 .prettierignore diff --git a/.editorconfig b/.editorconfig index 05905ce..29c0a20 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,3 +14,7 @@ indent_size = 2 [{*.txt,wp-config-sample.php}] end_of_line = crlf + +[*.md] +indent_style = space +indent_size = 4 diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +README.md From 35565dc86cc28a04189476fe4bc800677d3e216b Mon Sep 17 00:00:00 2001 From: Mike van den Hoek Date: Mon, 30 Nov 2026 09:49:18 +0100 Subject: [PATCH 2/2] release: v2.3.0 --- README.md | 9 ++++++++- readme.txt | 9 ++++++++- src/Singletons/SiteOptionsSingleton.php | 2 +- yard-deepl.php | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8bd6bc9..6cb377c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ License: EUPL v1.2 License URI: Requires at least: 6.0 Requires PHP: 8.0 -Stable tag: 2.2.0 +Stable tag: 2.3.0 Tags: deepl, translating, secure Tested up to: 7.0 @@ -151,6 +151,13 @@ xhr.send( data ); ## Changelog +### 2.3.0 - (Nov 30, 2026) + +- Change: the translation cache admin column is now opt-in. Enable it on the settings page. +- Change: the translation cache column is more compact, with the shorter label "Cache". +- Chore: add automated WordPress.org deploys and dependency updates. +- Fix: ship the prefixed dependencies, including the missing PHP-DI files. + ### 2.2.0 - (Nov 06, 2026) - Fix: cache translations per text and fetch texts missing from the cache from DeepL instead of serving a stale page snapshot diff --git a/readme.txt b/readme.txt index 9190170..183ea74 100644 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,7 @@ License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Requires at least: 6.0 Requires PHP: 8.0 -Stable tag: 2.2.0 +Stable tag: 2.3.0 Tags: deepl, translating, secure Tested up to: 7.0 @@ -124,6 +124,13 @@ Response: == Changelog == += 2.3.0: Nov 30, 2026 = + +* Change: the translation cache admin column is now opt-in. Enable it on the settings page. +* Change: the translation cache column is more compact, with the shorter label "Cache". +* Chore: add automated WordPress.org deploys and dependency updates. +* Fix: ship the prefixed dependencies, including the missing PHP-DI files. + = 2.2.0: Nov 06, 2026 = * Fix: cache translations per text and fetch texts missing from the cache from DeepL instead of serving a stale page snapshot diff --git a/src/Singletons/SiteOptionsSingleton.php b/src/Singletons/SiteOptionsSingleton.php index ed99bea..6fba584 100644 --- a/src/Singletons/SiteOptionsSingleton.php +++ b/src/Singletons/SiteOptionsSingleton.php @@ -89,7 +89,7 @@ public function rest_api_param_object_id_is_mandatory(): bool } /** - * @since NEXT + * @since 2.3.0 */ public function admin_column_enabled(): bool { diff --git a/yard-deepl.php b/yard-deepl.php index 4b8d2da..753673f 100644 --- a/yard-deepl.php +++ b/yard-deepl.php @@ -7,7 +7,7 @@ * * Plugin Name: Yard DeepL * Description: This plugin registers secure API endpoints that allow you to request translations directly from DeepL without exposing your DeepL API-key - * Version: 2.2.0 + * Version: 2.3.0 * Author: Yard | Digital Agency * Author URI: https://www.yard.nl * License: GPLv2 or later @@ -24,7 +24,7 @@ exit; } -define( 'YDPL_VERSION', '2.2.0' ); +define( 'YDPL_VERSION', '2.3.0' ); define( 'YDPL_REQUIRED_WP_VERSION', '6.0' ); define( 'YDPL_PLUGIN_NAME', basename( __DIR__ ) ); define( 'YDPL_PLUGIN_FILE', __FILE__ );