v2.0.0
This release updates Transmit to use the new framework-agnostic library developed by the BoringNode Team.
We have also changed the way routes are defined, providing more customization options for our users.
In this version, routes are not automatically registered when a provider is registered. You can now either:
- Call
transmit.registerRoutes()in your routes file, or - Manually define the route using the exported controller from
@adonisjs/transmit/controllers.
Please, refer to the updated documentation at https://docs.adonisjs.com/guides/digging-deeper/transmit.
Breaking Changes
- Routes are no longer registered by default. You have to call
transmit.registerRoutes()in yourstart/routes.tsfile; - The
routeHandlerModifierconfig option no longer exists, pass a callback totransmit.registerRoutesinstead; - The
authorizeChannelmethod has been renamedauthorize.
Commits
- chore: release under latest tag (60ed810)
Full Changelog: v1.0.2...v2.0.0