# Changelog

## v2.0.0

- Refactor to use a singleton ShoppingCartManagerClient passed to each ShoppingCartProvider.
- Require cart key to be passed to useShoppingCart and withShoppingCart.
- Add `defaultCartKey` option.

## v1.1.0

- Improve offline errors.
- Use middleware to sync cart with server.
- Add refetchOnWindowFocus option.
- Add total_tax_breakdown to ResponseCart.
- Export convertResponseCartToRequestCart.
- Remove 'invalid' coupon type.
- Add jetpackSiteSlug, isJetpackCheckout, jetpackPurchaseToken to RequestCartProductExtra.
- Add current_quantity to ResponseCartProduct.
- Allow cart products to include a redirect URL.

## v1.0.1

- Initial functioning release.
- Fix module importing.

## v1.0.0

- Initial release. This actually didn't work outside of the monorepo because of an invalid TS configuration.
