You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release blockers caught by `vsce package`:
- `@types/vscode 1.110.0` greater than `engines.vscode ^1.86.0` →
vsce errors at package time. Pin types to `~1.86.0` to match the
broadest installable base.
- `LICENSE.txt` was 0 bytes; populate from repo LICENSE.
- `CHANGELOG.md` was 0 bytes; delete (Marketplace will render an
empty Changelog tab otherwise).
User-visible bug:
- `editor/src/index.tsx` called `setTheme("light")` unconditionally,
forcing white background regardless of VS Code's actual theme.
Replace JS-based theme application with CSS variables scoped under
the `body.vscode-light` / `body.vscode-dark` / `.vscode-high-contrast`
classes VS Code applies automatically to webviews. The editor now
follows live theme switches without any JS.
- Delete the dead `theme-switcher/` directory entirely (the
`toggleTheme` helper had inverted logic and was never called).
Cleanup the round-3 audit caught:
- Drop dead deps: `@vscode/codicons` (both webviews, 0 references),
`uuid` (replaced with `crypto.randomUUID()` / `node:crypto`
randomUUID — VS Code's bundled Chromium 92+ and Node 24 both
support it natively), `@types/uuid` (both workspaces).
- `vscode-extension/menu/package.json`: add `@tumaet/apollon` to
dependencies — `App.tsx` imports `UMLDiagramType` and was relying
on pnpm hoisting.
- `vscode-extension/src/types.ts`: replace hand-rolled `UMLDiagramType`
/ `UMLModel` with imports from `@tumaet/apollon`. The duplicate
was already drifting (v4-pinned `version` template literal at
library v5).
- `editor/tsconfig.json` / `menu/tsconfig.json`: drop dead cross-
package includes (`../src/util.ts`, `../editor/src/types.ts`).
- Root `tsconfig.json`: `noEmit: true`, drop stale `outDir: "out"`,
exclude `dist` + `.vscode-test.mjs` + `vite.config.ts`.
- `.vscodeignore`: drop dead `.vscode-test-web/**`, `dist/test/**`,
`.yarnrc`, `vsc-extension-quickstart.md`, `**/.eslintrc.json`,
`../**`. Add `eslint.config.mjs`, `*.tsbuildinfo`.
- `.gitignore`: drop stale `out` (Vite writes to `dist/`).
- `release-vscode-extension.yml`: backfill race — when `publish`
is skipped (Marketplace already has this version) but the GitHub
Release tag is missing, the `release` job was gated on
`publish.result == 'success'` only. Accept `'skipped'` too.
Bundle effect: `dist/extension.js` smaller (uuid package gone),
editor + menu drop `@vscode/codicons` weight too.
Please report security issues privately via [GitHub Security Advisories](https://github.com/ls1intum/Apollon/security/advisories/new). Do not open public GitHub issues for vulnerabilities.
6
+
7
+
We aim to acknowledge reports within 5 working days and to coordinate a fix and disclosure timeline with you.
8
+
9
+
## Supported versions
10
+
11
+
Only the latest minor of each major is supported with security fixes.
All notable changes to `@tumaet/apollon` will be documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
+
5
+
GitHub Releases at <https://github.com/ls1intum/Apollon/releases> carry the full per-release notes; this file tracks breaking-change summaries.
6
+
7
+
## [5.0.0]
8
+
9
+
### Breaking
10
+
11
+
-**Dropped the `@tumaet/apollon/react` subpath** and the standalone 2.4 MB bundle that inlined React/MUI/emotion/xyflow. The default `@tumaet/apollon` import now always externalizes those packages as **mandatory peer dependencies**.
12
+
-**`peerDependenciesMeta` removed** — peers are no longer optional. Install React, ReactDOM, `@mui/material`, `@emotion/react`, `@emotion/styled`, and `@xyflow/react` explicitly.
13
+
-**Internal sync exports moved** to a new `@tumaet/apollon/internals` subpath (`YjsSyncClass`, `MessageType`, `createHeadlessSync`). The new subpath is explicitly **not** covered by SemVer.
14
+
15
+
### Migration from 4.x
16
+
17
+
```diff
18
+
- import { ApollonEditor } from "@tumaet/apollon/react"
Standalone (non-React) consumers who previously imported from `@tumaet/apollon` must now install the React peers as well. See `README.md`.
29
+
30
+
### Other
31
+
32
+
- Single Vite pass (`tsc -b && vite build`); the prior dual-build + `rm -rf dist/react/assets` hack is gone.
33
+
-`dist/index.d.ts` is rolled up into a single self-contained file (no internal relative imports without `.js` suffix). NodeNext consumers resolve cleanly.
34
+
- esbuild `drop` narrowed to `["debugger"]` — `console.warn` calls from React/MUI/emotion are no longer stripped at minification.
35
+
- README rewritten: ~73 lines, React-only, one factual install command.
0 commit comments