Repository navigation
v2.0.0 brings a new UI stack, Authup-hosted sign-in and account management, richer MTB results, and a reorganized library API. These notes cover the changes since v1.35.0.
📣 Some News
This release moves the development/runtime baseline to Node.js 26 or newer and the portal to Nuxt 4. The portal uses Authup 1.0.0-beta.74. All workspace packages now share version 2.0.0; the library split below is a breaking API change, not just a rename of core.
The portal, admin, MTB and RD packages are private and ship in the Docker image. The reusable kit, http-kit, vue, nuxt-kit and theme packages are published to npm.
👀 Highlights
🎨 Tailwind v4, vuecs components and light/dark mode
The portal replaces Bootstrap, bootstrap-vue-next and the Bootstrap compatibility layer with vuecs components and Tailwind v4. The header includes a color-mode toggle; shared semantic tokens keep the application chrome and components aligned in both modes. Icons use VCIcon/Iconify, and the production build bundles only the Font Awesome icons referenced by the application and its dependencies.
For custom modules, replace Bootstrap-shaped markup with VC* components and Tailwind utilities. Register the DNPM theme after the Authup theme:
import vuecs from '@vuecs/core';
import dnpmTheme, { clientWebKitTheme } from '@dnpm-dip/theme';
import type { App } from 'vue';
declare const app: App;
app.use(vuecs, {
themes: [clientWebKitTheme(), dnpmTheme()],
});Warning
Add a Tailwind @source entry for each package containing templates. A missing scan path silently removes utilities used only by that package. The old .btn, .row, .card and .alert compatibility classes are gone.
🔐 Sign in at Authup and manage your account there
Sign-in now uses OAuth2 Authorization Code with PKCE. The portal starts the flow, Authup hosts the credentials and identity-provider screen, and the browser returns to /login/callback. The default client is admin-console in the master realm.
The portal's settings area is replaced by a single account icon in the header linking to Authup's account console. Profile, password, authenticators, sessions and connected applications are managed on the IdP origin. Deployments can override these runtime settings:
NUXT_PUBLIC_AUTHUP_CLIENT_ID=admin-console
NUXT_PUBLIC_AUTHUP_REALM_ID=master
NUXT_PUBLIC_ACCOUNT_URL=https://dnpm-dip.net/auth/console/accountWarning
For a custom OAuth client, allow both <portal-origin>/login/callback and <portal-origin>/login/callback?redirect=*. The second pattern is required for sign-in from a protected deep link. Include the portal origin in Authup's trusted origins, and ensure access policies allow the realm's account-console client.
Permission checks accept either global definitions or definitions owned by the signed-in user's realm, so existing master-realm permissions continue to resolve. Session cookies use the dnpm_ prefix to separate portal sessions from Authup's hosted consoles.
📖 Deployment, authentication and account configuration
📦 Smaller libraries with explicit boundaries
@dnpm-dip/core is removed without a compatibility facade. Move imports according to what they do:
| Previous API | New package |
|---|---|
Framework-free helpers from core |
@dnpm-dip/kit |
HTTP client, domain models and API interfaces from core |
@dnpm-dip/http-kit |
Vue components, composables, stores and dependency injection from core |
@dnpm-dip/vue |
Nuxt route-registration helpers from the old kit |
@dnpm-dip/nuxt-kit |
The two framework-free layers let you use the HTTP client without pulling in Vue or Pinia. For example:
import { HTTPClient } from '@dnpm-dip/http-kit';
const client = new HTTPClient({ baseURL: 'https://dnpm-dip.net/api/' });
const sites = await client.site.getItems('mtb');Warning
@dnpm-dip/kit now means framework-free utilities, not Nuxt registration. Update old kit imports such as registerPages to nuxt-kit. DNav and the old exported navigation helpers are not restored by changing a package name; custom navigation needs the vuecs v4 registry model.
📖 HTTP client API · Vue API · Nuxt registration
🧪 Test clients and components without a live backend
New ./testing entry points provide a fake HTTP client and a Vue mount harness. The fake swaps the transport while keeping the real client API, and records the requests your code makes:
import { createFakeClient } from '@dnpm-dip/http-kit/testing';
import { expect, it } from 'vitest';
it('reads the sites of a use case', async () => {
const client = createFakeClient({
handlers: {
'GET /mtb/sites': () => ({
local: { code: 'UKT', system: 'dnpm-dip/site' },
others: [],
}),
},
});
const sites = await client.site.getItems('mtb');
expect(sites.local.code).toBe('UKT');
expect(client.requests[0]?.url).toContain('/mtb/sites');
});mountComponent from @dnpm-dip/vue/testing adds the plugin chain, Pinia and a fake client for component tests. Install its optional @vue/test-utils peer when using that entry point.
📖 Fake client and error responses · Component test harness
🔎 MTB results: compare therapies and drill into alterations
MTB summaries add a coarse therapy-response table, grouped by tumor entity and medication, alongside the detailed results grouped by supporting variant. You can sort and paginate the results, inspect evidence levels and response metrics, and click medications to apply filters. Gene-alteration rows show how often an alteration supports a recommendation; the Hoff-ratio responder column is labeled as a percentage rather than a count.
Search and summary navigation also change: filter boxes show active state and reset controls, search criteria can collapse, summaries use secondary horizontal navigation, and loading states use skeletons. MTB and RD search now offer only local and federated modes. Targeted site selection is removed; editing a saved custom query switches its mode to federated. The survival-report tab is removed from MTB summary navigation, although its page remains.
Warning
Coordinate this upgrade with your gateway/query-service deployment. MTB results require the coarse-therapy-responses endpoint and the newer result DTOs, including supportingCount. Without that field, supporting-alteration rows show empty parentheses instead of a count.
📖 MTB routes, query endpoints and result views
🩺 More of the MTB patient record is visible
Patient views now render additional ETL-schema sections: family history, MSI findings, prior molecular reports, RNA sequencing and specimen details, follow-ups, procedure recommendations, rebiopsy requests, study references, and reimbursement claims and responses. Shared patient details also surface age and health-insurance type.
A metadata tab displays consent provisions and submission details when the backend includes metadata; it is not shown for records without that section. Corrected DTO names and shapes include tnmClassification, diagnosis type, response method and care-plan board type.
🛠️ Manage OAuth clients from Admin
Admin gains client list, creation and detail pages, including permissions, roles, scopes and URL settings. These views use Authup directly and remain gated by the corresponding client_* permissions.
Custom layouts hosting these administration components must mount <VCAlertDialogProvider> as well as the toast hosts. Confirmation actions otherwise wait without showing a dialog.
📖 Admin routes and permissions
⚠️ Heads-Up Before Upgrading
| Change | What to do |
|---|---|
| Node.js 26+; Nuxt 4; Authup beta.74 integration | Update your source-build runtime and align Authup and UI peer dependencies with the manifests at this tag. |
core removed; old kit API moved |
Split core imports by responsibility, and move Nuxt registration imports to nuxt-kit. |
| Bootstrap compatibility and old navigation API removed | Migrate custom markup to vuecs/Tailwind and navigation to the v4 registry model. |
| Forms move from Vuelidate to validup | Update custom forms to @validup/vue/@validup/zod and the current vuecs forms API. |
PKCE login, admin-console default and external account console |
Configure callback patterns, trusted origins, realm/client selection and account-console access before rollout. |
| New MTB result endpoints and DTO fields | Deploy a compatible gateway/query service, including coarse therapy responses and supportingCount. |
| Targeted/custom search mode removed | Use local or federated search; review saved custom queries before editing them. |
| MTB survival-report tab hidden | Do not rely on the summary menu to expose this view. |
⬆️ Upgrading
For library consumers, install the packages you use at the same major version, after updating your imports and peer dependencies:
npm install @dnpm-dip/kit@^2.0.0 @dnpm-dip/http-kit@^2.0.0 \
@dnpm-dip/vue@^2.0.0 @dnpm-dip/nuxt-kit@^2.0.0 @dnpm-dip/theme@^2.0.0For the deployed portal, follow the Docker and runtime-configuration instructions in the v2.0.0 README. The package READMEs linked above document the replacement APIs and setup requirements.
👉 Changelog
The following entries are regenerated from GitHub for this release range.
Breaking changes
- feat(ui)!: migrate to vuecs new majors + Tailwind v4 + validup-vue + authup beta.44 by @tada5hi in #1219
- refactor(ui)!: retire Bootstrap-compat layer for VC components + Tailwind by @tada5hi in #1243
Features
- feat: make table view default by @tada5hi in #1122
- feat: show total in response distribution bar by @tada5hi in #1123
- feat: sortable gene-alteration and therapy-response table with Sort I… by @tada5hi in #1180
- feat: skeleton loading views for mtb/rd summary by @tada5hi in #1186
- feat: remove score-based default sorting from query summary tables by @tada5hi in #1189
- feat(mtb): support QueryGeneAlteration object keys in variant distrib… by @tada5hi in #1191
- feat: unified query filter box controls with active indicator and reset by @tada5hi in #1201
- feat(query): move summary sidebar into secondary horizontal nav by @tada5hi in #1202
- feat(core): customizable column labels and per-level config for DKVTable by @tada5hi in #1209
- feat: apply ZPM feedback to MTB query summary and search form by @tada5hi in #1225
- feat(portal): OAuth2 authorization-code (PKCE) login by @tada5hi in #1252
- feat(mtb): render complete patient record per ETL schema by @tada5hi in #1261
- feat(admin): add client management views by @tada5hi in #1267
- feat: migrate UI to rapiq v2 and @authup beta.54 by @tada5hi in #1270
- feat(portal): default the login flow to the admin-console client by @tada5hi in #1280
- feat(portal): move the account console link into the header by @tada5hi in #1290
- feat(mtb): add coarse therapy responses summary table by @tada5hi in #1293
- feat: remove custom query mode with targeted site selection by @tada5hi in #1331
- feat(mtb): apply feedback on query results and search page by @tada5hi in #1337
Fixes
- fix: reading and submitting dnaChange & proteinChange by @tada5hi in #1137
- fix: mtb query feedback (filter encoding, therapy responses, count formatting) by @tada5hi in #1313
- fix: migrate Authup integration to beta.68 by @tada5hi in #1318
- fix: bump authup to v1.0.0-beta.71 and mount alert dialog provider by @tada5hi in #1333
- fix: bump authup to v1.0.0-beta.72 and resolve realm-owned permissions by @tada5hi in #1338
- fix(mtb): enable alteration-level medication distribution navigation by @tada5hi in #1339
Refactors
- refactor(mtb): integrate criteria toggle buttons into Suchkriterien box by @tada5hi in #1200
- refactor: split @dnpm-dip/core into kit, http-kit and vue, and add test infrastructure by @tada5hi in #1297
Dependencies, tooling and release maintenance
- build(deps-dev): bump the majordev group with 3 updates by @dependabot[bot] in #1095
- chore(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #1110
- chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #1104
- fix(deps): bump the minorandpatch group across 1 directory with 20 updates by @dependabot[bot] in #1121
- fix(deps): bump the minorandpatch group across 1 directory with 11 updates by @dependabot[bot] in #1133
- build(deps-dev): bump the majordev group across 1 directory with 2 updates by @dependabot[bot] in #1131
- chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #1129
- fix(deps): bump @nuxt/kit from 3.17.6 to 4.1.3 in the majorprod group across 1 directory by @dependabot[bot] in #1111
- fix(deps): bump the minorandpatch group across 1 directory with 10 updates by @dependabot[bot] in #1138
- fix(deps): bump the minorandpatch group across 1 directory with 8 updates by @dependabot[bot] in #1145
- fix(deps): bump the minorandpatch group across 1 directory with 11 updates by @dependabot[bot] in #1152
- build(deps-dev): bump @ilingo/vuelidate from 5.0.4 to 6.0.0 in the majordev group by @dependabot[bot] in #1146
- build(deps-dev): bump the minorandpatch group with 4 updates by @dependabot[bot] in #1153
- fix(deps): bump the minorandpatch group across 1 directory with 26 updates by @dependabot[bot] in #1166
- fix(deps): bump the minorandpatch group across 1 directory with 12 updates by @dependabot[bot] in #1174
- build(deps-dev): bump the majordev group across 1 directory with 2 updates by @dependabot[bot] in #1167
- fix(deps): bump the minorandpatch group across 1 directory with 19 updates by @dependabot[bot] in #1198
- chore: migrate toolchain and restore build pipeline by @tada5hi in #1199
- chore(deps): bump @authup/* from beta.28 to beta.39 by @tada5hi in #1203
- fix(deps): bump the minorandpatch group across 1 directory with 9 updates by @dependabot[bot] in #1207
- fix(deps): bump @authup/* to 1.0.0-beta.50 + hapic v3 by @tada5hi in #1244
- fix(deps): bump the minorandpatch group across 1 directory with 28 updates by @dependabot[bot] in #1245
- build(deps-dev): bump the majordev group across 1 directory with 4 updates by @dependabot[bot] in #1239
- fix(deps): bump the minorandpatch group across 1 directory with 23 updates by @dependabot[bot] in #1251
- build(deps-dev): bump the minorandpatch group across 1 directory with 10 updates by @dependabot[bot] in #1257
- fix(deps): bump @authup packages to v1.0.0-beta.52 by @tada5hi in #1258
- fix(deps): bump the minorandpatch group across 1 directory with 12 updates by @dependabot[bot] in #1289
- fix(deps): bump authup packages to v1.0.0-beta.67 by @tada5hi in #1314
- build(deps-dev): bump the minorandpatch group across 1 directory with 2 updates by @dependabot[bot] in #1316
- fix(deps): bump the minorandpatch group across 1 directory with 16 updates by @dependabot[bot] in #1325
- fix(deps): bump the minorandpatch group across 1 directory with 45 updates by @dependabot[bot] in #1348
- chore: release master by @github-actions[bot] in #1291