From 31d88afa1824e5f15e7108b0a560cd0226c59334 Mon Sep 17 00:00:00 2001 From: Christopher Warrington Date: Tue, 7 Feb 2017 14:13:56 -0800 Subject: [PATCH] Prepare for the 5.2.0 release Due to the C++ Boost dependency bump, both BOND_VERSION and BOND_MIN_CODEGEN_VERSION in bond_version.h have been updated to the current version. --- CHANGELOG.md | 16 ++++++++-------- compiler/bond.cabal | 2 +- .../src/Language/Bond/Codegen/Cpp/Types_h.hs | 8 +++----- compiler/tests/generated/alias_key_types.h | 10 ++++------ .../tests/generated/alias_with_allocator_types.h | 10 ++++------ compiler/tests/generated/aliases_types.cs | 6 +++--- compiler/tests/generated/aliases_types.h | 10 ++++------ .../tests/generated/allocator/alias_key_types.h | 10 ++++------ .../tests/generated/allocator/aliases_types.h | 10 ++++------ .../tests/generated/allocator/attributes_types.h | 10 ++++------ .../generated/allocator/basic_types_types.h | 10 ++++------ .../tests/generated/allocator/bond_meta_types.h | 10 ++++------ .../generated/allocator/complex_types_types.h | 10 ++++------ .../tests/generated/allocator/defaults_types.h | 10 ++++------ compiler/tests/generated/allocator/empty_types.h | 10 ++++------ .../generated/allocator/field_modifiers_types.h | 10 ++++------ .../tests/generated/allocator/generics_types.h | 10 ++++------ .../generated/allocator/inheritance_types.h | 10 ++++------ .../tests/generated/allocator/maybe_blob_types.h | 10 ++++------ compiler/tests/generated/attributes_types.cs | 4 ++-- compiler/tests/generated/attributes_types.h | 10 ++++------ compiler/tests/generated/basic_types_types.cs | 2 +- compiler/tests/generated/basic_types_types.h | 10 ++++------ compiler/tests/generated/bond_meta_types.cs | 2 +- compiler/tests/generated/bond_meta_types.h | 10 ++++------ .../collection-interfaces/aliases_types.cs | 6 +++--- .../collection-interfaces/attributes_types.cs | 4 ++-- .../collection-interfaces/basic_types_types.cs | 2 +- .../collection-interfaces/bond_meta_types.cs | 2 +- .../collection-interfaces/complex_types_types.cs | 4 ++-- .../collection-interfaces/defaults_types.cs | 4 ++-- .../field_modifiers_types.cs | 2 +- .../collection-interfaces/generics_types.cs | 2 +- .../collection-interfaces/inheritance_types.cs | 4 ++-- .../nullable_alias_types.cs | 2 +- compiler/tests/generated/complex_types_types.cs | 4 ++-- compiler/tests/generated/complex_types_types.h | 10 ++++------ .../custom_alias_with_allocator_types.h | 10 ++++------ .../custom_alias_without_allocator_types.h | 10 ++++------ compiler/tests/generated/defaults_types.cs | 4 ++-- compiler/tests/generated/defaults_types.h | 10 ++++------ compiler/tests/generated/empty_types.h | 10 ++++------ .../tests/generated/field_modifiers_types.cs | 2 +- compiler/tests/generated/field_modifiers_types.h | 10 ++++------ .../generated/generic_service_interfaces.cs | 2 +- .../tests/generated/generic_service_proxies.cs | 2 +- .../tests/generated/generic_service_services.cs | 2 +- compiler/tests/generated/generics_types.cs | 2 +- compiler/tests/generated/generics_types.h | 10 ++++------ compiler/tests/generated/inheritance_types.cs | 4 ++-- compiler/tests/generated/inheritance_types.h | 10 ++++------ compiler/tests/generated/maybe_blob_types.h | 10 ++++------ compiler/tests/generated/nullable_alias_types.cs | 2 +- compiler/tests/generated/service_interfaces.cs | 2 +- compiler/tests/generated/service_proxies.cs | 2 +- compiler/tests/generated/service_services.cs | 2 +- compiler/tests/generated/service_types.cs | 2 +- cpp/inc/bond/core/bond_version.h | 4 ++-- 58 files changed, 161 insertions(+), 217 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afb189d698..aee724e875 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,14 +11,14 @@ 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 (major version bump needed) -* IDL core version: TBD -* IDL comm version: TBD -* C++ version: TBD (minor bump needed [Boost dependencies changed]) -* C# NuGet version: TBD (minor bump needed) -* C# Comm NuGet version: TBD (minor bump needed [dependencies changed]) +## 5.2.0: 2017-02-07 ## + +* `gbc` & compiler library: 0.8.0.0 +* IDL core version: 2.0 +* IDL comm version: 1.2 +* C++ version: 5.2.0 +* C# NuGet version: 5.2.0 +* C# Comm NuGet version: 0.10.0 ### `gbc` and Bond compiler library ### diff --git a/compiler/bond.cabal b/compiler/bond.cabal index 2dc3748a31..038c237e1c 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.7.0.0 +version: 0.8.0.0 cabal-version: >= 1.8 tested-with: GHC>=7.4.1 synopsis: Bond schema compiler and code generator diff --git a/compiler/src/Language/Bond/Codegen/Cpp/Types_h.hs b/compiler/src/Language/Bond/Codegen/Cpp/Types_h.hs index ef8ac24168..a3942d7918 100644 --- a/compiler/src/Language/Bond/Codegen/Cpp/Types_h.hs +++ b/compiler/src/Language/Bond/Codegen/Cpp/Types_h.hs @@ -35,14 +35,12 @@ types_h userHeaders enumHeader allocator cpp file imports declarations = ("_type #{newlineBeginSep 0 includeHeader userHeaders} #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x#{hexVersion version} -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/alias_key_types.h b/compiler/tests/generated/alias_key_types.h index eb35a867ae..0ddcbfaaec 100644 --- a/compiler/tests/generated/alias_key_types.h +++ b/compiler/tests/generated/alias_key_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/alias_with_allocator_types.h b/compiler/tests/generated/alias_with_allocator_types.h index 12ffe99130..46157116a8 100644 --- a/compiler/tests/generated/alias_with_allocator_types.h +++ b/compiler/tests/generated/alias_with_allocator_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/aliases_types.cs b/compiler/tests/generated/aliases_types.cs index 102db170ee..6c13b9fba0 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")] public enum EnumToWrap { anEnumValue, } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 7455da01b9..c212b9d099 100644 --- a/compiler/tests/generated/aliases_types.h +++ b/compiler/tests/generated/aliases_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/alias_key_types.h b/compiler/tests/generated/allocator/alias_key_types.h index ab743f854c..5c879b98d0 100644 --- a/compiler/tests/generated/allocator/alias_key_types.h +++ b/compiler/tests/generated/allocator/alias_key_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/aliases_types.h b/compiler/tests/generated/allocator/aliases_types.h index ca4c96976e..ecd58dc1b8 100644 --- a/compiler/tests/generated/allocator/aliases_types.h +++ b/compiler/tests/generated/allocator/aliases_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/attributes_types.h b/compiler/tests/generated/allocator/attributes_types.h index 6971febc7d..ad4a5acab6 100644 --- a/compiler/tests/generated/allocator/attributes_types.h +++ b/compiler/tests/generated/allocator/attributes_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/basic_types_types.h b/compiler/tests/generated/allocator/basic_types_types.h index aad918c09a..d0f8d4241d 100644 --- a/compiler/tests/generated/allocator/basic_types_types.h +++ b/compiler/tests/generated/allocator/basic_types_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/bond_meta_types.h b/compiler/tests/generated/allocator/bond_meta_types.h index 0076aafeed..87c6d33204 100644 --- a/compiler/tests/generated/allocator/bond_meta_types.h +++ b/compiler/tests/generated/allocator/bond_meta_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/complex_types_types.h b/compiler/tests/generated/allocator/complex_types_types.h index 0a49144d27..a0d1988287 100644 --- a/compiler/tests/generated/allocator/complex_types_types.h +++ b/compiler/tests/generated/allocator/complex_types_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/defaults_types.h b/compiler/tests/generated/allocator/defaults_types.h index 7699f72fee..d1b933902a 100644 --- a/compiler/tests/generated/allocator/defaults_types.h +++ b/compiler/tests/generated/allocator/defaults_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/empty_types.h b/compiler/tests/generated/allocator/empty_types.h index 4b50b5c4b7..4f19b84a75 100644 --- a/compiler/tests/generated/allocator/empty_types.h +++ b/compiler/tests/generated/allocator/empty_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/field_modifiers_types.h b/compiler/tests/generated/allocator/field_modifiers_types.h index 76bdb61dec..0178556e62 100644 --- a/compiler/tests/generated/allocator/field_modifiers_types.h +++ b/compiler/tests/generated/allocator/field_modifiers_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/generics_types.h b/compiler/tests/generated/allocator/generics_types.h index dd5d3e8dbb..8035d9a087 100644 --- a/compiler/tests/generated/allocator/generics_types.h +++ b/compiler/tests/generated/allocator/generics_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/inheritance_types.h b/compiler/tests/generated/allocator/inheritance_types.h index 6e5642aabf..8b31d8e5d0 100644 --- a/compiler/tests/generated/allocator/inheritance_types.h +++ b/compiler/tests/generated/allocator/inheritance_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/allocator/maybe_blob_types.h b/compiler/tests/generated/allocator/maybe_blob_types.h index de3cb01381..4b43818647 100644 --- a/compiler/tests/generated/allocator/maybe_blob_types.h +++ b/compiler/tests/generated/allocator/maybe_blob_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/attributes_types.cs b/compiler/tests/generated/attributes_types.cs index 538fd217cf..9c08b6e61a 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 385dfaae3c..16bf88a31a 100644 --- a/compiler/tests/generated/attributes_types.h +++ b/compiler/tests/generated/attributes_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/basic_types_types.cs b/compiler/tests/generated/basic_types_types.cs index fb4b40f018..5ac5f2a4a2 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 d27d8795fa..8f25634c7a 100644 --- a/compiler/tests/generated/basic_types_types.h +++ b/compiler/tests/generated/basic_types_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/bond_meta_types.cs b/compiler/tests/generated/bond_meta_types.cs index 2d55e01de6..95adf4b634 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 4f41001680..75967e0ffd 100644 --- a/compiler/tests/generated/bond_meta_types.h +++ b/compiler/tests/generated/bond_meta_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/collection-interfaces/aliases_types.cs b/compiler/tests/generated/collection-interfaces/aliases_types.cs index 0808826ee2..07627465fb 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")] public enum EnumToWrap { anEnumValue, } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 538fd217cf..9c08b6e61a 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 fb4b40f018..5ac5f2a4a2 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 2d55e01de6..95adf4b634 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 5f849e5c55..4ce57de0bf 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")] public partial class Foo { } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 1b83abb782..ffc3b6824b 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 e0e9401dea..1fbf0baeb7 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 28072136d7..4fe0af0341 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 12d703bda4..94e6f04381 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 e16975afe6..c25dad26ec 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 202cef1969..2eccdc8343 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")] public partial class Foo { } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 c98fa856bd..cde72d117b 100644 --- a/compiler/tests/generated/complex_types_types.h +++ b/compiler/tests/generated/complex_types_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/custom_alias_with_allocator_types.h b/compiler/tests/generated/custom_alias_with_allocator_types.h index 93823fdc1c..53ac4f9868 100644 --- a/compiler/tests/generated/custom_alias_with_allocator_types.h +++ b/compiler/tests/generated/custom_alias_with_allocator_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/custom_alias_without_allocator_types.h b/compiler/tests/generated/custom_alias_without_allocator_types.h index c55e9bee64..302b726d5f 100644 --- a/compiler/tests/generated/custom_alias_without_allocator_types.h +++ b/compiler/tests/generated/custom_alias_without_allocator_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/defaults_types.cs b/compiler/tests/generated/defaults_types.cs index 1b83abb782..ffc3b6824b 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 c7406da687..5758eba162 100644 --- a/compiler/tests/generated/defaults_types.h +++ b/compiler/tests/generated/defaults_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/empty_types.h b/compiler/tests/generated/empty_types.h index 73972ac3d6..9bd971609d 100644 --- a/compiler/tests/generated/empty_types.h +++ b/compiler/tests/generated/empty_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/field_modifiers_types.cs b/compiler/tests/generated/field_modifiers_types.cs index e0e9401dea..1fbf0baeb7 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 4238044700..44c7fad5ad 100644 --- a/compiler/tests/generated/field_modifiers_types.h +++ b/compiler/tests/generated/field_modifiers_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/generic_service_interfaces.cs b/compiler/tests/generated/generic_service_interfaces.cs index 4f61f63dff..324dd22105 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 e96b684be0..8e5a297850 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 b840c325ef..a387536e81 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 28072136d7..4fe0af0341 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 634e1d1cdc..6a15190483 100644 --- a/compiler/tests/generated/generics_types.h +++ b/compiler/tests/generated/generics_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/inheritance_types.cs b/compiler/tests/generated/inheritance_types.cs index 12d703bda4..94e6f04381 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")] public partial class Foo : Base { diff --git a/compiler/tests/generated/inheritance_types.h b/compiler/tests/generated/inheritance_types.h index 1cb02ef098..9ab7304144 100644 --- a/compiler/tests/generated/inheritance_types.h +++ b/compiler/tests/generated/inheritance_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/maybe_blob_types.h b/compiler/tests/generated/maybe_blob_types.h index de2175d401..0356464f22 100644 --- a/compiler/tests/generated/maybe_blob_types.h +++ b/compiler/tests/generated/maybe_blob_types.h @@ -3,14 +3,12 @@ #include -#if BOND_VERSION < 0x0422 -#error This file was generated by a newer version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_VERSION < 0x0520 +#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 > 0x0700 -#error This file was generated by an older version of Bond compiler -#error and is incompatible with your version Bond library. +#if BOND_MIN_CODEGEN_VERSION > 0x0800 +#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library. #endif #include diff --git a/compiler/tests/generated/nullable_alias_types.cs b/compiler/tests/generated/nullable_alias_types.cs index e16975afe6..c25dad26ec 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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_interfaces.cs b/compiler/tests/generated/service_interfaces.cs index f66f5db69a..48aebd8390 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 1aace780a9..6ef3e92713 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 8e27833503..9162f601e9 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.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 68d92f0c86..4dbccae586 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.7.0.0")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")] public partial class dummy { [global::Bond.Id(0)] diff --git a/cpp/inc/bond/core/bond_version.h b/cpp/inc/bond/core/bond_version.h index 2664ebe5b4..0d42f0584c 100644 --- a/cpp/inc/bond/core/bond_version.h +++ b/cpp/inc/bond/core/bond_version.h @@ -5,8 +5,8 @@ #include -#define BOND_VERSION 0x0422 -#define BOND_MIN_CODEGEN_VERSION 0x0301 +#define BOND_VERSION 0x0520 +#define BOND_MIN_CODEGEN_VERSION 0x0800 namespace bond {