All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- build: prevent publish under release commit (4556002)
3.2.1 (2022-12-29)
- remove old types (84a9873)
3.2.0-0 (2022-12-29)
3.1.5 (2022-09-02)
- get description from an episode (2aba83d)
3.1.0 (2022-04-12)
- add getDetails which returns both preview and tracks (7e72e4d)
3.0.0 (2022-03-20)
- The library will be shipped without a default fetch agent.
- pass fetch agent as necessary dependency (649778b)
2.2.4 (2022-01-29)
2.2.3 (2021-05-21)
- add typings files (5f98597)
2.2.2 (2021-05-21)
2.2.1 (2021-05-21)
- coverage (d4c3a62)
- add
getTracks
feature (thanks @DaliborTrampota!)
Warning: The data returned from getData
can change at any time. For example, the newer podcast embed does not provide dominantColor
anymore. I do not consider that a breaking change for this library. The only guarantee is that you get the data spotify makes available. You need to add safety checks in your application code. Only the data shape returned by getPreview
is guaranteed.
- fixes an issue with encoded data in the parsed html page (issue #55)
- add support for scraping a different type of embed page, currently used in podcast episodes (fixes issue #54)
- Drop support for EOL node versions, which is technically breaking 🤷♂️
- Support for podcast episodes on spotify (contributed by @kikobeats)
- new
description
anddate
fields in the preview object (contributed by @kikobeats)
- update dependencies
- remove lockfile
- now uses Himalaya for html parsing instead of cheerio, its more complex / brittle but the bundle is way smaller so it can be used inside apps
- generate embed url for preview with string concatination instead of using spotifyURL package
- bump dependency versions
- add embed field to
getPreview
result
- first public release