Skip to content

Releases: chec/commerce.js

v2.8.0

03 Sep 19:41
Compare
Choose a tag to compare
  • Update tests and docs for new allowSecretKey config option (Robbie Averill) - b526325
  • Add config option to allow using Commerce.js client with secret keys (#188) (Michael Magarik) - e5cc131
  • Update dead link to Commerce.js features page (Jaeriah Tay) - 35b521d
  • Correct default limit specified for products (Guy Marriott) - 85a067a

v2.7.2

14 Jul 03:31
Compare
Choose a tag to compare
  • Fix bug where undefined "document" object would throw an exception (Robbie Averill) - 002ad69
  • add title to creating commerce instance (Jaeriah Tay) - 7881647
  • add installation step for adding commerce.js typings to getting started docs (Jaeriah Tay) - 9edf38e
  • Add note to readme about using TypeScript (Robbie Averill) - 04d87f8

2.7.1

21 Jun 17:32
888affc
Compare
Choose a tag to compare
  • Fix window is not defined error by using typeof

v2.7.0

17 Jun 00:58
Compare
Choose a tag to compare
  • 2.7.0 (Robbie Averill) - 0e84b8a
  • Cart lifetime is now configurable, default: 30 days (Robbie Averill) - e888677
  • 422 validation errors are now listed out in a list to clarify what needs to be resolved (Robbie Averill) - 42eb1ed

v2.6.1

17 Jun 00:57
v2.6.1
Compare
Choose a tag to compare
  • Bump version to 2.6.1 (Robbie Averill) - f6f6719
  • Fix Lint (Paito Anderson) - 81081c1
  • Fix commerce.customer() responses (Paito Anderson) - f10ab43

v2.6.0

19 May 18:25
v2.6.0
Compare
Choose a tag to compare
  • Add product methods for getting list of variants, and individual variant (Robbie Averill) - b1b71b7
  • Fix error that occurs generating an error message (Guy Marriott) - 866b05e
  • Update line items payload to use selected options group ID and option ID (#166) (Jaeriah Tay) - 667cb6c

v2.5.0

12 May 22:53
v2.5.0
Compare
Choose a tag to compare
  • Add ability to disable persistent storage using disableStorage option (Robbie Averill) - b70303b
  • Update dependencies with low impact security vulnerabilities (Robbie Averill) - 66ca93a
  • Bump hosted-git-info from 2.8.4 to 2.8.9 (dependabot[bot]) - 0ee5646
  • Bump lodash from 4.17.19 to 4.17.21 (dependabot[bot]) - 8d13da9
  • Bump handlebars from 4.7.6 to 4.7.7 (dependabot[bot]) - f64d46e
  • Fix bug with CDN deployment on tags that have a "v" prefix (#157) (Robbie Averill) - 4214c90

v2.4.1

12 May 22:52
v2.4.1
Compare
Choose a tag to compare
  • getOrders : make default sortBy, API compliant. (zb2oby) - 1fe26ff
  • Fix broken tests from #151 (Robbie Averill) - 4ae6885

v2.4.0

12 May 22:48
c7fa550
Compare
Choose a tag to compare
  • Update to support new variant request payload when adding to cart (Guy Marriott) - e112b28
  • Bump y18n from 4.0.0 to 4.0.1 (dependabot[bot]) - d2e6784

v2.3.2

26 Feb 00:03
0a975f0
Compare
Choose a tag to compare
  • Ensure commerce.js doesn't break when run on a server (Guy Marriott) - bad4e32
  • Fix null pointer exception if ipAddress is provided as null instead of empty string (Robbie Averill) - 288245e