diff options
author | Jared Norman <jared@super.gd> | 2019-03-14 11:35:39 -0700 |
---|---|---|
committer | Jared Norman <jared@super.gd> | 2019-03-14 11:35:39 -0700 |
commit | ba7ec3f7cf1d97a9b17d0910a64a065f71c386e4 (patch) | |
tree | 44f2cb9efb0fa245a0f8cf26839543540ad55154 | |
parent | 945490776a137821df70111c32127ffc85b4c90b (diff) |
Better explain the bug fix in v0.6.2
-rw-r--r-- | CHANGELOG.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d5ded5..e82b911 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,15 @@ # Changelog ## v0.6.2 -- Updated `incomplete_address?` method to verify if a `tax_address` is a `Spree::Tax::TaxLocation`. `Spree::Tax::TaxLocation` is considered an incomplete address. + +- Fixed issued where orders without tax address would cause errors because `Spree::Order#tax_address` will return a `Spree::Tax::TaxLocation` when called on an order without a tax address. `Spree::Tax::TaxLocation` isn't enough like a real address and this was causing exceptions. + + To fix this `SuperGood::SolidusTaxJar#incomplete_address?` was updated to treat `Spree::Tax::TaxLocation`s as "incomplete". (Thanks to @JuanCrg90!) ## v0.6.1 +**Warning**: v0.6.1 has a critical bug and should not be used. + - Stopped using the deprecated method `Spree::Address#empty?` in favour of simply checking that we have all of the fields on the address required for doing a TaxJar lookup. ## v0.6.0 |