- Add special-case for completed orders, and fetching non-live-rate shipping methods. This allows the correct use of
order.shippingMethod.name
. Please note that calling this for completed orders will report all Postie-provided shipping method costs as 0. As such, use the shipping costs recorded on the order (order.totalShippingCost()
). - Fix errors for console or queue requests.
- Provide local cache for Australia Post countries API call (when the resource is offline).
- Ensure we check for cached rates when manualFetchRates is turned on. Otherwise, the shipping method won't save on cart, or persist on page load.
- Remove duplicate cakephp/utility composer package. (thanks @codebycliff).
- Fix saving shipping method settings not working.
- Added
manualFetchRates
config option, to allow you to manage manually fetching rates on-demand. Read the docs for more info.
- Greatly improve caching mechanism for initial requests to providers. This should result in faster rates-fetching.
- Provider function
getSignature
is now public.
- Fix logging error
Call to undefined method setFileLogging()
.
- Add support for UPS “Sure Post”.
- File logging now checks if the overall Craft app uses file logging.
- Log files now only include
GET
andPOST
additional variables.
- Canada Post - Fix incorrect URL for live requests.
- Fix styling issues for provider markup settings.
- Add
ShippingMethod::EVENT_MODIFY_SHIPPING_RULE
. See docs.
- Add TNT Australia provider.
- Add 2- and 3-day Priority options to USPS. (thanks @AugustMiller).
- Add
Order
object toModifyRatesEvent
. (thanks @AugustMiller). - Add
beforeFetchRates
event.
- Update FedEx for Ground Transit Time. FedEx handles the delivery date for Ground different than Express. For Ground, they use
TransitTime
. (thanks @keyurshah).
- Fix provider icon error for custom provider.
- Fix USPS/UPS handles, incorrectly being set as
uSPS
anduPS
. - Fix incorrect caching of rates for multiple providers.
- Fix zero-based rates not being shown to pick during checkout.
- Fix AusPost and Canada post error handling.
- Remove provider settings from shipping method requests, particularly for XHR.
- Fix debug statements occurring for non-site requests.
- Add support for Commerce 3.
- Add more UPS services, and change the way UPS services match.
- Fix provider settings not being populated on shipping methods and rules. Meant markup rates weren't working correctly.
- Add
modifyRates
providing access to the raw response from a provider and the extracted shipping rates. See docs. - All shipping rates now have additional options available on the shipping rule. See docs.
- Add negotiated rate support for UPS.
- Fix error with store location state for UPS.
- Add
delayFetchRates
,manualFetchRates
andfetchRatesPostValue
.
- Improve in-memory caching.
- Fix memory issues in certain cases when fetching rates.
- Tweak state handling for Fedex.
- Remove leftover debugging.
- Fix return type incompatibility causing errors.
- Fix dimensions API issue with Canada Post.
- Improve response error handling for Canada Post.
- Fix lack of formatting handling for Canada Post zip codes.
- Swap XML parser for Canada Post.
- Fix missing shipping description.
- Fix some error messages themselves throwing errors.
- Craft 3/Commerce 2 support.
- Add Canada Post provider.
- Add Fastway provider.
- Add initial TNT provider. Please contact us with API account details to finalise!
- Add
displayDebug
config setting. - Add
displayErrors
config setting. - Add
enableCaching
config setting. - Add
enabled
config setting for each provider. - Add provider icons, and CP UI improvements.
- Updated provider functions for easier/clearer extendability. See docs.
- Updated cache mechanism for better performance.
- Australia Post now fetches shipping rates in a single API call.
- Removed
originAddress
config setting in favour of Commerce'sStore Location
. - Provider handles in config file are now required to be provided in camel case.
- Add config setting to disable cache.
- Add UPS Provider.
- Fedex - Add config setting
disableCache
for test endpoint (not default when using DevMode). - Fedex - fix services from pre1.0.1 causing issues.
- Add management of shipping category conditions for shipping methods.
- Initial release.