Skip to content

Commit

Permalink
Prepare for 8.2.0 release (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
chwarr authored and lalo committed Nov 18, 2019
1 parent a490113 commit a7025d6
Show file tree
Hide file tree
Showing 124 changed files with 183 additions and 174 deletions.
19 changes: 14 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +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 ##
* `gbc` & compiler library: TBD
* IDL core version: TBD
* C++ version: minor bump needed
* C# NuGet version: minor bump needed
## 8.2.0: 2019-11-18 ##
* IDL core version: 3.0
* C++ version: 8.2.0
* C# NuGet version: 8.2.0
* `gbc` & compiler library: 0.12.0.0

### C++ ###

Expand All @@ -36,6 +36,15 @@ different versioning scheme, following the Haskell community's
`MemoryStream.TryGetBuffer()` when cloning streams like is done when
targeting .NET Standard 1.3+.

### Bond compiler library ###

* **Breaking change** The bond compiler library (the Haskell library) and
`gbc` have been switched to build with stackage snapshot lts-14.4. This
snapshot uses megaparsec 7 and aeson 1.4.4, both of which had breaking
changes that are reflected in the library, e.g., the `parseBond` signature
has changed. There is no impact to users of the gbc command line tool or
changes to C++ and C# code generation.

## 8.1.0: 2019-03-27 ##

### C++ ###
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
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: d820205ed7408903ac72a154060807a884eaa67adff33708b9e659da815c5116
-- hash: fb67f6b9c5e523cfaa3f0c83dcaae3e96899c5e92d44990e94e5f42b4d8a56ff

name: bond
version: 0.11.0.3
version: 0.12.0.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.11.0.3
version: 0.12.0.0
github: "microsoft/bond"
license: MIT
author: Adam Sapek <adamsap@microsoft.com>
Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/alias_key_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alias_with_allocator_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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.11.0.3")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.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.11.0.3")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.0")]
public enum EnumToWrap
{
anEnumValue,
}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.11.0.3")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.0")]
public partial class WrappingAnEnum
{
[global::Bond.Id(0)]
Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/aliases_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/alias_key_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/aliases_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/attributes_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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 @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/basic_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/bond_meta_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/complex_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/defaults_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/empty_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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 @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/generics_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/import_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/inheritance_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/alloc_ctors/maybe_blob_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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 @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/alias_key_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/aliases_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/attributes_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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 @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/basic_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/bond_meta_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/complex_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/defaults_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/empty_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/field_modifiers_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/generics_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/import_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/inheritance_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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
2 changes: 1 addition & 1 deletion compiler/tests/generated/allocator/maybe_blob_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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 @@ -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 > 0x0b03
#if BOND_MIN_CODEGEN_VERSION > 0x0c00
#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/attributes_types.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace tests

[global::Bond.Attribute("EnumAttribute1", "one")]
[global::Bond.Attribute("EnumAttribute2", "two")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.11.0.3")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.0")]
public enum Enum
{
Value1,
Expand All @@ -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.11.0.3")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.12.0.0")]
public partial class Foo
{
[global::Bond.Attribute("FieldAttribute1", "one")]
Expand Down
Loading

0 comments on commit a7025d6

Please sign in to comment.