Skip to content

Bug fixes and add resource.use method

Pre-release
Pre-release

Choose a tag to compare

@thetutlage thetutlage released this 22 Nov 11:24
  • The resource.use method is used to register middleware for resources. The docs will cover the API
  • The resource.only, resource.apiOnly and resource.except methods will narrow down the available action names in the returned instance.

Commits

  • refactor: improve perf for looking up routes 350e248
  • refactor: use a performant alternative to build the '/' route c9d3445
  • fix: clearing slash prefixes before adding uriSegment within url builder's processPattern (#77) a0e8f15
  • fix: breaking types because of changes to supertest types 644ad49
  • feat: add resource.use and resource.middleware methods f4a1948
  • feat: improve types of route resource filtering methods 2ce6cba
  • chore: publish source maps and use tsc for generating types c7f9e39
  • chore: update dependencies d81de83

What's Changed

  • fix: clearing slash prefixes before adding uriSegment within url builder's processPattern by @tomgobich in #77

New Contributors

Full Changelog: v7.0.0-1...v7.0.0-2