chore: version packages - #784
Conversation
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@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.
|
|
||
| - 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 |
There was a problem hiding this comment.
@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.
There was a problem hiding this comment.
@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.
3de7740 to
56fb366
Compare
Claudia-Anthropica
left a comment
There was a problem hiding this comment.
@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.
9433df4 to
df9a719
Compare
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
91d36adThanks @FelixTJDietrich! - Everything ships from one entry now:@tumaet/apollonexports the<Apollon>React component, the hooks, the provider, and the imperativeApollonEditorAPI together, with every dependency external.react,react-dom, and@xyflow/reactare required peers alongsideyjs/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
/reactor/externalsubpaths, switch to@tumaet/apollon:@tumaet/apollon/external→@tumaet/apollon— sameApollonEditorAPI, just drop the subpath.@tumaet/apollon/react→@tumaet/apollon— the component, hooks, and provider are on the main entry.react react-dom @xyflow/react(npm 7+ auto-installs them; pnpm/yarn users add them explicitly)."use client") — import it from client components, not React Server Components.@tumaet/apollon/internalsand@tumaet/apollon/exportare unchanged.See the Upgrading guide for the full walkthrough.
Minor Changes
#759
e4a44f2Thanks @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 structuredApollonTheme(primary, background, grid, etc.) to the underlying--apollon-*custom properties, and<Apollon>accepts optionalthemeanddataThemeprops (also available asApollonOptionsfields) that are applied to the editor mount node.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
e4a44f2Thanks @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
16e90a7Thanks @FelixTJDietrich! - Modernize the build toolchain and cut a runtime dependency, behavior-identical.uuidis gone — the editor now mints RFC-4122 v4 IDs from an embed-safecrypto.getRandomValues(works in any context, unlikecrypto.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
@tumaet/apolloneditor release.Minor Changes
e4a44f2Thanks @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 andEscapeto close, and the app loads lighter after dropping its previous UI framework.Patch Changes
#786
16e90a7Thanks @FelixTJDietrich! - Modernize the standalone runtimes, behavior-preserving.Server: migrate Express 5 → Hono 4 +
@hono/node-server(both zero-runtime-dependency), droppingexpress/cors/cookie/pino-httpand ~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, anddotenvreplaced by Node's built-inutil.parseEnv.Webapp: replace
@ionic/react(imported only forisPlatform()UA checks) with a 45-line vendoredplatform.ts, cutting the Stencil runtime from the initial bundle (~−47% initial gzip) and de-duplicating the editor;uuid→ nativecrypto.randomUUID.Updated dependencies [
16e90a7,e4a44f2,e4a44f2,91d36ad,16e90a7]:@tumaet/ui@0.0.1
Patch Changes
16e90a7Thanks @FelixTJDietrich! - Drop the unusedcmdkcommand-palette component (zero importers) and its dependency, plus a dead@vitest/coverage-v8dev dependency. Migrate React linting to@eslint-reactfor ESLint 10 and bump the toolchain (Tailwind 4.3). No component API change.@tumaet/server@5.0.0
Patch Changes
#786
16e90a7Thanks @FelixTJDietrich! - Modernize the standalone runtimes, behavior-preserving.Server: migrate Express 5 → Hono 4 +
@hono/node-server(both zero-runtime-dependency), droppingexpress/cors/cookie/pino-httpand ~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, anddotenvreplaced by Node's built-inutil.parseEnv.Webapp: replace
@ionic/react(imported only forisPlatform()UA checks) with a 45-line vendoredplatform.ts, cutting the Stencil runtime from the initial bundle (~−47% initial gzip) and de-duplicating the editor;uuid→ nativecrypto.randomUUID.Updated dependencies [
16e90a7,e4a44f2,e4a44f2,91d36ad]: