Skip to content

10.0

Compare
Choose a tag to compare
@chwarr chwarr released this 07 Mar 21:02
· 36 commits to master since this release

10.0: 2022-03-07

  • IDL core version: 3.0
  • C++ version: 10.0
  • C# NuGet version: 10.0
  • gbc & compiler library: 0.12.1.0

C++

  • Breaking change: Bond-over-gRPC has been marked deprecated.
    Bond-over-gRPC will be removed in the next major version of Bond. See
    issue #1131, Bond-over-gRPC will be deprecated February
    2022
    , for the full
    announcement.
    • The [[deprecated]] attribute has been added to the bond::ext::grpc
      namespace in every top-level Bond-over-gRPC++ header. This will cause
      compiler warnings/errors for uses of Bond-over-gRPC++ that you may need
      to handle.
  • Fixed multiple symbol definition for Win32Exception in
    grpc/win_thread_pool.h. (Issue
    #1129
    )
  • Add forward declaration for GenericWriteVariableUnsigned to fix "C3861:
    'GenericWriteVariableUnsigned': identifier not found" when using custom
    streams that do not have their own implementation of
    WriteVariableUnsigned. (Issue
    #1115
    )
  • Fixed bond::DynamicParser that may not emit transform's OmittedField
    for compile-time schema and an omitted optional field in the payload.
    (Issue #1120)
  • Fixed missing include directives.
  • Removed bond::blob's unnecessary _content member, reducing its size
    by 1 pointer.
  • Added an ability to apply transform to a schema.
  • Added noexcept to bond::blob's non-throwing functions.

C#

  • Breaking change: Bond-over-gRPC code has been marked deprecated.
    Bond-over-gRPC will be removed in the next major version of Bond. See
    issue #1131, Bond-over-gRPC will be deprecated February
    2022
    , for the full
    announcement.
    • The [Obsolete] attribute has been added to every public type in the
      Bond.Grpc assembly. This will cause compiler warnings/errors for uses
      of Bond-over-gRPC# that you may need to handle.
  • Added virtual method OutputBuffer.ResizeBuffer that can be overridden to
    use buffer allocators other than new byte[] (e.g.
    ArrayPool<byte>.Rent()). (Pull request
    #1128
    )
  • The error message emitted when duplicate .bond items are detected by the
    MSBuild codegen now correctly refers to $(EnableDefaultItems) as the
    switch that controls this behavior. (Issue
    #1110
    )