Skip to content

Commit

Permalink
Merge pull request #304 from WordPress/publish/1.0.0
Browse files Browse the repository at this point in the history
Prepare 1.0.0 release
  • Loading branch information
felixarntz authored Apr 18, 2022
2 parents 421974e + ad58cff commit ead0844
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 9 deletions.
4 changes: 2 additions & 2 deletions load.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Performance plugin from the WordPress Performance Group, which is a collection of standalone performance modules.
* Requires at least: 5.8
* Requires PHP: 5.6
* Version: 1.0.0-rc.1
* Version: 1.0.0
* Author: WordPress Performance Group
* Author URI: https://make.wordpress.org/core/tag/performance/
* License: GPLv2 or later
Expand All @@ -15,7 +15,7 @@
* @package performance-lab
*/

define( 'PERFLAB_VERSION', '1.0.0-beta.3' );
define( 'PERFLAB_VERSION', '1.0.0' );
define( 'PERFLAB_MAIN_FILE', __FILE__ );
define( 'PERFLAB_MODULES_SETTING', 'perflab_modules_settings' );
define( 'PERFLAB_MODULES_SCREEN', 'perflab-modules' );
Expand Down
4 changes: 2 additions & 2 deletions modules/images/webp-uploads/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function webp_uploads_generate_image_size( $attachment_id, $size, $mime ) {
/**
* Returns the attachment sources array ordered by filesize.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param int $attachment_id The attachment ID.
* @param string $size The attachment size.
Expand Down Expand Up @@ -207,7 +207,7 @@ function webp_uploads_get_attachment_sources( $attachment_id, $size = 'thumbnail
* Filters on `webp_uploads_content_image_mimes` to generate the available mime types for an attachment
* and orders them by the smallest filesize first.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param array $mime_types The list of mime types that can be used to update images in the content.
* @param int $attachment_id The attachment ID.
Expand Down
4 changes: 2 additions & 2 deletions modules/images/webp-uploads/image-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Adds sources to metadata for an attachment.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param array $metadata Metadata of the attachment.
* @param array $valid_mime_transforms List of valid mime transforms for current image mime type.
Expand Down Expand Up @@ -57,7 +57,7 @@ function webp_uploads_update_sources( $metadata, $valid_mime_transforms, $main_i
/**
* Creates additional image formats when original image is edited.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param bool|null $override Value to return instead of saving. Default null.
* @param string $file_path Name of the file to be saved.
Expand Down
2 changes: 1 addition & 1 deletion modules/images/webp-uploads/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ function webp_uploads_img_tag_update_mime_type( $image, $context, $attachment_id
* By enabling this, the plugin will compare the image file sizes and prefer the smaller file regardless of MIME
* type.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param bool $prefer_smaller_image_file Whether to prefer the smaller image file.
*/
Expand Down
18 changes: 17 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: wordpressdotorg
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.6
Stable tag: 1.0.0-rc.1
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: performance, images, javascript, site health, measurement, object caching
Expand Down Expand Up @@ -66,6 +66,22 @@ Contributions welcome! There are several ways to contribute:

== Changelog ==

= 1.0.0 =

**Features**

* Images: Generate secondary image MIME types when editing original image. ([235](https://github.com/WordPress/performance/pull/235))

**Enhancements**

* Images: Introduce `webp_uploads_prefer_smaller_image_file` filter allowing to opt in to preferring the smaller image file. ([287](https://github.com/WordPress/performance/pull/287))
* Images: Select MIME type to use in frontend content based on file size. ([243](https://github.com/WordPress/performance/pull/243))
* Site Health: Update Site Health reports copy for more clarity and consistency. ([272](https://github.com/WordPress/performance/pull/272))

**Documentation**

* Infrastructure: Define the plugin's version support and backward compatibility policy. ([240](https://github.com/WordPress/performance/pull/240))

= 1.0.0-rc.1 =

**Enhancements**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/**
* A WP_Image_Edit class to avoid abstraction to handle image edits.
*
* @since n.e.x.t
* @package performance-lab
*/

Expand Down

0 comments on commit ead0844

Please sign in to comment.