Skip to content

chore: version packages - #784

Merged
FelixTJDietrich merged 1 commit into
mainfrom
changeset-release/main
Jul 1, 2026
Merged

chore: version packages#784
FelixTJDietrich merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tumaet/apollon@5.0.0

Major Changes

  • #785 91d36ad Thanks @FelixTJDietrich! - Everything ships from one entry now: @tumaet/apollon exports the <Apollon> React component, the hooks, the provider, and the imperative ApollonEditor API together, with every dependency external. react, react-dom, and @xyflow/react are required peers alongside yjs / y-protocols, so your app and the editor share a single copy of each — no duplicate React, and your bundle analyzer / SBOM sees the real packages instead of a copy inlined into one chunk.

    If you imported from the /react or /external subpaths, switch to @tumaet/apollon:

    • @tumaet/apollon/external@tumaet/apollon — same ApollonEditor API, just drop the subpath.
    • @tumaet/apollon/react@tumaet/apollon — the component, hooks, and provider are on the main entry.
    • Install the peers if you haven't: react react-dom @xyflow/react (npm 7+ auto-installs them; pnpm/yarn users add them explicitly).
    • The main entry is a client module ("use client") — import it from client components, not React Server Components.
    • @tumaet/apollon/internals and @tumaet/apollon/export are unchanged.

    See the Upgrading guide for the full walkthrough.

Minor Changes

  • #759 e4a44f2 Thanks @FadyGergesRezk! - Adds a public theming API for embedding hosts. You can now theme the editor with a typed helper instead of hand-writing CSS variables: createApollonTheme() maps a structured ApollonTheme (primary, background, grid, etc.) to the underlying --apollon-* custom properties, and <Apollon> accepts optional theme and dataTheme props (also available as ApollonOptions fields) that are applied to the editor mount node.

    import { Apollon, createApollonTheme } from "@tumaet/apollon"
    
    <Apollon theme={createApollonTheme({ primary: "#6d28d9", background: "#0b0b0c" })} dataTheme="dark" />

    The CSS custom-property contract remains the framework-agnostic source of truth (documented in THEMING.md); the helper is an ergonomic, type-safe wrapper over it. Un-themed embeds are unaffected.

  • #759 e4a44f2 Thanks @FadyGergesRezk! - Removes MUI and Emotion from the editor. Its controls, popovers, toolbars, and minimap are rebuilt on lightweight Base UI primitives and styled entirely through the public --apollon-* CSS variables, so embedding hosts get a smaller dependency footprint, no Emotion runtime, and no MUI global-style collisions — with the editor's look and behaviour unchanged.

Patch Changes

  • #786 16e90a7 Thanks @FelixTJDietrich! - Modernize the build toolchain and cut a runtime dependency, behavior-identical. uuid is gone — the editor now mints RFC-4122 v4 IDs from an embed-safe crypto.getRandomValues (works in any context, unlike crypto.randomUUID). The build moves to Vite 8 (Rolldown/Oxc), TypeScript 6.0, and vite-plugin-dts 5 (+ @microsoft/api-extractor), and every remaining runtime dependency (@base-ui/react, lucide-react, @chenglou/pretext, …) is verified at its latest release. No public API or rendering change.

@tumaet/webapp@5.0.0

Major Changes

  • Ships the latest @tumaet/apollon editor release.

Minor Changes

  • #759 e4a44f2 Thanks @FadyGergesRezk! - Rebuilds the web app's interface on one shared component system, so the editor shell, dialogs, version history, and diagram gallery now share a single consistent look — matching the homepage — in both light and dark. Menus, dialogs, and sheets are fully keyboard-accessible, with focus trapped inside them and Escape to close, and the app loads lighter after dropping its previous UI framework.

