Skip to content

Bump diplomat-runtime from 0.15.1 to 0.16.0 - #57

Merged
NellowTCS merged 1 commit into
mainfrom
dependabot/cargo/diplomat-runtime-0.16.0
Aug 18, 2026
Merged

Bump diplomat-runtime from 0.15.1 to 0.16.0#57
NellowTCS merged 1 commit into
mainfrom
dependabot/cargo/diplomat-runtime-0.16.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 15, 2026

Copy link
Copy Markdown
Contributor

Bumps diplomat-runtime from 0.15.1 to 0.16.0.

Release notes

Sourced from diplomat-runtime's releases.

v0.16.0

Diplomat 0.16.0

syn v3

We've upgraded to syn v3 to stay up to date with newer minor releases of syn (rust-diplomat/diplomat#1228)

.NET backend

Diplomat used to have a .NET backend with the old AST representation. This was removed since we transitioned to the HIR representation, and existing users have been on an old fork of the AST-based backend. Thankfully, first-time contributor irvingoujAtDevolution has been hard at work implementing the new HIR-based .NET backend:

rust-diplomat/diplomat#1164 (co-authored with Claude Code), rust-diplomat/diplomat#1180, rust-diplomat/diplomat#1186, rust-diplomat/diplomat#1191, rust-diplomat/diplomat#1189, rust-diplomat/diplomat#1194, rust-diplomat/diplomat#1195, rust-diplomat/diplomat#1193 (co-authored with Claude Sonnet 4.6), rust-diplomat/diplomat#1201, rust-diplomat/diplomat#1216, rust-diplomat/diplomat#1214, rust-diplomat/diplomat#1213, rust-diplomat/diplomat#1215, rust-diplomat/diplomat#1226, rust-diplomat/diplomat#1225, rust-diplomat/diplomat#1230, rust-diplomat/diplomat#1231

File/Line information in AST Errors

Diplomat Core's MSRV is now 1.88, which enables support for procedural macro locations, which are used in new AST error reports. These new reports highlight line/file information instead of panicking with minimal context. There's a pretty printer that uses annotate-snippets (enabled by default in the tool, enabled elsewhere with the feature flag "pretty-print"), and an ugly printer (uses no extra dependencies, enabled by default in the macro).

This was accomplished in two steps: first, we added proc_macro2::Span information to AST. Subsequently, we made five PRs to replace existing panic!, .expect, and assert! calls in the AST parser with these more detailed reports:

rust-diplomat/diplomat#1172, rust-diplomat/diplomat#1177, rust-diplomat/diplomat#1183, rust-diplomat/diplomat#1206, rust-diplomat/diplomat#1208

Other New Features

Diplomat Core

Diplomat Runtime

C++

Nanobind

Dart

Bugfixes

Diplomat Macro

Diplomat Tool

... (truncated)

Commits
  • dbdd554 Bump Diplomat to 0.16.0 (#1232)
  • 6a0526b Upgrade to syn v3 (#1228)
  • aeea47a dotnet: ban problematic borrowed-span return paths (#1231)
  • 7899245 dotnet: render HIR accessors as C# properties (#1230)
  • 9c63ec3 dotnet: support both UTF-8 and UTF-16 strings, zero-copy (#1225)
  • b0b4466 dotnet: fixed-width bool tag so Result/Option marshal on .NET Framework (#1226)
  • aed887f Nanobind: Keep Lifetime Annotations for Read-Only Properties (#1227)
  • 09273b4 dotnet: owned Box<[u8]> return via zero-copy RustVec (#1215)
  • a6ce7f5 Update rust version to 1.88 (#1219)
  • b06dbbc dotnet: rename generated DiplomatWriteable to DiplomatWrite (#1213)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 15, 2026
Bumps [diplomat-runtime](https://github.com/rust-diplomat/diplomat) from 0.15.1 to 0.16.0.
- [Release notes](https://github.com/rust-diplomat/diplomat/releases)
- [Commits](https://github.com/rust-diplomat/diplomat/compare/diplomat-runtime@0.15.1...v0.16.0)

---
updated-dependencies:
- dependency-name: diplomat-runtime
  dependency-version: 0.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/diplomat-runtime-0.16.0 branch from ea409d7 to 204fa64 Compare August 18, 2026 03:23
@NellowTCS
NellowTCS merged commit 27aaf8d into main Aug 18, 2026
4 of 8 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/diplomat-runtime-0.16.0 branch August 18, 2026 03:23
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant