chore: add changelog entry; replace var with ref (linter)
This commit is contained in:
parent
65ae7dfc0c
commit
e650d19c3e
19
CHANGELOG.md
19
CHANGELOG.md
|
@ -9,6 +9,25 @@ This changelog is viewable on the web at https://docs.funkwhale.audio/changelog.
|
|||
|
||||
<!-- towncrier -->
|
||||
|
||||
## 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.
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Only refresh_nodeinfo_known_nodes for Funkwhale instances (#2442)
|
|
@ -1 +0,0 @@
|
|||
Fixed database migrations for trackfavorite, playlist and playlisttrack
|
|
@ -1 +0,0 @@
|
|||
Make playlist detail page reactive to plugin upload updates (#2464)
|
|
@ -53,16 +53,16 @@ export const useDataStore
|
|||
}
|
||||
|
||||
const tagsCache = ref<Tag[]>([])
|
||||
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<components['schemas']['PaginatedTagList']>('tags/', { params: { page_size: 10000 } }).then(({ data }) => {
|
||||
tagsTimestamp = Date.now();
|
||||
tagsTimestamp.value = Date.now();
|
||||
tagsCache.value = data.results;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue