Releases: facebookarchive/facebook-instant-articles-sdk-php
v1.8.0
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
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
v1.6.1
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
- 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
Bump version to v1.5.9
v1.5.8
Bump version to v1.5.8
v1.5.7
Bump version to v1.5.7
v1.5.6
v1.5.5
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.