Skip to content

Releases: SapphicMoe/simple-fm

v1.7.1

01 Mar 12:48
989d9c0
Compare
Choose a tag to compare

This release includes some minor changes.

  • user.getRecentTracks: Fixed nowPlaying behavior
  • Internal: Clean up the condition check for userPlayCount in artist.getInfo
  • Internal: Use constants file for things like the user agent version, base URL, etc

v1.7.0

29 Feb 20:21
4fc5828
Compare
Choose a tag to compare

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

29 Feb 20:13
4fc5828
Compare
Choose a tag to compare

This release includes some minor changes.

  • Internal: Use LastFMError error class for FetchError errors
  • Internal: Create a separate function for initializing methods
  • Internal: Add type safety when importing package.json in src/package.ts
  • Internal: Add shorthand script for Changesets

v1.6.3

29 Feb 20:11
4fc5828
Compare
Choose a tag to compare

This release includes some minor changes.

  • user.getRecentTracks: Return undefined for tracks.dateAdded for a currently playing track if track.date is not present

v1.6.2

29 Feb 20:08
4fc5828
Compare
Choose a tag to compare

This release includes some minor changes.

  • user.getRecentTracks: Return undefined for tracks.dateAdded for a currently playing track if track.date is not present

v1.6.1

29 Feb 20:06
4fc5828
Compare
Choose a tag to compare

This release includes some minor changes.

  • Internal: Remove redundant "node:" module specifiers for imports

v1.6.0

29 Feb 20:05
4fc5828
Compare
Choose a tag to compare

This release includes some minor changes.

  • album.search, user.getRecentTracks: Return undefined for mbid 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

29 Feb 19:53
4fc5828
Compare
Choose a tag to compare

This release includes some minor changes.

  • user.getInfo: Add stats property
  • General: Replaced null with undefined
  • General: Added MusicBrains ID (mbid) property
  • General: Update dependencies

v1.5.4

29 Feb 19:49
4fc5828
Compare
Choose a tag to compare

This release includes some minor changes.

  • Internal: Add Changesets to handle versioning

v1.5.3

29 Feb 19:48
4fc5828
Compare
Choose a tag to compare

This release includes some minor changes.

  • Internal: Use alias paths for types
  • Internal: Use protected modifier for sendRequest