Skip to content

Improvements to the redirect API and HttpContext.create

Choose a tag to compare

@thetutlage thetutlage released this 25 Sep 05:46

The HttpContext.create method now internally uses the IoC container to an make instance of the context for a given route. The changes are done to make it easier for the user land code to create dummy context instances outside of the request lifecycle.

Commits

  • chore: publish under next tag 519082c
  • improvement: response.redirect.withQs now merges values on multiple values 545e606
  • feat: add params and param method to request 06c0f0e
  • chore(package): update peerdependencies 8bb1a46
  • improvement: use safeStringify over JSON.stringify to avoid circular error 4971897
  • refactor: simplify HttpContext.create method 75fcbc6
  • chore(package): update dependencies de080db
  • chore(deps): bump lodash from 4.17.15 to 4.17.20 (#23) c2317b2

v3.0.3...v4.0.0