You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added bond::make_box helper function to create bond::Box<T> instances.
When Unicode conversion fails during JSON deserialization to wstring, a
bond::CoreException is now thrown instead of a Boost exception.
When SimpleJSON deserializes a map key with no matching value, a
bond::CoreException is now thrown.
When SimpleJSON deserializes a map key of non-primitive type, a
bond::CoreException is now thrown.
Errors from some versions of G++ like "non-template type Deserialize
used as a template" have been fixed. Issue #538
Guard against overflows in OutputMemoryStream, blob, and SimpleArray.
Use RapidJSON's iterative parser to handle deeply nested JSON data without
causing a stack overflow.
Guard against min/max being function-style macros in more places.
Allow Bond-generated C++ types to use non-default-constructable
allocators. (This works even on MSVC 2013 by only compiling the
generated-type's default constructor if it is used. The default
constructor is now a templated constructor that is invokable with zero
arguments.)
Fixed some macro uses that did not have sufficient parenthesis around
parameters and resulted in compiler errors.
Added the bond::ext::gRPC::shared_unary_call type. This type can be used
when shared ownership semantics are needed for unary_call instances.
Provide compile-time access to metadata about gRPC services and methods.
Using bond::ext::gRPC::wait_callback no longer causes a shared_ptr cycle
and the resulting resource leak.
Ensure that bond_grpc.h and bond_const_grpc.h are generated when the
CMake variable BOND_ENABLE_GRPC is set to that importing bond.bond and bond_const.bond when defining a service works.
Added bond::capped_allocator adapter that will allow to limit the max
number of bytes to allocate during deserialization.
Breaking change The code generation MSBuild targets now automatically
compile the generated _grpc.cs files if --grpc is passed to gbc.
Explicit <Compile Include="$(IntermediateOutputPath)foo_grpc.cs" />
lines in MSBuild projects will need to be removed to fix error MSB3105
about duplicate items. See commit a120cd99
for an example of how to fix this. Issue #448
Breaking change The low-level API IParser.ContainerHandler now has an arraySegment parameter for the converted blob.
The code generation MSBuild targets will now skip compiling the _types.cs files when --structs=false is passed to gbc.
Added Bond.Box.Create helper method to create Bond.Box<T> instances.
Reflection.IsBonded now recognizes custom IBonded implementations.
Use Newtonsoft's JSON.NET BigInteger support -- when available -- to
handle the full range of uint64 values in the SimpleJson protocol (.NET
4.5 or greater, .NET Standard 1.6 or greater).
Fix a bug in CompactBinaryWriter when using v2 that repeated first pass
when a bonded field was serailized, resulting in extra work and extra
state left in the CompactBinaryWriter.
Apply IDL annotations to services and methods for gRPC. Issue #617
Fixed a bug that produced C# code that couldn't be compiled when using
Bond-over-gRPC with a generic type instantiated with a collection. Issue #623
When targeting .NET 4.5, avoid resolving external entities when using SimpleXmlReader.
Remove redundant conversions during serialization of aliased blobs.
C# Comm
Apply IDL annotations to services and methods for Comm.