Skip to content

v2.0.0

Choose a tag to compare

@RomainLanz RomainLanz released this 10 Sep 20:00
· 11 commits to 2.x since this release
d111cea

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 your start/routes.ts file;
  • The routeHandlerModifier config option no longer exists, pass a callback to transmit.registerRoutes instead;
  • The authorizeChannel method has been renamed authorize.

Commits

  • chore: release under latest tag (60ed810)

Full Changelog: v1.0.2...v2.0.0