feat(middleware): add paths feature, which is missed in parser refactor
0.7.1