Version 2.0.0 - #116
Merged
Merged
Version 2.0.0#116
Conversation
dcruzb
force-pushed
the
release/v2.0.0
branch
from
September 16, 2026 11:56
15bf48b to
ad9973d
Compare
RoleSwitch is exported from the package root but had no CHANGELOG entry, so it would have shipped in 2.0.0 without appearing in the release notes.
2.0.0 was going to publish under v2-latest so nobody upgraded into the rewrite by accident. It now becomes latest instead: a plain npm i @cincoders/cinnamon installs v2. Projects that already depend on ^1.x are unaffected, since that range never resolves to 2.x. The v1 branch carries the matching change so its next fix publishes under v1-latest rather than taking latest back.
dcruzb
force-pushed
the
release/v2.0.0
branch
from
September 16, 2026 11:59
ad9973d to
c574bf7
Compare
dcruzb
marked this pull request as ready for review
September 16, 2026 12:15
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Prepares the first v2 release. Draft until the jsPDF fix lands — do not tag before that.
Remaining steps
v2.v2, then add theVersion 2.0.0commit:CHANGELOG.mdheader## [2.0.0] — in progressbecomes the release date.package.jsonandpackage-lock.jsonare already at2.0.0.version/v2.0.0.npm-publishenvironment for approval.LATEST_MAJORis2, so this publishes under thelatestdist-tag:npm i @cincoders/cinnamoninstalls v2 from then on. Projects already depending on^1.xare unaffected, since that range never resolves to 2.x.Before tagging,
developmust reachmain. v1'sdeploy.ymlcarries the matchingLATEST_MAJOR: '2'(244d5f6), so its next fix publishes underv1-latestinstead of takinglatestback. Until that is onmain, a 1.x tag would movelatestback to v1.Already in this branch
LATEST_MAJORset to2.RoleSwitchis exported from the package root but had no CHANGELOG entry, so it would have been missing from the release notes.Verified against current
v2build:libsucceeds and every path inexportsexists indist(.,./server,./icons,./cinnamon.css).npm pack: 146 files, 164 KB, nothing outsidedist/.skipLibCheck: truecompiles.CHANGELOG.mdcome to about 20k characters, including the full migration guide, well under GitHub's 125k limit.Worth knowing before tagging
The four new table dependencies never reach the published code.
jspdf,jspdf-autotable,html-to-imageand@tanstack/react-tableare used only by stories —disthas no reference to any of them, andTable/tableExportare not exported. They are independencies, though, so every consumer installs them, jsPDF's critical advisories included. WhileTablestays unexported, moving them todevDependenciesclears the consumer audit without needing jsPDF's major upgrade.Texttypes break under React 19 withskipLibCheck: false.Text.d.tsuses the globalJSXnamespace, which@types/react19 removed; v2 builds against 18.3. Consumers on the defaultskipLibCheck: trueare unaffected.React.JSX.IntrinsicElementsplus an explicit return type would fix it.dist/auth/hasAccess.test.d.tsships in the tarball. Harmless, but it is test output.