Skip to content

Latest commit

 

History

History
236 lines (138 loc) · 5.3 KB

CHANGELOG.md

File metadata and controls

236 lines (138 loc) · 5.3 KB

Changes

2.4

Add Voice Insights API (thank you @yeoji)

Add more fields to Conference struct (thank you @zmei95 for the issue report).

2.3

The Twilio Calls API recently started returning calls by StartTime instead of by Date Created, which broke our GetCallsInRange in-memory filtering. Use StartTime as the sort order key if present, falling back to DateCreated. Update the tests to match.

Add Programmable Grant chat type to the list of tokens. Thanks Kelmer Perez for the patch.

2.2

Implement Twilio Verify API. Thanks Elijah Oyekunle for the patch.

2.1

  • Support deleting messages via client.Messages.Delete(sid).

  • Support a different default region for local phone number parsing than "US" by overriding the value of twilio.DefaultRegion in an init function.

Thanks Kevin Golding for the suggestions and issue reports.

2.0

Update Pricing API to v2. This is a breaking change.

To upgrade from the v1 Pricing API:

  • VoicePrice is now VoicePrices.

  • VoiceNumberPrice is now VoiceNumberPrices.

  • NumberPrice is now NumberPrices.

  • MessagePrice is now MessagePrices

  • The Prefixes field in the PrefixPrice struct is now DestinationPrefixes.

  • OriginationPrefixes field has been added to the PrefixPrice struct.

  • The OutboundCallPrice field in the VoiceNumberPrices struct is now OutboundCallPrices. Add the old OutboundCallPrice as the first entry in the array.

  • OriginationPrefixes field has been added to the OutboundCallPrice struct.

  • NumberVoicePriceService.Get now has 2 parameters: destinationNumber and data url.Values. destinationNumber is same as the previous number field. data can contain additional parameters like OriginationNumber.

  • Several other *PriceService.Get functions now have a third url.Values parameter. Pass nil for this third parameter to maintain compatibility with the v1 API.

1.8

Add Task Router Workers API.

1.7

Add Task Router Workflow API.

1.6

Add Task Router TaskQueue API.

1.5

Add Task Router Activity API.

1.4

Add Supported Countries service. (via Andrei Schneider @megaherz)

1.3

Remove dependency on jwt-go (functionality is the same, we just generate JWT's by hand now.)

1.2

Fix key for ConferenceSid.

1.1

Add video and video recordings API

1.0

Update kevinburke/rest to version 2.0.

0.66

Support the Notify Credentials API. Thanks to Maksym Pavlenko for implementing this change.

0.65

Support the Commands Wireless API.

Add cmd/report-data-usage and cmd/report-data-usage-server for reporting recent data usage for Sims.

0.64

Partial support for wireless.twilio.com endpoints, including the Sim resource and UsageRecords for Sims.

This version of the library requires github.com/kevinburke/go-types version 0.20 at least.

0.63

Support Update() for the IncomingPhoneNumber resource.

0.62

Fix error in release 0.61.

0.61

Support the Available Phone Numbers API. Thanks to Maksym Pavlenko for contributing the patch.

0.59

Support the Twilio Fax API.

  • Rename imports from github.com/saintpete/twilio-go to github.com/kevinburke/twilio-go.

0.58

Add client.UseSecretKey(key string) to handle secret keys properly. For more information on the secret key API, see https://www.twilio.com/docs/api/rest/keys.

Thanks to Andrew Watson for reporting.

0.57

Switch all imports to use the "context" library.

0.56

Use the new github.com/kevinburke/rest.DefaultTransport RoundTripper for easy HTTP debugging. (The previous code set the RoundTripper to nil, so kevinburke/rest wouldn't log anything).

0.55

Handle new HTTPS-friendly media URLs.

Support deleting/releasing phone numbers via IncomingNumbers.Release(ctx, sid).

Initial support for the Pricing API (https://pricing.twilio.com).

Add an AUTHORS.txt.

0.54

Add Recordings.GetTranscriptions() to get Transcriptions for a recording. The Transcriptions resource doesn't support filtering by Recording Sid.

0.53

Add Alert.StatusCode() function for retrieving a HTTP status code (if one exists) from an alert.

0.52

Copy url.Values for GetXInRange() functions before modifying them.

0.51

Implement GetNextConferencesInRange

0.50

Implement GetConferencesInRange. Fix paging error in GetCallsInRange/GetMessagesInRange.

0.47

Implement GetNextXInRange - if you have a next page URI and want to get an Iterator (instead of starting with a url.Values).

0.45

Fix go 1.6 (messages_example_test) relied on the stdlib Context package by accident.

0.44

Support filtering Calls/Messages down to the nanosecond in a TZ-aware way, with Calls.GetCallsInRange / Messages/GetMessagesInRange.

0.42

Add more Description fields based on errors I've received in the past. There are probably more to be found, but this is a good start.

0.41

Use the same JWT library instead of using two different ones.

Add Description() for Alert bodies.

0.40

Fix next page URL's for Twilio Monitor

0.39

The data in Update() requests was silently being ignored. They are not ignored any more.

Support the Accounts resource.

Add RequestOnBehalfOf function to make requests on behalf of a subaccount.

Fixes short tests that were broken in 0.38

0.37

Support Outgoing Caller ID's

0.36

Support Keys

0.35

Added Ended(), EndedUnsuccessfully() helpers to a Call, and FriendlyPrice() to a Transcription.