Merge pull request #4 from coderhaoxin/master

use new middleware signature
Release 1.2.1