Skip to content

Commit

Permalink
Add variantAutocomplete changes to CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanofWoods committed Dec 22, 2022
1 parent 126e956 commit 39fc037
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@

### Other Important Changes

#### variantAutocomplete Changes
DEPRECATION:
- Passing an object of parameters is deprecated, instead, please declare the `searchParameters` key that's a function returning the parameters.

Deprecated usage:
```JavaScript
$('#id').variantAutocomplete({
suppliable_only: true
})
```

New usage:
```JavaScript
$('#id').variantAutocomplete({
searchParameters: function (_selectSearchTerm) { return { suppliable_only: true } }
})
```

#### Colorado Delivery Fee

With the introduction of the `Spree::Calculator::FlatFee` and `Spree::TaxRate#level`, we now have the ability to support the new Colorado Delivery Fee. There's also a new rake task provided to help setup the requisite models to support the fee:
Expand Down

0 comments on commit 39fc037

Please sign in to comment.