New Features
- Modifies 
MiddlewareSpecroute property to allow functions. Defers route processing and segment naming until just before needed (each middleware invocation). 
Improvements
- Fixed outdated 
licenseref inpackage.json. - Middleware instrumentation now honors 
spec.appendPathfor more cases and will not pop paths when it has not appended a path.