Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Transport v1.2.0

Compare
Choose a tag to compare
@jooskim jooskim released this 03 Aug 19:06
· 37 commits to main since this release
bb22fa4

NOTE: This release includes breaking changes

Change logs

Service Lifecycle Manager - #12

  • (new) Ability to specify lifecycle hooks on Fabric Services via ServiceLifecycleManager. (prerequisite before Plank module can be merged into main branch)

Broker API improvements - #13

  • (change) BrokerConnectorConfig updated with new options to allow customizing various parameters for broker connection such as TLS, STOMP heartbeat and extra headers for WebSocket upgrade and/or CONNECT message frames
  • (change) BridgeClient 's Connect() method signature changed to accept *BrokerConnectorConfig instead of http.Header for more precise controlling of connection and handshake behaviors
  • (change) SendMessage() signature on Connection interface changed to specify the MIME type of the payload. To provide the same previous behavior a new method named SendJSONMessage() was added
  • (new) Frame handlers can now be specified as an optional list as the last parameters of the SendMessage() method to pre-process messages before sent over to the broker

Notes

  • While BridgeClient's Connnect() method had a change in function signature, it is not encouraged for users to consume it directly. Use BrokerConnector that handles low level details for you