diff --git a/README.md b/README.md index bb9b9a8..99cbb9c 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,14 @@ level expires, the level will change to the default or drop completely. ## Changelog +### 2.1.0 + +* Capture an overriding alert title as meta. +* Improve spacing within the alerts meta panel. +* Update dependencies. +* Update phpstan level to 9. +* Require `custom-fields` support on alert post types. + ### 2.0.1 * Update dependencies, coding standards. diff --git a/alerts.php b/alerts.php index cab7905..4a826f2 100644 --- a/alerts.php +++ b/alerts.php @@ -3,7 +3,7 @@ * Plugin Name: Alerts * Plugin URI: https://github.com/happyprime/alerts * Description: Create manageable alert banners using the query loop. - * Version: 2.0.1 + * Version: 2.1.0 * Requires at least: 6.1 * Requires PHP: 7.4 * Author: Happy Prime diff --git a/composer.json b/composer.json index ca40fd1..48885cf 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,6 @@ { "name": "happyprime/alerts", "description": "Display alerts of various levels for a given amount of time.", - "version": "2.0.1", "type": "wordpress-plugin", "license": "GPLv2-or-later", "minimum-stability": "stable", diff --git a/composer.lock b/composer.lock index 5678ff4..434a131 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e4e4401d4f3a6d4f50e2fbe507f86a60", + "content-hash": "574da1e7f5572ac6638f136f21ca072b", "packages": [], "packages-dev": [ { @@ -438,25 +438,28 @@ }, { "name": "php-stubs/wordpress-stubs", - "version": "v6.7.2", + "version": "v6.8.0", "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4" + "reference": "1824db4d1d00d32c0119175d2369d9425dbc4953" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/c04f96cb232fab12a3cbcccf5a47767f0665c3f4", - "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/1824db4d1d00d32c0119175d2369d9425dbc4953", + "reference": "1824db4d1d00d32c0119175d2369d9425dbc4953", "shasum": "" }, + "conflict": { + "phpdocumentor/reflection-docblock": "5.6.1" + }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^1.0", "nikic/php-parser": "^4.13", "php": "^7.4 || ^8.0", "php-stubs/generator": "^0.8.3", "phpdocumentor/reflection-docblock": "^5.4.1", - "phpstan/phpstan": "^1.11", + "phpstan/phpstan": "^2.1", "phpunit/phpunit": "^9.5", "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1", "wp-coding-standards/wpcs": "3.1.0 as 2.3.0" @@ -480,9 +483,9 @@ ], "support": { "issues": "https://github.com/php-stubs/wordpress-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.7.2" + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.8.0" }, - "time": "2025-02-12T04:51:58+00:00" + "time": "2025-04-17T15:13:53+00:00" }, { "name": "php-stubs/wordpress-tests-stubs", diff --git a/package-lock.json b/package-lock.json index a1fdffb..08490e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "happyprime-alerts", - "version": "2.0.1", + "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "happyprime-alerts", - "version": "2.0.1", + "version": "2.1.0", "license": "GPL-2.0-or-later", "devDependencies": { "@wordpress/scripts": "30.15.0" diff --git a/package.json b/package.json index dd92f68..7095271 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "happyprime-alerts", - "version": "2.0.1", + "version": "2.1.0", "description": "Create manageable alert banners using the query loop.", "author": "Happy Prime", "license": "GPL-2.0-or-later", diff --git a/readme.txt b/readme.txt index 0046e4f..72ca11f 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: happyprime, jeremyfelt, slocker, philcable Tags: alerts Requires at least: 6.1 -Tested up to: 6.5 -Stable tag: 2.0.1 +Tested up to: 6.8 +Stable tag: 2.1.0 License: GPLv2 or later Requires PHP: 7.4 @@ -18,6 +18,14 @@ level expires, the level will change to the default or drop completely. ## Changelog +### 2.1.0 + +* Capture an overriding alert title as meta. +* Improve spacing within the alerts meta panel. +* Update dependencies. +* Update phpstan level to 9. +* Require `custom-fields` support on alert post types. + ### 2.0.1 * Update dependencies, coding standards.