forked from beezwax/WP-Publish-to-Apple-News
-
Notifications
You must be signed in to change notification settings - Fork 71
Changelog
Bradford Campeau-Laurion edited this page Feb 28, 2017
·
23 revisions
- 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
- 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
- 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
- Added an experimental setting to enable HTML format on body elements.
- Added settings for monospaced fonts, which applies to
,
, and 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.
- Added a live preview of the font being selected (macOS only).
- Added a live preview of formatting settings (font preview in macOS only).
- Switched to the native WordPress color picker for greater browser compatibility.
- Added a framework for JSON validation and validation for unicode character sequences that are symptomatic of display issues that have been witnessed, though not reproduced, in Apple News.
- Broke out Action_Exception into its own class file for cleanliness.
- Added direct support links to every error message.
- Added better formatting of multiple error messages.
- Added unit tests for the Apple_News and Admin_Apple_Notice classes.
- Added new unit tests for Push.
- Updated the logic for bundling images for the Apple News API's new, stricter MIME parsing logic.
- Fixed a bug with the Apple News meta box not saving values when "Automatically publish to Apple News" was set to "Yes".
- Fixed a bug with posts created via cron skipping post status validation (thanks, agk4444 and smerriman!).
- Fixed a bug with automatically publishing scheduled posts (thanks, smerriman!).
- Apple News meta box is now displayed by default on posts.
- Displaying the Apple News meta box even on draft posts to allow saving settings before publish.
- Updated minimum PHP version to 5.3.6 due to usage of DOMDocument::saveHTML.
- Fixed invalid formatting for plugin author name and plugin URI.
- isPreview=false is no longer sent passively to the API. Only isPreview=true is sent when explicitly specified.
- Fixed an issue where author names with hashtags were breaking the byline format.
- Added image settings, bundled images (if applicable) and JSON to the debug email.
- Checking for blank body nodes early enough to remove and log them as component errors.
- Retrieving and displaying more descriptive error messages from the API response.
- Updated logic for creating a unique ID for anchored components to avoid occasional conflicts due to lack of entropy.
- Fixed issue with lack of container for components when cover isn't the first component causing text to scroll awkwardly over the image with the parallax effect.
- Added the ability to set the body background color.
- Fixed issue with empty but valid JSON components causing an "Undefined index" error in Apple News validation.
- Fixed issue with an invalid API response or unreachable endpoint causing the post edit screen to break when trying to load the Apple News meta box.
- Released updates to the default settings for the Apple News template
- Added customizable settings for pull quote border color, style and width
- Refactored logic to obtain size of bundled images for wider web host compatibility
- Fixed issue with the Apple News plugin not respecting the site's timezone offset
- Added support for remote images
- Fixed error on loading the Apple News list view before channel details are entered
- Fixed issue with publishing to sections
- Added composer support (thanks ryanmarkel!)
- Removed unnecessary ob_start() on every page load
- Fixed issue with manual publish button on post edit screen
- Fixed issue with bottom bulk actions menu on Apple News list table
- Added ability to publish to any section
- Added ability to publish preview articles
- Added support for date metadata (https://developer.apple.com/library/ios/documentation/General/Conceptual/Apple_News_Format_Ref/Metadata.html#//apple_ref/doc/uid/TP40015408-CH3-SW1)
- Fixed issue with shortcodes appearing in excerpt metadata
- Added the ability to alter a component's style property via a filter
- Refactored plugin settings to save as a single option value
- Settings are now only deleted on uninstall and not deactivation
- Removed unit tests that were making remote calls to the API
- Added improved support for known YouTube and Vimeo embed formats
- Addressed issue with component order settings field for users with PHP strict mode enabled.
- Updated the plugin from 0.10 to 1.1 Apple News format.
- Added alert options when unsupported embeds are found in the post content while publishing.
- Added better handling for MIME_PART_INVALID_SIZE errors.
- Added the ability to reorder the title, cover and byline components.
- Updated ads to use new features available in the 1.1 Apple News format.
- Minor settings page updates.
- Resolved some PHP warnings on the dashboard.
- Updated all unit tests and improved test coverage.
- Fixed a performance issue caused by introduction of live post status, added 60 second cache and removed from email debugging.
- Added canonicalURL to metadata (thanks @dashaluna)
- Added automatic excerpt to metadata following normal WordPress logic if a manual one is not present
- Removed unnecessary redirect logic and allowed Apple News notices to display on any screen, updated vague error messages for clarity
- Added plugin information to generator metadata
- Added new field for adjusting byline format
- Added the ability to set the field size and required attributes on the Apple News settings page
- Fix matching of Instagram URL, so component is generated correctly (thanks @dashaluna)
- Added logic to extract the thumbnail/cover from the body content when not explicitly set via the featured image
- Added display of current Apple News publish state to admin screens
- Added set_layout as a separate method for consistency in the Twitter component (thanks @dashaluna)
- Use register_full_width_layout instead of register_layout for byline and cover for consistency (thanks @dashaluna)
- Matching dashes and extra query parameters in YouTube URLs (thanks @smerriman)
- Added multiple checks for publish status throughout built-in publishing scenarios. Still allowing non-published posts to be pushed at the API level to not prevent custom scenarios. Fixed issue with auto publishing not respecting post type settings.
- Improvements to asynchronous publishing to ensure posts cannot get stuck in pending status and to return all error messages that may occur.
- Bug fixes for removing HTML comments, fixing video embed URL regular expressions and fixing auto sync and auto update logic.
- Major production release. Introduces asynchronous publishing for handling large posts, developer tools, new filters and bug fixes.
- Initial release. Includes changes for latest WP Plugin API compatibility and Apple News Publisher API.
For support, please file an issue here on GitHub or visit the WordPress.org support forum.