Skip to content

Commit 3975671

Browse files
authored
Merge pull request #102 from EasyPost/v5.1.0
chore: prepare v5.1.0 for release
2 parents ae8f31f + 96ee2a6 commit 3975671

File tree

3 files changed

+64
-114
lines changed

3 files changed

+64
-114
lines changed

CHANGELOG.md

Lines changed: 62 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# CHANGELOG
22

3-
## NEXT RELEASE
3+
## v5.1.0 (2022-02-09)
44

5-
* Added support for `One Call Buy a Shipment`
6-
* Added support for `Retrieve Carrier Types`
7-
* Added support for `One Call Buy an Order`
8-
* Allow user to override default API timeouts
9-
* Added support for `Update User Brand`
5+
* Adds support to one-call buy a Shipment by passing a `service` and `carrierAccounts` key
6+
* Adds support to retrieve carrier types via `CarrierType.all()`
7+
* Adds support to one-call buy an Order by passing a `service` and `carrierAccounts` key
8+
* Adds support to update the user's brand via `User.updateBrand()`
9+
* Allow user to override default API timeouts via getters and setters
10+
* Bump all plugins and remove dead `oss-parent` plugin
11+
* Various other small improvements and bug fixes
1012

11-
## 5.0.0 2022-01-14
13+
## v5.0.0 (2022-01-14)
1214

1315
* Bump minimum Java version from 1.5 to 8
1416
* Changed PUT/POST request bodies from url-form encoded to JSON encoded
@@ -22,292 +24,240 @@
2224
* Corrects references of `[email protected]` to `[email protected]`
2325
* Updates the connection timeout to 30 seconds from 20 and the request timeout to 60 from 40
2426

25-
26-
## 4.0.4 2020-10-29
27+
## v4.0.4 (2020-10-29)
2728

