Skip to content

Releases: RinseV/albert-heijn-wrapper

3.0.0

08 Feb 21:13
7881228

Choose a tag to compare

What's Changed

  • Switched over to GraphQL API for all requests
  • Removed the functions for the subclasses, they can now be accessed directly (ah.product vs ah.product())
  • Removed the bonus & category subclasses since the GraphQL API does not have 1-to-1 equivalents
  • Reworked the product functions:
    • getProductsFromName is now search and uses a different set of arguments
    • getProductFromId is now get
  • Reworked the recipe functions:
    • getRecipeFromName is now search and uses a different set of arguments
    • getRecipeFromId is now get
  • Reworked the store functions:
    • getStoresFromLocation is now search and uses a different set of arguments
  • Rewrote tests using MSW and Vitest
  • Switched from yarn to pnpm
  • Removed axios and date-fns dependencies, this package now has no external dependencies
  • Updated to Node 22

Full Changelog: 2.0.1...3.0.0

v2.0.1

07 Aug 11:20
9660df2

Choose a tag to compare

  • Fixed error 400 due to missing header

v2.0.0

21 Mar 09:24
4471d94

Choose a tag to compare

  • Updated to major version due to breaking changes
  • Restructured all functions to use objects instead of multiple parameters
  • Added category & bonus objects
  • Added tests
  • Updated readme

v1.1.0

20 Mar 21:13
264d35d

Choose a tag to compare

  • Restructured all functions to use objects instead of multiple parameters
  • Added category & bonus objects
  • Added tests