Skip to content

Releases: alleyinteractive/apple-news

v1.2.6

10 Aug 15:48
Compare
Choose a tag to compare
  • WP Standards: Ensured all instances of in_array use the strict parameter
  • WP Standards: Replaced all remaining instances of == with ===
  • WP Standards: Replaced all remaining instances of != with !==
  • WP Standards: Ensured all calls to wp_die with translated strings were escaped
  • WP Standards: Added escaping in a few additional places
  • WP Standards: Replaced all remaining instances of json_encode with wp_json_encode
  • Bugfix: Root-relative URLs for images, audio, and video are now supported
  • Bugfix: Images, audio, and video with blank or invalid URLs are no longer included, avoiding an error with the API
  • Bugfix: Image blocks with multiple src attributes (e.g., when using a lazyload plugin with a raw <img> tag in the <noscript> block) are now intelligently probed

v1.2.5

30 Mar 17:06
Compare
Choose a tag to compare

Version 1.2.5 is a bugfix-only release that addresses five issues:

  • Bugfix: Fixed version of PHPUnit at 5.7.* for PHP 7.* and 4.8.* for PHP 5.* in the Travis configuration to fix a bug with incompatibility with PHPUnit 6
  • Bugfix: Set the base URL for the Apple News API to https://news-api.apple.com everywhere for better adherence to official guidance in the API docs (props to ffffelix for providing the initial PR)
  • Bugfix: Made the administrator email on the settings screen no longer required if debug mode is set to "no"
  • Bugfix: Converted the error that occurs when a list of sections cannot be retrieved from the API to a non-fatal to fix a problem where the content of the editor would appear white-on-white
  • Bugfix: Resolved an error that occurs on some systems during plugin activation on the Add New screen due to a duplicated root plugin file in the WordPress.org version of the plugin

v1.2.4

10 Aug 15:49
Compare
Choose a tag to compare
  • Added an interface for customizing of component JSON
  • Added support for making certain components inactive
  • Added hanging punctuation option for pull quotes
  • Added additional styling options for drop caps
  • Added support for nested images in lists
  • Added support for Instagram oEmbeds
  • Updated the interface and workflow for customizing cover art

v1.2.3

10 Aug 15:49
Compare
Choose a tag to compare
  • Allowed mapping themes to Apple News sections
  • Added support for videos in feed
  • Added support for maturity rating
  • Added support for cover art
  • Added support for the Facebook component
  • Added support for captions in galleries
  • Bugfix for invalid JSON errors caused by non-breaking spaces and other Unicode separators

v1.2.2

10 Aug 15:50
Compare
Choose a tag to compare
  • Created Apple News themes and moved all formatting settings to themes
  • Added support for sponsored content (isSponsored)
  • Added ability to map categories to Apple News sections
  • Split block and pull quote styling
  • Allowed for removing the borders on blockquotes and pull quotes
  • Added post ID to the apple_news_api_post_meta and apple_news_post_args filters
  • Fixed handling of relative URLs and anchors in the post body
  • Provided a method to reset posts stuck in pending status
  • Added a delete confirmation dialog
  • Added a separate setting for automatically deleting from Apple News when deleted in WordPress
  • Fixed captions so that they're always aligned properly with the corresponding photo
  • Added separate settings for image caption style

v1.2.1

14 Jan 03:14
Compare
Choose a tag to compare
  • Added an experimental setting to enable HTML format on body elements.
  • Added settings for monospaced fonts, which applies to <pre>, <code>, and <samp> elements in body components when HTML formatting is enabled.
  • Added additional text formatting options, including tracking (letter-spacing) and line height.
  • Split text formatting options for headings to allow full customization per heading level.
  • Modified logic for image alignment so that centered and non-aligned images now appear centered instead of right-aligned.
  • Added an option for full-bleed images that will cause all centered and non-aligned images to display edge-to-edge.
  • Added logic to intelligently split body elements around anchor targets to allow for more opportunities for ad insertion.
  • Modified column span logic on left and right orientation to align the right side of the text with the right side of right-aligned images.
  • Fixed a bug caused by hardcoded column spans on center orientation.
  • Fixed a PHP warning about accessing a static class method using arrow syntax.
  • Added unit test coverage for new functionality.
  • Refactored several core files to conform to WordPress standards and PHP best practices.