All notable changes to this project will be documented in this file.
- Explicitly pass
cache: false
in Ajax calls by default. - Add support for
selling_plan
property toCartJS.addItem
method.
- Fix for non-Rivets build triggering reference errors.
- Include hyphen and underscore as valid separators in properties for form submission.
- Cache-busting
v
parameter when fetching cart contents.
- Minor documentation changes.
- Support for adding multiple line items with new
CartJS.addItems()
method.
- Updated some documentation. v1.0.0 - only took 6 years!
- Warning when trying to use money formatters without Shopify library support.
- Fixed bug preventing spaces in line item property names in
data-cart-submit
forms.
- Additional "built with" sites, dependency locks.
- New Rivets formatters:
times
,divided_by
,modulo
- Fix issue with unnecessary line item properties being added with form submit
- New Rivets formatter:
array_element
,array_first
,array_last
- CONTRIBUTING.md
- Simple Mocha-based test framework
pluralize
formatterslice
formatter
- Fixed jQuery dependency from load-time to run-time
- IE8 Compatibility mode
- Two new Rivets formatters:
includes
andmatch
cart.ready
event, fired after initialisation finishes.
getImageSizedUrl
filter now handles empty product images.
- New weight formatters
weight
andweight_with_unit
, with corresponding settingsweightUnit
andweightPrecision
.
- Include non-minified version of
rivets-cart.js
indist
- Minor
console.log
compatibility fix for IE8 and IE9 browser support
- Compatible version of
rivets-cart.min.js
for non-ES5 browser support
- Made
getCart
a public method to allow force cart refreshes
- Fix for missing
removeItemById
public method
- Fix for undefined Currency issue if not using Currency plugin.
- Support for dynamically rendering currency changes through money filters
- Upgraded Rivets.js library to v0.8.1
- Add
debug
setting for outputting of useful information to the console
- Fixed incorrect method call when un-checking a checkbox using
data-cart-toggle
- Add
prepend
andappend
formatters to Rivets
- Ability to specify callbacks through an
options
hash argument in Core API
- Fixed potential issue using .data() instead of .attr() to access
data-
attributes - Added quantity adjustment example to advanced code example
- New
updateItemQuantitiesById
Core API method
- This new-format CHANGELOG, based on http://keepachangelog.com
- Further improvements to documentation, including better code examples
- New Data API methods for updating and clearing items
- New
data-cart-render
methods for simple DOM updating
- Major improvements to documentation
getCart()
method no longer publicly exported
- Initial implementation; first "official" release
- Core API
- Data API
- Rivets.js DOM bindings