File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1- ## 0.16.0 (x .9.2014)  
1+ ## 0.16.0 (10 .9.2014)  
22
33-  Some cleaning
44  -  Requires now clojure 1.6.0 for ` clojure.walk ` 
55-  Support other formats in addition to JSON
6-   -  Uses now the [ ring-middleware-format] ( https://github.com/ngrunwald/ring-middleware-format )  to parse requests and encode responses
6+   -  Uses the [ ring-middleware-format] ( https://github.com/ngrunwald/ring-middleware-format )  to parse requests and encode responses
7+ -  Fixes #43  : Middlewares added to route with : middlewares  shouldn't leak to other routes in same context anymore
78
89## 0.15.2 (4.9.2014)  
910
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ There is also `defapi` as a short form for the common case of defining routes wi
155155Middlewares (and other handlers) can publish their capabilities to consume & produce different wire-formats.
156156This information is passed to ` ring-swagger `  and added to swagger-docs & is available in the swagger-ui.
157157
158- The default middleware  on Compojure-API includes [ ring-middleware-format] ( https://github.com/ngrunwald/ring-middleware-format ) 
158+ The default middlewares  on Compojure-API includes [ ring-middleware-format] ( https://github.com/ngrunwald/ring-middleware-format ) 
159159which supports multiple formats. If the first element of ` defapi `  body is a map it will be used to pass parameters to
160160` api-middleware ` , e.g. the formats which should be enabled.
161161
Original file line number Diff line number Diff line change 1- (defproject  metosin /compojure-api  " 0.15.2 " 
1+ (defproject  metosin /compojure-api  " 0.16.0 " 
22  :description  " Compojure Api" 
33  :url  " https://github.com/metosin/compojure-api" 
44  :license  {:name  " Eclipse Public License" 
99                 [prismatic/plumbing " 0.3.3" 
1010                 [potemkin " 0.3.8" 
1111                 [cheshire " 5.3.1" 
12-                  [compojure " 1.1.8 " 
12+                  [compojure " 1.1.9 " 
1313                 [prismatic/schema " 0.2.6" 
1414                 [metosin/ring-http-response " 0.5.0" 
1515                 [metosin/ring-swagger " 0.13.0" 
Original file line number Diff line number Diff line change 6262
6363(defn  serializable? 
6464  " Predicate which return true if the response body is serializable.
65-    That is, return type is set by :return compojure-api key or it's not  
66-    string, File or InputStream ."  
65+    That is, return type is set by :return compojure-api key or it's 
66+    a collection ."  
6767  [_ {:keys  [body] :as  response}]
6868  (when  response
6969    (or  (:compojure.api.meta/serializable?  response)
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments