/History

http://github.com/jnunemaker/httparty · #! · 402 lines · 332 code · 70 blank · 0 comment · 0 complexity · 888e92060e4133eed6eee6ca2eb31aae MD5 · raw file

  1. == master
  2. * Require Ruby >= 2.0.0
  3. == 0.14.0
  4. * [added status predicate methods to Response#respond_to?](https://github.com/jnunemaker/httparty/pull/482)
  5. * [allow empty array to be used as param](https://github.com/jnunemaker/httparty/pull/477)
  6. * [add support for MKCOL method](https://github.com/jnunemaker/httparty/pull/465)
  7. * [remove json gem from gemspec](https://github.com/jnunemaker/httparty/pull/464)
  8. * [stop mutating cookie hash](https://github.com/jnunemaker/httparty/pull/460)
  9. * [optional raising exception on certain status codes](https://github.com/jnunemaker/httparty/pull/455)
  10. == 0.13.7 aka "party not as hard"
  11. * remove post install emoji as it caused installation issues for some people
  12. == 0.13.6
  13. * avoid calling String#strip on invalid Strings
  14. * preserve request method on 307 and 308 redirects
  15. * output version with --version for command line bin
  16. * maintain head request method across redirects by default
  17. * add support for RFC2617 MD5-sess algorithm type
  18. * add party popper emoji to post install message
  19. == 0.13.5
  20. * allow setting a custom URI adapter
  21. == 0.13.4
  22. * correct redirect url for redirect paths without leading slash
  23. * remove core_extensions.rb as backwards compat for ruby 1.8 not needed
  24. * replace URI.encode with ERB::Util.url_encode
  25. * allow the response to be tapped
  26. == 0.13.3
  27. * minor improvement
  28. * added option to allow for streaming large files without loading them into memory (672cdae)
  29. == 0.13.2
  30. * minor improvement
  31. * [Set correct path on redirect to filename](https://github.com/jnunemaker/httparty/pull/337)
  32. * ensure logger works with curl format
  33. == 0.13.1 2014-04-08
  34. * new
  35. * [Added ability to specify a body_stream in HttpRequest](https://github.com/jnunemaker/httparty/pull/275)
  36. * [Added read_timeout and open_timeout options](https://github.com/jnunemaker/httparty/pull/278)
  37. * change
  38. * [Initialize HTTParty requests with an URI object and a String](https://github.com/jnunemaker/httparty/pull/274)
  39. * minor improvement
  40. * [Add stackexchange API example](https://github.com/jnunemaker/httparty/pull/280)
  41. == 0.13.0 2014-02-14
  42. * new
  43. * [Add CSV support](https://github.com/jnunemaker/httparty/pull/269)
  44. * [Allows PKCS12 client certificates](https://github.com/jnunemaker/httparty/pull/246)
  45. * bug fix
  46. * [Digest auth no longer fails when multiple headers are sent by the server](https://github.com/jnunemaker/httparty/pull/272)
  47. * [Use 'Basement.copy' when calling 'HTTParty.copy'](https://github.com/jnunemaker/httparty/pull/268)
  48. * [No longer appends ampersand when queries are embedded in paths](https://github.com/jnunemaker/httparty/pull/252)
  49. * change
  50. * [Merge - instead of overwrite - default headers with request provided headers](https://github.com/jnunemaker/httparty/pull/270)
  51. * [Modernize respond_to implementations to support second param](https://github.com/jnunemaker/httparty/pull/264)
  52. * [Sort query parameters by key before processing](https://github.com/jnunemaker/httparty/pull/245)
  53. * minor improvement
  54. * [Add HTTParty::Error base class](https://github.com/jnunemaker/httparty/pull/260)
  55. == 0.12.0 2013-10-10
  56. * new
  57. * [Added initial logging support](https://github.com/jnunemaker/httparty/pull/243)
  58. * [Add support for local host and port binding](https://github.com/jnunemaker/httparty/pull/238)
  59. * [content_type_charset_support](https://github.com/jnunemaker/httparty/commit/82e351f0904e8ecc856015ff2854698a2ca47fbc)
  60. * bug fix
  61. * [No longer attempt to decompress the body on HEAD requests](https://github.com/jnunemaker/httparty/commit/f2b8cc3d49e0e9363d7054b14f30c340d7b8e7f1)
  62. * [Adding java check in aliasing of multiple choices](https://github.com/jnunemaker/httparty/pull/204/commits)
  63. * change
  64. * [MIME-type files of javascript are returned as a string instead of JSON](https://github.com/jnunemaker/httparty/pull/239)
  65. * [Made SSL connections use the system certificate store by default](https://github.com/jnunemaker/httparty/pull/226)
  66. * [Do not pass proxy options to Net::HTTP connection if not specified](https://github.com/jnunemaker/httparty/pull/222)
  67. * [Replace multi_json with stdlib json](https://github.com/jnunemaker/httparty/pull/214)
  68. * [Require Ruby >= 1.9.3]
  69. * [Response returns array of returned cookie strings](https://github.com/jnunemaker/httparty/pull/218)
  70. * [Allow '=' within value of a cookie]
  71. * minor improvements
  72. * [Improve documentation of ssl_ca_file, ssl_ca_path](https://github.com/jnunemaker/httparty/pull/223)
  73. * [Fix example URLs](https://github.com/jnunemaker/httparty/pull/232)
  74. == 0.11.0 2013-04-10
  75. * new
  76. * [Add COPY http request handling](https://github.com/jnunemaker/httparty/pull/190)
  77. * [Ruby 2.0 tests](https://github.com/jnunemaker/httparty/pull/194)
  78. * [Ruby >= 2.0.0 support both multiple_choice? and multiple_choices?]
  79. * bug fix
  80. * [Maintain blocks passed to 'perform' in redirects](https://github.com/jnunemaker/httparty/pull/191)
  81. * [Fixed nc value being quoted, this was against spec](https://github.com/jnunemaker/httparty/pull/196)
  82. * [Request#uri no longer duplicates non-relative-path params](https://github.com/jnunemaker/httparty/pull/189)
  83. * change
  84. * [Client-side-only cookie attributes are removed: case-insensitive](https://github.com/jnunemaker/httparty/pull/188)
  85. == 0.10.2 2013-01-26
  86. * bug fix
  87. * [hash_conversions misnamed variable](https://github.com/jnunemaker/httparty/pull/187)
  88. == 0.10.1 2013-01-26
  89. * new
  90. * [Added support for MOVE requests](https://github.com/jnunemaker/httparty/pull/183)
  91. * [Bump multi xml version](https://github.com/jnunemaker/httparty/pull/181)
  92. == 0.10.0 2013-01-10
  93. * changes
  94. * removed yaml support because of security risk (see rails yaml issues)
  95. == 0.9.0 2012-09-07
  96. * new
  97. * [support for connection adapters](https://github.com/jnunemaker/httparty/pull/157)
  98. * [allow ssl_version on ruby 1.9](https://github.com/jnunemaker/httparty/pull/159)
  99. * bug fixes
  100. * [don't treat port 4430 as ssl](https://github.com/jnunemaker/httparty/commit/a296b1c97f83d7dcc6ef85720a43664c265685ac)
  101. * [deep clone default options](https://github.com/jnunemaker/httparty/commit/f74227d30f9389b4b23a888c9af49fb9b8248e1f)
  102. * a few net digest auth fixes
  103. == 0.8.3 2012-04-21
  104. * new
  105. * [lazy parsing of responses](https://github.com/jnunemaker/httparty/commit/9fd5259c8dab00e426082b66af44ede2c9068f45)
  106. * [add support for PATCH requests](https://github.com/jnunemaker/httparty/commit/7ab6641e37a9e31517e46f6124f38c615395d38a)
  107. * bug fixes
  108. * [subclasses no longer override superclass options](https://github.com/jnunemaker/httparty/commit/682af8fbf672e7b3009e650da776c85cdfe78d39)
  109. == 0.8.2 2012-04-12
  110. * new
  111. * add -r to make CLI return failure code if status >= 400
  112. * allow blank username from CLI
  113. * bug fixes
  114. * return nil for null body
  115. * automatically deflate responses with a Content-Encoding: x-gzip header
  116. * Do not HEAD on POST request with digest authentication
  117. * add support for proxy authentication
  118. * fix posting data with CLI
  119. * require rexml/document if xml format from CLI
  120. * support for fragmented responses
  121. == 0.8.1 2011-10-05
  122. * bug fixes
  123. * content-encoding header should be removed when automatically inflating the body
  124. == 0.8.0 2011-09-13
  125. * new
  126. * switch to multi json/xml for parsing by default
  127. * bug fixes
  128. * fix redirects to relative uri's
  129. == 0.7.8 2011-06-06
  130. * bug fix
  131. * Make response honor respond to
  132. * net http timeout can also be a float
  133. == 0.7.7 2011-04-16
  134. * bug fix
  135. * Fix NoMethodError when using the NON_RAILS_QUERY_STRING_NORMALIZER with a hash whose key is a symbol and value is nil
  136. == 0.7.5 2011-04-16
  137. * bug fix
  138. * caused issue with latest rubygems
  139. == 0.7.4 2011-02-13
  140. * bug fixes
  141. * Set VERIFY_NONE when using https. Ruby 1.9.2 no longer sets this for us. gh-67
  142. == 0.7.3 2011-01-20
  143. * bug fixes
  144. * Fix digest auth for unspecified quality of protection (bjoernalbers, mtrudel, dwo)
  145. == 0.7.2 2011-01-20
  146. * bug fixes
  147. * Fix gem dependencies
  148. == 0.7.1 2011-01-19
  149. * bug fixes
  150. * Fix uninitialized constant HTTParty::Response::Net in 1.9.2 (cap10morgan)
  151. * Other fixes for 1.9.2, full suite still fails (cap10morgan)
  152. == 0.7.0 2011-01-18
  153. * minor enhancements
  154. * Added query methods for HTTP status codes, i.e. response.success?
  155. response.created? (thanks citizenparker)
  156. * Added support for ssl_ca_file and ssl_ca_path (dlitz)
  157. * Allow custom query string normalization. gh-8
  158. * Unlock private keys with password (freerange)
  159. * Added high level request documentation (phildarnowsky)
  160. * Added basic post example (pbuckley)
  161. * Response object has access to its corresponding request object
  162. * Added example of siginin into tripit.com
  163. * Added option to follow redirects (rkj). gh-56
  164. * bug fixes
  165. * Fixed superclass mismatch exception while running tests
  166. (thanks dlitz http://github.com/dlitz/httparty/commit/48224f0615b32133afcff4718ad426df7a4b401b)
  167. == 0.6.1 2010-07-07
  168. * minor enhancements
  169. * updated to crack 0.1.8
  170. * bug fixes
  171. * subclasses always merge into the parent's default_options and
  172. default_cookies (l4rk).
  173. * subclasses play nicely with grand parents. gh-49
  174. == 0.6.0 2010-06-13
  175. * major enhancements
  176. * Digest Auth (bartiaco, sbecker, gilles, and aaronrussell)
  177. * Maintain HTTP method across redirects (bartiaco and sbecker)
  178. * HTTParty::Response#response returns the Net::HTTPResponse object
  179. * HTTParty::Response#headers returns a HTTParty::Response::Headers object
  180. which quacks like a Hash + Net::HTTPHeader. The #headers method continues
  181. to be backwards-compatible with the old Hash return value but may become
  182. deprecated in the future.
  183. * minor enhancements
  184. * Update crack requirement to version 0.1.7
  185. You may still get a warning because Crack's version constant is out of date
  186. * Timeout option can be set for all requests using HTTParty.default_timeout (taazza)
  187. * Closed #38 "headers hash should downcase keys so canonical header name can be used"
  188. * Closed #40 "Gzip response" wherein gziped and deflated responses are
  189. automatically inflated. (carsonmcdonald)
  190. == 0.5.2 2010-01-31
  191. * minor enhancements
  192. * Update crack requirement to version 0.1.6
  193. == 0.5.1 2010-01-30
  194. * bug fixes
  195. * Handle 304 response correctly by returning the HTTParty::Response object instead of redirecting (seth and hellvinz)
  196. * Only redirect 300 responses if the header contains a Location
  197. * Don't append empty query strings to the uri. Closes #31
  198. * When no_follow is enabled, only raise the RedirectionTooDeep exception when a response tries redirecting. Closes #28
  199. * major enhancements
  200. * Removed rubygems dependency. I suggest adding rubygems to RUBYOPT if this causes problems for you.
  201. $ export RUBYOPT='rubygems'
  202. * HTTParty#debug_output prints debugging information for the current request (iwarshak)
  203. * HTTParty#no_follow now available as a class-level option. Sets whether or not to follow redirects.
  204. * minor enhancements
  205. * HTTParty::VERSION now available
  206. * Update crack requirement to version 0.1.5
  207. == 0.5.0 2009-12-07
  208. * bug fixes
  209. * inheritable attributes no longer mutable by subclasses (yyyc514)
  210. * namespace BasicObject within HTTParty to avoid class name collisions (eric)
  211. * major enhancements
  212. * Custom Parsers via class or proc
  213. * Deprecation warning on HTTParty::AllowedFormats
  214. moved to HTTParty::Parser::SupportedFormats
  215. * minor enhancements
  216. * Curl inspired output when using the binary in verbose mode (alexvollmer)
  217. * raise UnsupportedURIScheme when scheme is not HTTP or HTTPS (djspinmonkey)
  218. * Allow SSL for ports other than 443 when scheme is HTTPS (stefankroes)
  219. * Accept PEM certificates via HTTParty#pem (chrislo)
  220. * Support HEAD and OPTION verbs (grempe)
  221. * Verify SSL certificates when providing a PEM file (collectiveidea/danielmorrison)
  222. == 0.4.5 2009-09-12
  223. * bug fixes
  224. * Fixed class-level headers overwritten by cookie management code. Closes #19
  225. * Fixed "superclass mismatch for class BlankSlate" error. Closes #20
  226. * Fixed reading files as post data from the command line (vesan)
  227. * minor enhancements
  228. * Timeout option added; will raise a Timeout::Error after the timeout has elapsed (attack). Closes #17
  229. HTTParty.get "http://github.com", timeout: 1
  230. * Building gem with Jeweler
  231. == 0.4.4 2009-07-19
  232. * 2 minor update
  233. * :query no longer sets form data. Use body and set content type to application/x-www-form-urlencoded if you need it. :query was wrong for that.
  234. * Fixed a bug in the cookies class method that caused cookies to be forgotten after the first request.
  235. * Also, some general cleanup of tests and such.
  236. == 0.4.3 2009-04-23
  237. * 1 minor update
  238. * added message to the response object
  239. == 0.4.2 2009-03-30
  240. * 2 minor changes
  241. * response code now returns an integer instead of a string (jqr)
  242. * rubyforge project setup for crack so i'm now depending on that instead of jnunemaker-crack
  243. == 0.4.1 2009-03-29
  244. * 1 minor fix
  245. * gem 'jnunemaker-crack' instead of gem 'crack'
  246. == 0.4.0 2009-03-29
  247. * 1 minor change
  248. * Switched xml and json parsing to crack (same code as before just moved to gem for easier reuse in other projects)
  249. == 0.3.1 2009-02-10
  250. * 1 minor fix, 1 minor enhancement
  251. * Fixed unescaping umlauts (siebertm)
  252. * Added yaml response parsing (Miha Filej)
  253. == 0.3.0 2009-01-31
  254. * 1 major enhancement, 1 bug fix
  255. * JSON gem no longer a requirement. It was conflicting with rails json stuff so I just stole ActiveSupport's json decoding and bundled it with HTTParty.
  256. * Fixed bug where query strings were being duplicated on redirects
  257. * Added a bunch of specs and moved some code around.
  258. == 0.2.10 2009-01-29
  259. * 1 minor enhancement
  260. * Made encoding on query parameters treat everything except URI::PATTERN::UNRESERVED as UNSAFE to force encoding of '+' character (Julian Russell)
  261. == 0.2.9 2009-01-29
  262. * 3 minor enhancements
  263. * Added a 'headers' accessor to the response with a hash of any HTTP headers. (Don Peterson)
  264. * Add support for a ":cookies" option to be used at the class level, or as an option on any individual call. It should be passed a hash, which will be converted to the proper format and added to the request headers when the call is made. (Don Peterson)
  265. * Refactored several specs and added a full suite of cucumber features (Don Peterson)
  266. == 0.2.8 2009-01-28
  267. * 1 major fix
  268. * fixed major bug with response where it wouldn't iterate or really work at all with parsed responses
  269. == 0.2.7 2009-01-28
  270. * 2 minor fixes, 2 minor enhancements, 2 major enhancements
  271. * fixed undefined method add_node for nil class error that occasionally happened (juliocesar)
  272. * Handle nil or unexpected values better when typecasting. (Brian Landau)
  273. * More robust handling of mime types (Alex Vollmer)
  274. * Fixed support for specifying headers and added support for basic auth to CLI. (Alex Vollmer)
  275. * Added first class response object that includes original body and status code (Alex Vollmer)
  276. * Now parsing all response types as some non-200 responses provide important information, this means no more exception raising (Alex Vollmer)
  277. == 0.2.6 2009-01-05
  278. * 1 minor bug fix
  279. * added explicit require of time as Time#parse failed outside of rails (willcodeforfoo)
  280. == 0.2.5 2009-01-05
  281. * 1 major enhancement
  282. * Add command line interface to HTTParty (Alex Vollmer)
  283. == 0.2.4 2008-12-23
  284. * 1 bug fix
  285. * Fixed that mimetype detection was failing if no mimetype was returned from service (skippy)
  286. == 0.2.3 2008-12-23
  287. * 1 bug fix
  288. * Fixed typecasting class variable naming issue
  289. == 0.2.2 2008-12-08
  290. * 1 bug fix
  291. * Added the missing core extension hash method to_xml_attributes
  292. == 0.2.1 2008-12-08
  293. * 1 bug fix
  294. * Fixed that HTTParty was borking ActiveSupport and as such Rails (thanks to Rob Sanheim)
  295. == 0.2.0 2008-12-07
  296. * 1 major enhancement
  297. * Removed ActiveSupport as a dependency. Now requires json gem for json deserialization and uses an included class to do the xml parsing.
  298. == 0.1.8 2008-11-30
  299. * 3 major enhancements
  300. * Moved base_uri normalization into request class and out of httparty module, fixing
  301. the problem where base_uri was not always being normalized.
  302. * Stupid simple support for HTTParty.get/post/put/delete. (jqr)
  303. * Switched gem management to Echoe from newgem.
  304. == 0.1.7 2008-11-30
  305. * 1 major enhancement
  306. * fixed multiple class definitions overriding each others options
  307. == 0.1.6 2008-11-26
  308. * 1 major enhancement
  309. * now passing :query to set_form_data if post request to avoid content length errors
  310. == 0.1.5 2008-11-14
  311. * 2 major enhancements
  312. * Refactored send request method out into its own object.
  313. * Added :html format if you just want to do that.
  314. == 0.1.4 2008-11-08
  315. * 3 major enhancements:
  316. * Removed some cruft
  317. * Added ability to follow redirects automatically and turn that off (Alex Vollmer)
  318. == 0.1.3 2008-08-22
  319. * 3 major enhancements:
  320. * Added http_proxy key for setting proxy server and port (francxk@gmail.com)
  321. * Now raises exception when http error occurs (francxk@gmail.com)
  322. * Changed auto format detection from file extension to response content type (Jay Pignata)
  323. == 0.1.2 2008-08-09
  324. * 1 major enhancement:
  325. * default_params were not being appended to query string if option[:query] was blank
  326. == 0.1.1 2008-07-30
  327. * 2 major enhancement:
  328. * Added :basic_auth key for options when making a request
  329. * :query and :body both now work with query string or hash
  330. == 0.1.0 2008-07-27
  331. * 1 major enhancement:
  332. * Initial release