Skip to content

v0.16.1

Latest

Choose a tag to compare

@tyler-zeromatter tyler-zeromatter released this 20 Aug 21:22
· 1 commit to main since this release
125df44

Diplomat 0.16.1

Zulip Chat

Per discussion in #1235, we now have a dedicated Zulip chat for contributors, maintainers, and anyone curious about Diplomat: https://diplomat.zulipchat.com. Anyone interested in Diplomat is welcome, and no account is needed to browse the channels1.

Diplomat Runtime Semi-Stabilization

The Diplomat runtime is moving towards stabilization, so we're implementing a few changes in how we release the diplomat-runtime crate while we move towards diplomat-runtime 1.0.0.

Our goal is to reduce churn for users using multiple diplomat crates in one build. Because diplomat-runtime exposes no_mangle functions, you can only have one copy at a time linked in to a binary. Once we have diplomat-runtime 1.0.0 we will not have these issues at all, but until then, we are going to limit the number of new 0.x.0 releases of diplomat-runtime we make.

Previously, diplomat 0.x.0 would always be accompanied by diplomat-runtime 0.x.0 to make it easy to match dependencies, since there is no formal dependency between diplomat and diplomat-runtime. Now, when using diplomat 0.x.0, please use the latest 0.y.z version of diplomat-runtime where y ≤ x. Once we release diplomat-runtime 1.0.0, this will be simpler, just use 1.0.

Breaking API changes

Diplomat Tool

  • For backends based on the C backend, generating_struct_fields has been renamed to generate_definition_includes, since this is now used for structs and traits (e75e064)

Other New Features

Dart

  • Added Error and Exception to classes/enums which are used as errors and exceptions (#1220) (Contributed by mosuem and Robert Bastian)
  • Pinned Dart SDK to 3.12.2 (#1254)

.NET

C++

  • Added traits support (this is a preview feature, not recommended for use in production) (#1234)

Bug Fixes

Javascript

  • Added validation to arguments to assure type correctness (#902) (Contributed by Robert Bastian)

.NET

The Book

  • Exposed tuples entry (#1233)
  • Improved diplomat-runtime docs (#1242)

Misc

  1. You will have to make an account to chat, however.