Skip to content

Commit

Permalink
Update changelog for 6.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
chwarr committed Jun 30, 2017
1 parent fe3135c commit 2435544
Show file tree
Hide file tree
Showing 60 changed files with 87 additions and 84 deletions.
29 changes: 16 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@ tag versions. The Bond compiler (`gbc`) and
different versioning scheme, following the Haskell community's
[package versioning policy](https://wiki.haskell.org/Package_versioning_policy).

## Unreleased ##
* `gbc` & compiler library: TBD
* IDL core version: TBD
* IDL comm version: TBD
* C++ version: TBD (major bump needed)
* C# NuGet version: (major bump needed)
* C# Comm NuGet version: (minor bump needed, dependencies updated)
## 6.0.0: 2017-06-29 ##
* `gbc` & compiler library: 0.10.0.0
* IDL core version: 2.0
* IDL comm version: 1.2
* C++ version: TBD 6.0.0
* C# NuGet version: 6.0.0
* C# Comm NuGet version: 0.12.0

### `gbc` and Bond compiler library ###

* IDL support for service inheritance syntax
* **Breaking change** In the Bond Haskell library, the `Service` type
has a new field `serviceBase`.
* C++ codegen now generates
[extern templates](http://en.cppreference.com/w/cpp/language/function_template)
of `bond::Apply` instead of overloads.
Expand Down Expand Up @@ -62,11 +64,11 @@ different versioning scheme, following the Haskell community's
* Initial support for sending
[Bond objects over gRPC](https://microsoft.github.io/bond/manual/bond_over_grpc.html)
has been added.
* The `bond::Apply` function now has a uniform signature. Call sites for
the `Marshaler<Writer>` transform overload that were _mistakenly_ passing
`Writer` explicitly (e.g. `bond::Apply<Writer>(marshaler, value)`) will now
get a compiler error. To fix, remove the `<Writer>` part:
`bond::Apply(marshaler, value)`.
* The `bond::Apply` function now has a uniform signature. Call sites for the
`Marshaler<Writer>` transform overload that were _mistakenly_ passing
`Writer` explicitly (e.g. `bond::Apply<Writer>(marshaler, value)`) will
now get a compiler error. To fix, remove the `<Writer>` part:
`bond::Apply(marshaler, value)`.
* Fixed a bug that caused serialization using
`CompactBinaryWriter<OutputCounter>` (to get the expected length of
serializing with compact binary) to produced bogus results.
Expand Down Expand Up @@ -104,7 +106,8 @@ get a compiler error. To fix, remove the `<Writer>` part:
changed.
* Fixed a bug where JSON and XML protocols would permit the serialization of
non-nullable string fields that were set to null instead of throwing a
NullReferenceException. [Issue #417](https://github.com/Microsoft/bond/issues/417)
NullReferenceException.
[Issue #417](https://github.com/Microsoft/bond/issues/417)

## 5.3.1: 2017-04-25 ##

Expand Down
2 changes: 1 addition & 1 deletion compiler/bond.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Licensed under the MIT license. See LICENSE file in the project root for full license information.

name: bond
version: 0.9.0.0
version: 0.10.0.0
cabal-version: >= 1.8
tested-with: GHC>=7.4.1
synopsis: Bond schema compiler and code generator
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 > 0x0900
#if BOND_MIN_CODEGEN_VERSION > 0x0a00
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

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

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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public enum EnumToWrap
{
anEnumValue,
}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class WrappingAnEnum
{
[global::Bond.Id(0)]
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 > 0x0900
#if BOND_MIN_CODEGEN_VERSION > 0x0a00
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

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

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

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

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

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

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

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

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

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

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

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

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

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

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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class Foo
{
[global::Bond.Attribute("FieldAttribute1", "one")]
Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/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 > 0x0900
#if BOND_MIN_CODEGEN_VERSION > 0x0a00
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/basic_types_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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class BasicTypes
{
[global::Bond.Id(0)]
Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/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 > 0x0900
#if BOND_MIN_CODEGEN_VERSION > 0x0a00
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/bond_meta_types.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace deprecated.bondmeta
using System.Collections.Generic;

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class HasMetaFields
{
[global::Bond.Id(0), global::Bond.RequiredOptional]
Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/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 > 0x0900
#if BOND_MIN_CODEGEN_VERSION > 0x0a00
#error This file was generated by an older version of the Bond compiler and is incompatible with your version of the Bond library.
#endif

Expand Down
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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public enum EnumToWrap
{
anEnumValue,
}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class WrappingAnEnum
{
[global::Bond.Id(0)]
Expand Down
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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class Foo
{
[global::Bond.Attribute("FieldAttribute1", "one")]
Expand Down
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.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class BasicTypes
{
[global::Bond.Id(0)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace deprecated.bondmeta
using System.Collections.Generic;

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class HasMetaFields
{
[global::Bond.Id(0), global::Bond.RequiredOptional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ namespace tests
using System.Collections.Generic;

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class Foo
{

}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class ComplexTypes
{
[global::Bond.Id(0), global::Bond.Type(typeof(LinkedList<sbyte>))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace tests
{
using System.Collections.Generic;

[System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public enum EnumType1
{
EnumValue1 = unchecked((int)5),
Expand All @@ -34,7 +34,7 @@ public enum EnumType1
}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.9.0.0")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.10.0.0")]
public partial class Foo
{
[global::Bond.Id(0)]
Expand Down
Loading

0 comments on commit 2435544

Please sign in to comment.