Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

v2.0.0

Choose a tag to compare

@jasisk jasisk released this 17 Mar 18:57
· 53 commits to v3.x since this release

Breaking Changes

  1. Middleware now defaults enabled to true. I.e., omitting the enabled option will still enable the middleware.
    Previously: middleware was defaulted enabled to false.

    Implementation, Issue, Pull Request

  2. The ability to toggle the enabled state of a middleware at arbitrary points during runtime has been removed. Now, a middleware that is not enabled—by explicitly setting enabled to false, given breaking change No.1—will not be required (i.e., not parsed), and cannot be enabled at a later time.
    Previously: middleware could be toggled. Was by design, but largely unused and caused unanticipated behavior.

    Issue, Pull Request