Postie Changelog

Postie 2.x is on version 2.4.7, released on Feb 20, 2021

  • theicons.co/svg/photo-09 Created with Sketch. 74 New features
  • theicons.co/svg/others-47 Created with Sketch. 24 Improvements
  • theicons.co/svg/home-36 Created with Sketch. 58 Bug fixes

2.4.7 - Latest Release

Released Feb 20, 2021

  • theicons.co/svg/home-36 Created with Sketch.

    Fix USPS rates not factoring in correct pricing for multiple boxes.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix when updating services, shipping category conditions would be lost.

2.4.6

Released Jan 28, 2021

  • theicons.co/svg/others-47 Created with Sketch.

    All providers now round box dimensions and weights to 2 decimal places.

  • theicons.co/svg/others-47 Created with Sketch.

    Improve project config storage for settings. Postie will now no longer save (some) settings for disabled providers.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix DHL Express throwing errors due to invalid weight/dimensions.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix in-memory caching not working correctly for providers. This meant potentially multiple requests for a single page request were being performed.

2.4.5

Released Jan 16, 2021

  • theicons.co/svg/photo-09 Created with Sketch.

    Add support for FedEx Freight.

  • theicons.co/svg/photo-09 Created with Sketch.

    Allow providers connection check to be run from cron, or similar means.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix potential error with AusPost International.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix USPS not logging error messages correctly for domestic shipments.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix USPS rates not reporting back correctly when using potentially invalid postcodes.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix testing connection only using saved values, not values as you change them.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix UPS connection testing for some non-US based accounts.

  • theicons.co/svg/home-36 Created with Sketch.

    Ensure Postie isn’t shown in the CP sidebar menu when allowAdminChanges = false.

2.4.4

Released Jan 05, 2021

  • theicons.co/svg/home-36 Created with Sketch.

    Fix error when calculating rates for Australia Post, New Zealand Post and Sendle.

2.4.3

Released Dec 22, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add weight and dimension unit settings for each provider. Some providers (UPS) rely on units being set for the appropriate account's region.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix potential error with Australia Post.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix an error with UPS when using negotiated rates.

  • theicons.co/svg/home-36 Created with Sketch.

    Ensure FedEx formats dimension and weight units correctly.

2.4.2

Released Dec 04, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    Fix error introduced in 2.4.1 when saving settings form the control panel.

2.4.1

Released Dec 04, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    Fix potential migration issue if no providers were configured.

2.4.0

Released Dec 03, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Sendle shipping provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Interparcel shipping provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add New Zealand Post shipping provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Bring shipping provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Royal Mail shipping provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add PostNL shipping provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Colissimo shipping provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add new 4D bin-packing algorithm to more accurately pack your boxes.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add ability to define box dimensions and weights for each provider, so you can better split order items into boxes.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add "Packing Method" setting for all providers.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add "Pack items individually" packing method, allowing all line items and quantities to be boxes individually.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add "Pack items into boxes" packing method, allowing provider-supplied boxes, or user-created ones.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add "Pack items into a single box" packing method - a slightly improved version of the box-packing algorithm in pre 2.4.0. This ensures a non-breaking change to box-packing behaviour to date.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add EVENT_BEFORE_PACK_ORDER and EVENT_AFTER_PACK_ORDER events to all providers, allowing modification of the box-packing logic.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add "Restrict Shipping Methods" setting for all providers. This allows opt-out of restricting to certain shipping services, and always use whatever is returned by the provider. This is particularly beneficial for some providers where services can't always be determined.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add weightUnit and dimensionUnit to each provider for consistent use with boxes. These should always be provided in grams.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add supportsDynamicServices() to providers whose list of services isn’t statically defined.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add getMaxPackageWeight() to providers, to define what their maximum package weight is.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add getIsInternational() to providers, to return whether an order is considered domestic or international.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add provider setup instructions on connecting to the respective APIs.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add ability for providers to define their own default boxes of dimensions and types that cannot be deleted, but still toggled enabled/disabled.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add letter rates to Australia Post (domestic and international). Now fetches rates for letters, for applicable products, and as defined in the new box definitions.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add some additional missing satchel rates for Australia Post.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add “Residential Address” setting for UPS.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add “Include Insurance” setting for UPS.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add “Residential Address” setting for Fedex.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add “Include Insurance” setting for Fedex.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add “Fedex One Rate” setting for Fedex.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add “Additional Options” to Canada Post.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add SinglePackageProvider class for providers to extend from, if the API doesn't support sending multiple packages in one request. This class will fetch the first box, and add each subsequent (cached) response for all other boxes that are identical.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add support for all providers to use env variables in their settings.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add API connection testing for all providers, allowing you to troubleshoot API credentials before getting to shipping.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add supportsConnection(), checkConnection() and getIsConnected() methods to providers.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add testing classes for addresses and packages. Can be freely used to fetch a range of different values for testing responses.

  • theicons.co/svg/others-47 Created with Sketch.

    Postie now requires PHP 7.1+.

  • theicons.co/svg/others-47 Created with Sketch.

    Multiple packages are now possible for Australia Post, DHL Express and TNT Australia. This not only improves a "too large to ship" response, but should provide more accurate pricing overall. Previously, Postie bundled all items in a single package, which would often go over maximum dimensions/weights.

  • theicons.co/svg/others-47 Created with Sketch.

    Existing providers now use the "Pack items into a single box" box packing algorithm. This is essentially the same as previous versions to prevent a breaking change.

  • theicons.co/svg/others-47 Created with Sketch.

    Tidied up the shipping methods table for providers.

  • theicons.co/svg/others-47 Created with Sketch.

    Some internal cleanup with providers (may affect custom providers). Refer to the updated docs.

  • theicons.co/svg/others-47 Created with Sketch.

    Provide field instructions for a number of provider settings.

  • theicons.co/svg/others-47 Created with Sketch.

    Visually highlight provider API instructions.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix settings sidebar overflow in some cases.

  • theicons.co/svg/home-36 Created with Sketch.

    Removed Provider::getPackageDimensions().

  • theicons.co/svg/home-36 Created with Sketch.

    Removed Provider::getDimensions().

  • theicons.co/svg/home-36 Created with Sketch.

    Removed Provider::getSplitBoxWeights().

