Skip to content

Commit 986f55c

Browse files
author
Frank Evers
committed
Update version to 1.3.2 and added FAQ item.
1 parent dca6534 commit 986f55c

3 files changed

Lines changed: 21 additions & 15 deletions

File tree

RELEASE

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ In order to release a new version of the plugin to wordpress.org, perform the fo
22

33
1. Update the version in tiny-compress-images.php
44
2. Change the 'Stable tag' in readme.txt to the new release number.
5-
3. Commit and push to GitHub.
6-
4. Create a new release in GitHub and pull it in.
7-
5. Locally, checkout the new tag: `git checkout <tagged version>`.
8-
6. If not already done so, checkout the plugin's Subversion repository: `svn co http://plugins.svn.wordpress.org/tiny-compress-images`.
9-
7. Update svn:ignore property of trunk when .gitignore is updated: `svn propedit svn:ignore trunk`.
10-
8. Delete everything in trunk `rm -rf <path-to-local-svn-repo/trunk/*`.
11-
9. Manually copy the Git release to the local Subversion repo: `git ls-files | xargs tar c | tar x -C <path-to-local-svn-repo>/trunk/`.
12-
10. Add new files `svn st | awk '/^\?/ { print $2; }' | xargs svn add`.
13-
11. Delete deleted files: `svn st | awk '/^!/ { print $2; }' | xargs svn rm`.
14-
12. Commit the trunk to Subversion: `svn ci -m "<message>"`.
15-
13. Tag the new release in Subversion and commit: `svn cp trunk tags/<version> && svn ci -m "<message>"`.
5+
3. If you've changed the plugin to work with newer version of wordpress add that to the readme as well.
6+
4. Commit and push to GitHub.
7+
5. Create a new release in GitHub and pull it in.
8+
6. Locally, checkout the new tag: `git checkout <tagged version>`.
9+
7. If not already done so, checkout the plugin's Subversion repository: `svn co http://plugins.svn.wordpress.org/tiny-compress-images`.
10+
8. Update svn:ignore property of trunk when .gitignore is updated: `svn propedit svn:ignore trunk`.
11+
9. Delete everything in trunk `rm -rf <path-to-local-svn-repo/trunk/*`.
12+
10. Manually copy the Git release to the local Subversion repo: `git ls-files | xargs tar c | tar x -C <path-to-local-svn-repo>/trunk/`.
13+
11. Add new files `svn st | awk '/^\?/ { print $2; }' | xargs svn add`.
14+
12. Delete deleted files: `svn st | awk '/^!/ { print $2; }' | xargs svn rm`.
15+
13. Commit the trunk to Subversion: `svn ci -m "<message>"`.
16+
14. Tag the new release in Subversion and commit: `svn cp trunk tags/<version> && svn ci -m "<message>"`.

readme.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: TinyPNG
33
Donate link: https://tinypng.com/
44
Tags: compress, optimize, shrink, improve, images, tinypng, tinyjpg, jpeg, jpg, png, lossy, jpegmini, crunch, minify, smush, save, bandwidth, website, speed, faster, performance, panda
55
Requires at least: 3.0.6
6-
Tested up to: 4.2
7-
Stable tag: 1.3.1
6+
Tested up to: 4.3
7+
Stable tag: 1.3.2
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -93,8 +93,14 @@ A: No. There are no limitations on the size of the images you want to compress.
9393
= Q: What happens when I reach my monthly compression limit? =
9494
A: Everything will keep on working, but newly uploaded images will not be compressed. Of course we encourage everyone to sign up for a full subscription.
9595

96+
= Q: Can I compress all existing images in my media library? =
97+
A: Yes! After installing the plugin, go to Tools > Compress JPEG & PNG images, and click on "Compress all images" to compress all uncompressed images in your media library.
98+
9699
== Changelog ==
97100

101+
= 1.3.2 =
102+
* In some cases a user would have different file sizes defined in Settings > Media which have the exact same pixel dimensions. Compressing images could then occasionally result in compressing the same image multiple times without being seen as 'compressed'. We now detect duplicate file sizes and don't compress them again.
103+
98104
= 1.3.1 =
99105
* Media library now shows when files are in the process of being compressed.
100106

tiny-compress-images.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
/**
33
* Plugin Name: Compress JPEG & PNG images
44
* Description: Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.
5-
* Version: 1.3.1
5+
* Version: 1.3.2
66
* Author: TinyPNG
77
* Author URI: https://tinypng.com
88
* License: GPLv2 or later
99
*/
1010

11-
1211
require (dirname(__FILE__) . '/src/config/tiny-config.php');
1312
require (dirname(__FILE__) . '/src/class-tiny-php.php');
1413
require (dirname(__FILE__) . '/src/class-tiny-wp-base.php');

0 commit comments

Comments
 (0)