Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[4.1.0] experience report updating Marten #2607
Steps to reproduce
I was initially tinkering with updating Npgsql only to 4.1.0 in my application and ran into the first issue below, so I then tried to update Marten to use the 4.1.0-preview2 and noticed another change that I wanted to bring to your attention that prevent drop-in updates, in case some were unintentional:
Again, these may be entirely intended changes, I just wanted to bring them up to get an explicit yes or no on that point.
Further technical details
Npgsql version: 4.1.0-preview2
I found another while testing the Npgsql.EntityFrameworkCore 2.2.4 package:
This one I'm not so sure about how to fix. The others were purely additive, this one implies some larger architecture change from concrete classes to interface return types. The abstract NpgsqlTypeHandlerFactory type is ust gone now.
The NpgsqlTypeMapping.TypeHandlerFactory issue was introduced in 8691e26: the property's type was changed from NpgsqlTypeHandlerFactory to INpgsqlTypeHandlerFactory. I'll revert this change soon.
BTW it won't be possible to use EF Core 2.x with Npgsql.NetTopologySuite 4.1.0 - specifically the spatial plugin (see #1023). This is expected and there's no way around it. Will add a breaking change note in the release notes.