1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-17 21:38:16 +01:00

82 Commits

Author SHA1 Message Date
Imants Horsts
c4c5c9dee2 typo 2013-04-02 01:41:59 +03:00
angelk
1b35dffcb2 README add mssing "." 2013-02-08 15:34:36 +02:00
Francesc Rosàs
1290a5dc94 Projects should depend on the last minor version 2013-01-24 15:04:47 +01:00
Michael Dowling
7ca4b67b40 Merge pull request #159 from pborreli/typos
Fixed typos
2012-11-03 16:17:52 -07:00
Pascal Borreli
1383034e29 Fixed typo 2012-11-03 12:33:36 +00:00
Pascal Borreli
c309f229ff Fixed typos 2012-11-03 00:09:36 +00:00
Michael Dowling
8cffe26006 Adding information about unit testing to the readme 2012-10-31 22:47:44 -07:00
Michael Dowling
8eb77e1996 Removing readme section on unit testing 2012-10-15 18:12:36 -07:00
Michael Dowling
93e2405749 Tagging 2.8.6 2012-09-05 16:30:30 -07:00
Michael Dowling
0c086f67a0 Fixing ResourceIteratorFactoryInterface.php to use an empty array. Fixing Travis build status image. 2012-09-05 00:43:02 -07:00
Michael Dowling
95bd5309ad Updating version for UA string. Fixing test that was not mocked correctly. Updating build process. 2012-06-26 18:58:44 -07:00
Michael Dowling
5a7d43693f Adding more installation instructions to the README 2012-06-26 17:32:25 -07:00
Michael Dowling
688631a8c3 Updating readme 2012-06-17 18:01:14 -07:00
Michael Dowling
c0dc85de35 Breaking / Potentially breaking changes:
1. Adopting a marker interface for Guzzle exceptions.
        A. All exceptions emitted from Guzzle are now wrapped with a Guzzle namespaced exception.
        B. Guzzle\Common\GuzzleExceptionInterface was renamed to Guzzle\Common\GuzzleException
        C. Guzzle\Common\ExceptionCollection was renamed to Guzzle\Common\Exception\ExceptionCollection
    2. Using Header objects for Request and Response objects
        A. When you call $request->getHeader('X'), you will get back a Guzzle\Http\Message\Header object that contains all of the headers that case insensitively match.  This object can be cast to a string or iterated like an array.  You can pass true in the second argument to retrieve the header as a string.
        B. Removing the old Guzzle\Common\Collection based searching arguments from most of the request and response header methods.  All retrievals are case-insensitive and return Header objects.
    3. Changing the two headers added by the cache plugin to just one header with key and ttl.
    4. Changing Guzzle\Http\Message\Response::factory() to fromMessage().
    5. Removing the NullObject return value from ServiceDescriptions and instead simply returning null

New Features / enhancements:

    1. Adding Guzzle\Http\Message\AbstractMessage::addHeaders()
    2. Making it simpler to create service descriptions using a unified factory method that delegates to other factories.
    3. Better handling of ports and hosts in Guzzle\Http\Url

