Releases: Freespoke/partner-api-php
Releases · Freespoke/partner-api-php
v1.1.0
What's Changed
Added
Client::delete()— request deletion of a previously-indexed URL. Accepts the URL and an optional IndexItemid(40-char hex returned byindex()), and returns aDeleteResult(ornullon error).DeleteResult— new class holding the response data (id,error_message) for a successful delete request.Article::$test_mode— newboolflag (defaultfalse) that is forwarded astest_modein the index payload, allowing articles to be submitted without affecting production indexing.IndexStatusResult::$doc_id— the indexed document id, parsed from agoogle.protobuf.StringValuejob result when available.
Changed
Personhas been extracted fromsrc/Article.phpinto its ownsrc/Person.phpfile for correct PSR-4 autoloading. No API changes — the class name and properties are unchanged.
Full Changelog: https://github.com/Freespoke/partner-api-php/commits/v1.1.0