Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit fe6f582

Browse files
authored
Prepare for 9.0.0 release
* Removal of MSVC 2013 support is a breaking C++ change. * Changed codegen in a minor bond library change.
1 parent 2e7aa1e commit fe6f582

File tree

133 files changed

+272
-268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+272
-268
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ tag versions. The Bond compiler (`gbc`) and
1111
different versioning scheme, following the Haskell community's
1212
[package versioning policy](https://wiki.haskell.org/Package_versioning_policy).
1313

14-
## Unreleased ##
14+
## 9.0: 2020-05-26 ##
15+
* IDL core version: 3.0
16+
* C++ version: 9.0.0
17+
* C# NuGet version: 9.0.0.
18+
* `gbc` & compiler library: 0.12.1.0
1519

1620
### C++ ###
1721
* **Breaking change** MSVC 2013 support has been removed. ([Issue

compiler/bond.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
cabal-version: 1.12
22

3-
-- This file has been generated from package.yaml by hpack version 0.31.2.
3+
-- This file has been generated from package.yaml by hpack version 0.33.0.
44
--
55
-- see: https://github.com/sol/hpack
66
--
7-
-- hash: b913222488b7035eec255444fe3bf82606f82eb0940c6ae5a4a3af784638c527
7+
-- hash: 5f829cf187d9630385924b752fae193c51da82b2d9bfc0ef8f38f23a638fc604
88

99
name: bond
10-
version: 0.12.0.1
10+
version: 0.12.1.0
1111
synopsis: Bond schema compiler and code generator
1212
description: Bond is a cross-platform framework for handling schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. . This package contains a library for parsing the Bond schema definition language and performing template-based code generation. The library includes built-in templates for generating standard Bond C++ and C# code, as well as utilities for writing custom codegen templates. . The package also contains a command-line compiler/codegen tool, named gbc, which is primarily used to generate code for C++ and C# programs using Bond.
1313
category: Language, Compiler, Code Generation

compiler/package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: bond
2-
version: 0.12.0.1
2+
version: 0.12.1.0
33
github: "microsoft/bond"
44
license: MIT
55
author: Adam Sapek <adamsap@microsoft.com>

compiler/src/Language/Bond/Codegen/Cpp/Types_h.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ types_h export_attribute userHeaders enumHeader allocator alloc_ctors_enabled ty
3939
#{newlineBeginSep 0 includeHeader userHeaders}
4040
#include <bond/core/bond_version.h>
4141

42-
#if BOND_VERSION < 0x0800
42+
#if BOND_VERSION < 0x0900
4343
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
4444
#endif
4545

compiler/tests/generated/alias_key_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
#include <bond/core/bond_version.h>
55

6-
#if BOND_VERSION < 0x0800
6+
#if BOND_VERSION < 0x0900
77
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
88
#endif
99

10-
#if BOND_MIN_CODEGEN_VERSION > 0x0c01
10+
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
1111
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
1212
#endif
1313

compiler/tests/generated/alias_with_allocator_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
#include <bond/core/bond_version.h>
55

6-
#if BOND_VERSION < 0x0800
6+
#if BOND_VERSION < 0x0900
77
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
88
#endif
99

10-
#if BOND_MIN_CODEGEN_VERSION > 0x0c01
10+
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
1111
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
1212
#endif
1313

compiler/tests/generated/aliases_types.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace tests
1818
using System.Collections.Generic;
1919

2020
[global::Bond.Schema]
21-
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.1")]
21+
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.1.0")]
2222
public partial class Foo<T>
2323
{
2424
[global::Bond.Id(0), global::Bond.Type(typeof(List<List<global::Bond.Tag.classT>>))]
@@ -34,14 +34,14 @@ protected Foo(string fullName, string name)
3434
}
3535
}
3636

37-
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.1")]
37+
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.1.0")]
3838
public enum EnumToWrap
3939
{
4040
anEnumValue,
4141
}
4242

4343
[global::Bond.Schema]
44-
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.1")]
44+
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.1.0")]
4545
public partial class WrappingAnEnum
4646
{
4747
[global::Bond.Id(0)]

compiler/tests/generated/aliases_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
#include <bond/core/bond_version.h>
55

6-
#if BOND_VERSION < 0x0800
6+
#if BOND_VERSION < 0x0900
77
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
88
#endif
99

10-
#if BOND_MIN_CODEGEN_VERSION > 0x0c01
10+
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
1111
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
1212
#endif
1313

compiler/tests/generated/alloc_ctors/alias_key_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
#include <bond/core/bond_version.h>
55

6-
#if BOND_VERSION < 0x0800
6+
#if BOND_VERSION < 0x0900
77
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
88
#endif
99

10-
#if BOND_MIN_CODEGEN_VERSION > 0x0c01
10+
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
1111
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
1212
#endif
1313

compiler/tests/generated/alloc_ctors/aliases_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
#include <bond/core/bond_version.h>
55

6-
#if BOND_VERSION < 0x0800
6+
#if BOND_VERSION < 0x0900
77
#error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library.
88
#endif
99

10-
#if BOND_MIN_CODEGEN_VERSION > 0x0c01
10+
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
1111
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
1212
#endif
1313

0 commit comments

Comments
 (0)