From a55f9481d7eec261058407abb91f877d61375579 Mon Sep 17 00:00:00 2001 From: Josh Crawford Date: Wed, 2 Dec 2020 10:40:53 +1100 Subject: [PATCH] version 2.3.6 --- CHANGELOG.md | 12 ++ composer.json | 2 +- config.codekit3 | 437 ++++++++++++++++++++---------------------------- 3 files changed, 195 insertions(+), 256 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9ca8ba..d4a92df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 2.3.6 - 2020-12-02 + +### Added +- Add some additional Fedex rates for international distribution. + +### Changed +- Update `jeremy-dunn/php-fedex-api-wrapper` to 4.0. + +### Fixed +- Fix UPS using Canadian origin address not working correctly. +- Fix package dimensions not calculating correctly in some instances. + ## 2.3.5 - 2020-10-30 ### Added diff --git a/composer.json b/composer.json index e0cc65c..778f4d5 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "verbb/postie", "description": "Provide live shipping rates during checkout from Australia Post, UPS, Fedex, and more.", "type": "craft-plugin", - "version": "2.3.5", + "version": "2.3.6", "keywords": [ "craft", "cms", diff --git a/config.codekit3 b/config.codekit3 index f6e6f15..be84b12 100644 --- a/config.codekit3 +++ b/config.codekit3 @@ -1,5 +1,5 @@ { -"AAInfo": "This is a CodeKit 3 project config file. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. Doing so will cause CodeKit to crash and/or corrupt your project. I know it looks like JSON, but it is *not*. Many numbers in this file are 64-bit long long bitFlags, which JSON does not support. These numbers *cannot* be treated as discrete values and if you attempt to parse this file as standard JSON with any public JSON parser, these values will be corrupted. This file is not backwards-compatible with CodeKit 1 or 2. For more information, see https://codekitapp.com/", +"AAInfo": "This is a CodeKit 3 project config file. EDITING THIS FILE IS A POOR LIFE DECISION. Doing so may cause CodeKit to crash and/or corrupt your project. Several critical values in this file are 64-bit integers, which JavaScript JSON parsers do not support because JavaScript cannot handle 64-bit integers. These values will be corrupted if the file is parsed with JavaScript. This file is not backwards-compatible with CodeKit 1 or 2. For details, see https://codekitapp.com/", "buildSteps": [ { "name": "Process All Remaining Files and Folders", @@ -7,7 +7,7 @@ "uuidString": "ECE3F09A-2816-43C6-9715-3F4A30BD28C5" } ], -"creatorBuild": "32186", +"creatorBuild": "33081", "files": { "/.github": { "ft": 65536, @@ -50,14 +50,6 @@ "oO": 0, "oS": 1 }, - "/composer.lock": { - "cB": 0, - "ft": 8192, - "hM": 0, - "oA": 2, - "oAP": "/composer.lock", - "oF": 0 - }, "/docs/.sidebar.json": { "ft": 524288, "oA": 1, @@ -189,7 +181,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/docs/screenshots/configuration-products.png": { "ft": 32768, @@ -200,7 +194,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/docs/screenshots/configuration-provider.png": { "ft": 32768, @@ -211,7 +207,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/docs/screenshots/shipping-methods.png": { "ft": 32768, @@ -222,7 +220,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/docs/setup-configuration/displaying-rates.md": { "cB": 0, @@ -357,6 +357,25 @@ "rFN": 0, "uCM": 0 }, + "/docs/shipping-providers/dhl-express.md": { + "cB": 0, + "cS": 0, + "eF": 1, + "eL": 1, + "ema": 1, + "eSQ": 1, + "ft": 4096, + "hM": 0, + "oA": 1, + "oAP": "/docs/shipping-providers/dhl-express.html", + "oF": 0, + "oFM": 0, + "oS": 0, + "pHT": 0, + "pME": 1, + "rFN": 0, + "uCM": 0 + }, "/docs/shipping-providers/fastway.md": { "cB": 0, "cS": 0, @@ -573,6 +592,14 @@ "oAP": "/src/events/FetchRatesEvent.php", "oF": 0 }, + "/src/events/ModifyPayloadEvent.php": { + "cB": 0, + "ft": 8192, + "hM": 0, + "oA": 2, + "oAP": "/src/events/ModifyPayloadEvent.php", + "oF": 0 + }, "/src/events/ModifyRatesEvent.php": { "cB": 0, "ft": 8192, @@ -581,6 +608,14 @@ "oAP": "/src/events/ModifyRatesEvent.php", "oF": 0 }, + "/src/events/ModifyShippableVariantsEvent.php": { + "cB": 0, + "ft": 8192, + "hM": 0, + "oA": 2, + "oAP": "/src/events/ModifyShippableVariantsEvent.php", + "oF": 0 + }, "/src/events/ModifyShippingRuleEvent.php": { "cB": 0, "ft": 8192, @@ -786,14 +821,6 @@ "oA": 1, "oAP": "/build/src/variables", "oF": 0 - }, - "/vendor/composer/installed.json": { - "ft": 524288, - "oA": 1, - "oAP": "/vendor/composer/installed-min.json", - "oF": 0, - "oO": 0, - "oS": 1 } }, "hooks": [ @@ -1278,8 +1305,7 @@ "optionString": "{'before': true, 'after': true}" }, "block-scoped-var": { - "active": 0, - "optionString": "" + "active": 0 }, "block-spacing": { "active": 0, @@ -1334,24 +1360,20 @@ "optionString": "'that'" }, "constructor-super": { - "active": 1, - "optionString": "" + "active": 1 }, "curly": { "active": 0, "optionString": "'all'" }, "default-case": { - "active": 0, - "optionString": "" + "active": 0 }, "default-case-last": { - "active": 0, - "optionString": "" + "active": 0 }, "default-param-last": { - "active": 0, - "optionString": "" + "active": 0 }, "dot-location": { "active": 0, @@ -1370,8 +1392,7 @@ "optionString": "'always', {'null': 'always'}" }, "for-direction": { - "active": 0, - "optionString": "" + "active": 0 }, "func-call-spacing": { "active": 0, @@ -1402,16 +1423,14 @@ "optionString": "{'allowImplicit': false}" }, "global-require": { - "active": 0, - "optionString": "" + "active": 0 }, "grouped-accessor-pairs": { "active": 0, "optionString": "'anyOrder'" }, "guard-for-in": { - "active": 0, - "optionString": "" + "active": 0 }, "handle-callback-err": { "active": 0, @@ -1526,44 +1545,35 @@ "optionString": "{'ignoreChainWithDepth': 2}" }, "no-alert": { - "active": 0, - "optionString": "" + "active": 0 }, "no-array-constructor": { - "active": 0, - "optionString": "" + "active": 0 }, "no-async-promise-executor": { - "active": 0, - "optionString": "" + "active": 0 }, "no-await-in-loop": { - "active": 0, - "optionString": "" + "active": 0 }, "no-bitwise": { "active": 0, "optionString": "{'allow': ['~'], 'int32Hint': true}" }, "no-buffer-constructor": { - "active": 0, - "optionString": "" + "active": 0 }, "no-caller": { - "active": 0, - "optionString": "" + "active": 0 }, "no-case-declarations": { - "active": 1, - "optionString": "" + "active": 1 }, "no-class-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-compare-neg-zero": { - "active": 0, - "optionString": "" + "active": 0 }, "no-cond-assign": { "active": 1, @@ -1578,124 +1588,101 @@ "optionString": "{'allow': ['warn', 'error']}" }, "no-const-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-constant-condition": { "active": 1, "optionString": "{'checkLoops': true}" }, "no-constructor-return": { - "active": 0, - "optionString": "" + "active": 0 }, "no-continue": { - "active": 0, - "optionString": "" + "active": 0 }, "no-control-regex": { - "active": 1, - "optionString": "" + "active": 1 }, "no-debugger": { - "active": 1, - "optionString": "" + "active": 1 }, "no-delete-var": { - "active": 1, - "optionString": "" + "active": 1 }, "no-div-regex": { - "active": 0, - "optionString": "" + "active": 0 }, "no-dupe-args": { - "active": 1, - "optionString": "" + "active": 1 }, "no-dupe-class-members": { - "active": 1, - "optionString": "" + "active": 1 }, "no-dupe-else-if": { - "active": 1, - "optionString": "" + "active": 1 }, "no-dupe-keys": { - "active": 1, - "optionString": "" + "active": 1 }, "no-duplicate-imports": { "active": 0, "optionString": "{'includeExports': false}" }, "no-else-return": { - "active": 0, - "optionString": "" + "active": 0 }, "no-empty": { "active": 1, "optionString": "{'allowEmptyCatch': false}" }, "no-empty-character-class": { - "active": 1, - "optionString": "" + "active": 1 }, "no-empty-function": { "active": 0, "optionString": "{'allow': []}" }, "no-empty-pattern": { - "active": 1, - "optionString": "" + "active": 1 }, "no-eq-null": { - "active": 0, - "optionString": "" + "active": 0 }, "no-eval": { "active": 0, "optionString": "{'allowIndirect': false}" }, "no-ex-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-extend-native": { "active": 0, "optionString": "{'exceptions': []}" }, "no-extra-bind": { - "active": 0, - "optionString": "" + "active": 0 }, "no-extra-boolean-cast": { - "active": 1, - "optionString": "" + "active": 1 }, "no-extra-labels": { - "active": 0, - "optionString": "" + "active": 0 }, "no-extra-parens": { "active": 0, "optionString": "'all', {'conditionalAssign': false, 'returnAssign': false, 'nestedBinaryExpressions': false, 'ignoreJSX': 'none', 'enforceForArrowConditionals': false}" }, "no-extra-semi": { - "active": 1, - "optionString": "" + "active": 1 }, "no-fallthrough": { - "active": 1, - "optionString": "" + "active": 1 }, "no-floating-decimal": { - "active": 0, - "optionString": "" + "active": 0 }, "no-func-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-global-assign": { "active": 1, @@ -1706,20 +1693,16 @@ "optionString": "{'boolean': true, 'number': true, 'string': true, 'allow': []}" }, "no-implicit-globals": { - "active": 0, - "optionString": "" + "active": 0 }, "no-implied-eval": { - "active": 0, - "optionString": "" + "active": 0 }, "no-import-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-inline-comments": { - "active": 0, - "optionString": "" + "active": 0 }, "no-inner-declarations": { "active": 1, @@ -1738,40 +1721,33 @@ "optionString": "{'skipStrings': true, 'skipComments': false, 'skipRegExps': true, 'skipTemplates': true}" }, "no-iterator": { - "active": 0, - "optionString": "" + "active": 0 }, "no-label-var": { - "active": 0, - "optionString": "" + "active": 0 }, "no-labels": { "active": 0, "optionString": "{'allowLoop': false, 'allowSwitch': false}" }, "no-lone-blocks": { - "active": 0, - "optionString": "" + "active": 0 }, "no-lonely-if": { - "active": 0, - "optionString": "" + "active": 0 }, "no-loop-func": { - "active": 0, - "optionString": "" + "active": 0 }, "no-loss-of-precision": { - "active": 0, - "optionString": "" + "active": 0 }, "no-magic-numbers": { "active": 0, "optionString": "{'ignore': [], 'ignoreArrayIndexes': true, 'enforceConst': false, 'detectObjects': false}" }, "no-misleading-character-class": { - "active": 0, - "optionString": "" + "active": 0 }, "no-mixed-operators": { "active": 0, @@ -1786,100 +1762,84 @@ "optionString": "" }, "no-multi-assign": { - "active": 0, - "optionString": "" + "active": 0 }, "no-multi-spaces": { "active": 0, "optionString": "{'exceptions': {'Property': true, 'BinaryExpression': false, 'VariableDeclarator': false, 'ImportDeclaration': false}}" }, "no-multi-str": { - "active": 0, - "optionString": "" + "active": 0 }, "no-multiple-empty-lines": { "active": 0, "optionString": "{'max': 2, 'maxBOF': 2, 'maxEOF': 2}" }, "no-negated-condition": { - "active": 0, - "optionString": "" + "active": 0 }, "no-nested-ternary": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new-func": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new-object": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new-require": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new-symbol": { - "active": 1, - "optionString": "" + "active": 1 }, "no-new-wrappers": { - "active": 0, - "optionString": "" + "active": 0 }, "no-obj-calls": { - "active": 1, - "optionString": "" + "active": 1 }, "no-octal": { - "active": 1, - "optionString": "" + "active": 1 }, "no-octal-escape": { - "active": 0, - "optionString": "" + "active": 0 }, "no-param-reassign": { "active": 0, "optionString": "{'props': false}" }, "no-path-concat": { - "active": 0, - "optionString": "" + "active": 0 }, "no-plusplus": { "active": 0, "optionString": "{'allowForLoopAfterthoughts': false}" }, "no-process-env": { - "active": 0, - "optionString": "" + "active": 0 }, "no-process-exit": { - "active": 0, - "optionString": "" + "active": 0 + }, + "no-promise-executor-return": { + "active": 0 }, "no-proto": { - "active": 0, - "optionString": "" + "active": 0 }, "no-prototype-builtins": { - "active": 0, - "optionString": "" + "active": 0 }, "no-redeclare": { "active": 1, "optionString": "{'builtinGlobals': false}" }, "no-regex-spaces": { - "active": 1, - "optionString": "" + "active": 1 }, "no-restricted-exports": { "active": 0, @@ -1890,8 +1850,7 @@ "optionString": "'event', 'fdescribe'" }, "no-restricted-imports": { - "active": 0, - "optionString": "" + "active": 0 }, "no-restricted-modules": { "active": 0, @@ -1910,40 +1869,33 @@ "optionString": "'except-parens'" }, "no-return-await": { - "active": 0, - "optionString": "" + "active": 0 }, "no-script-url": { - "active": 0, - "optionString": "" + "active": 0 }, "no-self-assign": { "active": 1, "optionString": "{'props': false}" }, "no-self-compare": { - "active": 0, - "optionString": "" + "active": 0 }, "no-sequences": { - "active": 0, - "optionString": "" + "active": 0 }, "no-setter-return": { - "active": 1, - "optionString": "" + "active": 1 }, "no-shadow": { "active": 0, "optionString": "{'builtinGlobals': false, 'hoist': 'functions', 'allow': []}" }, "no-shadow-restricted-names": { - "active": 0, - "optionString": "" + "active": 0 }, "no-sparse-arrays": { - "active": 1, - "optionString": "" + "active": 1 }, "no-sync": { "active": 0, @@ -1954,20 +1906,16 @@ "optionString": "" }, "no-template-curly-in-string": { - "active": 0, - "optionString": "" + "active": 0 }, "no-ternary": { - "active": 0, - "optionString": "" + "active": 0 }, "no-this-before-super": { - "active": 1, - "optionString": "" + "active": 1 }, "no-throw-literal": { - "active": 0, - "optionString": "" + "active": 0 }, "no-trailing-spaces": { "active": 0, @@ -1978,36 +1926,34 @@ "optionString": "{'typeof': false}" }, "no-undef-init": { - "active": 0, - "optionString": "" + "active": 0 }, "no-undefined": { - "active": 0, - "optionString": "" + "active": 0 }, "no-underscore-dangle": { "active": 0, "optionString": "{'allow': [], 'allowAfterThis': false, 'allowAfterSuper': false, 'enforceInMethodNames': false}" }, "no-unexpected-multiline": { - "active": 1, - "optionString": "" + "active": 1 }, "no-unmodified-loop-condition": { - "active": 0, - "optionString": "" + "active": 0 }, "no-unneeded-ternary": { "active": 0, "optionString": "{'defaultAssignment': true}" }, "no-unreachable": { - "active": 1, - "optionString": "" + "active": 1 + }, + "no-unreachable-loop": { + "active": 0, + "optionString": "{'ignore': []}" }, "no-unsafe-finally": { - "active": 1, - "optionString": "" + "active": 1 }, "no-unsafe-negation": { "active": 1, @@ -2018,8 +1964,7 @@ "optionString": "{'allowShortCircuit': false, 'allowTernary': false, 'allowTaggedTemplates': false}" }, "no-unused-labels": { - "active": 1, - "optionString": "" + "active": 1 }, "no-unused-vars": { "active": 1, @@ -2030,44 +1975,36 @@ "optionString": "{'functions': true, 'classes': true, 'variables': true}" }, "no-useless-backreference": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-call": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-catch": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-computed-key": { "active": 0, "optionString": "" }, "no-useless-concat": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-constructor": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-escape": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-rename": { "active": 0, "optionString": "{'ignoreDestructuring': false, 'ignoreImport': false, 'ignoreExport': false}" }, "no-useless-return": { - "active": 0, - "optionString": "" + "active": 0 }, "no-var": { - "active": 0, - "optionString": "" + "active": 0 }, "no-void": { "active": 0, @@ -2078,12 +2015,10 @@ "optionString": "{'terms': ['todo', 'fixme', 'xxx'], 'location': 'start'}" }, "no-whitespace-before-property": { - "active": 0, - "optionString": "" + "active": 0 }, "no-with": { - "active": 0, - "optionString": "" + "active": 0 }, "nonblock-statement-body-position": { "active": 0, @@ -2130,8 +2065,7 @@ "optionString": "{blankLine: 'always', prev:'*', next:'return'}" }, "prefer-arrow-callback": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-const": { "active": 0, @@ -2142,40 +2076,32 @@ "optionString": "{'array': true, 'object': true}, {'enforceForRenamedProperties': false}" }, "prefer-exponentiation-operator": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-named-capture-group": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-numeric-literals": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-object-spread": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-promise-reject-errors": { "active": 0, "optionString": "{'allowEmptyReject': false}" }, "prefer-regex-literals": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-rest-params": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-spread": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-template": { - "active": 0, - "optionString": "" + "active": 0 }, "quote-props": { "active": 0, @@ -2190,24 +2116,20 @@ "optionString": "'always'" }, "require-atomic-updates": { - "active": 0, - "optionString": "" + "active": 0 }, "require-await": { - "active": 0, - "optionString": "" + "active": 0 }, "require-jsdoc": { "active": 0, "optionString": "{'require': {'FunctionDeclaration': true, 'MethodDefinition': false, 'ClassDeclaration': false, 'ArrowFunctionExpression': false}}" }, "require-unicode-regexp": { - "active": 0, - "optionString": "" + "active": 0 }, "require-yield": { - "active": 1, - "optionString": "" + "active": 1 }, "rest-spread-spacing": { "active": 0, @@ -2270,8 +2192,7 @@ "optionString": "{'after': true, 'before': false}" }, "symbol-description": { - "active": 0, - "optionString": "" + "active": 0 }, "template-curly-spacing": { "active": 0, @@ -2298,16 +2219,14 @@ "optionString": "{'requireStringLiterals': true}" }, "vars-on-top": { - "active": 0, - "optionString": "" + "active": 0 }, "wrap-iife": { "active": 0, "optionString": "'outside'" }, "wrap-regex": { - "active": 0, - "optionString": "" + "active": 0 }, "yield-star-spacing": { "active": 0, @@ -2702,7 +2621,9 @@ "autoOutputPathRelativePath": "", "autoOutputPathReplace1": "", "autoOutputPathReplace2": "", - "autoOutputPathStyle": 0 + "autoOutputPathStyle": 0, + "webpOptimizationPresetUUID": "lpckwebp-none", + "webpRGBQuality": 75 }, "languageDefaultsHAML": { "autoOutputAction": 0, @@ -2728,7 +2649,9 @@ "autoOutputPathReplace2": "", "autoOutputPathStyle": 0, "outputFormat": 0, - "quality": 100 + "quality": 100, + "webpOptimizationPresetUUID": "lpckwebp-none", + "webpRGBQuality": 75 }, "languageDefaultsJS": { "autoOutputAction": 0, @@ -2820,7 +2743,9 @@ "autoOutputPathReplace2": "", "autoOutputPathStyle": 0, "optimizerType": 1, - "quality": 100 + "quality": 100, + "webpOptimizationPresetUUID": "lpckwebp-none", + "webpRGBQuality": 75 }, "languageDefaultsPUG": { "autoOutputAction": 0, @@ -3221,6 +3146,8 @@ }, "uglifyMangleNames": 1, "uglifyReservedNamesString": "$", + "webpPresets": { + }, "websiteRelativeRoot": "" }, "settingsFileVersion": "3"