Skip to content

Commit

Permalink
Merge pull request #93 from Justintime50/version-bump-3.5.0
Browse files Browse the repository at this point in the history
Version bump - 3.5.0
  • Loading branch information
Justintime50 authored Apr 6, 2021
2 parents 928fab2 + bbc6c25 commit e225cfe
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 52 deletions.
80 changes: 44 additions & 36 deletions CHANGELOG → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,125 +1,133 @@
=== 3.4.5 2020-05-07
### 3.5.0 2020-08-09

* Added event retrieval methods
* Fixed a bug that did not allow carrier accounts to be deleted
* Fixed a bug that did not allow users to be deleted
* Removed various pieces of old code


### 3.4.5 2020-05-07

* Added "Refund" and "Shipment Invoice" to the prefix and type lists


=== 3.4.4 2020-03-11
### 3.4.4 2020-03-11

* Version bump with updated author


=== 3.4.3 2020-03-10
### 3.4.3 2020-03-10

* Bumped version in package.json for Packagist
* Updated README with release instructions


=== 3.4.2 2020-03-09
### 3.4.2 2020-03-09

* Fixed a bug that would not create reports properly
* Added unit tests for reports


=== 3.4.1 2018-04-13
### 3.4.1 2018-04-13

* Added ability to set connection and response timeouts for all EasyPost actions (thanks mattjanssen!)


=== 3.4.0 2017-11-30
### 3.4.0 2017-11-30

* Renamed `Object` class `EasyPostObject` since Object is a keyword in PHP7.2


=== 3.3.4 2017-05-24
### 3.3.4 2017-05-24

* Fixed confusing Pickup example
* Enabled Reports to retrieve without a type parameter
* Use X-Client-User-Agent over X-EasyPost-Client-User-Agent


=== 3.3.3 2017-02-14
### 3.3.3 2017-02-14

* Added get_rates method to Order objects


=== 3.3.2 2017-01-24
### 3.3.2 2017-01-24

* Fixed compatibility issues with older PHP versions and the Report class


=== 3.3.1 2017-01-19
### 3.3.1 2017-01-19

* Fixed Create for ScanForms


=== 3.3.0 2017-01-17
### 3.3.0 2017-01-17

* Added basic CRUD methods for Webhooks


=== 3.2.1 2016-12-14
### 3.2.1 2016-12-14

* Fixed error in Util.php they may have affected shipment_reports retrievals


=== 3.2.0 2016-12-12
### 3.2.0 2016-12-12

* Added ability to create Report objects for shipment, tracker and payment_log reports


=== 3.1.3 2016-10-25
### 3.1.3 2016-10-25

* Fixed warning message from Address Verify/VerifyStrict


=== 3.1.2 2016-09-16
### 3.1.2 2016-09-16

* Added create_list for trackers


=== 3.1.1 2016-07-21
### 3.1.1 2016-07-21

* Added Insurance support


=== 3.1.0 2016-06-02
### 3.1.0 2016-06-02

* Renamed "Resource" class to "EasypostResource" since Resource is reserved in PHP7 (thanks ccovey!)


=== 3.0.3 2016-02-22
### 3.0.3 2016-02-22

* Added ability to create top-level users


=== 3.0.2 2016-01-29
### 3.0.2 2016-01-29

* Added 'verify' and 'verify_strict' options to Address creation


=== 3.0.1 2016-01-05
### 3.0.1 2016-01-05

* Updated ReadMe (thanks browner12!)
* Added DocBlock annotations to all methods (thanks browner12!)


=== 3.0.0 2015-12-18
### 3.0.0 2015-12-18

* Fixed Shipment Retrieve by tracking_code


=== 2.1.2 2015-11-04
### 2.1.2 2015-11-04

* Added Tracker.all example, and updated some old examples


=== 2.1.1 2015-07-01
### 2.1.1 2015-07-01

* Removed cURL options for SSL version, timeout, and connect timeout. The
default values for these options are acceptable.


=== 2.1.0 2015-04-10
### 2.1.0 2015-04-10

* Added User and CarrierAccount resources and examples for each.
* Modified EasyPost Object setter to record the change in the top level parent
Expand All @@ -136,65 +144,65 @@ display errors in development.
* EasyPost Objects are now Iterable.


=== 2.0.12 2015-02-04
### 2.0.12 2015-02-04

* Added pickup class
* Added pickup example


=== 2.0.11 2014-11-04
### 2.0.11 2014-11-04

* Added tracker to shipment buy response
* Updated tracker examples


=== 2.0.10 2014-07-07
### 2.0.10 2014-07-07

* Added Item, Container, and Order resources.


=== 2.0.9 2014-04-08
### 2.0.9 2014-04-08

* Updated the CA cert bundle.


=== 2.0.8 2013-12-29
### 2.0.8 2013-12-29

* Added the ability to add negative filters to Shipment->lowest_rate by starting them with an exclamation mark.


=== 2.0.7 2013-11-08
### 2.0.7 2013-11-08

* Added endpoint to create shipment from tracking code.


=== 2.0.6 2013-10-21
### 2.0.6 2013-10-21

* Added Event resource for webhooks.


=== 2.0.5 2013-08-30
### 2.0.5 2013-08-30

* API Addition: Batch.buy method added. Trigger the purchasing of labels after a successful Batch.create.
* API Addition: Batch.scan_form method added. Quickly generate a scan_form for an entire batch.


=== 2.0.4 2013-07-31
### 2.0.4 2013-07-31

* API Addition: Tracker objects added. Trackers can be used to register any tracking code with EasyPost webhooks.


=== 2.0.3 2013-07-16
### 2.0.3 2013-07-16

* Bug fix: error messages should no longer be truncated to their first character.


=== 2.0.2 2013-07-05
### 2.0.2 2013-07-05

* Added function to Address to all creating and verifying at the same time.


=== 2.0.1 2013-07-01
### 2.0.1 2013-07-01

* Add label function to Shipment to request specific label file_formats (pdf, epl2, zpl).
* Add insure function to Shipment. Add insurance to any shipment in one call!
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.5
3.5.0
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
"EasyPost": "lib/"
}
},
"version": "3.4.5"
"version": "3.5.0"
}
28 changes: 14 additions & 14 deletions lib/EasyPost/EasyPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ abstract class EasyPost
/**
* @var string
*/
public static $apiVersion = "2";
public static $apiVersion = '2';

/**
* Time in milliseconds to wait for a connection
* Time in milliseconds to wait for a connection.
*
* Zero or null means no timeout.
*
Expand All @@ -29,7 +29,7 @@ abstract class EasyPost
public static $connectTimeout;

/**
* Time in milliseconds to wait for a response
* Time in milliseconds to wait for a response.
*
* Zero or null means no timeout.
*
Expand All @@ -40,10 +40,10 @@ abstract class EasyPost
/**
* @var string
*/
const VERSION = '3.4.5';
const VERSION = '3.5.0';

/**
* get the API key
* get the API key.
*
* @return string
*/
Expand All @@ -53,7 +53,7 @@ public static function getApiKey()
}

/**
* set the API key
* set the API key.
*
* @param string $apiKey
*/
Expand All @@ -63,7 +63,7 @@ public static function setApiKey($apiKey)
}

/**
* get the API base URL
* get the API base URL.
*
* @return string
*/
Expand All @@ -73,7 +73,7 @@ public static function getApiBase()
}

/**
* set the API base URL
* set the API base URL.
*
* @param string $apiBase
*/
Expand All @@ -83,7 +83,7 @@ public static function setApiBase($apiBase)
}

/**
* get the API version
* get the API version.
*
* @return string
*/
Expand All @@ -93,7 +93,7 @@ public static function getApiVersion()
}

/**
* set the API version
* set the API version.
*
* @param $apiVersion
*/
Expand All @@ -103,7 +103,7 @@ public static function setApiVersion($apiVersion)
}

/**
* Set time in milliseconds to wait for a connection
* Set time in milliseconds to wait for a connection.
*
* Zero or null means no timeout.
*
Expand All @@ -115,7 +115,7 @@ public static function getConnectTimeout()
}

/**
* Get time in milliseconds to wait for a connection
* Get time in milliseconds to wait for a connection.
*
* Zero or null means no timeout.
*
Expand All @@ -127,7 +127,7 @@ public static function setConnectTimeout($connectTimeout)
}

/**
* Get time in milliseconds to wait for a response
* Get time in milliseconds to wait for a response.
*
* Zero or null means no timeout.
*
Expand All @@ -139,7 +139,7 @@ public static function getResponseTimeout()
}

/**
* Get time in milliseconds to wait for a response
* Get time in milliseconds to wait for a response.
*
* Zero or null means no timeout.
*
Expand Down

0 comments on commit e225cfe

Please sign in to comment.