Releases: vmelamed/vm
v1.0.12-beta
- Changed the visibility of the property
Id
backing field_id
in the classesvm.Aspects.Model.DomainEntity
andvm.Aspects.Model.DomainValue
fromprivate
toprotected
.
This will allow the inheritors to modify the behavior of the propertyId
, without introducing a new backing field necessarily. - The property
Id
was applied the attributesKeyAttribute
andColumnAttribute
with argumentOrder=0
. - Marked both classes with
CLSCompatible(false)
. This will allow the inheritors to use types likeuint
orulong
for the propertiesId
, which are usually mapped to the primary key of the corresponding DB tables. NegativeId
-s (PK-s) do not make a lot of sense.
v1.0.9-beta
- Changed the visibility of the field
_id
in the classesvm.Aspects.Model.DomainEntity
andvm.Aspects.Model.DomainValue
from private to protected. This will allow the inheritors to modify the behavior of the propertyId
, without unnecessary duplicating the backing field. - Marked both classes with
CLSCompatible(false)
. This will allow the inheritors to use types likeuint
orulong
for the propertiesId
, which are usually mapped to the primary key of the corresponding DB tables. NegativeId
-s (PK-s) do not make a lot of sense.
v1.0.8-beta
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
Removed dependencies on Newtonsoft.Json.
Released Ciphers v1.9.2 on NuGet (not listed!) which support only .NET v4.6
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
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<T>(ICipher cipher, T data);
T ICipherExtensions.Decrypt<T>(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
Made EncryptedKey backwards compatible with .NET 4.0.
v1.0.3-beta
Moved EncryptedAttribute in the Ciphers project (where it should've been in a first place...)
v1.0.2-beta
Added EncryptedAttribute.
v1.0.1-beta
Migrated to GitHub from CodePlex.
Added class Money and related.
Release on NuGet