diff --git a/CHANGELOG.md b/CHANGELOG.md index c365d4f..635174c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ #Changelog +## [3.0.0] + +### Changed + +- getAllStores now uses the vinmonopolet api instead of the stream api. +- Adjusted BaseStore and PopulatedStore to match the new api. + +### Breaking changes + +- Removed stream package. Vinmonopolet no longer maintains a csv of products and stores. +- getStores now returns BaseStore instead of PopulatedStore. You will need to call .populate() on the BaseStore if you want a PopulatedStore. +- Adjusted BaseStore and PopulatedStore: + - StreetZip is now called zip + - StreetCity is now called city + - Removed phoneNumber, weekNumber, weekNumberNext postalAddress postalZip and postalCity + - openingHours are now in an array called openingHours instead of individual properties. + ## [2.1.1] ### Changed diff --git a/package.json b/package.json index b5230fb..7d8a3a4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vinmonopolet-ts", "description": "Extracts information on products, categories and stores from Vinmonopolet", - "version": "2.1.1", + "version": "3.0.0", "keywords": [ "vinmonopolet", "beer",