Releases: SapphicMoe/simple-fm
Releases · SapphicMoe/simple-fm
v1.7.1
v1.7.0
This release includes semi-major changes.
- album.getInfo: Now accounts for single tag response & no track response
- artist.getInfo: Now returns a
bio
object as opposed to a simple description - artist.getInfo: Now returns a similar artists property
- artist.getSimilar: Now returns a proper float for matches
- track.getInfo: Now returns
undefined
for user play counts - track.getInfo: Now returns
undefined
for album properties if they're missing - General: Added a
versioning
property for the client to disable including the package version for the default user agent - General: MusicBrain IDs will now return
undefined
if an album/track doesn't have one. - General: Changed Node.js version requirement back to 18
- Internal: Removed the
?
operator for interfaces. This will make types more strict.
v1.6.4
This release includes some minor changes.
- Internal: Use
LastFMError
error class forFetchError
errors - Internal: Create a separate function for initializing methods
- Internal: Add type safety when importing
package.json
insrc/package.ts
- Internal: Add shorthand script for Changesets
v1.6.3
This release includes some minor changes.
- user.getRecentTracks: Return
undefined
fortracks.dateAdded
for a currently playing track iftrack.date
is not present
v1.6.2
This release includes some minor changes.
- user.getRecentTracks: Return
undefined
fortracks.dateAdded
for a currently playing track iftrack.date
is not present
v1.6.1
This release includes some minor changes.
- Internal: Remove redundant "node:" module specifiers for imports
v1.6.0
This release includes some minor changes.
- album.search, user.getRecentTracks: Return
undefined
formbid
if it's not present - General: Add simple-fm version to the default user agent when sending a request
- General: Improved error handling
- Internal: Use helper function for Last.fm URLs
- Internal: Rename variables for item matches (
album
->albumMatches
,track
->trackMatches
, etc) and make map parameters less ambiguous - Internal: Moved from Yarn to pnpm
- Internal: Improved error messages for unit tests
v1.5.5
This release includes some minor changes.
- user.getInfo: Add
stats
property - General: Replaced
null
withundefined
- General: Added MusicBrains ID (
mbid
) property - General: Update dependencies
v1.5.4
This release includes some minor changes.
- Internal: Add Changesets to handle versioning
v1.5.3
This release includes some minor changes.
- Internal: Use alias paths for types
- Internal: Use
protected
modifier forsendRequest