Releases: adonisjs/transmit
Fix returning function on unsubscribe
What's Changed
- fix: returning function on unsubscribe by @diogo-nogueira in #28
New Contributors
- @diogo-nogueira made their first contribution in #28
Full Changelog: v2.0.1...v2.0.2
Inject headers from adonis object
Commits
Full Changelog: v2.0.0...v2.0.1
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.ts
file; - The
routeHandlerModifier
config option no longer exists, pass a callback totransmit.registerRoutes
instead; - The
authorizeChannel
method has been renamedauthorize
.
Commits
- chore: release under latest tag (60ed810)
Full Changelog: v1.0.2...v2.0.0
Properly type HttpContext
Commits
- chore: point this branch to the next tag (db06cf2)
- chore: update dependencies (a4ef110)
- fix(package): correct controllers export (d57d8af)
Full Changelog: v2.0.0-0...v2.0.0-1
Migrate to @boringnode/transmit and change how we define routes
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
.
Note: This release is for testing purposes only. Please do not use it in production yet.
Commits
- refactor: use @boringnode/transmit and change how we define routes (9f04004)
Full Changelog: v1.0.2...v2.0.0-0
Correct Broadcastable type
What's Changed
- Fix - fixing typing issue for Broadcastable, now it's possible to have a payload with an array. by @EvanPerreau in #24
New Contributors
- @EvanPerreau made their first contribution in #24
Full Changelog: v1.0.1...v1.0.2
Do not send "false" if stream is not store in the same instance
- fix: do not send "false" if stream is not store in the same instance (4820ae9)
Full Changelog: v1.0.0...v1.0.1
Stable release
Nothing change since last version
Move from @rlanz/bus to @boringnode/bus
- refactor: migrate from @rlanz/bus to @boringnode/bus (ab4ef45)
Full Changelog: v0.6.0...v0.7.0
Allow more customization on route handler
Breaking
Removing the option routeHandlerDomain
in favor of routeHandlerModifier
.
Features
You can now use the routeHandlerModifier
option in the config file to pass a callback that will be executed for each routes created by Transmit's provider.
For example, if you would like your route to be registered on the example.com
domain you can do the following:
defineConfig({
transport: null,
routeHandlerModifier: (route) => route.domain('example.com'),
}),
Commits
- refactor(provider): allow more customization (c41c3ee)
Full Changelog: v0.5.2...v0.6.0