Note: This is a noisy diff because I'm removing trailing whitespace and adding a new line at the end of each source file.
2012-04-22 00:17:49 -07:00
Michael Dowling
f57169a2d6 Updating to the latest version of composer so that Guzzle uses require-dev and --dev configuration options 2012-04-16 15:13:53 -07:00
Michael Dowling
02f9785f93 [Service] Adding an AliasFactory for aliasing one command name to another. Updating README for new composer setup. Making the build script more generalized. 2012-04-15 12:00:12 -07:00
Michael Dowling
5fd1ae9a82 Updating readme to mention PATCH requests 2012-03-20 11:27:40 -05:00
Michael Dowling
b9c04909c7 Adding support for URI templates
[Http] UriTemplate syntax supports {} or {{}} for backwards compatibility.
[Http] Guzzle::inject() now allows {} or {{}} injection for consistency.
[Http] BC: removing Guzzle\Http\Client::inject and now using Guzzle\Http\Client::expandTemplate.
[Http] Can use a custom syntax for URI templates (this might be useful for something like Solr because Solr actually uses {}).
[Http] Adding the ability to inject a custom UriTemplate into clients or just use the default UriTemplate
[Http] You can now use an array when creating a request via a client to specify a URI template and additional template variables.
[Service] Adding support for URI templates to service descriptions.
[Service] [BC] removing Guzzle\Service\Description\ApiCommand::getPath() and replacing it with getUri().
[Service] Use "uri" instead of "path" when creating service descriptions.  However, there is still backwards compatibility with the "path" attribute.
2012-02-07 23:23:39 -06:00
Michael Dowling
59fd695b4f Using automated links instead of github downloads for phar files 2012-01-23 09:30:01 -06:00
Michael Dowling
466c28e224 Fixing link to phar in readme 2012-01-21 17:31:21 -06:00
Michael Dowling
ab4b848dc0 Adding IRC info 2012-01-16 14:12:22 -06:00
Michael Dowling
4c46e77015 Guzzle 2.0
Adopting composer for dependency management
Updating LICENSE, travis build file, making better use of git ignores, and remove unused build target
Removing @author tags.  Use the commit history for a changelog.
Moving files from build folder to /
Adding min build target to product a Guzzle only phar with no autoloader
[Common] Accepting ZF1 or ZF2 cache in ZendCacheAdapter
[Common] Optimizing Stream wrapper and EntityBody abstractions.
[Common] [Http] Migrating from Guzzle event system to the Symfony2 event dispatcher
[Common] Moved Inflector and Inspector to Service namespace
[Http] Simplifying Guzzle\Guzzle curl detection
[Http] Removing Guzzle\Http\Pool and now using Guzzle\Http\Curl\CurlMulti
[Http] The helper methods from Guzzle\Http\Message\RequestFactory have been removed to prevent confusion and encourage developers to use Guzzle\Http\Client to create requests.
[Http] Clients can now send one or more requests in an array using the send() method, so the batch() method was removed.
[Http] Updating curl multi to allow blocking calls while sending other transfers
[Http] Making the Request::hasHeader method more intuitive.  Guzzle\Http\Message\AbstractMessage::hasHeader() now returns true if the header is found using exact matching.  If the header is found using a regex or case-insensitive match, then it will return the name of the found header.
[Http] Removing content-type guessing from EntityBody based on file extension and solely using finfo.
[Http] Adding basic auth plugin
[Http] Cleaning up CookieJar and CurlMulti
[Http] Removing custom rawurlencode from QueryString because PHP 5.3 now properly deals with tilde characters.
[Http] Minor optimization to parsing messages in RequestFactory
[Http] Adding Guzzle\Http\Client for developers that don't need commands or service descriptions
[Http] Making it easier to set a global User-Agent header for a Guzzle\Http\Client
[Http] Fixing the discrepancies between the ClientInterface and Guzzle\Http\Client
[Http] Adding the ability to set and retrieve tokenized headers from Requests and Responses
[Service] Ditching NIH filters and using the Symfony2 validator
[Service] Moving most service building logic to the ServiceBuilder::factory method so that it is easier to build custom config readers.
[Service] Allowing deep nested command inheritance.
[Service] Cleaning up Inflector caching.
[Service] Getting rid of concept of can_batch because everything is now sent in parallel.
[Service] Adding a JSON description builder.
[Service] Cleaning up ResourceIteratorApplyBatched.
[Service] Removing caching stuff from ServiceBuilder because the data being cached is extremely fast to generate.
[Service] Added a method to serialize the ServiceDescription in case a ServiceDescription needs to be cached in an application.
[Service] Making description builders use static methods.
[Service] Adding support to include other description files for XML and JSON description builders.
[Service] Adding support for filters to ApiCommands
[Service] Using {{}} instead of $. to reference other services as a dependency for another service
2012-01-14 13:57:05 -06:00
Michael Dowling
f4dabcfc58 Updating README 2011-11-13 19:29:05 -06:00
Michael Dowling
ca629f8593 Adding link to phar 2011-11-13 18:46:17 -06:00
Michael Dowling
a5bf022a31 Adding travis-ci build status image 2011-11-13 13:34:08 -06:00
Michael Dowling
b5f0507a0c [Tests] Adding .travis.yml
Removing logging from node server
Fixing history plugin test
Fixing bzip2 test
Fixing timestamp test
2011-11-13 13:30:34 -06:00
Michael Dowling
d390a5f2e3 [Service] Making it easier to send requests in parallel using the batch() command of a client. Updating tests to use MockPlugin 2011-11-12 21:19:22 -06:00
Michael Dowling
d1e2157e62 Fixing typo 2011-11-11 17:26:18 -06:00
Michael Dowling
f260138eb5 Updating readme 2011-11-11 17:21:41 -06:00
Michael Dowling
fbd9c7312d Using reStructuredText for the README 2011-03-02 17:41:16 -06:00
Michael Dowling
519fa1be42 Updating readme 2011-03-02 17:34:42 -06:00
Michael Dowling
1cf1a8637f Renaming readme to use markdown 2011-02-27 22:35:22 -06:00