From da32cddb56c13c85207766048720f68bc7271fbd Mon Sep 17 00:00:00 2001 From: ZOASR <44146518+ZOASR@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:12:06 +0200 Subject: [PATCH] update: v2.2.0 --- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- src/components/useLastfmViewer.tsx | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27071c9..2d4e53f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file. ## [unreleased] +### Bug Fixes + +- Fixed wrong number formatting when displaying track length + +### Refactor + +- Used a simpler array method to display past tracks + +### Styling + +- Changed album cover shadow to hsla color for better browser compatibility + +## [2.1.5] - 2024-01-04 + ### Dev - Moved all utility functions and types to the util package @@ -12,6 +26,7 @@ All notable changes to this project will be documented in this file. ### Update - V2.1.3 +- V2.1.5 ## [2.1.3] - 2024-01-03 diff --git a/package.json b/package.json index 463a0c4..3e0c8cd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@lastfm-viewer/solid", "private": false, - "version": "2.1.5", + "version": "2.2.0", "description": "A solidjs component to view recent scrobbles for a last.fm user", "keywords": [ "lastfm", diff --git a/src/components/useLastfmViewer.tsx b/src/components/useLastfmViewer.tsx index c95817a..3f3a46a 100644 --- a/src/components/useLastfmViewer.tsx +++ b/src/components/useLastfmViewer.tsx @@ -32,7 +32,8 @@ export const useLastfmViewer: ({}: Props) => lfmvHook = ({ colors: { primary: "", secondary: "", - accent: "" + accent: "", + coverShadowColor: "" }, pastTracks: [], duration: 0