Skip to content

Commit

Permalink
Updated version to 2.13.
Browse files Browse the repository at this point in the history
  • Loading branch information
yallie committed Aug 5, 2020
1 parent e8adcf8 commit edb5088
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 19 deletions.
40 changes: 24 additions & 16 deletions nuget/Zyan.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Zyan</id>
<version>2.12</version>
<version>2.13</version>
<title>Zyan</title>
<authors>Rainbird,yallie</authors>
<owners>Hagen Siegel</owners>
Expand All @@ -13,28 +13,36 @@
<description>Zyan is a framework that simplifies development of distributed applications for desktop and mobile platforms. With Zyan you can publish any .NET class for remote access over the network. Zyan is highly customizable and provides you with tools to build modular and plugable distributed applications.</description>
<summary>Amazingly easy distributed application framework for .NET, Mono and Xamarin.Android</summary>
<releaseNotes>What's new:

v2.13: Bugfixes and stability improvements
— #73: RemoveClientServerWires freeze
— #71: Problem with initialization of class TcpCustomServerProtocolSetup
— #70: Update dependencies
— #69: Thread pool starvation on broadcast events
— #67: SRP issue related to missing accounts

v2.12: Bugfixes and stability improvements
- #61: Thread pool queue issue for canceled subscriptions.
- #53: Updated SRP package integration to version 1.0.4.
- #3: Improved the code to synchronize subscriptions when connection is restored.
#61: Thread pool queue issue for canceled subscriptions.
#53: Updated SRP package integration to version 1.0.4.
#3: Improved the code to synchronize subscriptions when connection is restored.

v2.11: Security fixes and new features.
- #45: Updated Zyan.SafeDeserializationHelpers package.
- #44: Support for multi-step authentication and SRP-6a protocol.
#45: Updated Zyan.SafeDeserializationHelpers package.
#44: Support for multi-step authentication and SRP-6a protocol.

v2.10: Security fixes and new features.
- #43: Integrate Zyan.SafeDeserializationHelpers package.
- #40: TcpEx: invalid TCP packet crashing a running server.
- #35: NIC selection for protocols when creating a channel.
- #34: Event arguments transformation support.
- #29: ZyanConnection memory leak.
- #27: Passing null instead of credentials.
- #4: Fix session filters behavior.
#43: Integrate Zyan.SafeDeserializationHelpers package.
#40: TcpEx: invalid TCP packet crashing a running server.
#35: NIC selection for protocols when creating a channel.
#34: Event arguments transformation support.
#29: ZyanConnection memory leak.
#27: Passing null instead of credentials.
#4: Fix session filters behavior.

v2.9: Bugfixes and stability improvements.
- #17: No remote address specified for reconnect.
- #16: Fix errors found by the static analysis tools bug.
- #9: Call interceptors don't always initialize the call context.
#17: No remote address specified for reconnect.
#16: Fix errors found by the static analysis tools bug.
#9: Call interceptors don't always initialize the call context.

For more details, see the project website: http://zyan.com.de
</releaseNotes>
Expand Down
4 changes: 2 additions & 2 deletions source/Zyan.Communication/Version.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Reflection;

[assembly: AssemblyVersion("2.12.0.0")]
[assembly: AssemblyFileVersion("2.12.0.0")]
[assembly: AssemblyVersion("2.13.0.0")]
[assembly: AssemblyFileVersion("2.13.0.0")]
9 changes: 8 additions & 1 deletion source/Zyan.Tests/SessionVariableTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ public class SessionVariableTests
public interface ISessionSample
{
string Get(string name);
string Get(string name, string defaultValue);
void Set(string name, string value);
}

public class SessionSample : ISessionSample
{
static ISessionVariableAdapter V => ServerSession.CurrentSession.SessionVariables;
public string Get(string name) => V.GetSessionVariable(name, "failed");
public string Get(string name) => V.GetSessionVariable<string>(name);
public string Get(string name, string defaultValue) => V.GetSessionVariable(name, defaultValue);
public void Set(string name, string value) => V[name] = value;
}

Expand All @@ -65,6 +67,11 @@ public void SessionVariablesAreStoredWithinTheCurrentSession()
var proxy = conn.CreateProxy<ISessionSample>();
proxy.Set("Hello", "World");
Assert.AreEqual("World", proxy.Get("Hello"));

var temp = proxy.Get("Undefined");
Assert.IsNull(temp);
proxy.Set("Undefined", "Defined");
Assert.AreEqual("Defined", proxy.Get("Undefined"));
}
}
}
Expand Down

0 comments on commit edb5088

Please sign in to comment.