2.3.6

Released Dec 02, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add some additional Fedex rates for international distribution.

  • theicons.co/svg/others-47 Created with Sketch.

    Update jeremy-dunn/php-fedex-api-wrapper to 4.0.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix UPS using Canadian origin address not working correctly.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix package dimensions not calculating correctly in some instances.

2.3.5

Released Oct 30, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add shipDate and shipTime for DHL Express.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add modifyPayload event to allow modifying the payload before it’s sent to providers to fetch rates.

2.3.4

Released Oct 24, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add missing Fedex UK Domestic services.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Pickup Type option for UPS. You may want to change this to “Customer Counter” for more accurate UPS results, but do test this for your own needs. The default is left as-is (“Daily Pickup”) so as not to be a breaking change.

2.3.3

Released Oct 16, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add option to UPS to configure whether signatures are required.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix defining provider settings in both the control panel and config files.

2.3.2

Released Oct 02, 2020

  • theicons.co/svg/others-47 Created with Sketch.

    Change Fedex package units to imperial (lb/in) to ensure proper rates are fetched.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix Fedex/UPS/USPS maximum package weights calculating incorrectly.

2.3.1

Released Sep 24, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add DHL Express.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add handling for Fedex/UPS/USPS for maximum package weights, splitting into multiple packages.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add displayFlashErrors config setting. Allows errors from the provider APIs to be shown in checkout templates.

  • theicons.co/svg/photo-09 Created with Sketch.

    Allow orders created in the control panel to bypass the manualFetchRates config setting, so they can pick a shipping method.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add EVENT_MODIFY_VARIANT_QUERY to modify the variants used to check weight and dimensions for in Postie's settings.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed an error when viewing an order in the control panel, that used Postie-provided shipping method. (thanks @keyurshah).

2.3.0

Released Aug 09, 2020

  • theicons.co/svg/others-47 Created with Sketch.

    Now requires Commerce 3.2+ and Craft 3.5+.

  • theicons.co/svg/home-36 Created with Sketch.

    Fixed error with Commerce 3.2.

2.2.9

Released Aug 04, 2020

  • theicons.co/svg/others-47 Created with Sketch.

    Ensure the lowest amount is always used for Fedex amounts.

2.2.8

Released Jul 26, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    Fix USPS error when a postcode isn’t set on the shipping address.

2.2.7

Released Jul 14, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    Fix UPS error for carts that have no shipping country selected.

2.2.6

Released Jul 10, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    Fix UPS throwing an error when the recipient address is from non-US countries.

2.2.3

Released May 26, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    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()).

  • theicons.co/svg/home-36 Created with Sketch.

    Fix errors for console or queue requests.

2.2.2

Released May 15, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Provide local cache for Australia Post countries API call (when the resource is offline).

2.2.1

Released May 10, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    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.

  • theicons.co/svg/home-36 Created with Sketch.

    Remove duplicate cakephp/utility composer package. (thanks @codebycliff).

  • theicons.co/svg/home-36 Created with Sketch.

    Fix saving shipping method settings not working.

2.2.0

Released May 03, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Added manualFetchRates config option, to allow you to manage manually fetching rates on-demand. Read the docs for more info.

  • theicons.co/svg/others-47 Created with Sketch.

    Greatly improve caching mechanism for initial requests to providers. This should result in faster rates-fetching.

  • theicons.co/svg/others-47 Created with Sketch.

    Provider function getSignature is now public.

2.1.4

Released Apr 16, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    Fix logging error Call to undefined method setFileLogging().

2.1.3

Released Apr 15, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add support for UPS “Sure Post”.

  • theicons.co/svg/others-47 Created with Sketch.

    File logging now checks if the overall Craft app uses file logging.

  • theicons.co/svg/others-47 Created with Sketch.

    Log files now only include GET and POST additional variables.

2.1.2

Released Mar 17, 2020

  • theicons.co/svg/home-36 Created with Sketch.

    Canada Post - Fix incorrect URL for live requests.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix styling issues for provider markup settings.

