Skip to content

Releases

Tachyon Edge Images 0.2.1

Choose a tag to compare

@soderlind soderlind released this 11 Nov 08:03
ab03082

Added

  • Opt-in TACHYON_EDGE_IMAGES_KEEP_UNATTACHED_FILENAMES constant and tachyon_edge_images_keep_unattached_filenames filter: a content image with no identified attachment keeps its -WxH file name suffix, for originals named like photo-900x600.jpg (humanmade/tachyon-plugin#43).
  • Opt-in TACHYON_EDGE_IMAGES_PRESERVE_AT_SIGN constant and tachyon_edge_images_preserve_at_sign filter: tachyon_url() keeps @ in file names instead of encoding it as %40 (humanmade/tachyon-plugin#23).

Fixed

  • image_downsize no longer warns about undefined width/height keys when attachment metadata lacks dimensions. It leaves the image to WordPress, as with missing metadata (Deviation 3).

Docs

  • README and readme.txt rewritten in plainer language, with one section for the optional fixes.

Tachyon Edge Images 0.2.0

Choose a tag to compare

@soderlind soderlind released this 09 Nov 15:54
993bb7d

Internal

  • The content, image_downsize and srcset paths read site data through Image Facts (ADR 0003), and have unit tests. No change in output.
  • Content::filter() is split into private steps (image source, dimensions, content width, Tachyon arguments, tag rewrite), with tests for tag rewriting. gravity() moved to Images. No change in output.
  • Rest keeps its stack of nested REST requests on an instance, so the test-only reset() is gone. A test checks that editor.js sends the header Rest reads. No change in output.

No change in output. Comparison against tachyon-plugin 0.11.1: 53 of 53 cases match.