All notable changes to this project will be documented in this file.
Fixed
- shippo orders for swaps are missing "replace" in order number #321
Added
- Notice regarding a shippo regression issue causing rates at checkout to only use fallback rates. See README.md for solution.
Fixed
- Bin packer - package for fulfillment using wrong item quantity #317
Added
Added
Fixed
-
Order fetchBy returns empty array instead of Promise.reject if shippp order not found #309
-
Transaction fetchBy fulfillment returns empty array instead of Promise.reject if no fulfillment #310
Fixed
- Transaction fetchBy fulfillment empty array instead of Promise.reject if no transactions #306
Changed
- Public interface docs revamp #289
Fixed
- Running loader failed #300
Changed
- Requires medusa ^1.3.5
Fixed
- Retrieving shipping options hangs system on medusa v1.3.5 #297
- Updated dependencies
Fixed
- Removed test files that should have been ignored from package build
Fixed
- Fetch order by fulfillment fails sometimes #292
Added
- Public Interface - package - binpack set any package templates #285
Removed
- Public Interface - package - binpack "items" - use "line_items" instead #221
- Documentation updates
Added
- Public Interface - packingslip fetchBy local_order #272
- Public Interface - packingslip fetchBy claim #273
- Public Interface - packingslip fetchBy swap #274
- Public Interface - package - binpack cart #261
- Public Interface - package - binpack fulfillment #262
- Public Interface - package - binpack local_order #276
Deprecated
- Public Interface - package - binpack "items" - use "line_items" instead #221
Removed
Added
- Public Interface - order fetchBy local_order #266
- Public Interface - order fetchBy claim #250
- Public Interface - order fetchBy swap #251
Deprecated
- Performance improvements
Added
- Public Interface - Stable method for checking if transaction is return #258
- Public Interface - Stable method for checking if order is for replacement #259
- Public Interface - Stable method for bin packing line items #260
- Public Interface - Stable method rates for cart #263
Added
Removed
- Deprecated methods in shippoClientService - use public interface instead #210
Fixed
- Binpacker not selecting best box #245 - (Major Improvement)
Changed
- fetchBy fulfillment will also find claim and swap fulfillments #242
Fixed
- Type error for claim replace order in webhook transaction_created #238
Fixed
- shippoService.track.fetchBy fulfillment #239
Added
Deprecated
- shippoService.transaction.fetchExtended #225
Added
- Experimental find.for method chain #231
Fixed
Added
- Introduced a stable public interface #210
- Inject is_return field into transaction array members on shippo order object #206
Fixed
- Fetching a transaction can cause error #226
Added
- Webhook for track_updated #197
- Boolean method for checking if transaction is a return label #208
- ShippoOrderService #209
- ShippoTrackService #211
- Webhook test mode #214
Changed
- Moved webhook validation/verification to middleware #213
Deprecated
- ShippoClientService.fetchOrder() #212
Removed
- REST API endpoints #181
Added
- Experimental method to retrieve transaction for return label #202
- Polling method for fetching extended transaction #204 - see also #201
Changed
- Move remaining transaction related logic from shippoFulfillmentProvider to shippoTransactionService #181
- Fetching extended transaction no longer polls by default #201 - see also #204
Fixed
- Return-label event for transaction_created webhook #200
Added
- Change log unreleased section for upcoming changes
- Documentation for events #195
- Misc improvements to README.md
Added
- Documentation updates
Added
- transaction_updated webhook #133
- ShippoTransactionService #185
- Stabilized transaction_created webhook #190
Removed
- ShippoWebhookService #186
Fixed
- Proper fix for transaction_created webhook type error #155
- transaction_created webhook not updating status to shipped #184
Added
- Public method to fetch packing slip for fulfillment #174
- Public method to fetch a fulfillment's shippo order #175
Changed
- Shipping options decorated with rates in loader - eliminates an endpoint override #179
Deprecated
- Public method ShippoRatesService.fetchCartOptions() will be removed v1.0.0 due to the outcome from #179. Options are now returned decorated with rates by default from shippingProfileService.fetchCartOptions()
- All REST API endpoints are deprecated and will be removed v0.20.0. See the rational and reasoning @ #181
Added
- Missed note in 0.16.0 entry regarding useClient #168
Added
- ShippoClientService public API stabilized and documented #165
- ShippoPackerService public API stabilized and documented #166
Changed
- BREAKING Moved useClient property from ShippoFulfillmentService to ShippoClientService
Fixed
- Type error in webhook #155
Added
- ShippoRatesService public API stabilized and documented #164
- Emit event for calculated shipping method and pass live-rate object #169
Added
Added
- Emit event after creating shippo order #156
- New method to fetch default sender address from shippo #157
Fixed
- Proper fix for shipping option conditions #149
Fixed
- Shipping options fail to load when discount code applied to cart #146
Added
-
Bin packing support for all shipping option types #125
-
Raw live-rate object that determined rate at checkout added to fulfillment data #144
Changed
- BREAKING - New implementation for rates at checkout #137
- BREAKING - Bin packing data is no longer saved #141
- BREAKING - Parcel template data used for rate moved from order metadata to fulfillment data
Fixed
-
Rates at checkout not respecting discounts #105
-
Rates at checkout not respecting shipping option conditions #139
Added
- Webhook support for transaction_created event #132
Changed
- Parcel template name moved to notes in shippo order #131
Fixed
- Prevent live-rate option from being added to cart before requesting rates #124
- Fulfillment with item of 0 quantity creates shippo order #128
Fixed
- Major bug - updating rates removes carts shipping options that are not live-rates #121
Removed test coverage data from npm package #111
Fixed
- Edge case where fallback amount for live-rate fails #109
Added
- New endpoint to retrieve bin packing result data #102
Changed
- BREAKING Moved bin packing result data #101
Added
- Bin packing result data added to cart/order metadata #96
Fixed
- Empty json reponse under certain conditions when updating live-rates for shipping options #99
Fixed
- Bin packer async issue #90
Misc code improvements from testing
Fixed
- Documentation inaccuracy
Fixed
- Error messages in API responses #80
Fixed
- Flattened nested json response from both admin routes #72
- Cancel fulfillment #75, #76
- Performance issue #77
Fixed
- Config loading fail #69
Added
- Exposed shippo client for direct use #62
- Exposed public methods for all features #64
- Public methods documented in README #66
- Parcel template ID included in live rate response #67
Changed
- Verifies if CSO is shippo before modifying #63
Changed
Fixed
- Line item prices in shippo orders #57
Changed
Added
- Parcel template name from bin packing to shippo order #53
Fixed
- Documentation mistake - wrong field name in Getting Started readme
Bug Fixes
- Shippo orders created on new fulfillment now have status "PAID" #23
Added
- Implemented a FFD bin packing algorithm for rates at checkout #44
Added
Bug Fixes
Fixes
- Critical bug #34
Added
- Endpoint to retrieve shippo packing slip #27
Changed
- Endpoint errors return sane json #32
Added
Changed
- BREAKING: API endpoint URI's #21
Bug Fixes:
- Correct order number in new Shippo orders #24
- Fulfillment ID to Shippo order
- Shippo order ID to fulfillment
- Currency type user paid with added to shippo order
- Fixes #10
- Resolves #11