CHANGELOG.md in typhoeus-0.5.0.rc vs CHANGELOG.md in typhoeus-0.5.0

- old
+ new

@@ -1,50 +1,48 @@ # Changelog -## 0.5.0.pre +## 0.5.0 [Full Changelog](http://github.com/typhoeus/typhoeus/compare/v0.4.2...master) Major Changes: * Ethon integration * Params are url params and a body is always a body for every request type - * Request parameter and body are properly encoded (only POST multiform body is not) - * No more header sanitizing - - Before: `:headers => { 'user_agent' => 'Custom' }` was modified to - `:headers => { 'User-Agent' => 'Custom' }` - * The options you can set might have a slightly other names, as Ethon sticks to libcurl names. See [Easy.new](http://rubydoc.info/github/typhoeus/ethon/Ethon/Easy#initialize-instance_method) for a description. - * The following classes were deleted because they do not seemed to be uesed at all. If that - turns out to be wrong, they will be restored: `Typhoeus::Filter`, `Typhoeus::Remote`, `Typhoeus::RemoteMethod`, `Typhoeus::RemoteProxyObject` + * Request parameter and body are properly encoded (only POST multiform body is not) + * No more header sanitizing. Before: `:headers => { 'user_agent' => 'Custom' }` was modified to + `:headers => { 'User-Agent' => 'Custom' }` * `Typhoeus::Easy` and `Typhoeus::Multi` are now `Ethon::Easy` and `Ethon::Multi` * Request shortcuts: `Typhoeus.get("www.google.de")` * Global configuration: ```ruby Typhoeus.configure do |config| config.verbose = true config.memoize = true end ``` -* No more Response#headers_hash, instead response#header returning the last +* No more `Response#headers_hash`, instead `Response#headers` returning the last header and response#redirections returning the responses with headers generated through redirections * Instead of defining the same callbacks on every request, you can define global callbacks: - ```ruby Typhoeus.on_complete { p "yay" } ``` - * The stubbing interface changed slightly. You now have the same syntax as for requests: - ```ruby Typhoeus.stub(url, options).and_return(response) ``` +* The following things were removed because they do not seemed to be used at all. Ping me if you disagree! + * `Typhoeus::Filter` + * `Typhoeus::Remote` + * `Typhoeus::RemoteMethod` + * `Typhoeus::RemoteProxyObject` + * build in cache interface Enhancements: * Documentation ( [Alex P](https://github.com/ifesdjeen), [\#188](https://github.com/typhoeus/typhoeus/issues/188) )