Skip to content

Releases: Devex/article_json

v0.4.0

13 Feb 15:04
Compare
Choose a tag to compare

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

12 Dec 15:58
Compare
Choose a tag to compare

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

11 May 10:29
Compare
Choose a tag to compare

Fix: When parsing a Google Document, only store slug from SoundCloud URL

Release 0.3.3

12 Apr 16:24
Compare
Choose a tag to compare

This release adds support to include support for embedding SoundCloud elements

Release 0.3.2

07 Dec 12:33
Compare
Choose a tag to compare

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

06 Dec 17:10
Compare
Choose a tag to compare

This release is only fixing an issue with preventing nil elements when placing additional element on empty articles

Release 0.3.0

21 Nov 11:49
Compare
Choose a tag to compare

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

08 Nov 15:23
Compare
Choose a tag to compare

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

03 Nov 13:26
Compare
Choose a tag to compare

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

20 Sep 13:33
Compare
Choose a tag to compare

See changelog for more info.