2.1.1

Released Jan 18, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add ShippingMethod::EVENT_MODIFY_SHIPPING_RULE. See docs.

2.1.0

Released Jan 09, 2020

  • theicons.co/svg/photo-09 Created with Sketch.

    Add TNT Australia provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add 2- and 3-day Priority options to USPS. (thanks @AugustMiller).

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Order object to ModifyRatesEvent. (thanks @AugustMiller).

  • theicons.co/svg/photo-09 Created with Sketch.

    Add beforeFetchRates event.

  • theicons.co/svg/others-47 Created with Sketch.

    Update FedEx for Ground Transit Time. FedEx handles the delivery date for Ground different than Express. For Ground, they use TransitTime. (thanks @keyurshah).

  • theicons.co/svg/home-36 Created with Sketch.

    Fix provider icon error for custom provider.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix USPS/UPS handles, incorrectly being set as uSPS and uPS.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix incorrect caching of rates for multiple providers.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix zero-based rates not being shown to pick during checkout.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix AusPost and Canada post error handling.

2.0.8

Released Aug 17, 2019

  • theicons.co/svg/home-36 Created with Sketch.

    Remove provider settings from shipping method requests, particularly for XHR.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix debug statements occurring for non-site requests.

2.0.7

Released Aug 16, 2019

  • theicons.co/svg/photo-09 Created with Sketch.

    Add support for Commerce 3.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add more UPS services, and change the way UPS services match.

2.0.6

Released Jul 16, 2019

  • theicons.co/svg/home-36 Created with Sketch.

    Fix provider settings not being populated on shipping methods and rules. Meant markup rates weren't working correctly.

2.0.5

Released Jul 13, 2019

  • theicons.co/svg/photo-09 Created with Sketch.

    Add modifyRates providing access to the raw response from a provider and the extracted shipping rates. See docs.

  • theicons.co/svg/photo-09 Created with Sketch.

    All shipping rates now have additional options available on the shipping rule. See docs.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add negotiated rate support for UPS.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix error with store location state for UPS.

2.0.4

Released Jun 01, 2019

  • theicons.co/svg/photo-09 Created with Sketch.

    Add delayFetchRates, manualFetchRates and fetchRatesPostValue.

  • theicons.co/svg/others-47 Created with Sketch.

    Improve in-memory caching.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix memory issues in certain cases when fetching rates.

  • theicons.co/svg/home-36 Created with Sketch.

    Tweak state handling for Fedex.

2.0.3.1

Released Apr 10, 2019

  • theicons.co/svg/home-36 Created with Sketch.

    Remove leftover debugging.

2.0.3

Released Apr 10, 2019

  • theicons.co/svg/home-36 Created with Sketch.

    Fix return type incompatibility causing errors.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix dimensions API issue with Canada Post.

  • theicons.co/svg/home-36 Created with Sketch.

    Improve response error handling for Canada Post.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix lack of formatting handling for Canada Post zip codes.

2.0.2

Released Apr 07, 2019

  • theicons.co/svg/home-36 Created with Sketch.

    Swap XML parser for Canada Post.

  • theicons.co/svg/home-36 Created with Sketch.

    Fix missing shipping description.

2.0.1

Released Mar 27, 2019

  • theicons.co/svg/home-36 Created with Sketch.

    Fix some error messages themselves throwing errors.

2.0.0

Released Mar 26, 2019

  • theicons.co/svg/photo-09 Created with Sketch.

    Craft 3/Commerce 2 support.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Canada Post provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add Fastway provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add initial TNT provider. Please contact us with API account details to finalise!

  • theicons.co/svg/photo-09 Created with Sketch.

    Add displayDebug config setting.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add displayErrors config setting.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add enableCaching config setting.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add enabled config setting for each provider.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add provider icons, and CP UI improvements.

  • theicons.co/svg/others-47 Created with Sketch.

    Updated provider functions for easier/clearer extendability. See docs.

  • theicons.co/svg/others-47 Created with Sketch.

    Updated cache mechanism for better performance.

  • theicons.co/svg/others-47 Created with Sketch.

    Australia Post now fetches shipping rates in a single API call.

  • theicons.co/svg/others-47 Created with Sketch.

    Removed originAddress config setting in favour of Commerce's Store Location.

  • theicons.co/svg/others-47 Created with Sketch.

    Provider handles in config file are now required to be provided in camel case.

1.0.2

Released Aug 01, 2018

  • theicons.co/svg/photo-09 Created with Sketch.

    Add config setting to disable cache.

  • theicons.co/svg/photo-09 Created with Sketch.

    Add UPS Provider.

  • theicons.co/svg/home-36 Created with Sketch.

    Fedex - Add config setting disableCache for test endpoint (not default when using DevMode).

  • theicons.co/svg/home-36 Created with Sketch.

    Fedex - fix services from pre1.0.1 causing issues.

1.0.1

Released Jan 22, 2018

  • theicons.co/svg/photo-09 Created with Sketch.

    Add management of shipping category conditions for shipping methods.

Get started with Postie

Available for Craft 3. Get it from the plugin store.