Patch Changes

  • #786 16e90a7 Thanks @FelixTJDietrich! - Modernize the standalone runtimes, behavior-preserving.

    Server: migrate Express 5 → Hono 4 + @hono/node-server (both zero-runtime-dependency), dropping express/cors/cookie/pino-http and ~18 transitives. Routes, status codes, response bodies/headers, the owner-cookie HMAC, CORS policy, the zod error envelopes and the yjs collaboration WebSocket relay are all preserved. Runtime majors bumped: zod 4, redis 6 (RESP2-pinned to keep raw reply shapes), pino 10, ulid 3, and dotenv replaced by Node's built-in util.parseEnv.

    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, e4a44f2, e4a44f2, 91d36ad, 16e90a7]:

    • @tumaet/apollon@5.0.0
    • @tumaet/ui@0.0.1

@tumaet/ui@0.0.1

Patch Changes

  • #786 16e90a7 Thanks @FelixTJDietrich! - Drop the unused cmdk command-palette component (zero importers) and its dependency, plus a dead @vitest/coverage-v8 dev dependency. Migrate React linting to @eslint-react for ESLint 10 and bump the toolchain (Tailwind 4.3). No component API change.

@tumaet/server@5.0.0

Patch Changes

  • #786 16e90a7 Thanks @FelixTJDietrich! - Modernize the standalone runtimes, behavior-preserving.

    Server: migrate Express 5 → Hono 4 + @hono/node-server (both zero-runtime-dependency), dropping express/cors/cookie/pino-http and ~18 transitives. Routes, status codes, response bodies/headers, the owner-cookie HMAC, CORS policy, the zod error envelopes and the yjs collaboration WebSocket relay are all preserved. Runtime majors bumped: zod 4, redis 6 (RESP2-pinned to keep raw reply shapes), pino 10, ulid 3, and dotenv replaced by Node's built-in util.parseEnv.

    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, e4a44f2, e4a44f2, 91d36ad]:

    • @tumaet/apollon@5.0.0

@Claudia-Anthropica Claudia-Anthropica left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@app/github-actions The package bumps and new 4.10.0 entries look right, but the version sync step is also rewriting older standalone changelog entries. Please narrow that sync to CDN/docs references and regenerate the release artifacts before merging.

Comment thread standalone/server/CHANGELOG.md Outdated

- 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@4.9.0
- @tumaet/apollon@4.10.0

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@app/github-actions [medium] This is under the 4.9.0 section, but the PR rewrites it to @tumaet/apollon@4.10.0; the same happens in older server and webapp sections. scripts/sync-library-version.mjs is matching every markdown @tumaet/apollon@x.y.z, so it corrupts historical changelog entries while trying to update CDN examples. Please scope the sync to actual esm.sh URLs/docs snippets and restore the older changelog dependency lines.

🤖 Prompt for AI agents

In standalone/server/CHANGELOG.md and standalone/webapp/CHANGELOG.md, older release sections are being rewritten from @tumaet/apollon@4.9.0 to @tumaet/apollon@4.10.0 by scripts/sync-library-version.mjs. Fix this by narrowing the sync script so it only updates CDN/docs references that should track the current library version, then regenerate the release artifacts so historical changelog entries stay unchanged.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@app/github-actions Still seeing this on the current commit: the new 5.0.0 sections are fine, but older 4.x sections in both standalone changelogs now say @tumaet/apollon@5.0.0 too, for example server lines 23/30/49/56/75 and webapp lines 29/48/65/78/101. Please restore those historical dependency lines and keep the version sync scoped to the CDN/docs references.

@github-project-automation github-project-automation Bot moved this from Backlog to In progress in Apollon Development Jun 27, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 3de7740 to 56fb366 Compare June 30, 2026 20:07

@Claudia-Anthropica Claudia-Anthropica left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@app/github-actions The release artifacts still rewrite historical standalone changelog dependency entries to the new library version. I replied on the existing thread; please restore the older 4.x changelog dependency lines and keep the sync scoped to current CDN/docs references.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 9433df4 to df9a719 Compare July 1, 2026 12:53
@FelixTJDietrich
FelixTJDietrich merged commit a5edd14 into main Jul 1, 2026
25 checks passed
@FelixTJDietrich
FelixTJDietrich deleted the changeset-release/main branch July 1, 2026 13:17
@github-project-automation github-project-automation Bot moved this from In progress to Done in Apollon Development Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants