1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00
rest-client--rest-client/history.md

134 lines
6.3 KiB
Markdown
Raw Normal View History

2011-08-24 12:10:20 -04:00
# 1.6.7
- rebuild with 1.8.7 to avoid https://github.com/rubygems/rubygems/pull/57
2011-08-22 12:36:32 -04:00
# 1.6.6
2011-08-24 12:10:20 -04:00
- 1.6.5 was yanked
2011-08-22 12:36:32 -04:00
# 1.6.5
- RFC6265 requires single SP after ';' for separating parameters pairs in the 'Cookie:' header (patch provided by Hiroshi Nakamura)
- enable url parameters for all actions
2011-08-15 04:17:43 -04:00
- detect file parameters in arrays
- allow disabling the timeouts by passing -1 (patch provided by Sven Böhm)
# 1.6.4
- fix restclient script compatibility with 1.9.2
2011-07-12 13:31:48 -04:00
- fix unlinking temp file (patch provided by Evan Smith)
- monkeypatching ruby for http patch method (patch provided by Syl Turner)
2011-06-04 19:08:12 -04:00
# 1.6.3
2011-06-04 19:08:12 -04:00
- 1.6.2 was yanked
2010-09-16 09:59:41 -04:00
# 1.6.2
- add support for HEAD in resources (patch provided by tpresa)
2010-11-04 16:15:32 -04:00
- fix shell for 1.9.2
- workaround when some gem monkeypatch net/http (patch provided by Ian Warshak)
- DELETE requests should process parameters just like GET and HEAD
2010-12-07 13:50:54 -05:00
- adding :block_response parameter for manual processing
2011-01-21 04:08:06 -05:00
- limit number of redirections (patch provided by Chris Dinn)
- close and unlink the temp file created by playload (patch provided by Chris Green)
2011-05-06 11:07:00 -04:00
- make gemspec Rubygems 1.8 compatible (patch provided by David Backeus)
- added RestClient.reset_before_execution_procs (patch provided by Cloudify)
- added PATCH method (patch provided by Jeff Remer)
- hack for HTTP servers that use raw DEFLATE compression, see http://www.ruby-forum.com/topic/136825 (path provided by James Reeves)
2010-09-16 09:59:41 -04:00
# 1.6.1
- add response body in Exception#inspect
2010-07-02 17:21:32 -04:00
- add support for RestClient.options
2010-07-03 07:30:06 -04:00
- fix tests for 1.9.2 (patch provided by Niko Dittmann)
2010-07-03 07:30:58 -04:00
- block passing in Resource#[] (patch provided by Niko Dittmann)
- cookies set in a response should be kept in a redirect
- HEAD requests should process parameters just like GET (patch provided by Rob Eanes)
2011-01-21 04:08:06 -05:00
- exception message should never be nil (patch provided by Michael Klett)
# 1.6.0
- forgot to include rest-client.rb in the gem
- user, password and user-defined headers should survive a redirect
- added all missing status codes
- added parameter passing for get request using the :param key in header
- the warning about the logger when using a string was a bad idea
- multipart parameters names should not be escaped
2010-06-03 15:18:48 -04:00
- remove the cookie escaping introduced by migrating to CGI cookie parsing in 1.5.1
- add a streamed payload type (patch provided by Caleb Land)
- Exception#http_body works even when no response
# 1.5.1
- only converts headers keys which are Symbols
2010-04-30 14:31:24 -04:00
- use CGI for cookie parsing instead of custom code
- unescape user and password before using them (patch provided by Lars Gierth)
- expand ~ in ~/.restclientrc (patch provided by Mike Fletcher)
- ssl verification raise an exception when the ca certificate is incorrect (patch provided by Braintree)
# 1.5.0
2010-03-19 15:49:26 -04:00
- the response is now a String with the Response module a.k.a. the change in 1.4.0 was a mistake (Response.body is returning self for compatability)
- added AbstractResponse.to_i to improve semantic
- multipart Payloads ignores the name attribute if it's not set (patch provided by Tekin Suleyman)
- correctly takes into account user headers whose keys are strings (path provided by Cyril Rohr)
- use binary mode for payload temp file
- concatenate cookies with ';'
2010-04-15 13:26:33 -04:00
- fixed deeper parameter handling
2010-04-23 15:53:00 -04:00
- do not quote the boundary in the Content-Type header (patch provided by W. Andrew Loe III)
2010-03-19 15:49:26 -04:00
2010-03-13 13:04:04 -05:00
# 1.4.2
- fixed RestClient.add_before_execution_proc (patch provided by Nicholas Wieland)
2010-03-13 13:04:04 -05:00
- fixed error when an exception is raised without a response (patch provided by Caleb Land)
2010-03-05 13:30:51 -05:00
# 1.4.1
2010-03-05 13:30:51 -05:00
- fixed parameters managment when using hash
2010-01-29 15:27:39 -05:00
# 1.4.0
- Response is no more a String, and the mixin is replaced by an abstract_response, existing calls are redirected to response body with a warning.
- enable repeated parameters RestClient.post 'http://example.com/resource', :param1 => ['one', 'two', 'three'], => :param2 => 'foo' (patch provided by Rodrigo Panachi)
- fixed the redirect code concerning relative path and query string combination (patch provided by Kevin Read)
2010-02-13 06:00:50 -05:00
- redirection code moved to Response so redirection can be customized using the block syntax
- only get and head redirections are now followed by default, as stated in the specification
2010-02-16 13:03:44 -05:00
- added RestClient.add_before_execution_proc to hack the http request, like for oauth
2010-01-29 15:27:39 -05:00
The response change may be breaking in rare cases.
2010-02-10 12:50:05 -05:00
# 1.3.1
- added compatibility to enable responses in exception to act like Net::HTTPResponse
# 1.3.0
2010-01-09 05:20:49 -05:00
- a block can be used to process a request's result, this enable to handle custom error codes or paththrought (design by Cyril Rohr)
2010-01-09 05:20:49 -05:00
- cleaner log API, add a warning for some cases but should be compatible
2010-01-20 13:24:26 -05:00
- accept multiple "Set-Cookie" headers, see http://www.ietf.org/rfc/rfc2109.txt (patch provided by Cyril Rohr)
2010-01-11 12:04:32 -05:00
- remove "Content-Length" and "Content-Type" headers when following a redirection (patch provided by haarts)
2010-01-25 13:37:20 -05:00
- all http error codes have now a corresponding exception class and all of them contain the Reponse -> this means that the raised exception can be different
- changed "Content-Disposition: multipart/form-data" to "Content-Disposition: form-data" per RFC 2388 (patch provided by Kyle Crawford)
2010-01-09 05:20:49 -05:00
2010-01-29 15:27:39 -05:00
The only breaking change should be the exception classes, but as the new classes inherits from the existing ones, the breaking cases should be rare.
2010-01-03 16:36:54 -05:00
# 1.2.0
2009-12-29 14:37:25 -05:00
- formatting changed from tabs to spaces
- logged requests now include generated headers
- accept and content-type headers can now be specified using extentions: RestClient.post "http://example.com/resource", { 'x' => 1 }.to_json, :content_type => :json, :accept => :json
2010-01-03 16:48:02 -05:00
- should be 1.1.1 but renamed to 1.2.0 because 1.1.X versions has already been packaged on Debian
2009-12-29 14:37:25 -05:00
2009-12-29 12:04:58 -05:00
# 1.1.0
- new maintainer: Archiloque, the working repo is now at http://github.com/archiloque/rest-client
- a mailing list has been created at rest.client@librelist.com and an freenode irc channel #rest-client
- François Beausoleil' multipart code from http://github.com/francois/rest-client has been merged
- ability to use hash in hash as payload
- the mime-type code now rely on the mime-types gem http://mime-types.rubyforge.org/ instead of an internal partial list
- 204 response returns a Response instead of nil (patch provided by Elliott Draper)
All changes exept the last one should be fully compatible with the previous version.
NOTE: due to a dependency problem and to the last change, heroku users should update their heroku gem to >= 1.5.3 to be able to use this version.