diff --git a/.gitignore b/.gitignore index 1841c3ba9..17539d041 100644 --- a/.gitignore +++ b/.gitignore @@ -135,8 +135,9 @@ flake.lock # Zed .zed/ -# Node version (asdf) +# Node version (asdf, mise) .tool-versions +mise.toml # Lychee link checker .lycheecache 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/.yarnrc.yml b/front/.yarnrc.yml new file mode 100644 index 000000000..3186f3f07 --- /dev/null +++ b/front/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/front/src/components/album/Widget.vue b/front/src/components/album/Widget.vue index e059df6e6..5f99fa4dd 100644 --- a/front/src/components/album/Widget.vue +++ b/front/src/components/album/Widget.vue @@ -67,7 +67,7 @@ const performSearch = () => { } watch( - [() => store.state.moderation.lastUpdate, page], + () => [store.state.moderation.lastUpdate, page.value], () => fetchData(), { immediate: true } ) diff --git a/front/src/components/audio/ChannelForm.vue b/front/src/components/audio/ChannelForm.vue index e257cb92a..fe6d9d784 100644 --- a/front/src/components/audio/ChannelForm.vue +++ b/front/src/components/audio/ChannelForm.vue @@ -5,6 +5,7 @@ import type { paths } from '~/generated/types' import { slugify } from 'transliteration' import { reactive, computed, ref, watchEffect, watch } from 'vue' import { useI18n } from 'vue-i18n' +import { useDataStore } from '~/ui/stores/data' import axios from 'axios' import AttachmentInput from '~/components/common/AttachmentInput.vue' @@ -35,6 +36,7 @@ const props = withDefaults(defineProps(), { }) const { t } = useI18n() +const dataStore = useDataStore() const newValues = reactive({ name: props.object?.artist?.name ?? '', @@ -261,7 +263,7 @@ defineExpose({ :get="model => { newValues.tags = model.currents.map(({ label }) => label) }" :set="model => ({ currents: newValues.tags.map(tag => ({ type: 'custom' as const, label: tag })), - others: [].map(tag => ({ type: 'custom' as const, label: tag })) + others: dataStore.tags().value.map(({ name }) => ({ type: 'custom' as const, label: name })) })" :label="t('components.audio.ChannelForm.label.tags')" /> diff --git a/front/src/components/audio/track/Widget.vue b/front/src/components/audio/track/Widget.vue index 268ca04a5..57d7f1c43 100644 --- a/front/src/components/audio/track/Widget.vue +++ b/front/src/components/audio/track/Widget.vue @@ -83,7 +83,7 @@ onMounted(() => { }) watch( - [() => store.state.moderation.lastUpdate, page], + () => [store.state.moderation.lastUpdate, page.value], () => fetchData(), { immediate: true } ) diff --git a/front/src/components/library/AlbumBase.vue b/front/src/components/library/AlbumBase.vue index 33b0f6818..8bc8ea762 100644 --- a/front/src/components/library/AlbumBase.vue +++ b/front/src/components/library/AlbumBase.vue @@ -1,5 +1,5 @@