Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/customizable-straight-edges.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/free-squids-like.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/loose-hounds-cry.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/library/api/headless-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ await page.setContent(`
<!DOCTYPE html>
<html><body>
<script type="module">
import { ApollonEditor, importDiagram } from "https://esm.sh/@tumaet/apollon@5.2.0";
import { ApollonEditor, importDiagram } from "https://esm.sh/@tumaet/apollon@5.3.0";
window.exportSVG = async (model) => {
const result = await ApollonEditor.exportModelAsSvg(importDiagram(model), {
svgMode: "compat",
Expand Down
6 changes: 3 additions & 3 deletions docs/library/embedding/vanilla.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import URL automatically — there is nothing extra to load. (With a bundler you
install the peers yourself — see [Install](/library/embedding/install).)

```html
<link rel="stylesheet" href="https://esm.sh/@tumaet/apollon@5.2.0/style.css" />
<link rel="stylesheet" href="https://esm.sh/@tumaet/apollon@5.3.0/style.css" />
<div id="apollon" style="width: 100%; height: 600px"></div>

<script type="module">
import { ApollonEditor } from "https://esm.sh/@tumaet/apollon@5.2.0"
import { ApollonEditor } from "https://esm.sh/@tumaet/apollon@5.3.0"

const saved = localStorage.getItem("diagram")
const editor = new ApollonEditor(document.getElementById("apollon"), {
Expand Down Expand Up @@ -65,7 +65,7 @@ import {
ApollonEditor,
ApollonMode,
UMLDiagramType,
} from "https://esm.sh/@tumaet/apollon@5.2.0"
} from "https://esm.sh/@tumaet/apollon@5.3.0"

const editor = new ApollonEditor(document.getElementById("apollon"), {
type: UMLDiagramType.BPMN,
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ export class DiagramComponent {

const VANILLA_SNIPPET = `<link
rel="stylesheet"
href="https://esm.sh/@tumaet/apollon@5.2.0/style.css"
href="https://esm.sh/@tumaet/apollon@5.3.0/style.css"
/>
<div id="apollon" style="width: 100%; height: 600px"></div>

<script type="module">
// esm.sh resolves and serves Apollon's required peers (react, react-dom,
// @xyflow/react, yjs, y-protocols) automatically.
import { ApollonEditor } from "https://esm.sh/@tumaet/apollon@5.2.0"
import { ApollonEditor } from "https://esm.sh/@tumaet/apollon@5.3.0"

const saved = localStorage.getItem("diagram")
const editor = new ApollonEditor(document.getElementById("apollon"), {
Expand Down
14 changes: 14 additions & 0 deletions library/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @tumaet/apollon

## 5.3.0

### Minor Changes

- [#834](https://github.com/ls1intum/Apollon/pull/834) [`dc7f071`](https://github.com/ls1intum/Apollon/commit/dc7f071a1998cdab30f33a15db5ee4400c341732) Thanks [@FelixTJDietrich](https://github.com/FelixTJDietrich)! - Shape diagonal connections by hand just like orthogonal ones. Use-case, syntax-tree,
and petri-net connections now have filled circular waypoints: drag the handle on a
segment to add one, drag an existing point to reshape the route, and double-click,
press Delete, or drag it magnetically back onto the line to remove it. Shift-drag locks
to familiar 15-degree angles, endpoint reconnection preserves the custom route, and a
single reset clears all hand-authored routing.

- [#841](https://github.com/ls1intum/Apollon/pull/841) [`8e88cb2`](https://github.com/ls1intum/Apollon/commit/8e88cb2988a8ad6c9b3dedd763e0fd03f31af5c4) Thanks [@FelixTJDietrich](https://github.com/FelixTJDietrich)! - Embed Apollon reliably in host pages: fullscreen overlays stay visible, scrolling and shortcuts remain host-safe, assessment feedback is easier to open and navigate through `revealAssessment(id)`, host controls gain a labeled chrome action, exports no longer expand the page, and diagram interactions remain aligned, sharp, and responsive.
Labels now also stay vertically centered in SVG, PNG, and PDF exports exactly as they appear in the editor.

## 5.2.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ export class DiagramEditorComponent {
`yjs` and `y-protocols` are required peers, but on the CDN path esm.sh resolves and serves them from the import URL automatically — there is nothing extra to load. (With a bundler you install the peers yourself.)

```html
<link rel="stylesheet" href="https://esm.sh/@tumaet/apollon@5.2.0/style.css" />
<link rel="stylesheet" href="https://esm.sh/@tumaet/apollon@5.3.0/style.css" />
<div id="apollon" style="width: 100%; height: 600px"></div>

<script type="module">
import { ApollonEditor } from "https://esm.sh/@tumaet/apollon@5.2.0"
import { ApollonEditor } from "https://esm.sh/@tumaet/apollon@5.3.0"

const saved = localStorage.getItem("diagram")
const editor = new ApollonEditor(document.getElementById("apollon"), {
Expand Down
2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tumaet/apollon",
"version": "5.2.0",
"version": "5.3.0",
"description": "Embeddable UML modeling editor. Mounts into any DOM node — works inside Angular, Vue, Svelte, vanilla JS, or React hosts.",
"keywords": [
"uml",
Expand Down
27 changes: 17 additions & 10 deletions standalone/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,39 @@
# @tumaet/server

## 5.3.0

### Patch Changes

- Updated dependencies [[`dc7f071`](https://github.com/ls1intum/Apollon/commit/dc7f071a1998cdab30f33a15db5ee4400c341732), [`8e88cb2`](https://github.com/ls1intum/Apollon/commit/8e88cb2988a8ad6c9b3dedd763e0fd03f31af5c4)]:
- @tumaet/apollon@5.3.0

## 5.2.0

### Patch Changes

- Updated dependencies [[`f7fd4a5`](https://github.com/ls1intum/Apollon/commit/f7fd4a58f32aec0b8442ba501d9304d2f98b5983), [`25b2e47`](https://github.com/ls1intum/Apollon/commit/25b2e47f649861254a0e770edb52582a793b0ece), [`1ed1d1e`](https://github.com/ls1intum/Apollon/commit/1ed1d1e002dcf91bbfc770dec1cfff1a673f1591), [`5d90428`](https://github.com/ls1intum/Apollon/commit/5d9042806b5052c68722c323bc0475488c459568), [`1eaf5be`](https://github.com/ls1intum/Apollon/commit/1eaf5be6a4a7e69c3fc40f79a247b5d7c731caf4), [`75769ce`](https://github.com/ls1intum/Apollon/commit/75769ce4010707154d5dc7dd94b0bad4cb069965), [`f7fd4a5`](https://github.com/ls1intum/Apollon/commit/f7fd4a58f32aec0b8442ba501d9304d2f98b5983), [`512affe`](https://github.com/ls1intum/Apollon/commit/512affe3d3c8abb258da832bff6b800dcfaacb89), [`991d9c1`](https://github.com/ls1intum/Apollon/commit/991d9c1b3ab8404f2d9564e6ecdefd9e0d9a0bbb), [`cd5b5f1`](https://github.com/ls1intum/Apollon/commit/cd5b5f1f5465763e4c966c8286045c635d121c3d), [`3f37c97`](https://github.com/ls1intum/Apollon/commit/3f37c97b0a8b159ff896e2acbc43cf536936d533), [`cec0a4c`](https://github.com/ls1intum/Apollon/commit/cec0a4c895fc361bba203f5f2931447b5494e7e1)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 5.1.1

### Patch Changes

- Updated dependencies [[`ecad49e`](https://github.com/ls1intum/Apollon/commit/ecad49ea7c88e0e4c90994bab37d9d80efef2712), [`ecad49e`](https://github.com/ls1intum/Apollon/commit/ecad49ea7c88e0e4c90994bab37d9d80efef2712), [`ecad49e`](https://github.com/ls1intum/Apollon/commit/ecad49ea7c88e0e4c90994bab37d9d80efef2712), [`ecad49e`](https://github.com/ls1intum/Apollon/commit/ecad49ea7c88e0e4c90994bab37d9d80efef2712)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 5.1.0

### Patch Changes

- Updated dependencies [[`e108b79`](https://github.com/ls1intum/Apollon/commit/e108b79955d159104db6809077ca4d7255ae1a20), [`8905b71`](https://github.com/ls1intum/Apollon/commit/8905b714f4815e5ade163e9144b424b97f13859c), [`43d2739`](https://github.com/ls1intum/Apollon/commit/43d2739873d1ed9e65a72ef14caf5e3f2a0e1833), [`0ac2478`](https://github.com/ls1intum/Apollon/commit/0ac2478749e3deef74f3ddadbae6dc87191c56a2), [`0ac2478`](https://github.com/ls1intum/Apollon/commit/0ac2478749e3deef74f3ddadbae6dc87191c56a2), [`474029e`](https://github.com/ls1intum/Apollon/commit/474029ea8c2fbc39b73fd86b2f6e91e5bef9ceee), [`930b10c`](https://github.com/ls1intum/Apollon/commit/930b10c2fbf3e7c4b5c8b5afe5b430c44700dbf7), [`882b88c`](https://github.com/ls1intum/Apollon/commit/882b88cf517f2caaeb2e189d7df7a7b3282a1bf6), [`cba2d71`](https://github.com/ls1intum/Apollon/commit/cba2d7113457a8df4e3337a72d1574b79a33690c), [`9c4782c`](https://github.com/ls1intum/Apollon/commit/9c4782c639d051100440f1141bde877ae8d4928a)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 5.0.1

### Patch Changes

- Updated dependencies [[`82ef0af`](https://github.com/ls1intum/Apollon/commit/82ef0af97792d17495f318ebdfee908ba0cdbf13)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 5.0.0

Expand All @@ -39,7 +46,7 @@
**Webapp:** replace `@ionic/react` (imported only for `isPlatform()` UA checks) with a 45-line vendored `platform.ts`, cutting the Stencil runtime from the initial bundle (~−47% initial gzip) and de-duplicating the editor; `uuid` → native `crypto.randomUUID`.

- Updated dependencies [[`16e90a7`](https://github.com/ls1intum/Apollon/commit/16e90a739b5e50938fd9276660494b317473d6ca), [`e4a44f2`](https://github.com/ls1intum/Apollon/commit/e4a44f200c864e8684d01bf4113968c7dfc7fa96), [`e4a44f2`](https://github.com/ls1intum/Apollon/commit/e4a44f200c864e8684d01bf4113968c7dfc7fa96), [`91d36ad`](https://github.com/ls1intum/Apollon/commit/91d36addd69f1982c79df1dfc68c8a5da17e7f8a)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 4.9.0

Expand All @@ -54,14 +61,14 @@
- [#677](https://github.com/ls1intum/Apollon/pull/677) [`41059b1`](https://github.com/ls1intum/Apollon/commit/41059b1c93e4edc483c8f0c039d4378a7bab2489) Thanks [@FelixTJDietrich](https://github.com/FelixTJDietrich)! - Server-rendered diagram images and PDFs now place edge labels on their edge (at the path midpoint) instead of at a fallback point off to the side. Edge-relative decorators (e.g. the SFC transition condition) are positioned the same way.

- Updated dependencies [[`8251733`](https://github.com/ls1intum/Apollon/commit/8251733a965e9fd3cd0beb7565e3abf138a895d5), [`d03f562`](https://github.com/ls1intum/Apollon/commit/d03f562b3fabfc92e7cff870fe08061d678926f6), [`2115fe3`](https://github.com/ls1intum/Apollon/commit/2115fe3d2c787a9055e6d9fbeab61a122eaaf6eb), [`295a627`](https://github.com/ls1intum/Apollon/commit/295a627e1067c0d23fd71ef3e26c8554a4a6e073), [`515777b`](https://github.com/ls1intum/Apollon/commit/515777ba6a45c0110adfa24c1fdb76251d0e9636), [`451ca97`](https://github.com/ls1intum/Apollon/commit/451ca97872d1afb5478e628179151f7acc71aab7)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 4.8.0

### Patch Changes

- Updated dependencies [[`82942cd`](https://github.com/ls1intum/Apollon/commit/82942cddec7d3dd33711d3f38eba92e10c1da0c9), [`5013fc6`](https://github.com/ls1intum/Apollon/commit/5013fc632ea0e18c9fce5baf1f66f1d50617a358), [`5d4a8dd`](https://github.com/ls1intum/Apollon/commit/5d4a8dd5d6d34d1c26d4258a99aadc02faca1c17), [`1bb280d`](https://github.com/ls1intum/Apollon/commit/1bb280d23f9a4cfb9339a04b2311c1c50aeffae7)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 4.7.0

Expand All @@ -80,14 +87,14 @@
It also guards grading integrity: a submission containing glyphs outside the bundled font's coverage is logged (they would render in a fallback face that may not match the editor), and a node with missing or invalid dimensions is rejected with a `422` naming the node, instead of being silently given a default size.

- Updated dependencies [[`6fe657c`](https://github.com/ls1intum/Apollon/commit/6fe657cfabbb1f60936d03b758039fe1e7fade6f), [`6fe657c`](https://github.com/ls1intum/Apollon/commit/6fe657cfabbb1f60936d03b758039fe1e7fade6f), [`21c6f99`](https://github.com/ls1intum/Apollon/commit/21c6f9914b1ab24d79fa6f6d6527ca6260db8c43), [`1fc31cc`](https://github.com/ls1intum/Apollon/commit/1fc31cc7c1d2c8dedb3555edb5d5d063f572acae)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 4.6.0

### Patch Changes

- Updated dependencies [[`1fdb9bc`](https://github.com/ls1intum/Apollon/commit/1fdb9bc70b2fcfc119619876d595b36eebb36f8a), [`dfb4479`](https://github.com/ls1intum/Apollon/commit/dfb4479bbf15671a6332c96b659efd9dd31c127b)]:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 4.5.1

Expand All @@ -106,7 +113,7 @@
- [#689](https://github.com/ls1intum/Apollon/pull/689) Thanks [@FelixTJDietrich](https://github.com/FelixTJDietrich)! - The Redis Stack container now persists to the `/data` volume (`--dir /data`). It previously defaulted to `/var/lib/redis-stack` — the container's ephemeral layer — so diagrams written between deploys could be silently lost. Operators: redeploy the database so it picks up the corrected data directory.

- Updated dependencies:
- @tumaet/apollon@5.2.0
- @tumaet/apollon@5.3.0

## 4.4.1

Expand Down
2 changes: 1 addition & 1 deletion standalone/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tumaet/server",
"version": "5.2.0",
"version": "5.3.0",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
Loading