From ed6a21d2ceb8a11bffecff9fc6daf96b177f111e Mon Sep 17 00:00:00 2001 From: Alex Mingoia Date: Tue, 19 Jan 2016 16:10:01 -0800 Subject: [PATCH] 7.0.1 --- README.md | 2 +- history.md | 4 ++++ package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05ae675..5ea43c5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # koa-router -[![NPM version](http://img.shields.io/npm/v/koa-router.svg?style=flat)](https://npmjs.org/package/koa-router) [![NPM Downloads](https://img.shields.io/npm/dm/koa-router.svg?style=flat)](https://npmjs.org/package/koa-router) [![Node.js Version](https://img.shields.io/node/v/koa-router.svg?style=flat)](http://nodejs.org/download/) [![Build Status](http://img.shields.io/travis/alexmingoia/koa-router.svg?style=flat)](http://travis-ci.org/alexmingoia/koa-router) [![Tips](https://img.shields.io/gratipay/alexmingoia.svg?style=flat)](https://www.gratipay.com/alexmingoia/) [![Gitter Chat](https://img.shields.io/badge/gitter-join%20chat-1dce73.svg?style=flat)](https://gitter.im/alexmingoia/koa-router/) +[![NPM version](https://img.shields.io/badge/npm-v7.0.1-blue.svg?style=flat)](https://npmjs.org/package/koa-router) [![NPM Downloads](https://img.shields.io/npm/dm/koa-router.svg?style=flat)](https://npmjs.org/package/koa-router) [![Node.js Version](https://img.shields.io/node/v/koa-router.svg?style=flat)](http://nodejs.org/download/) [![Build Status](http://img.shields.io/travis/alexmingoia/koa-router.svg?style=flat)](http://travis-ci.org/alexmingoia/koa-router) [![Tips](https://img.shields.io/gratipay/alexmingoia.svg?style=flat)](https://www.gratipay.com/alexmingoia/) [![Gitter Chat](https://img.shields.io/badge/gitter-join%20chat-1dce73.svg?style=flat)](https://gitter.im/alexmingoia/koa-router/) > Router middleware for [koa](https://github.com/koajs/koa) diff --git a/history.md b/history.md index 9d17655..ada8f70 100644 --- a/history.md +++ b/history.md @@ -1,5 +1,9 @@ # History +## 7.0.1 + +- Fix: allowedMethods should be ctx.method not this.method [#215](https://github.com/alexmingoia/koa-router/pull/215) + ## 7.0.0 - The API has changed to match the new promise-based middleware diff --git a/package.json b/package.json index 8cb44ca..e66f09e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "lib" ], "author": "Alex Mingoia ", - "version": "7.0.0", + "version": "7.0.1", "keywords": [ "koa", "middleware",