1.0
Documentation
Documentation for 1.0 can be found here.
Deprecations / Notices
- PHP: Minimum supported version is now
7.4 add_tag()will trigger anE_USER_NOTICE, as the method name is misleading, and we prefer methods with named arguments; usetag_subscribe()(#44)form_subscribe()will trigger anE_USER_NOTICE, as we prefer methods with named arguments; useadd_subscriber_to_form()(#54)form_unsubscribe()will trigger anE_USER_NOTICE, as the method name is misleading, and we prefer methods with named arguments; useunsubscribe()(#45)
Features / Additions
- Added User-Agent on API requests (#34)
- Added
get(),post(),put()anddelete()methods (#36) - Added
get_forms()andget_landing_pages()methods (#41) - Added
get_form_subscriptions()method (#42) - Added Tag methods
get_tags(),create_tag(),tag_subscriber(),remove_tag_from_subscriber(),remove_tag_from_subscriber_by_email()(#44) - Added Subscriber methods
update_subscriber(),unsubscribe()(#45) - Added
add_subscriber_to_sequence()to support name, custom fields and tags (#43) - Added Custom Field methods
get_custom_fields(),add_custom_field(),add_custom_fields(),update_custom_field(),delete_custom_field()(#46) - Added Purchase method
get_purchase()(#47) - Added Webhook methods
create_webhook(), `destroy_webhook() (#48) - Added Broadcast methods
create_broadcast(),get_broadcast(),get_broadcast_stats(),update_broadcast(),destroy_broadcast()
Fixes / Improvements
- Fixed: Guzzle version set to 6.5 or higher (#20, #26, #27)
- Fixed:
get_subscriber_id()performance (#21, #22, #29, #39) - Refactored: fetching legacy forms and landing pages (#32)
- Refactored: using
api_versionproperty, API calls and logging (#37, #38) - Removed: Caching of resources and markup in class life cycle (#52)
- Removed:
InvalidArgumentExceptionwhere type hints for methods now exist (#43)