- Support HEAD requests in ring.middleware.resource/resource-request
- Fix handling of nested parameters with names that include newlines
- Deprecated :content-type, :content-length and :character-encoding keys in SPEC
- Removed deprecated keys from source code
- Added content-length, content-type and character-encoding to ring.util.request
- Added urlencoded-form? to ring.util.request
- Fixed 304 not-modified responses to set content-length header
- Added options to wrap-cookies to specify encoder and decoder functions
- Fixed wrap-head middleware when response is nil
- Cryptography improvements; RNG faster under Linux
- Jetty adapter accepts filepaths for :truststore option
- Added :min-threads, :max-queued and :max-idle-time options to Jetty adapter
- Fixed stacktrace middleware to handle assertion errors
- Added optional body to ring.util.response/created function
- Added :servlet-context-path to requests from servlet containers
- Added mimetypes for edn and dart
- Updated ns-tracker, clj-stacktrace and clj-time dependencies
- Cookie middleware now adheres to RFC 6265
- Fix for wrap-nested-params middleware
- Update tools.reader version
- Fix for resources in jar files created with Leiningen 2.3.3 or above
- Fix for UTF-8 characters in resource filenames
- javax.servlet now a provided dependency
- Refactor of middleware to support async systems like Pedestal
- Added wrap-not-modified middleware
- Deprecated wrap-file-info middleware
- Added ring.util.request namespace
- file-response and resource-response include content-length and last-modifed headers
- Use of dedicated EDN reader for security
- Prettier wrap-stacktrace middleware
- Support for :path-info and :context keys
- Factored out encoding/decoding of data into ring-codec library
- Fixed bug with :session-cookie-attrs not working if cookie not set
- Fixed bug with last-modified dates on Windows
- Fixed case-sensitivity issues in middleware handling headers
- Added get-header, created and url-response to ring.util.response
- Updated ns-tracker dependency to fix issue with Clojure 1.5.0
- Updated clj-stacktrace dependency to fix exception reporting
- Secuity bug fix. See: http://goo.gl/DTRhn
- Removed default charset being incorrectly set on images
- Fixed another bug in wrap-reload by updating ns-tracker version
- Fixed hanging when compiling handler with wrap-multiparm-params middleware
- Fixed bug in wrap-reload by updating ns-tracker version
- Fixed wrap-multipart creating default store each request
- Fixed wrap-session :root option default overriding :cookie-attrs
- Fixed potential security issue where users could force a custom session cookie name
- Fixed bug with content-type parameters in adapter and servlets
- Fixed bug with temp-file store spawning too many threads
- Fixed bug with url-decoding "$"
- Fixed bug with trust-store password
- Support for SSL client certificates in Jetty adapter
- Jetty adapter dependency upgraded to 7.6.1
- wrap-cookies support for Joda-Time objects in expires and max-age attributes
- Added wrap-head middleware
- wrap-file middleware has option to follow symlinks
- Added form-encode and form-decode to ring.util.codec
- Fixed url-encode and url-decode to handle "+" correctly
- Added ring.util.io namespace
- Deprecated ring.util.test namespace
- Hiccup ring-devel dependency upgraded to 1.0.0
- Added more functions to ring.util.response
- Default number of Jetty adapter threads is now 50
- Support for KeyStore instances in Jetty adapter
- Jetty configurator option now always applied last
- Updated clj-stacktrace to 0.2.4 to fix swank-clojure issue
- Workaround for CLJ-885
- Multipart parameters with same name correctly create vector of values
- Fixed exception when resource-response is passed a directory
- wrap-reload middleware changed to act like wrap-reload-modified
- wrap-keyword-params ignores parameter names that cannot be keywords
- wrap-keyword-params can be safely applied multiple times
- Removed ring.middleware.static
- Servlet outputstream no longer explicitly closed and flushed
- Downgraded Jetty from 6.1.26 to 6.1.25 to solve socket issue
- Jetty SSL adapter respects the :host option
- Cookies can be set as http-only
- Fixed wrap-params for non-UTF8-encoded POST requests
- Fixed wrap-multipart-params bug that occurs in Clojure 1.3.0
- Better error reporting on invalid cookie attributes in wrap-cookies
- Multipart parameter storage backends (temp-file and byte-array)
- Added redirect-after-post utility function
- Character encoding of response set from content type
- Updated Hiccup to 0.3.6 for Clojure 1.3.0 compatibility
- wrap-params no longer excepts on invalid urlencoded query string
- ring.util.servlet accepts multiple headers of the same name
- resource-response returns File object when possible
- Added resource middleware
- Stacktrace middleware displays causes (nested exceptions)
- Bug fixes and refactor of stacktrace middleware
- Lint middleware recognises ISeq as valid response body
- Added ring.util.mime-types namespace
- Added content-type middleware
- Session and flash middleware handle nils without excepting
- Cookie session store compares HMAC with constant-time function
- Context classloader now used for resource responses
- Removed HttpCore adapter from repository
- InputStream response body guaranteed to close
- Updated Jetty dependencies to 6.1.26
- wrap-cookies no longer overwrites existing Set-Cookie header
- String response bodies no longer have extra newline
- Added console logging for ring.handler.dump and ring.middleware.stacktrace
- Removed runtime dependency on clojure.contrib
- Added nested-params middleware
- Fixed multipart string encoding bug
- Memory sessions can now take a user-defined atom as an argument
- file-info middleware date checking improved
- Added option map to file middleware
- Jetty adapter :configurator option can now set Jetty handlers
- Updated Clojure and Clojure-Contrib version to 1.2.0
- Fixed non-string param values in keyword params middleware
- Hopefully the last flash middleware fix we'll need
- Added ring.util.response/resource-response function
- Fixed race condition in file-info middleware date parsing
- Forced US locale for file-info middleware date parsing
- Fixed NPE in multipart-params middleware when field is nil
- Fixed another flash middleware bug that was wiping out session data
- Code updated to be more Clojure 1.2 compatible
- Fixed bug in r.m.flash that was wiping out the session
- Added If-Modified-Since support to r.m.file-info
- Added ring.util.response/header
- Added :root key to r.m.session as a shortcut to cookie path attribute
- Updated ring-devel to use Hiccup instead of clj-html
- Session cookie attributes can now be set by adding a :session-cookie-attrs key to the response.
- Introduce middleware for session flash
- Cookie middleware made to work for browsers that don't follow cookie RFC (which is most of them)
- Depend on javax.servlet instead of org.mortbay.jetty for Servlet API artifact
- Distribute Ring as separate Maven artifacts:
ring-core
,ring-servlet
,ring-devel
,ring-jetty-adapter
, andring-http-core-adapter
- The
ring
artifact now just depends on all of these granular artifacts - Build with Leiningen
- Test with
clojure.test
- Depend only on stable point-released libraries
- Introduce new middlewares for params, cookies, sessions
- Intro new utils for encoding/decoding, forming responses, and unit testing
- No longer require namespacing of request and response keys
- More documentation, including autodocs
- Various bugfixes
- First numbered Ring release
- Adopt ring.{handler,middleware,adapter,util}.* namespace framework