Removes: Support for Facebook Instant Articles, as they are no longer supported by Facebook.
In this fourth release we added support for Apple News: New: Support for Apple News Format, specifically the following elements:
- text
- text boxes
- lists
- pull quotes
- image
- embed objects (posts from X etc.)
- image captions for images and embed objects
- video Support for Ruby 3.2
Removes: Support for Ruby 2.3
Refactoring:
- Rubocop autocorrections
Fix:
- Fix failing rspec tests
-
Improvements:
-
Add a script to update oembed stubs fixtures.
-
Support for
alt
attribute in images. -
Fix: Fix a bug when using the
[image-link-to: ]
tag.
- Fix: Only use https for soundcloud oembed api
- Improvement Add tags support in text_box element.
- Improvements to import and export image links from Google Docs
- Import image
href
from caption text using a custom tag - Export the image element href attribute as a link
- Fix: Only include slug from the soundcloud URL in google doc parser
- Support embedding SoundCloud
- Another fix to prevent
nil
elements when placing additional elements on articles that end with empty paragraphs
- Fix: prevent
nil
elements when placing additional element on empty articles
In this third bigger release we added support:
- For exporting articles in the Facebook Instant Article format
- For exporting articles in a plain text format
- To all exporters for
caption
elements that are an empty array - For
[no-caption]
text in Google Documents below elements (like images or embed URLs), this now returns empty caption for element
Improvements were done regarding additional element placement:
- Rework algorithm to place additional elements to better support placing a single element
- Improve behavior of multiple calls to
Article#place_additional_elements
One potentially breaking change was added:
- Remove deprecated
#register_html_element_exporter
, use#register_element_exporters
instead
Fixes:
- Fix AMP export of Twitter tweets
Fix: Handle non-successful OEmbed responses by rendering message
In this second release we added support to:
- Export AMP along with required libraries for AMP rendering
- Configure custom HTML and AMP element exporters
- Resolve oembed elements in HTML export
One potentially breaking change was added:
- Export quotes as
<div>
instead of<aside>
Fixes:
- Support Vimeo videos with old flash player URLs
- Make Google Parser more fault tolerant
- Respect linebreaks when importing Google Docs
- Export linebreaks in JSON to
<br>
tags in HTML / AMP
This is the very first release, with the following functionality:
- article-json format that supports several basic elements; like headings, paragraphs, images or lists
- Resolving of embedded elements like videos or tweets via OEmbed standard
- Conversion from and to JSON (or ruby hashes)
- Parsing of HTML exports from Google documents
- Export into plain HTML