All Versions
44
Latest Version
Avg Release Cycle
126 days
Latest Release
1130 days ago

Changelog History
Page 2

  • v5.0.1 Changes

    December 14, 2015
    • ๐Ÿ”„ Changed the fatal error thrown when unable to communicate with the API into a catchable Exception
  • v5.0.0 Changes

    December 08, 2015
    • โž• Added PHP7 support
  • v4.1.1 Changes

    September 09, 2015
    • ๐Ÿ›  Fixed the transactional smart email call for get_list() so it now passes the client id
  • v4.1.0 Changes

    August 05, 2014
    • โž• Added support for Transactional Email
  • v4.0.2 Changes

    October 29, 2014
    • โšก๏ธ Updated constant definitions so PHP Notices aren't raised
  • v4.0.1 Changes

    May 30, 2014
    • Updated the class_exists check to no longer call __autoload
  • v4.0.0 Changes

    February 06, 2014
    • โšก๏ธ Updated to v3.1 API
    • โž• Added support for new segments structure

      • Segment now includes a new RuleGroups member, instead of a Rules member.

        So for example, when you previously would have created a segment like so:

        $result = $wrap->create('Segments List ID', array(
            'Title' => 'Segment Title',
            'Rules' => array(
                array(
                    'Subject' => 'EmailAddress',
                    'Clauses' => array(
                        'CONTAINS example.com'
                    )
                ) ,
                array(
                    'Subject' => '[customfield]',
                    'Clauses' => array(
                        'PROVIDED',
                        'EQUALS 1'
                    )
                )
            )
        ));
        

        You would now do this:

        $result = $wrap->create('Segments List ID', array(
            'Title' => 'Segment Title',
            'RuleGroups' => array(
                array(
                    'Rules' => array(
                        array(
                            'RuleType' => 'EmailAddress',
                            'Clause' => 'CONTAINS example.com'
                        )
                    )
                ) ,
                array(
                    'Rules' => array(
                        array(
                            'RuleType' => '[customfield]',
                            'Clause' => 'PROVIDED'
                        ) ,
                        array(
                            'RuleType' => '[customfield]',
                            'Clause' => 'EQUALS 1'
                        )
                    )
                )
            )
        ));
        
    • The Add Rule call is now Add Rule Group, taking a ruleGroup argument instead of a rule argument.

      function CS_REST_Segments->add_rulegroup($rulegroup)
      

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

      $wrap = new CS_REST_Segments('Segment ID', $auth);
      $result = $wrap->add_rule(array(
          'Subject' => 'EmailAddress',
          'Clauses' => array('CONTAINS example.com')
      ));
      

      You would now do this:

      $wrap = new CS_REST_Segments('Segment ID', $auth);
      $result = $wrap->add_rulegroup(array(
          'Rules' => array(
              array(
                  'RuleType' => 'EmailAddress',
                  'Clause' => 'CONTAINS example.com'
              )
          )
      ));
      
      • โœ‚ Removed the get_apikey method to promote usage of oAuth authentication
  • v3.1.3 Changes

    December 10, 2013
    • ๐Ÿ›  Fixed a notice that was raised when unscheduling a campaign.
  • v3.1.2 Changes

    October 28, 2013
    • Only set the CURLOPT_CAINFO option if not already set globally via the ini system.
  • v3.1.1 Changes

    October 03, 2013
    • Made it harder to accidentally email your subscribers when using the example code