diff --git a/CHANGELOG.md b/CHANGELOG.md index 867b5af59..c4c27e2fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,25 @@ This changelog is viewable on the web at https://docs.funkwhale.audio/changelog. +## 2.0.0-alpha.2 (2025-06-06) + +Carefully read [this blog post](https://blog.funkwhale.audio/2025-funkwhale-2-news.html) before upgrading. This alpha release might break your db. + +Upgrade instructions are available at https://docs.funkwhale.audio/administrator/upgrade/index.html + +Enhancements: + +- Make playlist detail page reactive to plugin upload updates (#2464) +- Only refresh_nodeinfo_known_nodes for Funkwhale instances (#2442) + +Bugfixes: + +- Fixed database migrations for trackfavorite, playlist and playlisttrack + +Other: + +- Fixed regressions in Tags selector after removal of jQuery (#2440, #2390) + ## 2.0.0-alpha.1 (2025-05-23) Carefully read [this blog post](https://blog.funkwhale.audio/2025-funkwhale-2-news.html) before upgrading. This alpha release might break your db. diff --git a/changes/changelog.d/2442.enhancement b/changes/changelog.d/2442.enhancement deleted file mode 100644 index 64282d03f..000000000 --- a/changes/changelog.d/2442.enhancement +++ /dev/null @@ -1 +0,0 @@ -Only refresh_nodeinfo_known_nodes for Funkwhale instances (#2442) diff --git a/changes/changelog.d/2457.bugfix b/changes/changelog.d/2457.bugfix deleted file mode 100644 index 46993fc2a..000000000 --- a/changes/changelog.d/2457.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed database migrations for trackfavorite, playlist and playlisttrack diff --git a/changes/changelog.d/2464.enhancement b/changes/changelog.d/2464.enhancement deleted file mode 100644 index aecaf3b99..000000000 --- a/changes/changelog.d/2464.enhancement +++ /dev/null @@ -1 +0,0 @@ -Make playlist detail page reactive to plugin upload updates (#2464) diff --git a/front/src/ui/stores/data.ts b/front/src/ui/stores/data.ts index 0c2d911c7..67293cecc 100644 --- a/front/src/ui/stores/data.ts +++ b/front/src/ui/stores/data.ts @@ -53,16 +53,16 @@ export const useDataStore } const tagsCache = ref([]) - var tagsTimestamp = 0 + const tagsTimestamp = ref(0) /** * @returns an auto-updating reference to all tags or `[]` if either none are loaded yet, or there was an error */ const tags = () => { // Re-fetch if immediate is true or the item is not cached or older than 1 second - if (tagsTimestamp< Date.now() - 1000) { + if (tagsTimestamp.value < Date.now() - 1000) { axios.get('tags/', { params: { page_size: 10000 } }).then(({ data }) => { - tagsTimestamp = Date.now(); + tagsTimestamp.value = Date.now(); tagsCache.value = data.results; }); }