Skip to content

Commit

Permalink
Prepare for 4.1.0 release
Browse files Browse the repository at this point in the history
* Bump gbc and bond package minor version to 0.4.0.2
  * Re-gen golden test files
* Bump C# minor version to 4.1.0
* Edit CHANGELOG to add release info
  • Loading branch information
chwarr committed Apr 22, 2016
1 parent f79d213 commit 5aaa20b
Show file tree
Hide file tree
Showing 45 changed files with 57 additions and 55 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ 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).

## Yet to be released ##
## 4.1.0: 2016-04-22

* `gbc` & compiler library: TBD
* C# NuGet version: TBD
* `gbc` & compiler library: 0.4.0.2
* C# NuGet version: 4.1.0

### `gbc` ###

Expand All @@ -33,6 +33,8 @@ different versioning scheme, following the Haskell community's

### C# ###

* The generated C# code now compiles with no errors or warnings at
`/warn:4`. [Issue #82](https://github.com/Microsoft/bond/issues/82)
* Enums are now cast to 32-bit integers to avoid some compiler warnings.
* [Implicit conversion between `bond.GUID` and `System.Guid`](https://github.com/Microsoft/bond/blob/bc4c56a3ca0858f4bd93916e80ceff9bbeada606/cs/test/core/GuidConversionTests.cs#L14)
has been added.
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.4.0.1
version: 0.4.0.2
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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif
Expand Down
2 changes: 1 addition & 1 deletion 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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo<T>
{
[global::Bond.Id(0), global::Bond.Type(typeof(List<List<global::Bond.Tag.classT>>))]
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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
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 @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version 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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo<T>
{
[global::Bond.Id(0), global::Bond.Type(typeof(List<List<global::Bond.Tag.classT>>))]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class BasicTypes
{
[global::Bond.Id(0)]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo
{

}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo
{
[global::Bond.Id(0)]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo
{
[global::Bond.Id(0)]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo<T1, T2>
where T2 : struct
{
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Base
{
[global::Bond.Id(0)]
Expand All @@ -35,7 +35,7 @@ protected Base(string fullName, string name)
}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo
: Base
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace test
using System.Collections.Generic;

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class foo
{
[global::Bond.Id(1), global::Bond.Type(typeof(global::Bond.Tag.nullable<long>))]
Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/complex_types_types.cs
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo
{

}

[global::Bond.Schema]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class ComplexTypes
{
[global::Bond.Id(0)]
Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/complex_types_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif
Expand Down
4 changes: 2 additions & 2 deletions compiler/tests/generated/defaults_types.cs
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
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.4.0.1")]
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")]
public partial class Foo
{
[global::Bond.Id(0)]
Expand Down
2 changes: 1 addition & 1 deletion compiler/tests/generated/defaults_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#error and is incompatible with your version Bond library.
#endif

#if BOND_MIN_CODEGEN_VERSION > 0x0401
#if BOND_MIN_CODEGEN_VERSION > 0x0402
#error This file was generated by an older version of Bond compiler
#error and is incompatible with your version Bond library.
#endif
Expand Down
Loading

0 comments on commit 5aaa20b

Please sign in to comment.