Releases: alleyinteractive/apple-news
v2.2.1-built
A version of v2.2.1 that contains pre-built JavaScript assets for Gutenberg. This version matches what is deployed to WordPress.org, and is suitable for inclusion via submodule.
v2.2.1
- Bugfix: Fixed a bug with
.papi
file upload that occurred when any of the three fields (channel_id, key, secret) contained a character that was not alphanumeric or a hyphen (e.g.,/
), which would cause the field to get cut short, thereby causing API requests to fail.
v2.2.0-built
A version of v2.2.0 that contains pre-built JavaScript assets for Gutenberg. This version matches what is deployed to WordPress.org, and is suitable for inclusion via submodule.
v2.2.0
- Enhancement: Added support for HLS video (.m3u8) in thumbnails.
- Enhancement: Added support for custom article metadata.
- Enhancement: Added a slug component (props to @hughiemolloy for the initial work).
- Enhancement: Added support for HTML in headings.
- Enhancement: Added support for uploading .papi files to configure channel credentials.
v2.1.3-built
A version of v2.1.3 that contains pre-built JavaScript assets for Gutenberg. This version matches what is deployed to WordPress.org, and is suitable for inclusion via submodule.
v2.1.3
- Enhancement: Added article authors to the
metadata.authors
property so they display in the article listing view on Apple News. - Enhancement: Added a new filter for whether to enable Co-Authors Plus support, which defaults to
true
if thecoauthors
function is defined (the same as the previous behavior, but now the setting is filterable). - Enhancement: Updated the plugin description to more clearly articulate its purpose and intended users.
- Bugfix: Fixed a bug with applying automatic section mappings based on taxonomy in a Gutenberg context.
- Bugfix: Fixed a bug with video metadata parsing related to having a
video
element with asrc
attribute rather thansource
inner elements.
v2.1.2-built
A version of v2.1.2 that contains pre-built JavaScript assets for Gutenberg. This version matches what is deployed to WordPress.org, and is suitable for inclusion via submodule.
v2.1.2
- Bugfix: Fixed an error that would occur if sections could not be fetched from the API, where the function being called to handle the error didn't exist.
- Bugfix: Removed unnecessary argument to
libxml_clear_errors
which was causing an error in PHP 8.
v2.1.1-built
A version of v2.1.1 that contains pre-built JavaScript assets for Gutenberg. This version matches what is deployed to WordPress.org, and is suitable for inclusion via submodule.
v2.1.1
- Enhancement: Clarifies source of admin messages coming from the plugin to ensure that they say "Apple News."
- Enhancement: Adds checks for plugin initialization before making REST responses.
- Enhancement: Adds documentation to all hooks, which has been synchronized with the wiki.
- Bugfix: Resolves an issue where API information (e.g., article ID) were removed upon save when using the Gutenberg editor, which would cause articles in WordPress to become unlinked from articles in Apple News, and would result in a duplicate article error if publishing again was attempted.
- Bugfix: Uses new
wp_after_insert_post
hook, if available (was added in WP 5.6) to ensure that postmeta and terms are saved before running an autosync to Apple. - Bugfix: Pullquote styles are now being included properly if alignments other than the default are used.
- Bugfix: Stops using
get_user_attribute
on VIP Go, preferringget_user_meta
instead. - Bugfix: Resolves an error when using theme preview related to a bad script localization reference.
- Bugfix: Ensures that notices are available via the REST API for custom post types.
- Bugfix: Replaces admin sections error display function.
- Bugfix: Updates
pluginSidebar
sections default values to prevent save errors in some cases. - Bugfix: Outdated links to Apple News docs have been replaced with their modern equivalents.