This repository was archived by the owner on Jan 31, 2025. It is now read-only.
v2.0.0
Breaking Changes
-
Middleware now defaults
enabledtotrue. I.e., omitting theenabledoption will still enable the middleware.
Previously: middleware was defaultedenabledtofalse. -
The ability to toggle the
enabledstate of a middleware at arbitrary points during runtime has been removed. Now, a middleware that is notenabled—by explicitly settingenabledtofalse, given breaking change No.1—will not berequired (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.