Skip to content

v5.0.0

Compare
Choose a tag to compare
@WillSewell WillSewell released this 19 Feb 15:03
· 11 commits to master since this release
4a69950
  • Breaking change: TriggerBatch now returns (*TriggerBatchChannelsList, error) instead of error
  • Breaking change: Channels takes ChannelsParams as a parameter instead of map[string]string
  • Breaking change: Channel takes ChannelParams as a parameter instead of map[string]string
  • Breaking change: switches to go modules using option 1. described in https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher - this will cause problems for legacy package managers like dep
  • Added TriggerWithParams and TriggerMultiWithParams - they provide support for requesting channel attributes by specifying an Info field
  • Added a Info field to the Event type passed to TriggerBatch
  • Deprecated TriggerExclusive and TriggerMultiExclusive (use TriggerWithParams and TriggerMultiWithParams instead)