diff --git a/CHANGELOG.md b/CHANGELOG.md index fabcf18de..9db7cebe1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.87.0-alpha.1](https://github.com/Automattic/newspack-theme/compare/v1.86.0...v1.87.0-alpha.1) (2024-03-07) + + +### Features + +* add large image size for larger featured images ([#2254](https://github.com/Automattic/newspack-theme/issues/2254)) ([86be097](https://github.com/Automattic/newspack-theme/commit/86be0978fcacbfc4243144ba9c721d766b35789b)) + # [1.86.0](https://github.com/Automattic/newspack-theme/compare/v1.85.1...v1.86.0) (2024-03-06) diff --git a/composer.lock b/composer.lock index 18f38ef2a..68feeb1fc 100644 --- a/composer.lock +++ b/composer.lock @@ -355,16 +355,16 @@ }, { "name": "php-stubs/wordpress-stubs", - "version": "v6.4.1", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "6d6063cf9464a306ca2a0529705d41312b08500b" + "reference": "6105bdab2f26c0204fe90ecc53d5684754550e8f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/6d6063cf9464a306ca2a0529705d41312b08500b", - "reference": "6d6063cf9464a306ca2a0529705d41312b08500b", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/6105bdab2f26c0204fe90ecc53d5684754550e8f", + "reference": "6105bdab2f26c0204fe90ecc53d5684754550e8f", "shasum": "" }, "require-dev": { @@ -373,9 +373,9 @@ "php": "^7.4 || ~8.0.0", "php-stubs/generator": "^0.8.3", "phpdocumentor/reflection-docblock": "^5.3", - "phpstan/phpstan": "^1.10.12", + "phpstan/phpstan": "^1.10.49", "phpunit/phpunit": "^9.5", - "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^0.8" + "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^0.11" }, "suggest": { "paragonie/sodium_compat": "Pure PHP implementation of libsodium", @@ -396,9 +396,9 @@ ], "support": { "issues": "https://github.com/php-stubs/wordpress-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.4.1" + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.4.3" }, - "time": "2023-11-10T00:33:47+00:00" + "time": "2024-02-11T18:56:19+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -576,16 +576,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.57", + "version": "1.10.59", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "1627b1d03446904aaa77593f370c5201d2ecc34e" + "reference": "e607609388d3a6d418a50a49f7940e8086798281" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1627b1d03446904aaa77593f370c5201d2ecc34e", - "reference": "1627b1d03446904aaa77593f370c5201d2ecc34e", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e607609388d3a6d418a50a49f7940e8086798281", + "reference": "e607609388d3a6d418a50a49f7940e8086798281", "shasum": "" }, "require": { @@ -634,7 +634,7 @@ "type": "tidelift" } ], - "time": "2024-01-24T11:51:34+00:00" + "time": "2024-02-20T13:59:13+00:00" }, { "name": "psr/container", @@ -1320,16 +1320,16 @@ }, { "name": "symfony/polyfill-php73", - "version": "v1.28.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" + "reference": "21bd091060673a1177ae842c0ef8fe30893114d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/21bd091060673a1177ae842c0ef8fe30893114d2", + "reference": "21bd091060673a1177ae842c0ef8fe30893114d2", "shasum": "" }, "require": { @@ -1337,9 +1337,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -1379,7 +1376,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.29.0" }, "funding": [ { @@ -1395,7 +1392,7 @@ "type": "tidelift" } ], - "time": "2023-01-26T09:26:14+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php80", @@ -1651,22 +1648,22 @@ }, { "name": "szepeviktor/phpstan-wordpress", - "version": "v1.3.2", + "version": "v1.3.3", "source": { "type": "git", "url": "https://github.com/szepeviktor/phpstan-wordpress.git", - "reference": "b8516ed6bab7ec50aae981698ce3f67f1be2e45a" + "reference": "f7ff091331bc00c5688fe4ce0c4d51d06fa61553" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/b8516ed6bab7ec50aae981698ce3f67f1be2e45a", - "reference": "b8516ed6bab7ec50aae981698ce3f67f1be2e45a", + "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/f7ff091331bc00c5688fe4ce0c4d51d06fa61553", + "reference": "f7ff091331bc00c5688fe4ce0c4d51d06fa61553", "shasum": "" }, "require": { "php": "^7.2 || ^8.0", "php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0", - "phpstan/phpstan": "^1.10.30", + "phpstan/phpstan": "^1.10.31", "symfony/polyfill-php73": "^1.12.0" }, "require-dev": { @@ -1707,9 +1704,9 @@ ], "support": { "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues", - "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.2" + "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.3" }, - "time": "2023-10-16T17:23:56+00:00" + "time": "2024-02-26T13:55:50+00:00" }, { "name": "wp-coding-standards/wpcs", diff --git a/newspack-joseph/sass/theme-description.scss b/newspack-joseph/sass/theme-description.scss index 9c8a1d6f8..79050b576 100644 --- a/newspack-joseph/sass/theme-description.scss +++ b/newspack-joseph/sass/theme-description.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://newspack.com Description: Requires at least: WordPress 4.9.6 -Version: 1.86.0 +Version: 1.87.0-alpha.1 License: GNU General Public License v2 or later License URI: LICENSE Template: newspack-theme diff --git a/newspack-katharine/sass/theme-description.scss b/newspack-katharine/sass/theme-description.scss index bf3ab6056..35fab856b 100644 --- a/newspack-katharine/sass/theme-description.scss +++ b/newspack-katharine/sass/theme-description.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://newspack.com Description: Requires at least: WordPress 4.9.6 -Version: 1.86.0 +Version: 1.87.0-alpha.1 License: GNU General Public License v2 or later License URI: LICENSE Template: newspack-theme diff --git a/newspack-nelson/sass/theme-description.scss b/newspack-nelson/sass/theme-description.scss index cb981350e..a5e247965 100644 --- a/newspack-nelson/sass/theme-description.scss +++ b/newspack-nelson/sass/theme-description.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://newspack.com Description: Requires at least: WordPress 4.9.6 -Version: 1.86.0 +Version: 1.87.0-alpha.1 License: GNU General Public License v2 or later License URI: LICENSE Template: newspack-theme diff --git a/newspack-sacha/sass/theme-description.scss b/newspack-sacha/sass/theme-description.scss index 775696c02..2930593e8 100644 --- a/newspack-sacha/sass/theme-description.scss +++ b/newspack-sacha/sass/theme-description.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://newspack.com Description: Requires at least: WordPress 4.9.6 -Version: 1.86.0 +Version: 1.87.0-alpha.1 License: GNU General Public License v2 or later License URI: LICENSE Template: newspack-theme diff --git a/newspack-scott/sass/theme-description.scss b/newspack-scott/sass/theme-description.scss index 8e368bac2..8e3d2aac0 100644 --- a/newspack-scott/sass/theme-description.scss +++ b/newspack-scott/sass/theme-description.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://newspack.com Description: Requires at least: WordPress 4.9.6 -Version: 1.86.0 +Version: 1.87.0-alpha.1 License: GNU General Public License v2 or later License URI: LICENSE Template: newspack-theme diff --git a/newspack-theme/functions.php b/newspack-theme/functions.php index 4b27a56d3..49c9bead2 100755 --- a/newspack-theme/functions.php +++ b/newspack-theme/functions.php @@ -63,6 +63,7 @@ function newspack_setup() { set_post_thumbnail_size( 1568, 9999 ); add_image_size( 'newspack-featured-image', 1200, 9999 ); + add_image_size( 'newspack-featured-image-large', 2000, 9999 ); add_image_size( 'newspack-archive-image', 800, 600, true ); add_image_size( 'newspack-archive-image-large', 1200, 900, true ); add_image_size( 'newspack-footer-logo', 400, 9999 ); diff --git a/newspack-theme/sass/theme-description.scss b/newspack-theme/sass/theme-description.scss index 1f6d27854..a9a38bba2 100644 --- a/newspack-theme/sass/theme-description.scss +++ b/newspack-theme/sass/theme-description.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://newspack.com Description: Requires at least: WordPress 4.9.6 -Version: 1.86.0 +Version: 1.87.0-alpha.1 License: GNU General Public License v2 or later License URI: LICENSE Text Domain: newspack diff --git a/newspack-theme/template-parts/post/large-featured-image.php b/newspack-theme/template-parts/post/large-featured-image.php index a98f52b70..c87e73b63 100644 --- a/newspack-theme/template-parts/post/large-featured-image.php +++ b/newspack-theme/template-parts/post/large-featured-image.php @@ -11,7 +11,7 @@ ?> @@ -38,7 +38,7 @@