Skip to content

Releases: campaignmonitor/createsend-ruby

Version 6.1.1

20 Aug 02:21
b2bf056
Compare
Choose a tag to compare
  • Merged support for error code 429 (rate limiting on subscribers update)
  • Merged gemspec required ruby version to >= 2.0
  • Merged hashie dependency to >= 3, < 6

Version 6.1.0

27 Oct 05:25
Compare
Choose a tag to compare
  • Added support for add/update subscribers specifying mobile_number and/or consent_to_send_sms (optional parameters)
    • Subscriber.Add
    • Subscriber.Update()
  • Added support for lists endpoints to be able to return the ConsentToSendSms (keyword parameter, is optional)
    • List.Active(include_sms_preference:true)
    • List.Bounced(include_sms_preference:true)
    • List.Unsubscribed(include_sms_preference:true)
    • List.Unconfirmed(include_sms_preference:true)
    • List.Deleted(include_sms_preference:true)
  • Clean-up various warnings associated with this package (excluding dependency package warning)
  • Add more samples

Version 6.0.0

10 Feb 04:27
Compare
Choose a tag to compare
  • Upgrades to Createsend API v3.3 which includes new breaking changes
  • Breaking: 'client.campaigns' now returned an object to support pagination (use .Results to ge the array of campaigns)
  • Added 'Tags' as another field that is returned in 'client.scheduled', 'client.drafts' and 'client.campaigns'
  • Added 'Name' as another field that is returned in 'campaign.summary'
  • Add new support for 'client.tags' endpoint (ie: getting list of tags for the client)
  • Add support for pagination, filtering and sorting to 'client.campaigns' endpoint
  • Bump rake to ~> 12.3.3
  • Adding support for returning ListJoinedDate for each subscriber.
    • List.Active()
    • List.Bounced()
    • List.Unsubscribed()
    • List.Unconfirmed()
    • List.Deleted()
    • Segment.Subscribers()
    • Subscriber.Get()

Version 5.1.1

08 Oct 06:25
Compare
Choose a tag to compare

Set default timeout to 120secs.

Version 5.1.0

03 Sep 02:06
Compare
Choose a tag to compare

Version 4.1.1

14 Jan 17:56
Compare
Choose a tag to compare
  • Drop support for Ruby 1.9.3 (#49)
  • Allow JSON 2 to be used (#48 and #50)
  • Bump httparty to ~> 0.14 (#50)

Version 4.1.0

04 Aug 11:12
Compare
Choose a tag to compare

Added support for Transactional Email

Version 4.0.2

15 Oct 20:42
Compare
Choose a tag to compare
  • Bumped and simplified hashie dependency to ~> 3.0

Version 4.0.1

03 May 18:37
Compare
Choose a tag to compare
  • This is a patch release which only changes development dependencies.
  • Removed development dependency on shoulda and added more suitable dependency on shoulda-context instead.

Version 4.0.0

19 Feb 11:24
Compare
Choose a tag to compare
  • Removed CreateSend::CreateSend#apikey to promote using OAuth rather than basic auth with an API key.
  • Started using the https://api.createsend.com/api/v3.1/ API endpoint.
  • Added support for new segments structure.
    • Create and Update calls now require the new rule_groups structure, instead of a rules structure.

      CreateSend::Segment.create(auth, list_id, title, rule_groups)
      CreateSend::Segment.update(title, rule_groups)

      So for example, when you previously would have created an argument like so:

      rules = [ { :Subject => "EmailAddress", :Clauses => [ "CONTAINS example.com" ] } ]

      You would now do this:

      rule_groups = [ { :Rules => [ { :RuleType => "EmailAddress", :Clause => "CONTAINS example.com" } ] } ]
    • The Add Rule call is now Add Rule Group, taking a collection of rules in a single rule_group argument instead of separate subject & clauses arguments.

      CreateSend::Segment.add_rule_group(rule_group)

      So for example, when you previously would have added a rule like so:

      @segment.add_rule "EmailAddress", [ "CONTAINS example.com" ]

      You would now do this:

      @segment.add_rule_group [ { :RuleType => "EmailAddress", :Clause => "CONTAINS @hello.com" } ]