Skip to content

Releases: adonisjs/transmit

Fix returning function on unsubscribe

25 Sep 12:44
f86534a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.1...v2.0.2

Inject headers from adonis object

21 Sep 08:01
a67a3c7
Compare
Choose a tag to compare

Commits

  • chore: update dependencies (b7a42f7)
  • fix: inject headers from adonis object (75a6985)

Full Changelog: v2.0.0...v2.0.1

v2.0.0

10 Sep 20:00
d111cea
Compare
Choose a tag to compare

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

Properly type HttpContext

28 Aug 07:03
90e0c20
Compare
Choose a tag to compare
Pre-release

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

28 Jul 08:47
c9293be
Compare
Choose a tag to compare

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

28 Jun 08:05
6d026a5
Compare
Choose a tag to compare

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

Full Changelog: v1.0.1...v1.0.2

Do not send "false" if stream is not store in the same instance

17 May 19:18
Compare
Choose a tag to compare
  • 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

24 Apr 11:31
68f41f2
Compare
Choose a tag to compare

Nothing change since last version

Move from @rlanz/bus to @boringnode/bus

11 Apr 17:03
Compare
Choose a tag to compare
  • refactor: migrate from @rlanz/bus to @boringnode/bus (ab4ef45)

Full Changelog: v0.6.0...v0.7.0

Allow more customization on route handler

10 Apr 16:39
Compare
Choose a tag to compare

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