Skip to content

build(deps-dev): bump @codama/renderers-rust from 1.2.9 to 2.0.1#294

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/codama/renderers-rust-2.0.1
Open

build(deps-dev): bump @codama/renderers-rust from 1.2.9 to 2.0.1#294
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/codama/renderers-rust-2.0.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2026

Bumps @codama/renderers-rust from 1.2.9 to 2.0.1.

Release notes

Sourced from @​codama/renderers-rust's releases.

v2.0.1

Patch Changes

v2.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.
Changelog

Sourced from @​codama/renderers-rust's changelog.

2.0.1

Patch Changes

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.
Commits
  • a7b322a Publish package (#89)
  • 6477636 chore: resolve io_other_error and uninlined_format_args warnings for rust 1.8...
  • bcaed69 Publish package (#86)
  • 44dacca Refactor renderVisitor to use crateFolder as primary argument (#85)
  • f0fbbb0 Sync Cargo.toml when generating code (#70)
  • c1bd049 build(deps-dev): bump @​types/node from 25.0.0 to 25.0.1 (#80)
  • 1e59964 build(deps): bump the codama group with 5 updates (#79)
  • a2943d8 build(deps-dev): bump @​types/node from 24.10.2 to 25.0.0 (#78)
  • 72de78b build(deps-dev): bump @​types/node from 24.10.1 to 24.10.2 (#77)
  • f4c1281 build(deps-dev): bump vitest from 4.0.14 to 4.0.15 (#74)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@codama/renderers-rust](https://github.com/codama-idl/renderers-rust) from 1.2.9 to 2.0.1.
- [Release notes](https://github.com/codama-idl/renderers-rust/releases)
- [Changelog](https://github.com/codama-idl/renderers-rust/blob/main/CHANGELOG.md)
- [Commits](codama-idl/renderers-rust@v1.2.9...v2.0.1)

---
updated-dependencies:
- dependency-name: "@codama/renderers-rust"
  dependency-version: 2.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 26, 2026
@github-actions github-actions bot enabled auto-merge (squash) February 26, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants