Skip to content

Commit

Permalink
Prepare for 9.0.0 release
Browse files Browse the repository at this point in the history
* Removal of MSVC 2013 support is a breaking C++ change.
* Changed codegen in a minor bond library change.
  • Loading branch information
chwarr authored May 26, 2020
1 parent 2e7aa1e commit fe6f582
Show file tree
Hide file tree
Showing 133 changed files with 272 additions and 268 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ 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 ##
## 9.0: 2020-05-26 ##
* IDL core version: 3.0
* C++ version: 9.0.0
* C# NuGet version: 9.0.0.
* `gbc` & compiler library: 0.12.1.0

### C++ ###
* **Breaking change** MSVC 2013 support has been removed. ([Issue
Expand Down
6 changes: 3 additions & 3 deletions compiler/bond.cabal
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: b913222488b7035eec255444fe3bf82606f82eb0940c6ae5a4a3af784638c527
-- hash: 5f829cf187d9630385924b752fae193c51da82b2d9bfc0ef8f38f23a638fc604

name: bond
version: 0.12.0.1
version: 0.12.1.0
synopsis: Bond schema compiler and code generator
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.
category: Language, Compiler, Code Generation
Expand Down
2 changes: 1 addition & 1 deletion compiler/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: bond
version: 0.12.0.1
version: 0.12.1.0
github: "microsoft/bond"
license: MIT
author: Adam Sapek <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/Language/Bond/Codegen/Cpp/Types_h.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ types_h export_attribute userHeaders enumHeader allocator alloc_ctors_enabled ty
#{newlineBeginSep 0 includeHeader userHeaders}
#include <bond/core/bond_version.h>

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

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alias_key_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alias_with_allocator_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
6 changes: 3 additions & 3 deletions compiler/tests/generated/aliases_types.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace tests
using System.Collections.Generic;

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

[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.1.0")]
public enum EnumToWrap
{
anEnumValue,
}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.1.0")]
public partial class WrappingAnEnum
{
[global::Bond.Id(0)]
Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/aliases_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/alias_key_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/aliases_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/attributes_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/basic_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/bond_meta_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/complex_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/defaults_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/empty_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/field_modifiers_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/generics_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/import_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/inheritance_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/maybe_blob_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/alloc_ctors/with_enum_header_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/allocator/alias_key_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/allocator/aliases_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/allocator/attributes_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include <bond/core/bond_version.h>

#if BOND_VERSION < 0x0800
#if BOND_VERSION < 0x0900
#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 > 0x0c01
#if BOND_MIN_CODEGEN_VERSION > 0x0c10
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
Loading

0 comments on commit fe6f582

Please sign in to comment.