Skip to content

Releases: vmelamed/vm

v1.0.12-beta

25 Dec 23:20
Compare
Choose a tag to compare
  • Changed the visibility of the property Id backing field _id in the classes vm.Aspects.Model.DomainEntity and vm.Aspects.Model.DomainValue from private to protected.
    This will allow the inheritors to modify the behavior of the property Id, without introducing a new backing field necessarily.
  • The property Id was applied the attributes KeyAttribute and ColumnAttribute with argument Order=0.
  • Marked both classes with CLSCompatible(false). This will allow the inheritors to use types like uint or ulong for the properties Id, which are usually mapped to the primary key of the corresponding DB tables. Negative Id-s (PK-s) do not make a lot of sense.

v1.0.9-beta

25 Dec 22:04
Compare
Choose a tag to compare
v1.0.9-beta Pre-release
Pre-release
  • Changed the visibility of the field _id in the classes vm.Aspects.Model.DomainEntity and vm.Aspects.Model.DomainValue from private to protected. This will allow the inheritors to modify the behavior of the property Id, without unnecessary duplicating the backing field.
  • Marked both classes with CLSCompatible(false). This will allow the inheritors to use types like uint or ulong for the properties Id, which are usually mapped to the primary key of the corresponding DB tables. Negative Id-s (PK-s) do not make a lot of sense.

v1.0.8-beta

13 Dec 01:46
Compare
Choose a tag to compare
v1.0.8-beta Pre-release
Pre-release

Applied PureAttribute to the IValidateable.Validate and the extension IValidateableExtensions.IsValid. Now you can include IsValid in contracts' statements.

Released Ciphers v1.9.3 on NuGet

10 Dec 18:57
Compare
Choose a tag to compare
Pre-release

Removed dependencies on Newtonsoft.Json.

Released Ciphers v1.9.2 on NuGet (not listed!) which support only .NET v4.6

10 Dec 17:54
Compare
Choose a tag to compare

In 1.9.2 added sets of ICipher extension overrides for data of the primitive and some basic types and arrays of the same:
Boolean, Char, String Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Decimal, DateTime and Guid.
In this release added typed version of the same:

            byte[] ICipherExtensions.Encrypt(ICipher cipher, object data, Type type);
            object ICipherExtensions.Decrypt(ICipher cipher, byte[] encrypted, Type type);

And generic overrides:

            byte[] ICipherExtensions.Encrypt<T>(ICipher cipher, T data);
            T ICipherExtensions.Decrypt<T>(ICipher cipher, byte[] encrypted);

The generics work with nullable types too.

This is the first version which supports only .NET 4.6. (Microsoft is dropping support for .NET v4.5 and v4.5.1. I do not want to support v4.0 anymore.)

Released Ciphers v1.9.1 on NuGet

10 Dec 04:08
Compare
Choose a tag to compare
Pre-release

In 1.8.0 added sets of ICipher extension overrides for data of the primitive and some basic types and arrays of the same:
Boolean, Char, String, Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Decimal, DateTime and Guid.
In this release added typed version of the same:

byte[] ICipherExtensions.Encrypt(ICipher cipher, object data, Type type);
object ICipherExtensions.Decrypt(ICipher cipher, byte[] encrypted, Type type);

And generic overrides:

byte[] ICipherExtensions.Encrypt&lt;T&gt;(ICipher cipher, T data);
T ICipherExtensions.Decrypt&lt;T&gt;(ICipher cipher, byte[] encrypted);

The generics work with nullable types too.

This is the last version which supports .NET 4.0 and .NET 4.5. In the next release the only supported version will be .NET 4.6.

v1.0.4-beta

30 Nov 19:39
Compare
Choose a tag to compare
v1.0.4-beta Pre-release
Pre-release

Made EncryptedKey backwards compatible with .NET 4.0.

v1.0.3-beta

30 Nov 18:46
Compare
Choose a tag to compare
v1.0.3-beta Pre-release
Pre-release

Moved EncryptedAttribute in the Ciphers project (where it should've been in a first place...)

v1.0.2-beta

21 Nov 01:09
Compare
Choose a tag to compare
v1.0.2-beta Pre-release
Pre-release

Added EncryptedAttribute.

v1.0.1-beta

17 Nov 00:27
Compare
Choose a tag to compare
v1.0.1-beta Pre-release
Pre-release

Migrated to GitHub from CodePlex.
Added class Money and related.

Release on NuGet