info
Morphium V4.1.2
Release Morphium V4.1.2
We just released morphium V4.1.2 via maven central. The lots of changes do contain:
- complete overhaul of messaging for increased stability, speed and less load on mongodb
- new Feature Encrypted Fields:
´´´java @Entity public static class EncryptedEntity { @Id public MorphiumId id;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public String enc;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public Integer intValue;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public Float floatValue;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public List<String> listOfStrings;
@Encrypted(provider = AESEncryptionProvider.class, keyName = "key")
public Subdoc sub;
public String text;
}
´´´
in addtion to those features, some fixes:
- fixing a bug which could lead to a StackOverflowError when using the
InMemoryDriver
- fixing a bug which could lead to errors and deadlocks when using the changestream with the
InMemoryDriver
- using
ObjectId
as key in entities would lead to exceptions - fixing some bugs which did not detect errors properly
- reducing memory consumption of messaging
to use morphium, include this into your pom.xml in dependencies
:
´´´xml