# @theorchard/connector-ows-playlist

## 4.1.0

### Minor Changes

-   GO-4802: send placement countries as comma-separated array

## 4.0.3

### Patch Changes

-   SEC: lodash from 4.17.23 to 4.18.1

## 4.0.2

### Patch Changes

-   SEC: lodash-es from 4.17.23 to 4.18.1
-   Updated dependencies
    -   @theorchard/datasource-ows@4.0.1

## 4.0.1

### Patch Changes

-   Migrate lodash dependency to lodash-es

## 4.0.0

### Major Changes

-   Updated dependencies
    -   @theorchard/datasource-ows@3.0.0

## 3.1.8

### Patch Changes

-   Bump lodash to 4.17.23 to fix vulnerabilities

## 3.1.7

### Patch Changes

-   GO-3616 Add streams1Day field to PlaylistPlacement

## 3.1.6

### Patch Changes

-   GO-3465 Add storefrontEnabled as a parameter to getRecentPlacementsDataLoader

## 3.1.5

### Patch Changes

-   GO-3208 Add storefrontEnabled as a parameter to getPlaylistPlacementsDataLoader

## 3.1.4

### Patch Changes

-   GO-3190 Add support for filtering by curator countries to recent placements

## 3.1.3

### Patch Changes

-   GO-3178 Add support for sorting to recent placements

## 3.1.2

### Patch Changes

-   IN-13061 14 days metrics added to placements country breakdown

## 3.1.1

### Patch Changes

-   Added playlist streams for 7 and 28 days

## 3.1.0

### Minor Changes

-   IN-13635 Add productId as a param to getPlaylistPlacementsDataLoader and getPlaylistPlacementsCountDataLoader of connector-ows-playlist package

## 3.0.0

### Major Changes

-   IN-13635 Add UPC as a param to getPlaylistPlacementsDataLoader of connector-ows-playlist package

## 2.2.0

### Minor Changes

-   Added new endpoint SoundRecordingTopPlaylistPlacements

## 2.1.0

### Minor Changes

-   Add global-participant-id filter to recentPlacements.

## 2.0.0

### Major Changes

-   Upgraded to support Apollo server v4

## 1.33.0

### Minor Changes

-   Filter out empty string isrc values from getPlaylistPlacements calls'

## 1.32.0

### Minor Changes

-   Set cache TTL to 0 for recent placements

## 1.31.0

### Minor Changes

-   Add firstPlay to PlaylistPlacementBreakdownByCountry

## 1.30.0

### Minor Changes

-   Add firstPlay to PlaylistPlacement

## 1.29.0

### Minor Changes

-   Remove currentPlacementsOnly, as replaced by playlistAppearances.

## 1.28.0

### Minor Changes

-   Add `playlistUrl` field

## 1.27.0

### Minor Changes

-   Use different value for streams field in storefronts

## 1.26.0

### Minor Changes

-   Add new field

## 1.25.0

### Minor Changes

-   Playlist apperances

## 1.24.0

### Minor Changes

-   Add distributor filtering

## 1.23.0

### Minor Changes

-   Lower case distributor

## 1.22.0

### Minor Changes

-   Add Recent placements endpoint

## 1.21.0

### Minor Changes

-   Handle null storefront in breakdown by country response

## 1.20.0

### Minor Changes

-   Consistent stream periods

## 1.19.0

### Minor Changes

-   Endpoint for placements count

## 1.18.0

### Minor Changes

-   Add new fields to placement breakdown by country

## 1.17.0

### Minor Changes

-   Add completion rate to connector-ows-playlist

## 1.16.1

### Patch Changes

-   Add missing dependencies

## 1.16.0

### Minor Changes

-   Mask storefront for placements endpoint

## 1.15.0

### Minor Changes

-   Curator country added to connector-ows-playlist

## 1.14.1

### Patch Changes

-   Fallback to storefront in case streams data is not available

## 1.14.0

### Minor Changes

-   Switch from global_playlist_id to store_playlist_id with storeid and storefront

## 1.13.0

### Minor Changes

-   Change totalVsPlaylist date params to start_date/days

## 1.12.1

### Patch Changes

-   Fix placement topCountry field

## 1.12.0

### Minor Changes

-   Add playlistPlacement data-loader

## 1.11.1

### Patch Changes

-   Add all stores aggregation key

## 1.11.0

### Minor Changes

-   Switch from startDate/endDate to startDate/days params for timeseries

## 1.10.2

### Patch Changes

-   Use snowflake values for days_on_playlist/position_change instead of calculating

## 1.10.1

### Patch Changes

-   Ensure playlistName is not null

## 1.10.0

### Minor Changes

-   Add new endpoint for country wise breakdown for a placement

## 1.9.0

### Minor Changes

-   -   Add filter variables to total vs playlist streams endpoint

## 1.8.0

### Minor Changes

-   -   Added a new endpoint for playlist vs total streams
    -   Documentation and refactoring
    -   Refactoring

## 1.7.2

### Patch Changes

-   Add playlistUri field

## 1.7.1

### Patch Changes

-   -   Added a new `storefrontCount` field to placements response

## 1.7.0

### Minor Changes

-   add global sound recording

## 1.6.2

### Patch Changes

-   Exposed getPlaylistPlacementsBreakdown dataloader

## 1.6.1

### Patch Changes

-   Change playlistPlacementsBreakdown from record to array

## 1.6.0

### Minor Changes

-   Implement placements breakdown endpoint

## 1.5.0

### Minor Changes

-   Add global_participant_id to placements query

## 1.4.2

### Patch Changes

-   Handle boolean with currentPlacementsOnly argument

## 1.4.1

### Patch Changes

-   Add current placements filter

## 1.4.0

### Minor Changes

-   -   Implement streams timeseries endpoint

## 1.3.0

### Minor Changes

-   -   Implemented a new endpoint for position timeseries

## 1.2.13

### Patch Changes

-   Make datasource-ows a peer dependency

## 1.2.12

### Patch Changes

-   -   Add query params to placements request

## 1.2.11

### Patch Changes

-   Updated dependencies
    -   @theorchard/datasource-ows@1.0.17

## 1.2.10

### Patch Changes

-   @theorchard/datasource-ows@1.0.16

## 1.2.9

### Patch Changes

-   -   Change `date_removed` to `removed_on` for ows-playlist

## 1.2.8

### Patch Changes

-   Fix `daysOnPlaylist` logic for placements

## 1.2.7

### Patch Changes

-   Fix `positionChange` calculation

## 1.2.6

### Patch Changes

-   Capitalize `orderDir` param
-   Capitalize `streamCountries` param

## 1.2.5

### Patch Changes

-   @theorchard/datasource-ows@1.0.15

## 1.2.5

### Patch Changes

-   @theorchard/datasource-ows@1.0.14

## 1.2.4

### Patch Changes

-   Capitalize literal keys

## 1.2.3

### Patch Changes

-   Update streams key

## 1.2.2

### Patch Changes

-   Parse playlist genres from JSON string to array

## 1.2.1

### Patch Changes

-   Change `items` key to `placements` for ows-playlist response
-   Change sort keys for placements endpoint

## 1.2.0

### Minor Changes

-   Add fields which are backward compatible with ows-analytics
-   Change url of placements data loader

## 1.1.0

### Minor Changes

-   Updated types of ows playlist placement responses
-   Updated the formatter logic
-   Default values for arguments of cache keys

## 1.0.1

### Patch Changes

-   Use latest datasource-ows version
