Skip to content

Releases: ResponsiveImagesCG/wp-tevko-responsive-images

3.1.1

17 Dec 03:53
Compare
Choose a tag to compare
  • Fixes a bug where the srcset of images in imported content was missing or broken (issue #263).
  • Improved calculation of ratio difference for images to be included in the srcset. (issue #260).
  • Fixes a bug where img tags without ending slash don't get responsive images (issue #259).
  • Deprecates the helper function tevkori_get_media_embedded_in_content() which is no longer used.
  • Makes sure that the setup of default themes doesn't break the tests (issue #261).
  • Adds more examples to the Hook Reference in readme.md.
  • Corrections and improvements to inline documentation.

3.1.0

17 Nov 15:21
Compare
Choose a tag to compare

Changes

  • Adds special handling of GIFs in srcset attributes to preserve animation.
  • Makes internal srcset/sizes functions more consistent.
  • Fixes a bug where functions hooked into tevkori_image_sizes_args were not firing.
  • Fixes a bug where custom sizes attributes added via the post editor were being overwritten.
  • Deprecates hook wp_get_attachment_image_sizes.
  • Fixes a bug where the_post_thumbnail() would fail to add srcset/sizes attributes.
  • Several improvements to internal inline documentation.
  • Major improvements to function/hook documentation in readme.md after 3.0.0 changes.

3.0.0

06 Nov 02:47
Compare
Choose a tag to compare

This is a huge compatibility update to get ready for WordPress version 4.4. Everyone should upgrade.

In this version we deprecate all of our old internal functions that were merged into WordPress and load copies of the core WordPress functions on installs older than version 4.4.

Changelog:

  • Deprecates all core functions that will be merged into WordPress core in 4.4.
  • Adds compatibility shims for sites using the plugin's internal functions and hooks.
  • Adds a new display filter callback which can be use as general utility function for adding srcset and sizes attributes.
  • Fixes a bug when wp_get_attachment_metadata() failed to return an array.
  • Update our tests to be compatible with WordPress 4.4
  • Upgrade to Picturefill 3.0.1
  • Clean up inline docs.

2.5.2

03 Oct 04:17
Compare
Choose a tag to compare
  • Numerous performance and usability improvements
  • Pass height and width to `tevkori_get_sizes()
  • Improved regex in display filter
  • Avoid calling wp_get_attachment_image_src() in srcset functions
  • Improved coding standards
  • Removed second regular expression in content filter
  • Improved cache warning function
  • Change default $size value for all function to 'medium'

2.5.1

03 Oct 04:21
Compare
Choose a tag to compare
  • Query all images in single request before replacing
  • Minor fix to prevent a potential undefined variable notice
  • Remove third fallback query from the display filter

2.5.0

24 Sep 20:43
Compare
Choose a tag to compare
  • Responsify all post images by adding srcset and sizes through a display filter.
  • Improve method used to build paths in tevkori_get_srcset_array()
  • Adds linthub config files
  • Returns single source arrays in tevkori_get_srcset_array()
  • Add tests for PHP7 to our Travis matrix
  • Add test coverage for tevkori_filter_attachment_image_attributes()
  • Removes deprecated function, tevkori_get_src_sizes()

2.4.0

02 Sep 00:53
Compare
Choose a tag to compare
  • Added filter for tevkori_get_sizes, with tests
  • Added Composer support
  • Improved aspect ratio logic
  • Cleanup of code style and comments added
  • Added PHP 5.2 to our Travis test matrix
  • Fixed unit test loading
  • Preventing duplicates in srcset array
  • Updated docs for advanced image compression
  • Bump plugin 'Tested up to:' value to 4.3
  • Added 'sudo: false' to travis.ci to use new TravisCI infrastructure
  • Removing the srcset and sizes attributes if there is only one source present for the image
  • Use edited image hash to filter out originals from edited images
  • Make output of tevkori_get_srcset_array filterable
  • Readme cleanup, changelog added.

2.3.1

27 May 01:50
Compare
Choose a tag to compare
  • First char no longer stripped from file name if there's no slash
  • Adding test for when uploads directory not organized by date
  • Don't calculate a srcset when the image data returns no width
  • Add test for image_downsize returning 0 as a width

2.3.0

18 May 02:02
Compare
Choose a tag to compare
  • Improved performance of get_srcset_array
  • Added advanced image compression option (available by adding hook to functions.php)
  • Duplicate entires now filtered out from srcset array
  • Upgrade Picturefill to 2.3.1
  • Refactoring plugin JS, including a switch to ajax for updating the srcset value when the image is changed in the editor
  • Now using wp_get_attachment_image_attributes filter for post thumbnails
  • Readme and other general code typo fixes
  • Gallery images will now contain a srcset attribute

2.2.0

24 Mar 01:58
Compare
Choose a tag to compare
  • The mandatory sizes attribute is now included on all images
  • Updated to Picturefill v2.3.0
  • Extensive documentation included in readme
  • Integrated testing with Travis CLI
  • Check if wp.media exists before running JS
  • Account for rounding variance when matching ascpect ratios