Skip to content

chore(deps): update dependency likec4 to v1.61.0 - #162

Merged
djwmarcx merged 1 commit into
mainfrom
renovate/likec4-1.x-lockfile
Nov 22, 2026
Merged

djwmarcx merged 1 commit into
mainfrom
renovate/likec4-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
likec4 (source) 1.60.0 → 1.61.0 age confidence

Release Notes

likec4/likec4 (likec4)

v1.61.0

Compare Source

Patch Changes
  • #​3522 05880a4 Thanks @​davydkov! - Experimental app config: keep the options of the CLI in likec4.app.config.ts (with defineAppConfig from likec4/config) instead of repeating flags. likec4 start, build, preview, export png/jpg, gen react and gen webcomponent read it; flags still win over the file.

    New flags: --app-config <file> and --no-app-config, --customization <file> for UI customization, and --theme for likec4 start.

    In the Vite plugin, title, theme, useHashHistory and webcomponentPrefix are now top-level options; appConfig is deprecated.

  • #​3519 ac998d8 Thanks @​SwastikTripathi! - Accept .c4 files saved with a UTF-8 byte order mark (BOM). Such files, which some Windows editors write by default, failed to parse with unexpected character at offset 0.

  • cfa6975 Thanks @​davydkov! - Element details put the description first: technology, links and metadata move to a sidebar that can be resized or hidden (the layout is remembered), and element kind and tags move to the footer of the card. The card remembers its size after you resize it and stays inside the window when dragged; double-click its title or the resize handle to reset its size and position.

    The card header shows the element id; hover a part of it to highlight the path to that parent. When an element has a summary that differs from its description, the summary is collapsed above the description and expands on click.

    Metadata shows every value at once. Click a key or a value to find other elements with the same metadata. Search supports meta:key and meta:key=value queries.

    The style preset adds a fieldLabel text style for small all-caps field labels.

  • #​3458 6361dbc Thanks @​edeak-jsq! - Element details, relationship details, and the relationship browser stay available on compare views, including elements a diff adds or removes. The details card shows the diff status.

  • #​3496 615a6d1 Thanks @​davydkov! - TypeScript and JavaScript project configs (likec4.config.ts, .mts, .cts, .mjs, .cjs, .js) are no longer experimental. They are now loaded with jiti instead of esbuild: loading no longer writes temporary *.bundled_*.mjs files next to your config, the VSCode extension loads configs faster and is smaller, and esbuild is no longer installed with likec4, @likec4/lsp and @likec4/mcp. If you use @likec4/config or @likec4/language-server directly, install jiti instead of bundle-require and esbuild to load non-JSON configs.

    Fixed: changes to a project config (for example, title or styles) were not applied to the model until the project files were edited.

  • #​3490 dcf8fef Thanks @​SwastikTripathi! - The files listed in styles.customCss are now read and their CSS is applied to diagrams. Before, the option was validated but had no effect.

  • #​3522 f4f7055 Thanks @​davydkov! - Experimental UI slot customization: override or wrap registered shell components (LikeC4Diagram, ElementShape, logos, …) with CustomizationProvider and defineCustomComponents from @likec4/diagram/custom (also available via likec4/react).

  • #​3495 2f29031 Thanks @​davydkov! - diagrams() is deprecated, use layoutedModel() instead. Manual layouts are applied by the views of the layouted model: model.view(id).$layouted returns the view with manual layout applied, $view returns the latest auto layout.

    The likec4/fetchLayoutedModel LSP request now returns the same data as layoutedModel(): views are auto-layouted and manual layouts are in manualLayouts. Use LikeC4Model.create(model).view(id).$layouted to get a view with manual layout applied.

  • #​3503 be65d6c Thanks @​davydkov! - Comparing the manual layout with the latest auto layout is now a dedicated diagram mode. Closing the comparison, navigating to another view or printing always returns to the manual layout. This also fixes the VS Code preview, which kept showing the next view in auto layout after you navigated away while comparing. The comparison is no longer restored after a page reload.

    DiagramApi gets startCompare() and endCompare(), and toggleFeature() now accepts only 'ReadOnly'. Replace toggleFeature('CompareWithLatest') with these methods.

  • #​3479 5918048 Thanks @​parse! - Export the syntax tree types as ast (type-only) from likec4 and @likec4/language-server, so tools built on the language services can type the nodes they read, for example import type { ast } from 'likec4' and ast.Relation.

  • cfa6975 Thanks @​davydkov! - Escape closes the search opened on top of element details, instead of closing the details card. Arrow keys move the caret in the search input while an element is selected.

  • #​3492 fa426c4 Thanks @​davydkov! - Links to elements and views in Markdown ([[cloud.api]], [[view:index]]) show the element or view title (or your label) in PlantUML, Draw.io and Markdown exports and in MCP tool results, instead of the raw [[…]]. Broken links show their target. The LikeC4 DSL export keeps the links as written.

    In the model API, description, summary and notes resolve links to titles in .text and .html (.md stays as written), and LikeC4Model.resolveMarkdownRef and resolveMarkdownRefs from @likec4/core/utils resolve links for your own outputs.

  • #​3494 5d6ba6b Thanks @​davydkov! - Relationship labels are measured with the diagram font (IBM Plex Sans) during layout, so the space reserved for a label matches the rendered label exactly and labels no longer overlap or leave extra gaps. Long labels wrap by width into balanced lines instead of by character count.

    In the relationships browser and relationship details, labels are laid out together with elements: they no longer overlap each other, and every relationship goes through its label.

    Elements are measured the same way: an element keeps the width of its size and grows in height only when its title, technology and description do not fit. Technology is always shown on a single line.

    The style preset exports EdgeLabelMetrics, ElementNodeMetrics and DefaultFontFamily from @likec4/style-preset/defaults, the metrics used by both the label styles and the layouts.

  • #​3366 ca1ba7b Thanks @​edeak-jsq! - Model diffs, see discussion #​1192: new diff block, a named change set of the model (remove elements and relationships, add model elements, extend existing elements). The model stays as is: diffs are validated against it, and views can reference elements that a diff adds.

  • #​3366 c313fb0 Thanks @​edeak-jsq! - Model diffs: apply, discard and safe delete, see discussion #​1192:

    • Apply or discard a diff: the add blocks are merged into the element definitions of the model files. Code actions in the editor, likec4 diff list, and likec4 diff apply|discard [--dry-run].
    • Overlapping diffs (both change the same element or relationship, or one depends on the other) are reported on both diffs and never resolved automatically: applying an overlapping diff needs a confirmation (--accept-overlaps). Other diffs are never edited; the diffs an edit breaks are reported.
    • Safe delete: remove an element and everything that references it in one edit, with a dry run that reports relationships, deployed instances, affected views and orphans. Code action in the editor, likec4 safe-delete [--dry-run], and the MCP tools removal-impact and list-diffs.
  • #​3366 250bd2c Thanks @​edeak-jsq! - Model diffs in the UI, see discussion #​1192:

    • Compare views: the view before and after the diff in one diagram, with added, removed and modified elements and relationships marked. Switch between as-is, changes and to-be modes in the playground, likec4 start and static builds (likec4 build). Vite plugin users get them from the likec4:diffs virtual module.
    • Playground: review the changes of each file before they are applied, and roll back an applied change.
  • #​3467 65d60b8 Thanks @​SwastikTripathi! - Navigation thumbnails of dynamic views with variant sequence now show the sequence layout instead of a flow layout fitted into the wrong bounds.

  • #​3510 9df351e Thanks @​davydkov! - Single-project site URLs stay unchanged (no /project/ in the address bar).

    On multi-project sites, /view, /embed, and /export without /project/:id no longer open the first project (they are not found). The multi-project embed share link is /project/:id/embed/....

  • #​3504 3cce820 Thanks @​davydkov! - Smaller bundles: the unused brotli decoder (~490KB) is no longer bundled with the text measurement.

  • #​3440 7ad172a Thanks @​AndersHogqvist! - Update the container image to Debian 13. Fixes #​3426

  • #​3512 423b253 Thanks @​SwastikTripathi! - likec4 validate now checks the layout of every project in a multi-project workspace, instead of failing with "Specify exact project". Layout drifts point at the view's file inside its project folder.

  • #​3493 0da542e Thanks @​davydkov! - likec4 validate prints warnings and accepts --max-warnings <n> to fail when there are more than n warnings, so CI can fail on any warning with --max-warnings 0. Without the flag, warnings do not change the result or the exit code. JSON output adds warnings, maxWarnings, and totalWarnings/filteredWarnings stats; --file limits warnings the same way as errors.

    LikeC4 adds getWarnings(), which returns validation warnings in the same shape as getErrors().

  • #​3522 02471ff Thanks @​davydkov! - Virtual modules likec4:react, likec4:single-project and likec4:model export isLikeC4ViewId(value), a type guard that checks whether a value is a view id of the project.

  • #​3522 a2fef32 Thanks @​davydkov! - Virtual module likec4:react also exports IconRenderer, $likec4model and $likec4data. Project icons are loaded on demand, so each project's icons are in a separate chunk.

  • #​3522 2858b02 Thanks @​davydkov! - Experimental customization option in the LikeC4 Vite plugin: path to a file that default-exports defineCustomComponents(...) from likec4/react. Its UI overrides are applied to the LikeC4 application and to the components from likec4:react.

  • Updated dependencies [dcf8fef, 129495d, aaa53f4, 3928222, c5eaa85, fa426c4, fa426c4, 3a4bb8b, b7ebce3, ca1ba7b, c313fb0, 9e106b8, d1f5178]:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@djwmarcx
djwmarcx merged commit d3c62d9 into main Nov 22, 2026
3 checks passed
@renovate
renovate Bot deleted the renovate/likec4-1.x-lockfile branch November 22, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant