Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Releases: facebookarchive/facebook-instant-articles-sdk-php

v1.8.0

17 Jan 11:42
7108507
Compare
Choose a tag to compare

New tracking system of transformer information
Removed log4php
Improved Transformer performance

Example on how to extract logging info from transformer.

        $instant_article = InstantArticle::create();
        $transformer = new Transformer();
        $transformer->loadRules($json_file);

        $html_file = file_get_contents(__DIR__ . '/simple.html');

        TransformerLog::setLevel(TransformerLog::DEBUG);
        $transformer->transformString($instant_article, $html_file);
        $result = $transformer->getLogs();

v1.7.0

23 Nov 02:11
Compare
Choose a tag to compare

This new version introduces the GlobalRule which allows for full html pages to be parsed without the need extensive use of IgnoreRule.

v1.6.2

27 Jul 19:27
Compare
Choose a tag to compare
  • Improved ImageRule to support images with Caption and Credit (#235)

v1.6.1

20 Jun 13:50
Compare
Choose a tag to compare

Milestone:
https://github.com/facebook/facebook-instant-articles-sdk-php/milestone/5?closed=1

Support ad density for auto placement
#222 by dlackty

Fix: Remove return annotation
#227 by localheinz

Fix: Use more appropriate assertion
#228 by localheinz

Fix: Remove accidentally checked in .DS_Store
#224 by localheinz

Fix: Run build on PHP 7.1
#223 by localheinz

v1.6.0

24 May 22:35
Compare
Choose a tag to compare
  • Adds support for defining the default time zone for parsing dates using the Transformer.
  • Sets the time zone to be fixed at 'America/Los_Angeles' unless otherwise specified.

v1.5.9

16 May 13:27
Compare
Choose a tag to compare
Bump version to v1.5.9

v1.5.8

12 May 03:09
Compare
Choose a tag to compare
Bump version to v1.5.8

v1.5.7

27 Apr 18:49
Compare
Choose a tag to compare
Bump version to v1.5.7

v1.5.6

20 Mar 18:48
Compare
Choose a tag to compare

PR #199 - Add parameter setting for formatting the Instant Articles before ingestion, making it easier to debug and read the markup.

PR #198 - Allows formatting footer copywright to have tag small on it

v1.5.5

13 Feb 18:29
Compare
Choose a tag to compare

Milestone finished: https://github.com/facebook/facebook-instant-articles-sdk-php/milestone/3

3 Main issues fixed:

  • Added parameterized options for turning on/off comments + likes for videos and images
  • Ability to remove any element from a given InstantArticle Element
  • Force re-scrape option into API for ingestion of any IA.

See complete list of fixed items and files changed into the milestone list.