Skip to content

Publish package#86

Merged
lorisleiva merged 1 commit intomainfrom
changeset-release/main
Feb 17, 2026
Merged

Publish package#86
lorisleiva merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Feb 17, 2026

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

@codama/renderers-rust@2.0.0

Major Changes

  • #85 44dacca Thanks @lorisleiva! - Refactor renderVisitor to use crateFolder as its primary argument instead of the generated output path. The generated folder is now derived internally using a new generatedFolder option (defaults to 'src/generated'). Remove the crateFolder option as it is no longer needed.

    BREAKING CHANGES

    First argument of renderVisitor changed from output path to crate folder. The function now takes the crate folder (where Cargo.toml lives) and derives the generated output path internally.

    - const visitor = renderVisitor('clients/rust/src/generated', {
    -     crateFolder: 'clients/rust',
    - });
    + const visitor = renderVisitor('clients/rust');

    crateFolder option removed. It is replaced by the first argument of renderVisitor.

    New generatedFolder option. Defaults to 'src/generated' and can be customized to change the output path relative to the crate folder.

    - const visitor = renderVisitor('clients/rust/my/custom/path', {
    -     crateFolder: 'clients/rust',
    - });
    + const visitor = renderVisitor('clients/rust', {
    +     generatedFolder: 'my/custom/path',
    + });

Patch Changes

  • #70 f0fbbb0 Thanks @lorisleiva! - Add syncCargoToml and dependencyVersions options in order to create or update the Cargo.toml of the Rust crate when generating its code.

@github-actions github-actions bot force-pushed the changeset-release/main branch from 6c4b0a3 to 4190131 Compare February 17, 2026 12:22
@lorisleiva lorisleiva merged commit bcaed69 into main Feb 17, 2026
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