From 8f66ca3b774c672d659ec6996d5bc621cbab76db Mon Sep 17 00:00:00 2001 From: Kahmali Rose Date: Wed, 24 Feb 2016 09:39:45 -0500 Subject: [PATCH] Update to the latest version of json-routes - Increases request entity size limit to 50mb - Fix #78 and #179 --- CHANGELOG.md | 7 +++++++ README.md | 2 ++ package.js | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b21f670..ebc09ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## Unreleased + +#### Changed +- Update to the latest version of `simple:json-routes` (v2.0.1) + - Increases max request size to 50mb ([#78][] and [#179][]) + + ## [v0.8.4] - 2015-08-18 #### Fixed diff --git a/README.md b/README.md index 727f7b7..51744af 100644 --- a/README.md +++ b/README.md @@ -1128,6 +1128,8 @@ We can call our `POST /articles/:id/comments` endpoint the following way. Note t curl -d "message=Some message details" http://localhost:3000/api/articles/3/comments ``` +_**Note: There is a 50mb limit on requests. If you need this limit increased, please file a GitHub Issue.**_ + ## Authenticating **Warning: Make sure you're using HTTPS, otherwise this is insecure!** diff --git a/package.js b/package.js index 8e2e9ec..d7373ef 100644 --- a/package.js +++ b/package.js @@ -15,7 +15,7 @@ Package.onUse(function (api) { api.use('coffeescript'); api.use('underscore'); api.use('accounts-base@1.2.0'); - api.use('simple:json-routes@1.0.4'); + api.use('simple:json-routes@=2.0.1'); api.addFiles('lib/auth.coffee', 'server'); api.addFiles('lib/iron-router-error-to-response.js', 'server');