Releases: campaignmonitor/createsend-ruby
Releases · campaignmonitor/createsend-ruby
Version 6.1.1
Version 6.1.0
- 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
- 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
Set default timeout to 120secs.
Version 5.1.0
- Added support for Journeys API
Version 4.1.1
Version 4.1.0
Added support for Transactional Email
Version 4.0.2
- Bumped and simplified
hashie
dependency to~> 3.0
Version 4.0.1
- This is a patch release which only changes development dependencies.
- Removed development dependency on
shoulda
and added more suitable dependency onshoulda-context
instead.
Version 4.0.0
- 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 arules
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 separatesubject
&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" } ]
-