From 6ef7fbdfc7721aff8c0cff582433a412399db4d7 Mon Sep 17 00:00:00 2001 From: Tejas Manohar Date: Thu, 19 Nov 2015 01:39:25 -0800 Subject: [PATCH] 2.0.0 --- History.md | 5 +++++ Readme.md | 2 ++ package.json | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/History.md b/History.md index 4de1741..256e9f7 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,9 @@ +2.0.0 / 2015-11-19 +================== + +* update to koa v2 api (breaking koa v1) + 1.1.0 / 2014-01-14 ================== diff --git a/Readme.md b/Readme.md index 8f28a0e..27867c7 100644 --- a/Readme.md +++ b/Readme.md @@ -3,6 +3,8 @@ URL rewrite middleware for koa. +___Notice: `koa-rewrite@2` supports `koa@2`, if you want to use this module with `koa@1`, please use `koa-rewrite@1`.___ + ## Installation ```js diff --git a/package.json b/package.json index 06093b7..118233b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "koa-rewrite", "description": "URL rewrite middleware for koa", "repository": "koajs/rewrite", - "version": "1.1.0", + "version": "2.0.0", "scripts": { "test": "mocha test/test" },