From d4240ad3ce969ca64e67620a91fa2acead251982 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 a7d030b..9b0ecdf 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.5] - 2016-02-24 #### Fixed diff --git a/README.md b/README.md index 8b36e72..e9ea459 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 7052ca8..036e8e8 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');