Skip to content

2.7.0 “Bramley”

Compare
Choose a tag to compare
@mynetx mynetx released this 14 May 17:55
· 196 commits to develop since this release

Welcome to codebird-php 2.7.0!

This is the last version of Codebird 2, and the last one supporting PHP 5.3.

From the upcoming version 3.0 on, Codebird will require PHP 5.5 or newer.
With PHP 5.3 reaching its end of life back in August 2014, this step ensures that Codebird can take advantage of all new and current PHP features without carrying on deprecated ones.

The Codebird 2.7 branch will only receive security and bug fixes, apart from the new features already included in 2.7.0.

We plan to support Codebird 2.7 until December 31st, 2015.

What’s new in Codebird 2.7 “Bramley”?

  • Codebird now supports connecting to Twitter via HTTP proxies.
    These proxies are supported with and without authentication. Peek into the updated README file to find out how to set up your code to communicate with the Twitter API through a proxy or firewall.

    Thanks Maxime Pasquier for this contribution!

  • All communication with external hosts (in particular, for downloading remote media images and interacting with the Twitter API) now includes a proper User-Agent header. It is set to the Codebird version you’re using.

  • For logging out the currently active Twitter user (thus, deleting their access token and secret), call the new logout() method.

    Thanks Namib for suggesting this!

  • Failed remote requests (for example, because of timeouts when downloading remote images) now trigger an Exception that you may want to catch.

    Thanks Eban Escott for suggesting this!

Fixed in 2.7.0:

  • We fixed several upload issues when tweeting remote media images.
    This includes downloading images from certain hosts that used to block requests because previous Codebird versions did not set a User-Agent header.

    Thanks Eric Klien for reporting this!

  • Support for internal and old Twitter API methods was dropped.
    In case you really want to make use of undocumented and beta APIs (such as the Collections API), you’re welcome to create a fork for that.

Behind the name

Jublo calls its milestone codenames after places in lovely Yorkshire, England.
Bramley is a district in west Leeds, West Yorkshire. The area is an old industrial area with much 19th century architecture and 20th century council housing in the east and private suburban housing in the west. Bramley was first mentioned in 1086.

Reporting issues

If you encounter any problems, please report them here:
https://github.com/jublonet/codebird-php/issues/new?milestone=10&title=%5B2.7.0%5D+