Releases: Devex/article_json
v0.4.0
In this fourth release, we have 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
Release 0.3.5
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
Release 0.3.4
Fix: When parsing a Google Document, only store slug from SoundCloud URL
Release 0.3.3
This release adds support to include support for embedding SoundCloud elements
Release 0.3.2
This patch release contains another fix to prevent nil
elements when placing additional elements on articles that end with empty paragraphs.
Release 0.3.1
This release is only fixing an issue with preventing nil
elements when placing additional element on empty articles
Release 0.3.0
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
Release 0.2.1
This release is fixing issues with bad OEmbed responses which previously caused the entire exporting of the article to fail.
Now it will render a message instead of the embedded element telling the viewer that the embedded element could not be loaded.
Release 0.2.0
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
Release 0.1.0
See changelog for more info.