Skip to content

Latest commit

 

History

History
839 lines (646 loc) · 15.8 KB

CHANGELOG.md

File metadata and controls

839 lines (646 loc) · 15.8 KB

v7.1.0

  • Remove chatbase support
  • Test with Redis 3.2.4
  • Add support for 'Expired' status in the AT handler

v7.0.0

  • Tweak README

v6.5.9

  • Fix Viber attachments
  • CI testing on PG12 and 13
  • Update to latest gocommon and go 1.17

v6.5.8

  • Fix Facebook document attachment
  • Update to latest gocommon and phonenumbers

v6.5.7

  • Fix to only set the quick replies keyboard for the last message
  • Update to latest gocommon

v6.5.6

  • Fix FB signing checks by trimming prefix instead of stripping
  • Improve layout of Telegram keyboards

v6.5.5

  • Send WhatsApp buttons and list buttons when supported (thanks Weni)

v6.5.4

  • trim prefix instead of strip when comparing FB sigs

v6.5.3

  • log body when calculating signatures, include expected and calculated

v6.5.2

  • Add ticket_count column to contact and set to zero when creating new contacts

v6.5.1

  • Give S3 storage test new context on startup
  • Make DBMsg.SentOn nullable

v6.5.0

  • Always set sent_on for W/S/D statuses if not already set
  • Update to latest gocommon

v6.4.0

  • 6.4.0 Release Candidate

v6.3.5

  • up max request size to 1M

v6.3.4

  • Include filename when sending WhatsApp attachments

v6.3.3

  • Support using namespace from the template translation
  • Add is_resend to Msg payload to allow for resending messages manually

v6.3.2

  • Do not verify the SSL certificate for Bongo Live

v6.3.1

  • Update BL to remove UDH parameter and use HTTPS URL

v6.2.2

  • Handle whatsapp URNs sent to Twiml handler without prefix
  • Add support for Zenvia SMS

v6.2.1

  • Add support for Zenvia WhatsApp

v6.2.0

  • Add handling for button whatsapp message type
  • Bump CI testing to PG 11 and 12
  • Add Kaleyra channel type
  • 6.2.0 RC

v6.1.7

  • switch id to bigserial

v6.1.6

  • Cache media upload failures localy for 15m

v6.1.5

  • include header when sanitizing request/response

v6.1.4

  • Cleanup of whatsapp media handling
  • Detect media type for uploading media

v6.1.3

  • Better logging of error cases when uploading WhatsApp media

v6.1.2

  • use url.parse to build media URL

v6.1.1

  • Add TextIt WhatsApp channel type

v6.1.0

  • Check and log errors when building URLs for sending

v6.0.0

  • Update README

v5.7.12

  • URN channel change only for channels with SEND role
  • Update to gocommon v1.6.1
  • Add RocketChat handler
  • Add discord handler

v5.7.11

  • Cache media ids for WhatsApp attachments

v5.7.10

  • Support receiving Multipart form data requests for EX channels

v5.7.9

  • Update to latest gocommon 1.5.3 and golang 1.15
  • Add session status from mailroom to MT message sent to external channel API call
  • Remove incoming message prefix for Play Mobile free accounts

v5.7.8

  • deal with empty message in FreshChat incoming requests

v5.7.7

  • Update to gocommon v1.5.1

v5.7.6

  • Remove dummy values for AWS config values so you can use local file system for testing
  • Use gsm7, storage, dates and uuids packages from gocommon

v5.7.5

  • No longer write contact.is_stopped or is_blocked

v5.7.4

  • Support receiving XML for CM channels
  • Write status on new contacts
  • Add support for Whatsapp 360dialog

v5.7.3

  • Include created_on in msg_event
  • Include occurred_on when queueing channel events for mailroom

v5.7.2

  • Deal with Shaqodoon not properly escaping + in from

v5.7.1

  • Add ClickMobile channel type

v5.7.0

  • Save the Ad ID for Facebook postback referral

v5.6.0

  • 5.6.0 Candidate Release

v5.5.28

  • Fix FBA signature validation and channel lookup

v5.5.27

  • Add country field and support for more template languages on WhatsApp handler

v5.5.26

  • Only log channel events when we have a channel matched
  • HX channel sends MO using ISO 8859-1 encoding

v5.5.25

  • Load FBA channel handler package

v5.5.24

  • Support loading channels with null address

v5.5.23

  • Add support for FBA channel type

v5.5.22

  • User reply endpoint when possible for LINE messages

v5.5.21

  • Fix FB location attachment to be handled at geo attachment

v5.5.20

  • TS expects national numbers only

v5.5.19

  • Upgrade FB graph API to 3.3

v5.5.18

  • TS sends should use mobile instead of from

v5.5.17

  • Support sending document attachments for Telegram

v5.5.16

  • Add option for Telesom Send URL
  • Ignore received message request in Telegram handler when a file cannot be resolved

v5.5.15

  • Support using national number for EX channel if configured so

v5.5.14

  • Add Telesom channel type support

v5.5.13

  • Use Channel specific max_length config value if set

