diff --git a/CHANGELOG.md b/CHANGELOG.md index 81b2cb2594..c961a6ba76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,17 +11,19 @@ tag versions. The Bond compiler (`gbc`) and different versioning scheme, following the Haskell community's [package versioning policy](https://wiki.haskell.org/Package_versioning_policy). -## Unreleased ## -* `gbc` & compiler library: TBD -* IDL core version: TBD -* IDL comm version: TBD -* C++ version: TBD (major bump needed) -* C# NuGet version: (major bump needed) -* C# Comm NuGet version: (minor bump needed, dependencies updated) +## 6.0.0: 2017-06-29 ## +* `gbc` & compiler library: 0.10.0.0 +* IDL core version: 2.0 +* IDL comm version: 1.2 +* C++ version: TBD 6.0.0 +* C# NuGet version: 6.0.0 +* C# Comm NuGet version: 0.12.0 ### `gbc` and Bond compiler library ### * IDL support for service inheritance syntax + * **Breaking change** In the Bond Haskell library, the `Service` type + has a new field `serviceBase`. * C++ codegen now generates [extern templates](http://en.cppreference.com/w/cpp/language/function_template) of `bond::Apply` instead of overloads. @@ -62,11 +64,11 @@ different versioning scheme, following the Haskell community's * Initial support for sending [Bond objects over gRPC](https://microsoft.github.io/bond/manual/bond_over_grpc.html) has been added. -* The `bond::Apply` function now has a uniform signature. Call sites for -the `Marshaler` transform overload that were _mistakenly_ passing -`Writer` explicitly (e.g. `bond::Apply(marshaler, value)`) will now -get a compiler error. To fix, remove the `` part: -`bond::Apply(marshaler, value)`. +* The `bond::Apply` function now has a uniform signature. Call sites for the + `Marshaler` transform overload that were _mistakenly_ passing + `Writer` explicitly (e.g. `bond::Apply(marshaler, value)`) will + now get a compiler error. To fix, remove the `` part: + `bond::Apply(marshaler, value)`. * Fixed a bug that caused serialization using `CompactBinaryWriter` (to get the expected length of serializing with compact binary) to produced bogus results. @@ -104,7 +106,8 @@ get a compiler error. To fix, remove the `` part: changed. * Fixed a bug where JSON and XML protocols would permit the serialization of non-nullable string fields that were set to null instead of throwing a - NullReferenceException. [Issue #417](https://github.com/Microsoft/bond/issues/417) + NullReferenceException. + [Issue #417](https://github.com/Microsoft/bond/issues/417) ## 5.3.1: 2017-04-25 ## diff --git a/compiler/bond.cabal b/compiler/bond.cabal index a4ed565979..357c209430 100644 --- a/compiler/bond.cabal +++ b/compiler/bond.cabal @@ -2,7 +2,7 @@ -- Licensed under the MIT license. See LICENSE file in the project root for full license information. name: bond -version: 0.9.0.0 +version: 0.10.0.0 cabal-version: >= 1.8 tested-with: GHC>=7.4.1 synopsis: Bond schema compiler and code generator diff --git a/compiler/tests/generated/alias_key_types.h b/compiler/tests/generated/alias_key_types.h index c5013387f1..17c2f979d6 100644 --- a/compiler/tests/generated/alias_key_types.h +++ b/compiler/tests/generated/alias_key_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/alias_with_allocator_types.h b/compiler/tests/generated/alias_with_allocator_types.h index 517e7cd95b..8f630bcb91 100644 --- a/compiler/tests/generated/alias_with_allocator_types.h +++ b/compiler/tests/generated/alias_with_allocator_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/aliases_types.cs b/compiler/tests/generated/aliases_types.cs index 592b31919b..c5fb3752be 100644 --- a/compiler/tests/generated/aliases_types.cs +++ b/compiler/tests/generated/aliases_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { [global::Bond.Id(0), global::Bond.Type(typeof(List>))] @@ -34,14 +34,14 @@ protected Foo(string fullName, string name) } } - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public enum EnumToWrap { anEnumValue, } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class WrappingAnEnum { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/aliases_types.h b/compiler/tests/generated/aliases_types.h index 2df3470648..37c4008d6d 100644 --- a/compiler/tests/generated/aliases_types.h +++ b/compiler/tests/generated/aliases_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/alias_key_types.h b/compiler/tests/generated/allocator/alias_key_types.h index 076239ada7..9366562cce 100644 --- a/compiler/tests/generated/allocator/alias_key_types.h +++ b/compiler/tests/generated/allocator/alias_key_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/aliases_types.h b/compiler/tests/generated/allocator/aliases_types.h index 57d1c6e80f..acabe9fce6 100644 --- a/compiler/tests/generated/allocator/aliases_types.h +++ b/compiler/tests/generated/allocator/aliases_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/attributes_types.h b/compiler/tests/generated/allocator/attributes_types.h index 239a8b123a..f707705fd1 100644 --- a/compiler/tests/generated/allocator/attributes_types.h +++ b/compiler/tests/generated/allocator/attributes_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/basic_types_types.h b/compiler/tests/generated/allocator/basic_types_types.h index 9e9a4e8398..0f972f27e4 100644 --- a/compiler/tests/generated/allocator/basic_types_types.h +++ b/compiler/tests/generated/allocator/basic_types_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/bond_meta_types.h b/compiler/tests/generated/allocator/bond_meta_types.h index f37df7b7c1..2801290a73 100644 --- a/compiler/tests/generated/allocator/bond_meta_types.h +++ b/compiler/tests/generated/allocator/bond_meta_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/complex_types_types.h b/compiler/tests/generated/allocator/complex_types_types.h index 06c3ea7d83..83e99c4592 100644 --- a/compiler/tests/generated/allocator/complex_types_types.h +++ b/compiler/tests/generated/allocator/complex_types_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/defaults_types.h b/compiler/tests/generated/allocator/defaults_types.h index 3318c51fa9..97347465af 100644 --- a/compiler/tests/generated/allocator/defaults_types.h +++ b/compiler/tests/generated/allocator/defaults_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/empty_types.h b/compiler/tests/generated/allocator/empty_types.h index b915b9865b..2569abc975 100644 --- a/compiler/tests/generated/allocator/empty_types.h +++ b/compiler/tests/generated/allocator/empty_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/field_modifiers_types.h b/compiler/tests/generated/allocator/field_modifiers_types.h index 9a96bd7516..f0219a6975 100644 --- a/compiler/tests/generated/allocator/field_modifiers_types.h +++ b/compiler/tests/generated/allocator/field_modifiers_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/generics_types.h b/compiler/tests/generated/allocator/generics_types.h index c584adb5c0..6c1dc04363 100644 --- a/compiler/tests/generated/allocator/generics_types.h +++ b/compiler/tests/generated/allocator/generics_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/inheritance_types.h b/compiler/tests/generated/allocator/inheritance_types.h index b652a1d6b0..b84bcff958 100644 --- a/compiler/tests/generated/allocator/inheritance_types.h +++ b/compiler/tests/generated/allocator/inheritance_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/maybe_blob_types.h b/compiler/tests/generated/allocator/maybe_blob_types.h index 134927e37e..079c55ab18 100644 --- a/compiler/tests/generated/allocator/maybe_blob_types.h +++ b/compiler/tests/generated/allocator/maybe_blob_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/allocator/with_enum_header_types.h b/compiler/tests/generated/allocator/with_enum_header_types.h index a23c81b114..540d4f7a92 100644 --- a/compiler/tests/generated/allocator/with_enum_header_types.h +++ b/compiler/tests/generated/allocator/with_enum_header_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/attributes_types.cs b/compiler/tests/generated/attributes_types.cs index 1398ebdd6e..c8e3933838 100644 --- a/compiler/tests/generated/attributes_types.cs +++ b/compiler/tests/generated/attributes_types.cs @@ -19,7 +19,7 @@ namespace tests [global::Bond.Attribute("EnumAttribute1", "one")] [global::Bond.Attribute("EnumAttribute2", "two")] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public enum Enum { Value1, @@ -28,7 +28,7 @@ public enum Enum [global::Bond.Attribute("StructAttribute1", "one")] [global::Bond.Attribute("StructAttribute2", "two")] [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { [global::Bond.Attribute("FieldAttribute1", "one")] diff --git a/compiler/tests/generated/attributes_types.h b/compiler/tests/generated/attributes_types.h index 5b3b8bec01..bd4ca0b0d9 100644 --- a/compiler/tests/generated/attributes_types.h +++ b/compiler/tests/generated/attributes_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/basic_types_types.cs b/compiler/tests/generated/basic_types_types.cs index e997b73f6c..3c6134f044 100644 --- a/compiler/tests/generated/basic_types_types.cs +++ b/compiler/tests/generated/basic_types_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class BasicTypes { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/basic_types_types.h b/compiler/tests/generated/basic_types_types.h index 3ee9c85bf1..e7e9157ccb 100644 --- a/compiler/tests/generated/basic_types_types.h +++ b/compiler/tests/generated/basic_types_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/bond_meta_types.cs b/compiler/tests/generated/bond_meta_types.cs index 2b9f988cf4..f11bb48058 100644 --- a/compiler/tests/generated/bond_meta_types.cs +++ b/compiler/tests/generated/bond_meta_types.cs @@ -18,7 +18,7 @@ namespace deprecated.bondmeta using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class HasMetaFields { [global::Bond.Id(0), global::Bond.RequiredOptional] diff --git a/compiler/tests/generated/bond_meta_types.h b/compiler/tests/generated/bond_meta_types.h index 2a5ddf5221..428ddbb262 100644 --- a/compiler/tests/generated/bond_meta_types.h +++ b/compiler/tests/generated/bond_meta_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/collection-interfaces/aliases_types.cs b/compiler/tests/generated/collection-interfaces/aliases_types.cs index d39b957659..d12127e09b 100644 --- a/compiler/tests/generated/collection-interfaces/aliases_types.cs +++ b/compiler/tests/generated/collection-interfaces/aliases_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { [global::Bond.Id(0), global::Bond.Type(typeof(List>))] @@ -34,14 +34,14 @@ protected Foo(string fullName, string name) } } - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public enum EnumToWrap { anEnumValue, } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class WrappingAnEnum { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/collection-interfaces/attributes_types.cs b/compiler/tests/generated/collection-interfaces/attributes_types.cs index 1398ebdd6e..c8e3933838 100644 --- a/compiler/tests/generated/collection-interfaces/attributes_types.cs +++ b/compiler/tests/generated/collection-interfaces/attributes_types.cs @@ -19,7 +19,7 @@ namespace tests [global::Bond.Attribute("EnumAttribute1", "one")] [global::Bond.Attribute("EnumAttribute2", "two")] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public enum Enum { Value1, @@ -28,7 +28,7 @@ public enum Enum [global::Bond.Attribute("StructAttribute1", "one")] [global::Bond.Attribute("StructAttribute2", "two")] [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { [global::Bond.Attribute("FieldAttribute1", "one")] diff --git a/compiler/tests/generated/collection-interfaces/basic_types_types.cs b/compiler/tests/generated/collection-interfaces/basic_types_types.cs index e997b73f6c..3c6134f044 100644 --- a/compiler/tests/generated/collection-interfaces/basic_types_types.cs +++ b/compiler/tests/generated/collection-interfaces/basic_types_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class BasicTypes { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/collection-interfaces/bond_meta_types.cs b/compiler/tests/generated/collection-interfaces/bond_meta_types.cs index 2b9f988cf4..f11bb48058 100644 --- a/compiler/tests/generated/collection-interfaces/bond_meta_types.cs +++ b/compiler/tests/generated/collection-interfaces/bond_meta_types.cs @@ -18,7 +18,7 @@ namespace deprecated.bondmeta using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class HasMetaFields { [global::Bond.Id(0), global::Bond.RequiredOptional] diff --git a/compiler/tests/generated/collection-interfaces/complex_types_types.cs b/compiler/tests/generated/collection-interfaces/complex_types_types.cs index f0b992a931..11e3c3a791 100644 --- a/compiler/tests/generated/collection-interfaces/complex_types_types.cs +++ b/compiler/tests/generated/collection-interfaces/complex_types_types.cs @@ -18,14 +18,14 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class ComplexTypes { [global::Bond.Id(0), global::Bond.Type(typeof(LinkedList))] diff --git a/compiler/tests/generated/collection-interfaces/defaults_types.cs b/compiler/tests/generated/collection-interfaces/defaults_types.cs index cfc0ffb4a5..95be374384 100644 --- a/compiler/tests/generated/collection-interfaces/defaults_types.cs +++ b/compiler/tests/generated/collection-interfaces/defaults_types.cs @@ -17,7 +17,7 @@ namespace tests { using System.Collections.Generic; - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public enum EnumType1 { EnumValue1 = unchecked((int)5), @@ -34,7 +34,7 @@ public enum EnumType1 } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/collection-interfaces/field_modifiers_types.cs b/compiler/tests/generated/collection-interfaces/field_modifiers_types.cs index 553595c5f7..092cf865ee 100644 --- a/compiler/tests/generated/collection-interfaces/field_modifiers_types.cs +++ b/compiler/tests/generated/collection-interfaces/field_modifiers_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/collection-interfaces/generics_types.cs b/compiler/tests/generated/collection-interfaces/generics_types.cs index 6f81eb05d0..515b320a7e 100644 --- a/compiler/tests/generated/collection-interfaces/generics_types.cs +++ b/compiler/tests/generated/collection-interfaces/generics_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo where T2 : struct { diff --git a/compiler/tests/generated/collection-interfaces/inheritance_types.cs b/compiler/tests/generated/collection-interfaces/inheritance_types.cs index 38de98b726..8d413680b0 100644 --- a/compiler/tests/generated/collection-interfaces/inheritance_types.cs +++ b/compiler/tests/generated/collection-interfaces/inheritance_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Base { [global::Bond.Id(0)] @@ -35,7 +35,7 @@ protected Base(string fullName, string name) } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo : Base { diff --git a/compiler/tests/generated/collection-interfaces/nullable_alias_types.cs b/compiler/tests/generated/collection-interfaces/nullable_alias_types.cs index 22c5a1a94b..c558079cb9 100644 --- a/compiler/tests/generated/collection-interfaces/nullable_alias_types.cs +++ b/compiler/tests/generated/collection-interfaces/nullable_alias_types.cs @@ -18,7 +18,7 @@ namespace test using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class foo { [global::Bond.Id(1), global::Bond.Type(typeof(global::Bond.Tag.nullable))] diff --git a/compiler/tests/generated/complex_types_types.cs b/compiler/tests/generated/complex_types_types.cs index 93ef068d83..17f0aa0e21 100644 --- a/compiler/tests/generated/complex_types_types.cs +++ b/compiler/tests/generated/complex_types_types.cs @@ -18,14 +18,14 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class ComplexTypes { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/complex_types_types.h b/compiler/tests/generated/complex_types_types.h index 5218ed1ffd..bc8f045f72 100644 --- a/compiler/tests/generated/complex_types_types.h +++ b/compiler/tests/generated/complex_types_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/custom_alias_with_allocator_types.h b/compiler/tests/generated/custom_alias_with_allocator_types.h index 22eed7e44b..208bace460 100644 --- a/compiler/tests/generated/custom_alias_with_allocator_types.h +++ b/compiler/tests/generated/custom_alias_with_allocator_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/custom_alias_without_allocator_types.h b/compiler/tests/generated/custom_alias_without_allocator_types.h index d0de84b1c0..214a0fefe7 100644 --- a/compiler/tests/generated/custom_alias_without_allocator_types.h +++ b/compiler/tests/generated/custom_alias_without_allocator_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/defaults_types.cs b/compiler/tests/generated/defaults_types.cs index cfc0ffb4a5..95be374384 100644 --- a/compiler/tests/generated/defaults_types.cs +++ b/compiler/tests/generated/defaults_types.cs @@ -17,7 +17,7 @@ namespace tests { using System.Collections.Generic; - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public enum EnumType1 { EnumValue1 = unchecked((int)5), @@ -34,7 +34,7 @@ public enum EnumType1 } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/defaults_types.h b/compiler/tests/generated/defaults_types.h index e6a4073793..e2fbf96209 100644 --- a/compiler/tests/generated/defaults_types.h +++ b/compiler/tests/generated/defaults_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/empty_types.h b/compiler/tests/generated/empty_types.h index 9332ee170e..3fc9cf778c 100644 --- a/compiler/tests/generated/empty_types.h +++ b/compiler/tests/generated/empty_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/field_modifiers_types.cs b/compiler/tests/generated/field_modifiers_types.cs index 553595c5f7..092cf865ee 100644 --- a/compiler/tests/generated/field_modifiers_types.cs +++ b/compiler/tests/generated/field_modifiers_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/field_modifiers_types.h b/compiler/tests/generated/field_modifiers_types.h index 1730011652..cdb6723f4c 100644 --- a/compiler/tests/generated/field_modifiers_types.h +++ b/compiler/tests/generated/field_modifiers_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/generic_service_grpc.cs b/compiler/tests/generated/generic_service_grpc.cs index bcce7e1125..10b4a29274 100644 --- a/compiler/tests/generated/generic_service_grpc.cs +++ b/compiler/tests/generated/generic_service_grpc.cs @@ -16,7 +16,7 @@ namespace tests { - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public static class Foo where Payload : class { static readonly string ServiceName = "tests.Foo"; diff --git a/compiler/tests/generated/generic_service_interfaces.cs b/compiler/tests/generated/generic_service_interfaces.cs index c508fc40c8..fd6314eec0 100644 --- a/compiler/tests/generated/generic_service_interfaces.cs +++ b/compiler/tests/generated/generic_service_interfaces.cs @@ -15,7 +15,7 @@ namespace tests { - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public interface IFoo { global::System.Threading.Tasks.Task> foo31Async(global::Bond.Comm.IMessage param, global::System.Threading.CancellationToken ct); diff --git a/compiler/tests/generated/generic_service_proxies.cs b/compiler/tests/generated/generic_service_proxies.cs index 5f22c4548d..d439bd06b7 100644 --- a/compiler/tests/generated/generic_service_proxies.cs +++ b/compiler/tests/generated/generic_service_proxies.cs @@ -15,7 +15,7 @@ namespace tests { - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public class FooProxy : IFoo where TConnection : global::Bond.Comm.IRequestResponseConnection { private readonly TConnection m_connection; diff --git a/compiler/tests/generated/generic_service_services.cs b/compiler/tests/generated/generic_service_services.cs index ce2bed5f69..b6725c0866 100644 --- a/compiler/tests/generated/generic_service_services.cs +++ b/compiler/tests/generated/generic_service_services.cs @@ -15,7 +15,7 @@ namespace tests { - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public abstract class FooServiceBase : IFoo, global::Bond.Comm.IService { public global::System.Collections.Generic.IEnumerable Methods diff --git a/compiler/tests/generated/generics_types.cs b/compiler/tests/generated/generics_types.cs index 6f81eb05d0..515b320a7e 100644 --- a/compiler/tests/generated/generics_types.cs +++ b/compiler/tests/generated/generics_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo where T2 : struct { diff --git a/compiler/tests/generated/generics_types.h b/compiler/tests/generated/generics_types.h index 2b5353196f..b34582041b 100644 --- a/compiler/tests/generated/generics_types.h +++ b/compiler/tests/generated/generics_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/inheritance_types.cs b/compiler/tests/generated/inheritance_types.cs index 38de98b726..8d413680b0 100644 --- a/compiler/tests/generated/inheritance_types.cs +++ b/compiler/tests/generated/inheritance_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Base { [global::Bond.Id(0)] @@ -35,7 +35,7 @@ protected Base(string fullName, string name) } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class Foo : Base { diff --git a/compiler/tests/generated/inheritance_types.h b/compiler/tests/generated/inheritance_types.h index 0cdb650d07..fab8b83a04 100644 --- a/compiler/tests/generated/inheritance_types.h +++ b/compiler/tests/generated/inheritance_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/maybe_blob_types.h b/compiler/tests/generated/maybe_blob_types.h index da8a296619..37dfe06beb 100644 --- a/compiler/tests/generated/maybe_blob_types.h +++ b/compiler/tests/generated/maybe_blob_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif diff --git a/compiler/tests/generated/nullable_alias_types.cs b/compiler/tests/generated/nullable_alias_types.cs index 22c5a1a94b..c558079cb9 100644 --- a/compiler/tests/generated/nullable_alias_types.cs +++ b/compiler/tests/generated/nullable_alias_types.cs @@ -18,7 +18,7 @@ namespace test using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class foo { [global::Bond.Id(1), global::Bond.Type(typeof(global::Bond.Tag.nullable))] diff --git a/compiler/tests/generated/service_grpc.cs b/compiler/tests/generated/service_grpc.cs index afe46f3c8b..d2657e413a 100644 --- a/compiler/tests/generated/service_grpc.cs +++ b/compiler/tests/generated/service_grpc.cs @@ -16,7 +16,7 @@ namespace tests { - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public static class Foo { static readonly string ServiceName = "tests.Foo"; diff --git a/compiler/tests/generated/service_interfaces.cs b/compiler/tests/generated/service_interfaces.cs index c1d3595056..890b3f2f61 100644 --- a/compiler/tests/generated/service_interfaces.cs +++ b/compiler/tests/generated/service_interfaces.cs @@ -15,7 +15,7 @@ namespace tests { - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public interface IFoo { void foo11Async(global::Bond.Comm.IMessage param); diff --git a/compiler/tests/generated/service_proxies.cs b/compiler/tests/generated/service_proxies.cs index 1c8d733609..2e992da3cc 100644 --- a/compiler/tests/generated/service_proxies.cs +++ b/compiler/tests/generated/service_proxies.cs @@ -15,7 +15,7 @@ namespace tests { - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public class FooProxy : IFoo where TConnection : global::Bond.Comm.IEventConnection, global::Bond.Comm.IRequestResponseConnection { private readonly TConnection m_connection; diff --git a/compiler/tests/generated/service_services.cs b/compiler/tests/generated/service_services.cs index f6c132ef54..f807fe270a 100644 --- a/compiler/tests/generated/service_services.cs +++ b/compiler/tests/generated/service_services.cs @@ -15,7 +15,7 @@ namespace tests { - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public abstract class FooServiceBase : IFoo, global::Bond.Comm.IService { public global::System.Collections.Generic.IEnumerable Methods diff --git a/compiler/tests/generated/service_types.cs b/compiler/tests/generated/service_types.cs index 10529ac8ef..a40418b4df 100644 --- a/compiler/tests/generated/service_types.cs +++ b/compiler/tests/generated/service_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")] public partial class dummy { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/with_enum_header_types.h b/compiler/tests/generated/with_enum_header_types.h index d45b4501a1..7649af68d8 100644 --- a/compiler/tests/generated/with_enum_header_types.h +++ b/compiler/tests/generated/with_enum_header_types.h @@ -7,7 +7,7 @@ #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0900 +#if BOND_MIN_CODEGEN_VERSION > 0x0a00 #error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif