From b49f8cb1cc15e52b6bebad158e2edf0389fefa8c Mon Sep 17 00:00:00 2001 From: billsegall Date: Wed, 7 Aug 2019 04:37:30 +0100 Subject: [PATCH 1/3] Release-1.13 changes and release notes --- csharp/README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/csharp/README.md b/csharp/README.md index 44156f2d47..13c60fa5c4 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -11,7 +11,7 @@ Java and gradlew are used to build the generator. git bash and shell scripts are used for scripting. -The C# code is built using Visual Studio Community 2017. +The C# code was originally built using Visual Studio Community 2017. The code, samples, tests and nuget package can be built/run using the [dotnet core sdk](https://www.microsoft.com/net/download): @@ -20,6 +20,13 @@ The code, samples, tests and nuget package can be built/run using the [dotnet co ## Release Notes +### 0.13 + +* Many build system improvements +* Better inlining support +* Issue #660 Add Length() and GetBytes() methods for VarStrings +* Add csharp code-gen time property that allows squashing of namespace + ### 0.1.8.1-beta-2 C# Span support has been added to the code generation, and a set of corresponding utilities added to sbe-dll `DirectBuffer`. It is now possible to copy to/from a `Span` where previously only `byte[]` types were supported. This introduces a dependency on the [`System.Memory`](https://www.nuget.org/packages/System.Memory/) nuget package both for sbe-dll and generated code produced by sbe-tool. @@ -78,8 +85,6 @@ For now you can: * build the SBE csharp generator using `gradlew` * generate the csharp codecs using `gradlew GenerateCSharpCodecs` - * Use the [Visual Studio 2017 Community solution](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/csharp.sln) to build the solution, run the unit tests, examples and benchmarks - * Use the command script - * [csharpbuild.cmd](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/csharpbuild.cmd) to build the dotnet core support + * Use the bash script [build.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/build.sh) to run the tests * Use the bash script [runtests.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/runtests.sh) to run the tests - * Build the nuget package via [do-release.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/.nuget/do-release.sh) although this remains a largely manual process. + * Use the bash script [pack.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/pack.sh) to create the nuget package From 23896cc470a8273c038262a2afcc3997dca4f966 Mon Sep 17 00:00:00 2001 From: billsegall Date: Wed, 7 Aug 2019 04:42:32 +0100 Subject: [PATCH 2/3] bump version to 1.3.0 --- csharp/README.md | 2 +- csharp/sbe-dll/sbe-dll.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/README.md b/csharp/README.md index 13c60fa5c4..67e970927a 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -20,7 +20,7 @@ The code, samples, tests and nuget package can be built/run using the [dotnet co ## Release Notes -### 0.13 +### 1.13.0 * Many build system improvements * Better inlining support diff --git a/csharp/sbe-dll/sbe-dll.csproj b/csharp/sbe-dll/sbe-dll.csproj index c695a2b072..2d6e6ae101 100644 --- a/csharp/sbe-dll/sbe-dll.csproj +++ b/csharp/sbe-dll/sbe-dll.csproj @@ -13,7 +13,7 @@ https://github.com/real-logic/simple-binary-encoding SBE;Marshaling;Low;Latency;Simple;Binary;Encoding sbe-dll - 0.1.12.1-beta-3 + 1.13.0 Simple Binary Encoding for .NET This package contains all you need to define SBE messages and generate C# encoders and decoders. See https://github.com/real-logic/simple-binary-encoding for more detailed instructions git From 07ff3fbfe853c5d3f52655fbf00723a29dd6e643 Mon Sep 17 00:00:00 2001 From: billsegall Date: Wed, 7 Aug 2019 04:48:50 +0100 Subject: [PATCH 3/3] Have the csharp section reflect current reality --- README.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d0417c7f4b..9b7745b5cb 100644 --- a/README.md +++ b/README.md @@ -113,18 +113,9 @@ documentation](https://github.com/real-logic/simple-binary-encoding/blob/master/ C# Build -------- -As of May 2017, the CSharp build is considered a preview release. API stability is not yet guaranteed. User and Developer guides are not yet released or are incomplete. +Users of CSharp generated code should see the [user documentation](https://github.com/real-logic/simple-binary-encoding/wiki/Csharp-User-Guide). -First build using Gradle to generate the SBE jar and then use it to generate the C# code used for testing and the examples. - - $ ./gradlew - $ ./gradlew generateCSharpCodecs - -You can then use the [Visual Studio 2017 Community solution](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/csharp.sln) to build and explore the example. This solution also builds some tests which can be run via the provided [runtests.sh](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/runtests.sh) script. - -Users of CSharp generated code should see the [user documentation (coming)](https://github.com/real-logic/simple-binary-encoding/wiki/Csharp-User-Guide). - -Developers wishing to enhance the CSharp generator should see the [developer documentation (coming)](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/README.md) +Developers wishing to enhance the CSharp generator should see the [developer documentation](https://github.com/real-logic/simple-binary-encoding/blob/master/csharp/README.md) License (See LICENSE file for full license)