From 303efeddf7b635399c2c361c9022e201e74ae3d3 Mon Sep 17 00:00:00 2001 From: Chris Coutinho Date: Sat, 17 Jan 2026 13:09:27 +0100 Subject: [PATCH] refactor(astrolabe): upgrade to @nextcloud/vue 9.3.3 API - Replace NcCheckboxRadioSwitch :checked with :model-value - Replace NcCheckboxRadioSwitch @update:checked with @update:model-value - Replace NcButton type="primary|secondary|tertiary" with variant prop - Bump @nextcloud/vue minimum version to ^9.3.3 These changes address deprecated APIs removed in @nextcloud/vue v9.0.0: - :checked/:update:checked was replaced by v-model/modelValue pattern - type prop for button variants was replaced by variant prop Co-Authored-By: Claude Opus 4.5 --- third_party/astrolabe/package.json | 2 +- third_party/astrolabe/src/App.vue | 18 +++++++++--------- .../src/components/admin/AdminSettings.vue | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/third_party/astrolabe/package.json b/third_party/astrolabe/package.json index b1cbf83..6202050 100644 --- a/third_party/astrolabe/package.json +++ b/third_party/astrolabe/package.json @@ -23,7 +23,7 @@ "@nextcloud/initial-state": "^3.0.0", "@nextcloud/l10n": "^3.1.0", "@nextcloud/router": "^3.0.1", - "@nextcloud/vue": "^9.0.0", + "@nextcloud/vue": "^9.3.3", "markdown-it": "^14.1.0", "pdfjs-dist": "^4.0.379", "plotly.js-dist-min": "^2.35.3", diff --git a/third_party/astrolabe/src/App.vue b/third_party/astrolabe/src/App.vue index 8ce12c0..4996699 100644 --- a/third_party/astrolabe/src/App.vue +++ b/third_party/astrolabe/src/App.vue @@ -62,7 +62,7 @@ @update:model-value="algorithm = $event ? $event.id : 'hybrid'" />