2829
* Actually bump User-Agent (which hadn't been bumped since 4.0.0)
2930

30-
31-
## 4.0.3 2020-10-26
31+
## v4.0.3 (2020-10-26)
3232

3333
* Change `PUT` requests to be properly-encoded
3434
* Handle null previous_attributes
3535

36-
37-
## 4.0.2 2020-03-30
36+
## v4.0.2 (2020-03-30)
3837

3938
* Merged pull request #49
4039
* Added EvenTest file
4140
* Fixed test cases on EasyPostTest (testPickup, testShipmentWithPostageLabelWithOptions )
4241
* Fixed intermittent WebHook callback event containing "previous_attributes": null
4342

44-
45-
## 4.0.1 2018-08-28
43+
## v4.0.1 (2018-08-28)
4644

4745
* Add labelFile for postage_label_inline option
4846

49-
50-
## 4.0.0 2018-03-15
47+
## v4.0.0 (2018-03-15)
5148

5249
* Added additional fields to Error object used in Address verification
5350
* Added delivery details to Address verification
5451
* Changed message field of ShipmentMessage to support non-string values
5552
* Fixed currency field of Rate to handle null
5653
* Fixed Report params to include start_date and end_date in the top-level JSON, as expected by the reports endpoint
5754

58-
59-
## 3.4.1 2018-03-09
55+
## v3.4.1 (2018-03-09)
6056

6157
* Added createdAt, updatedAt and fees fields on all top-level objects
6258
* Added batchId to Shipment objects
6359

64-
65-
## 3.4.0 2017-12-07
60+
## v3.4.0 (2017-12-07)
6661

6762
* Updated version of junit from 4.1.10 to 4.1.12
6863
* Updated version of maven-compiler-plugin from 1.5 to 1.8
6964
* Added tests for new shipment option payment
7065

71-
72-
## 3.3.5 2017-05-23
66+
## v3.3.5 (2017-05-23)
7367

7468
* Added orderId field to Shipments
7569
* Allow Reports to be retrieved without passing a type
7670

77-
78-
## 3.3.4 2017-03-10
71+
## v3.3.4 (2017-03-10)
7972

8073
* Updated X-EasyPost-Client-User-Agent to X-Client-User-Agent
8174
* Added additional values to CarrierDetail
8275
* Added statusDetail field to Trackers and TrackingDetails
8376

84-
85-
## 3.3.3 2017-02-14
77+
## v3.3.3 (2017-02-14)
8678

8779
* Added newRates method to Orders to refresh rates
8880

89-
90-
## 3.3.2 2017-01-24
81+
## v3.3.2 (2017-01-24)
9182

9283
* Allow Webhook update and index to be called with empty params
9384

94-
95-
## 3.3.1 2017-01-19
85+
## v3.3.1 (2017-01-19)
9686

9787
* Fixed ScanForm create
9888

99-
100-
## 3.3.0 2017-01-17
89+
## v3.3.0 (2017-01-17)
10190

10291
* Added basic CRUD methods for Webhooks
10392

104-
105-
## 3.2.1 2017-01-09
93+
## v3.2.1 (2017-01-09)
10694

10795
* Fixed bug in Maven test dependencies
10896

109-
110-
## 3.2.0 2017-01-04
97+
## v3.2.0 (2017-01-04)
11198

11299
* Changed Shipment and Order options from being a Map<String, String> to Map<String, Object> to support new non-string options
113100

114-
115-
## 3.1.0 2016-12-14
101+
## v3.1.0 (2016-12-14)
116102

117103
* Added ability to create, retrieve, and index shipment, tracker and payment_log reports
118104

119-
120-
## 3.0.5 2016-11-21
105+
## v3.0.5 (2016-11-21)
121106

122107
* Added delete() to Users (for children only)
123108

124-
125-
## 3.0.4 2016-10-12
109+
## v3.0.4 (2016-10-12)
126110

127111
* Added getbatchId() and other methods to ScanForms
128112

129-
130-
## 3.0.2 2016-08-30
113+
## v3.0.2 (2016-08-30)
131114

132115
* Added getCreatedAt() and getUpdatedAt() methods for Tracker objects
133116

134-
135-
## 3.0.1 2016-08-19
117+
## v3.0.1 (2016-08-19)
136118

137119
* Removed some CRUD methods that are not (and never were) valid
138120

139-
140-
## 3.0.0 2016-07-25
121+
## v3.0.0 (2016-07-25)
141122

142123
* Updated version of GSON from 2.2.4 to 2.7 to allow looser parsing of DateTime formats
143124

144-
145-
## 2.2.7 2016-07-25
125+
## v2.2.7 (2016-07-25)
146126

147127
* Added standalone insurance objects
148128

149-
150-
## 2.2.6 2016-07-22
129+
## v2.2.6 (2016-07-22)
151130

152131
* Allow the connection's read timeout to be set with EasyPost.readTimeout
153132

154-
155-
## 2.2.5 2016-07-08
133+
## v2.2.5 (2016-07-08)
156134

157135
* Allow shipment_id to be null on rates
158136

159-
160-
## 2.2.4 2016-03-09
137+
## v2.2.4 (2016-03-09)
161138

162139
* Bump version for deployment reasons
163140

141+
## v2.2.3 (2016-06-27)
164142

165-
## 2.2.3 2016-06-27
166143
* Updated POM.xml to fit Maven better and support the correct plugins
167144
* Removed a flaky text
168145

169-
170-
## 2.2.2 2016-03-09
146+
## v2.2.2 (2016-03-09)
171147

172148
* Updated PickupRate to properly include the carrier field
173149

174-
175-
## 2.2.1 2016-03-02
150+
## v2.2.1 (2016-03-02)
176151

177152
* Updated Order Messages to be of the new, more descriptive format
178153

179-
180-
## 2.2.0 2016-02-25
154+
## v2.2.0 (2016-02-25)
181155

182156
* Added "confirmation" field to ScanForm object, along with appropriate accessor methods
183157
* Update Address verification errors array
184158

185-
186-
## 2.1.9 2016-02-08
159+
## v2.1.9 (2016-02-08)
187160

188161
* Added ability to create new top-level users without API KEY
189162

190-
191-
## 2.1.8 2016-01-26
163+
## v2.1.8 (2016-01-26)
192164

193165
* Added a Form attribute - submittedElectronically.
194166

195-
196-
## 2.1.7 2016-01-19
167+
## v2.1.7 (2016-01-19)
197168

198169
* Fixed some types on the User object so that they match what is returned by the API (Number -> String).
199170
* Added support for the new "verify" and "verify_strict" parameters for Address creation/validation.
200171

201-
202-
## 2.1.6 2015-12-21
172+
## v2.1.6 (2015-12-21)
203173

204174
* Fixed Shipment Insure method so that it correctly uses http POST.
205175

206-
207-
## 2.1.5 2015-11-19
176+
## v2.1.5 (2015-11-19)
208177

209178
* Added createList method to Tracker class
210179

211-
212-
## 2.1.4 2015-09-24
180+
## v2.1.4 (2015-09-24)
213181

214182
* Added CarrierDetail object to tracker model.
215183

216-
217-
## 2.1.3 2015-07-31
184+
## v2.1.3 (2015-07-31)
218185

219186
* Added Rate.listRate and Rate.listCurrency.
220187

221-
222-
## 2.1.2 2015-07-08
188+
## v2.1.2 (2015-07-08)
223189

224190
* Added Carrier field to the tracker model.
225191

226-
227-
## 2.1.1 2015-06-19
192+
## v2.1.1 (2015-06-19)
228193

229194
* Added Form model and Shipment.forms.
230195

231-
232-
## 2.1.0 2015-04-15
196+
## v2.1.0 (2015-04-15)
233197

234198
* Added User model, and filled out CarrierAccount to be able to interact with
235199
both via the API.
236200

237-
238-
## 2.0.14 2015-04-08
201+
## v2.0.14 (2015-04-08)
239202

240203
* Updated Tracker model to have weight, signedBy and estDeliveryDate fields
241204

242-
243-
## 2.0.13 2015-04-07
205+
## v2.0.13 (2015-04-07)
244206

245207
* Fixed Address createAndVerify method
246208
* Added Address verifyWithCarrier and createAndVerifyWithCarrier methods
247209

248-
249-
## 2.0.12 2015-03-03
210+
## v2.0.12 (2015-03-03)
250211

251212
* Added Pickup classes and pickup create, buy, cancel methods
252213

253-
254-
##= 2.0.11 2015-03-03
214+
## v2.0.11 (2015-03-03)
255215

256216
* Orders now update themselves after a buy call.
257217

258-
259-
== 2.0.10 2015-01-27
218+
## v2.0.10 (2015-01-27)
260219

261220
* Added Address.residential attribute, and Batch.buy function
262221

263-
264-
## 2.0.9 2014-12-22
222+
## v2.0.9 (2014-12-22)
265223

266224
* Added a number of new Rate attributes and Batch.numShipments, Batch.reference, ScanForm.status
267225

268-
269-
## 2.0.8 2014-12-18
226+
## v2.0.8 (2014-12-18)
270227

271228
* Added ShipmentMessage type for Shipment.messages
272229

273-
274-
## 2.0.7 2014-11-04
230+
## v2.0.7 (2014-11-04)
275231

276232
* Added Tracker to shipment buy response
277233
* Added Tracking Locations to Tracking Details
278234
* Enhanced Tests
279235

280-
281-
## 2.0.6 2014-07-28
236+
## v2.0.6 (2014-07-28)
282237

283238
* Added Container, Item, Order resources.
284239
* Added Batch.createScanForm function for generating manifests from a batch.
285240
* Refactored and added a lot of new attributes for objects across the board.
286241

287-
288-
## 2.0.5 2013-12-11
242+
## v2.0.5 (2013-12-11)
289243

290244
* Bug fix. Made Batch.status public and removed the conflicting getStatus method.
291245

292-
293-
## 2.0.4 2013-10-14
246+
## v2.0.4 (2013-10-14)
294247

295248
* Added Event resource for webhook digestion.
296249
* Changed Batch.getStatus to Batch.getBatchStatus to avoid collisions with Tracker.getStatus in Event deserialization.
297250

298-
299-
## 2.0.3 2013-08-28
251+
## v2.0.3 (2013-08-28)
300252

301253
* Bug fix: Fixed handleAPIError to return proper exception message.
302254

303-
304-
## 2.0.2 2013-08-02
255+
## v2.0.2 (2013-08-02)
305256

306257
* API Addition: Tracker resource added. Trackers can be used to register any tracking code with EasyPost webhooks.
307258
* Attribute Addition: Added new BatchStatus attribute, and additional label format attributes to PostageLabel.
308259

309-
310-
## 2.0.1 2013-07-05
260+
## v2.0.1 (2013-07-05)
311261

312262
* Added unique carrier/service combination serviceCodes to Rate objects.
313263
* Added function to Address to all creating and verifying at the same time.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
5.1.0

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.easypost</groupId>
77
<artifactId>easypost-api-client</artifactId>
88

9-
<version>5.0.0</version>
9+
<version>5.1.0</version>
1010
<packaging>jar</packaging>
1111

1212
<name>com.easypost:easypost-api-client</name>

0 commit comments

Comments
 (0)