Skip to content

Commit

Permalink
Release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsEllefsen committed Jun 16, 2024
1 parent 7409a98 commit 609587b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 609587b

Please sign in to comment.