List of changes that have gone into each release
- merged dakrone#51 to allow :form-params on PUT requests
- bump Cheshire and slingshot deps
- add the :throw-entire-message? option to include resp in Exception message
- throw an IllegalArgumentException instead of a regulor Exception on nil urls
- add ability to redirect to relative paths (ngrunwald)
- merged dakrone#48 to fix :stream bodies (to make sure they are not coerced on output)
- merged dakrone#49 to check for nil URLs when using client functions
- switch from assertions to exceptions for nil URLs
- merged dakrone#46 to add :trace-redirects to the response map
- merged dakrone#47 to allow GET requests with a :body set
- merged dakrone#44 to add ability to specify maximum number of redirects
- add tests for max-redirects
- merged dakrone#42 to allow strings or keywords for :scheme in requests
- added test for different :schemes
- merged dakrone#40 to allow per-request proxy settings
- remove a few more reflections
- added ablity to return the body as a stream with {:as :stream}
- general code cleanup
- add ability to ignore unknown host if desired ({:ignore-unknown-host? true})
- use much better Enitity’s for the body, depending on type
- bump all dependencies
- test re-org to make better sense (and allow C-c t in emacs)
- merged dakrone#36 to fix url-encoding of multiple query params using the same key
- merged dakrone#34 to fix decoding cookies that don’t follow RFC spec
- Add better coercion, adding {:as :json}, {:as :json-string-keys} and {:as :auto}
- merged dakrone#31 to remove more reflection warnings
- some whitespace changes
- merged dakrone#30 to remove more reflection warnings
- removed swank from dev deps
- bump 1.4 to alpha3 in multi deps
- don’t use :server-port unless required (fixes problem with some web servers)
- smaller error message on exceptions (thrown object is still the same)
- added the :save-request? option to return the request object in a :request key in the response map
- multiple headers with the same name are now preserved when they have differing cases
- multipart form uploads
- bump slingshot to 0.9.0
- Got a functioning reusable connection method, (with-connection-pool …)
- upgrade slingshot to 0.8.0
- upgrade commons-io to 2.1
- merged dakrone#20 to allow :basic-auth as a string
- added :insecure? flag
- fix AOT by requiring clojure.pprint
- wrap-redirects now handles recursive redirects
- wrap-exceptions now uses Slingshot to throw a much more useful exception when there was a problem with the request
- fixed an issue when malformed server responses could NPE the decompression middleware
- added a :debug flag to pretty-print the request map and object to stdout before performing the request to aid in debugging
- decode cookies from response into :cookies (thanks r0man)
- redone redirects, they can now be toggled with {:follow-redirects false} in the request
- decompression of responses has been fixed (thanks senior)
- accept Content-Encoding or content-encoding from responses (thanks senior)
- added ability to specify sending a url-encoded :body of form params using {:form-params {:key value}} (thanks senior)
- updated dependencies to be the latest versions
- added ability to use system proxy for connections (thanks jou4)
- added ability to specify socket and connection timeouts in request (thanks zkim)
Log of merges/issues/work that’s gone in so I know what to put in the changelog for the next release
- merged dakrone#51 to allow :form-params on PUT requests
- bump Cheshire and slingshot deps
- add the :throw-entire-message? option to include resp in Exception message
- throw an IllegalArgumentException instead of a regulor Exception on nil urls
- add ability to redirect to relative paths (ngrunwald)
- merged dakrone#48 to fix :stream bodies (to make sure they are not coerced on output)
- merged dakrone#49 to check for nil URLs when using client functions
- switch from assertions to exceptions for nil URLs
- merged dakrone#46 to add :trace-redirects to the response map
- whitespace changes
- merged dakrone#47 to allow GET requests with a :body set
- merged dakrone#44 to add ability to specify maximum number of redirects
- add tests for max-redirects
- merged dakrone#42 to allow strings or keywords for :scheme in requests
- added test for different :schemes
- merged dakrone#40 to allow per-request proxy settings
- remove a few more reflections
- added ablity to return the body as a stream with {:as :stream}
- general code cleanup
- add ability to ignore unknown host if desired ({:ignore-unknown-host? true})
- use much better Enitity’s for the body, depending on type
- bump all dependencies
- test re-org to make better sense (and allow C-c t in emacs)
- merged dakrone#36 to fix url-encoding of multiple query params using the same key
- merged dakrone#34 to fix decoding cookies that don’t follow RFC spec
- Add better coercion, adding {:as :json}, {:as :json-string-keys} and {:as :auto}
- merged dakrone#31 to remove more reflection warnings
- some whitespace changes
- merged dakrone#30 to remove more reflection warnings
- removed swank from dev deps
- bump 1.4 to alpha3 in multi deps
- merged dakrone#27 to only use :server-port for non-standard ports. This was causing problems for some web servers
- remove :save-request? from the saved request map (if it’s being saved, you probably already know you wanted to save it…)
- added the ‘safe-request?’ flag option to save the entire request in the :request key in the response object, several people have requested this
- refactor some of the param setting out of the request method in an effort to make it slightly smaller
- merged in a pull request fixing headers when multiple headers are received: dakrone#25
- merged dakrone#24 for a smaller error message
- finish up the multipart work, thanks to some testing cases from Raynes
- document multipart posts in readme
- Got a functioning reusable connection method, (with-connection-pool …)
- merged dakrone#21 to upgrade slingshot to 0.8.0
- merged dakrone#20 to allow :basic-auth as a string
- changed wrap-redirects to recursively handle redirects instead of only redirecting one-level down
- remove some reflection in cookies by defining ClientCookie
- merged dakrone#16 to add an :insecure? flag to ignore SSL errors
- merged dakrone#13 to add a require for pprint in core
- added the :debug option to requests
- restarted an exception branch that uses Slingshot to throw a much more useful exception
- fixed an issue when malformed server responses could NPE the decompression middleware
- merged dakrone#7 to accept both Content-Encoding and content-encoding, since ring uses the lowercase version
- merged dakrone#6 to allow for sending form params with :form-params as a urlencoded body on POST requests
- merged dakrone#5 to fix decompression
- added ability to turn off redirects with {:follow-redirects false} in the request
- merged dakrone#2 to fix redirects
- merged dakrone#1 for decoding cookies in responses
- took over maintenance from Mark
- updated dependencies
- merged jou4’s branch to allow proxy usage
- merged zkim’s branch for specifying timeouts