Skip to content

Update @uigraph/sdk to 1.2.19 - #8

Merged
TheoBen880 merged 1 commit into
mainfrom
chore/update-uigraph-sdk-1.2.19
Oct 18, 2026
Merged

TheoBen880 merged 1 commit into
mainfrom
chore/update-uigraph-sdk-1.2.19

Conversation

@TheoBen880

Copy link
Copy Markdown
Collaborator

This PR updates @uigraph/sdk from 1.2.17 to 1.2.19 to get the latest converter fixes.

Before and after

Before: Saving a diagram changed node ids such as http_api or worker2 to A, B, C. Context fields that came from Mermaid had no stable id.

After: Node ids that start with a letter and contain only letters, digits and underscores stay the same (SDK 1.2.18). Each context field from Mermaid uses its key as its id (SDK 1.2.19).

Risk

Only the diagram conversion code from the SDK changes. Diagrams that use ids with underscores or digits will now keep those ids when you save them, so the saved .mmd files and context keys can look different than before. Reverting this PR fully undoes it.

Evidence

nr typecheck passes with SDK 1.2.19 installed. I did not run the app or the tests, and I did not save a diagram to check the new ids.

What changed

Improvements:

  • Update @uigraph/sdk to ^1.2.19 in package.json and the lockfile.

Checklist

  • Install @uigraph/sdk 1.2.19
  • Typecheck passes
  • Save a diagram with ids such as http_api and make sure that the ids do not change

@TheoBen880
TheoBen880 merged commit e434e22 into main Oct 18, 2026
2 checks passed
@TheoBen880
TheoBen880 deleted the chore/update-uigraph-sdk-1.2.19 branch October 21, 2026 02:48
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