v5.5.12

  • Increase ArabiaCell max length to 1530

v5.5.11

  • Retry WhatsApp channel messaging after contact check with returned WhatsApp ID

v5.5.10

  • Fix sending WA template messages on new WhatsApp docker

v5.5.9

  • Add option for Kannel channels to ignore duplicative sent status

v5.5.8

  • More tweaks to slowing down batching of status commits when approaching max queue size

v5.5.7

  • slow queuing before reaching our max batch size

v5.5.6

  • Slow queuing into a batch when batches are full

v5.5.5

  • Increase buffer size
  • Add support for Viber stickers as image attachments for incoming messages

v5.5.4

  • handle error cases for whatsapp callbacks

v5.5.3

  • add native panic handling

v5.5.2

  • Send msg in batches and add image msg type in the LINE channel

v5.5.1

  • Add contacts not already present for WhatsApp when sending error detected (thanks @koallann)

v5.5.0

  • add fabric to gitignore

v5.6.0

  • add fabric to gitignore

v5.4.1

  • Strip cookie from incoming requests

v5.4.0

  • touch README for 5.4 release

v5.3.9

  • Add VK Channel

v5.3.8

  • Fix Chatbase request body

v5.3.7

  • Fix quick replies variable replacement on external channel long msg

v5.3.6

  • Allow configuring and sending of quick replies for external channels

v5.3.5

  • Refactor FMC channel to support the fixed quick replies structure

v5.3.4

  • Change Arabia Cell max length to 670, fixes #274
  • Add support for Twilio Whatsapp channel type
  • Convert to use Github actions for CI

v5.3.3

  • Fix freshchat image handing

v5.3.2

  • Set Facebook message type tag when topic is set on message

v5.3.1

  • update changelog for v5.3

v5.3.0

  • Send WhatsApp media via URL
  • Log Zenvia errors to ChannelLog instead of Sentry
  • Ignore status updates for incoming messages

v5.2.0

  • Sync version with RapidPro 5.2

v2.0.18

  • Test matrix release

v2.0.17

  • Test deploying with matrix build

v2.0.16

  • test releasing only on pg10

v2.0.15

  • Derive contact name for new WhatsApp contacts (thanks @devchima)

v2.0.14

  • properly log connection errors for whatsapp

v2.0.13

  • use latest librato library

v2.0.12

  • tune HTTP transport settings

v2.0.11

n

  • tune HTTPClient settings to better deal with slow hosts

v2.0.10

  • Use multipart form encoding for thinQ

v2.0.9

  • Add thinq handler

v2.0.8

  • turn thumbs up stickers into thumbs up emoji

v2.0.7

  • Tweak lua script for checking loops, add more tests

v2.0.6

  • Make sure we never overflow our count when considering loops

v2.0.5

  • Check whether outgoing message is in a loop before sending

v2.0.4

  • Add FreshChat channel type
  • Latest phonenumbers library

v2.0.3

  • Fix sending for ClickSend

v2.0.2

0;95;0c# Enter any comments for inclusion in the CHANGELOG on this revision below, you can use markdown

  • ignore viber dlrs as they are sent for both in and out

v2.0.1

  • add WhatsApp scheme support for TWIML channels

v2.0.0

  • ignore flow server enabled attribute on orgs
  • stop looking / writing is_test on contact

v1.2.160

  • add bearer before auth token for Hormuud

v1.2.159

  • add SignalWire handler (https://www.signalwire.com)
  • refactor twilio->twiml
  • remove ignore DLR global config, make per channel for TWIML channels

v1.2.158

  • add ClickSend channel

v1.2.157

  • increase http timeouts to 60 seconds for AfricasTalking, Hormuud token lasts 90 minutes

v1.2.156

  • update Portuguese mapping

v1.2.155

  • new Hormuud channel for somalia
  • add video support for WhatsApp

v1.2.154

  • have batch committer print when flushed
  • move stopping of bulk committers to cleanup phase

v1.2.153

  • Switch to newer library for UUID generation

v1.2.152

  • raise delay before bulk commits to 500ms

v1.2.151

  • optimize sends via bulk inserts and updates

v1.2.150

  • allow configuring custom mo fields for external channels

v1.2.149

  • implement sending whatsapp templates

v1.2.148

  • Add maintenance mode to run without a DB and only spool inbound requests

v1.2.147

  • Prevent Facebook duplicate messages, dedupe in external id

v1.2.146

  • ignore deleted status for whatsapp

v1.2.145

  • mark deleted WhatsApp messages as failed

v1.2.144

  • include extra for channel events in response

v1.2.143

  • deduplicate WA messages on external ID

v1.2.142

  • normalize TEL urns with the country

v1.2.141

  • latest phonenumbers

v1.2.140

  • Queue welcome message event to be handle by mailroom

v1.2.139

  • add sub-message ids for long messages on play mobile
  • send configured welcome message on converssation started for Viber

v1.2.138

  • proper name for queues to check size

v1.2.137

  • log queue sizes and new contact creations to librato

v1.2.136

  • add queued on to all tasks

v1.2.135

  • move queued on to task level

v1.2.134

  • add queued_on to tasks sent to mailroom so we can calculate latency

v1.2.133

  • fixes us creating an orphaned contact when we get two messages at the same instant

v1.2.132

  • send fb attachments first instead of last, add quick replies to last message instead of first

v1.2.131

  • Fix to use DLRID for Bongolive status reports

v1.2.130

  • Use unix timestamp for MO receive on WAVy channels

v1.2.129

  • Make bongolive inbound msg type optional
  • Properly handle long attachment description for Viber

v1.2.128

  • Load BL handler package
  • Add support for Movile/Wavy channels, Thanks to MGov to fund the development of the integration

v1.2.127

  • Use UPPERCASE parameters for BL channels
  • Migrate courier to PostgreSQL 10

v1.2.126

  • Switch BL channels used API

v1.2.125

  • add support for Bongo Live channels
  • Switch to use nyaruka/librato package
  • Complete conversion to module

v1.2.124

  • Updated Zenvia endpoint according to new API

v1.2.123

  • set session timeouts when specified by mailroom

v1.2.122

  • Support using the custom configured content type for EX channels
  • Fix panicr on parsing SOAP body for EX channels
  • Support sending images and videos in Twitter

v1.2.121

  • fix twitter sending

v1.2.120

  • Twitter media attachments

v1.2.118

  • Commit transaction when adding URN to contact with success
  • Fix typo
  • Simply remove URNs by update query
  • Fix params names
  • Fix Facebook for contact duplicates when using referral, save the proper Facebook URN when we first successfully send to the referral contact URN
  • Ignore error for Jiochat user name lookup

v1.2.117

  • remove ipv6 binding for redis server

v1.2.116

  • add urn id to channel events

v1.2.115

  • do not return errors from whatsapp send during client errors

v1.2.114

  • Better channel logs support for WA channels

v1.2.113

  • prevent races in dupe detection by clearing before sending
  • use URN identity for URN fingerprint

v1.2.112

  • return empty content when receiving i2sms messages

v1.2.111

  • add i2sms channel

v1.2.110

  • allow setting kannel dlr mask

v1.2.109

  • Support receiving MO msgs in XML format

v1.2.108

  • Add channel log for when we fail to get the response expected
  • Support checking configured response content for EX channels
  • Add stopped event handler for EX channels

v1.2.107

  • queue tasks to mailroom for flow_server_enabled orgs, requires newest rapidpro

v1.2.106

  • flush to librato every second
  • Add authorization token requirement to receive messages on Novo Channel

v1.2.105

  • optimize writing message status for external case

v1.2.104

  • optimize status update when we know message id

v1.2.103

  • add media handling for whatsapp

v1.2.102

  • clear dedupes on outgoing messages

v1.2.101

  • AT date like 2006-01-02 15:04:05, without T nor Z

v1.2.100

  • Accept AT requests with timestamps without Z
  • Ignore status update for incoming messsages

v1.2.99

  • Support smart encoding for post requests on EX channels
  • Add novo channel with send capability
  • log the error when PQ fails to connect
  • Changed the default redis database to match rapid pro redis database

v1.2.98

  • treat empty content type as text
  • updated go.mod and go.sum files for go modules support

v1.2.97

  • add optional transliteration parameter for MT messages with infobip
  • add support to use configured encoding for EX channels

v1.2.96

  • Add support for WeChat

v1.2.95

  • use utf8 to shorten string so we don't end up with an invalid string

v1.2.94

  • proper backdown for Nexmo retries

v1.2.93

  • Trim contact names at 127 characters

v1.2.92

  • move to gocommon, honor e164 numbers handed to us

v1.2.91

  • update to latest phonenumbers, update tests

v1.2.90

  • reduce spacing between messages to 3 seconds
  • add an address option to bind to a specific network interface address
  • honor rapidpro constants for content-type

v1.2.89

  • Add burst sms handler / sender (Australia / New Zealand)

v1.2.88

  • set expiration of sent sets in redis

v1.2.87

  • update line channel to use v2 of API
  • add messangi channel

v1.2.86

  • remove unacked, that's part of celery's job

v1.2.85

  • update celery queuing to new kombu format

v1.2.84

  • write UUID fields for incoming messages

v1.2.83

  • implement unified webhook endpoint for whatsapp

v1.2.82

  • Implement new WhatsApp API for sending

v1.2.81

  • Honor x-forwarded-path header for twilio signatures

v1.2.80

  • Make sure the messageid is unique for multiple part messages for Dartmedia

v1.2.79

  • Decode & in Twitter message bodies

v1.2.78

  • Accept Hub9/Dart encrypted phonenumber identifier and save then as external scheme

v1.2.77

  • Update .gitignore

v1.2.76

  • Update .gitignore

v1.2.75

  • Update readme, formatting
  • Add more lines to show annotation format
  • More lines.. why not

v1.2.74

  • Update changelog, remove spurious version

v1.2.73

  • do not log illegal methods or 404s