add examples as a submodule
Version 0.7.1
- set content-length to 0 explictly to avoid a bug between libcurl and Twitter (Issue #94)
- allow initialization without a configuration array (default config to array())
- prevent ->url allowing double slashes in paths
Version 0.7.2
- use DIRECTORY_SEPARATOR for multi-environment support. (Issue #80) Props: whallz
- tidied up the curlHeader function to use explode instead of substr and store the keys in the format they are returned from the API
- removed content-length hack as it isn't needed if CURLOPT_POSTFIELDS is initialized on all POSTs
- removed the expects header hack as Twitter no longer requires it to be there
- introduce composer.json. (Issues #39, #77, #85) Props: akandels, conradkleinespel, dguyon, kud, philsturgeon, willdurand
- added support for specifying custom headers when using $tmhOAuth->request. (Issue #98)
Version 0.7.3
- add support for making requests with the host header being different to the request host.
- ensure headers with the same key do not overwrite each other in $tmhOAuth->response['headers'].
- removed examples submodule in favor of examples including tmhOAuth, rather than tmhOAuth including examples
- made it so that if param values are sent to $tmhOAuth->request as an array (key -> array()) then $tmhOAuth->prepare_params will now implode them using ','
- fixed composer. (Issue #99). Props: rasa
- fixed PHPDoc. (Issue #47). Props: trante
- instead of void, $tmhOAuth->curlit now returns 0 if 'prevent_request' is set
Version 0.7.4
- corrections to composer.json to support packagists requirements. (Issue #110)
Version 0.7.5
- tidying up of composer.json. (Issue #112) Props: ceeram
Version 0.8.0
- update cacert.pem with certificate data from Mozilla as of: Sat Dec 29 20:03:40 2012
- in `$tmhOAuth->url` don't prepend the host name if the URL begins with `http`
- in `$tmhOAuth->url` remove multi-slashes
- rename tweets to messages in streaming metrics
- rename user_token and user_secret to token and secret so that it matches the oauth parameter names
- remove change history and publish to the wiki instead: <https://github.com/themattharris/tmhOAuth/wiki/Change-History>
- removed `tmhUtilities.php` as it's only used in the examples
- add application only auth support
- create request helper methods for unauthenticated, user and apponly requests.
- refactor `prepare_params` to support new auth methods
- introduce `reconfigure` method for updating the tmhOAuth configuration. (Issue #118). Props: philsturgeon
- don't set the default timezone. (Issue #125). Props: mbeccati
- introduce `bearer_token_credentials` for app only auth.
- `$tmhOAuth->config['v']` is ignored. instead specify the API version in the path you pass to `$tmhOAuth->url`
Version 0.8.1
- prioritize `$tmhOAuth->config['token']` and `$tmhOAuth->config['secret']` over `$tmhOAuth->config['user_token']` and `$tmhOAuth->config['oauth_secret']`
- consider `$tmhOAuth->config['use_ssl']` as well when setting +SSL in the useragent
- update readme and composer description
Version 0.8.2
- fix backwards compatibility with `$tmhOAuth->config['user_token']` and `$tmhOAuth->config['user_secret']`
Version 0.8.3
- allow setting of CURLOPT_HTTP_VERSION. (Issue #150) Props: kashum
- define __DIR__ if it's not defined already. (Issue #145) Props: kashum
- prepend a blank space to the beginning of strings in multipart requests so that curl doesn't try and process them as a file. (Issue #46)