Releases: alleyinteractive/apple-news
Releases · alleyinteractive/apple-news
v1.2.3
- 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
- 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
andapple_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
- 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.