Skip to content

chore: release - #63

Merged
amritk merged 1 commit into
mainfrom
changeset-release/main
Nov 13, 2026
Merged

amritk merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

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 the packages will be published to npm 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

@scalar/kotlin-fmt@0.5.0

Minor Changes

  • 39bf384: Replace the TeaVM-compiled ktfmt 0.64 with ktrs 0.5.3, a Rust reimplementation of ktfmt, compiled to wasm. Output is held to ktfmt 0.65 by a conformance test that runs the real ktfmt jar. That test asserts byte-identical output and matching diagnostics; over okhttp and kotlinx.coroutines (1,699 files) in every style, every file matched.

    The artifact goes from 0.82 MB to 0.20 MB and imports nothing, so formatSync now works under Node without init(), and the Node floor drops from 24.15.0 to 18.

    Breaking changes:

    • The ./runtime export (TeaVM's generated runtime) is gone. There is no runtime file any more.
    • The BootModule, FormatFunction and ModuleLoader types are removed. ArtifactSource, KotlinFormatter and KotlinFormatterBoot take their place.
    • ktfmtVersion is now '0.65', and ktrsVersion is new.
    • Parse errors read as ktfmt's CLI prints them, without the file name (1:7: error: Expecting ')'), instead of carrying a Java class name prefix (...ParseError: 1:7: ...).
    • An unknown style or trailingCommas, or a negative or fractional width or indent, now throws instead of silently falling back to a default.

@scalar/java-fmt@0.4.3

Patch Changes

  • 39bf384: Complete the third-party notices: list commonmark-java 0.28.0 (BSD-2-Clause), which google-java-format bundles and which is compiled into the artifact, with its license text. Also ship TeaVM's NOTICE file, as Apache-2.0 asks. No change to the artifact or its output.

@github-actions
github-actions Bot requested a review from amritk as a code owner November 13, 2026 20:37
@amritk
amritk merged commit 180aadc into main Nov 13, 2026
@amritk
amritk deleted the changeset-release/main branch November 13, 2026 20:52
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