Skip to content

Commit 729168c

Browse files
authored
Merge pull request #245 from WordPress/publish/1.0.0-beta.2
Prepare release for 1.0.0-beta.2
2 parents 94ef778 + 29ba3ee commit 729168c

File tree

7 files changed

+41
-12
lines changed

7 files changed

+41
-12
lines changed

load.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Performance plugin from the WordPress Performance Group, which is a collection of standalone performance modules.
66
* Requires at least: 5.8
77
* Requires PHP: 5.6
8-
* Version: 1.0.0-beta.1
8+
* Version: 1.0.0-beta.2
99
* Author: WordPress Performance Group
1010
* Author URI: https://make.wordpress.org/core/tag/performance/
1111
* License: GPLv2 or later
@@ -15,7 +15,7 @@
1515
* @package performance-lab
1616
*/
1717

18-
define( 'PERFLAB_VERSION', '1.0.0-beta.1' );
18+
define( 'PERFLAB_VERSION', '1.0.0-beta.2' );
1919
define( 'PERFLAB_MAIN_FILE', __FILE__ );
2020
define( 'PERFLAB_MODULES_SETTING', 'perflab_modules_settings' );
2121
define( 'PERFLAB_MODULES_SCREEN', 'perflab-modules' );

module-i18n.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
_x( 'Creates WebP versions for new JPEG image uploads if supported by the server.', 'module description', 'performance-lab' ),
66
_x( 'Persistent Object Cache Health Check', 'module name', 'performance-lab' ),
77
_x( 'Adds a persistent object cache check for sites with non-trivial amounts of data in Site Health status.', 'module description', 'performance-lab' ),
8+
_x( 'Audit Autoloaded Options', 'module name', 'performance-lab' ),
9+
_x( 'Adds a check for autoloaded options in Site Health status.', 'module description', 'performance-lab' ),
810
_x( 'Audit Enqueued Assets', 'module name', 'performance-lab' ),
911
_x( 'Adds a CSS and JS resource check in Site Health status.', 'module description', 'performance-lab' ),
1012
_x( 'WebP Support', 'module name', 'performance-lab' ),

