3.0.0
- Drop cancel on HA failover support
Breaking change - StructureLogging
Breaking change: Our logging abstraction was replaced by LibLog. Also most log messages were changed to support structured logging. - Brand new DI
Breaking change: DI was changed to remove static nature of external container registration.
//Old
var containerBuilder = new ContainerBuilder();
containerBuilder.RegisterAsEasyNetQContainerFactory(() => RabbitHutch.CreateBus("host=localhost"), c => {/* override services here */});
var container = containerBuilder.Build();
//New
var containerBuilder = new ContainerBuilder();
containerBuilder.RegisterEasyNetQ("host=localhost", c => {/* override services here */});
var container = containerBuilder.Build();
- Brand new DI documentation
- Fix tests in rider on mac
- New TypeNameSerializer
Breaking change: Default implementation ofITypeNameSerializer
was changed to the new one, it solves the problem of serialiazion of generic types. Instead ofSKBKontur.Evrika.EmailService.EmailMessage``1[[SKBKontur.Evrika.EmailService.EmailModels.EmailModel, Evrika.EmailService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]:Evrika.EmailService
type will be serialised toSKBKontur.Evrika.EmailService.EmailMessage``1[[SKBKontur.Evrika.EmailService.EmailModels.EmailModel, Evrika.EmailService], Evrika.EmailService
.
To enable legacy implementation ofITypeNameSerializer
, which was enabled by default in the previous version, you should useEnableLegacyTypeNaming()
. - Handle timeout exceptions that can occur when trying to reconnect failed
Minor change - Allow subclasses of DefaultConsumerErrorStrategy to call connect method
Minor change - Make disposal of InternalConsumer synchronous
ISerializer.BytesToMessage(string, byte[])
should be changed toISerializer.BytesToMessage(Type, byte[])
Breaking change- Remove Version.cs from *.csproj and remove absent global.json from EasyNetQ.sln
Minor change - IAdvancedBus.Get fails with serialization exception
Minor change - Clean up boilerplate code
Minor change