modules/images/webp-uploads/load.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function webp_uploads_create_sources_property( array $metadata, $attachment_id )
164164
* output format depending on desired output formats and supported mime types by the image
165165
* editor.
166166
*
167-
* @since n.e.x.t
167+
* @since 1.0.0
168168
*
169169
* @param string $output_format The image editor default output format mapping.
170170
* @param string $filename Path to the image.
@@ -603,7 +603,7 @@ function webp_uploads_img_tag_update_mime_type( $image, $context, $attachment_id
603603
* Filters mime types that should be used to update all images in the content. The order of
604604
* mime types matters. The last mime type in the list will be used if it is supported by an image.
605605
*
606-
* @since n.e.x.t
606+
* @since 1.0.0
607607
*
608608
* @param array $target_mimes The list of mime types that can be used to update images in the content.
609609
* @param int $attachment_id The attachment ID.
@@ -673,7 +673,7 @@ function webp_uploads_img_tag_update_mime_type( $image, $context, $attachment_id
673673
/**
674674
* Updates the response for an attachment to include sources for additional mime types available the image.
675675
*
676-
* @since n.e.x.t
676+
* @since 1.0.0
677677
*
678678
* @param WP_REST_Response $response The original response object.
679679
* @param WP_Post $post The post object.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "performance",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.2",
44
"private": true,
55
"description": "Performance plugin from the WordPress Performance Group, which is a collection of standalone performance modules.",
66
"author": "The WordPress Contributors",

readme.txt

+28-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: wordpressdotorg
44
Requires at least: 5.8
55
Tested up to: 5.9
66
Requires PHP: 5.6
7-
Stable tag: 1.0.0-beta.1
7+
Stable tag: 1.0.0-beta.2
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
Tags: performance, images, javascript, site health, measurement, object caching
@@ -21,6 +21,7 @@ Currently the plugin includes the following performance modules:
2121
* **WebP Support:** Adds a WebP support check in Site Health status.
2222
* **Persistent Object Cache Health Check:** Adds a persistent object cache check for sites with non-trivial amounts of data in Site Health status.
2323
* **Audit Enqueued Assets:** Adds a CSS and JS resource check in Site Health status.
24+
* **Audit Autoloaded Options:** Adds a check for autoloaded options in Site Health status.
2425

2526
== Installation ==
2627

@@ -65,6 +66,32 @@ Contributions welcome! There are several ways to contribute:
6566

6667
== Changelog ==
6768

69+
= 1.0.0-beta.2 =
70+
71+
**Features**
72+
73+
* Images: Create additional MIME types for the full size image. ([194](https://github.com/WordPress/performance/pull/194))
74+
* Site Health: Add module to warn about excessive amount of autoloaded options. ([124](https://github.com/WordPress/performance/pull/124))
75+
76+
**Enhancements**
77+
78+
* Images: Adds sources information to the attachment media details of the REST response. ([224](https://github.com/WordPress/performance/pull/224))
79+
* Images: Allow developers to select which image format to use for images in the content. ([230](https://github.com/WordPress/performance/pull/230))
80+
* Images: Allow developers to tweak which image formats to generate on upload. ([227](https://github.com/WordPress/performance/pull/227))
81+
* Images: Replace the full size image in `the_content` with additional MIME type if available. ([195](https://github.com/WordPress/performance/pull/195))
82+
* Object Cache: Include `memcached` extension in checks for object cache support. ([206](https://github.com/WordPress/performance/pull/206))
83+
* Infrastructure: Add plugin banner and icon assets. ([231](https://github.com/WordPress/performance/pull/231))
84+
* Infrastructure: Use `.gitattributes` instead of `.distignore` to better support ZIP creation. ([223](https://github.com/WordPress/performance/pull/223))
85+
86+
**Bug Fixes**
87+
88+
* Images: Use `original` image to generate all additional image format sub-sizes. ([207](https://github.com/WordPress/performance/pull/207))
89+
* Infrastructure: Replace unreliable activation hook with default value for enabled modules. ([222](https://github.com/WordPress/performance/pull/222))
90+
91+
**Documentation**
92+
93+
* Infrastructure: Update release instructions to include proper branching strategy and protect release branches. ([221](https://github.com/WordPress/performance/pull/221))
94+
6895
= 1.0.0-beta.1 =
6996

7097
**Features**

tests/utils/TestCase/ImagesTestCase.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ abstract class ImagesTestCase extends WP_UnitTestCase {
1919
/**
2020
* Asserts that an image has a source with the specific mime type.
2121
*
22-
* @since n.e.x.t
22+
* @since 1.0.0
2323
*
2424
* @param int $attachment_id The attachment ID.
2525
* @param string $mime_type The mime type of the source.
@@ -33,7 +33,7 @@ public static function assertImageHasSource( $attachment_id, $mime_type, $messag
3333
/**
3434
* Asserts that an image doesn't have a source with the specific mime type.
3535
*
36-
* @since n.e.x.t
36+
* @since 1.0.0
3737
*
3838
* @param int $attachment_id The attachment ID.
3939
* @param string $mime_type The mime type of the source.
@@ -48,7 +48,7 @@ public static function assertImageNotHasSource( $attachment_id, $mime_type, $mes
4848
/**
4949
* Asserts that an image has a source with the specific mime type for a subsize.
5050
*
51-
* @since n.e.x.t
51+
* @since 1.0.0
5252
*
5353
* @param int $attachment_id The attachment ID.
5454
* @param string $size The subsize name.
@@ -63,7 +63,7 @@ public static function assertImageHasSizeSource( $attachment_id, $size, $mime_ty
6363
/**
6464
* Asserts that an image doesn't have a source with the specific mime type for a subsize.
6565
*
66-
* @since n.e.x.t
66+
* @since 1.0.0
6767
*
6868
* @param int $attachment_id The attachment ID.
6969
* @param string $size The subsize name.

0 commit comments

Comments
 (0)