Release v20.40.0
Summary
Adds comprehensive support for the Coordinate geospatial type from Cratis.Fundamentals across ProxyGenerator, MongoDB, and Entity Framework Core, including full documentation.
Added
- ProxyGenerator: Maps
Cratis.Geospatial.Coordinateto TypeScriptCoordinatefrom@cratis/fundamentalspackage - MongoDB:
CoordinateSerializerserializing as BSON document withlongitudeandlatitudefields - EF Core:
GetCoordinateType()mapping (PostgreSQL:jsonb, SQL Server:nvarchar(max), SQLite:text) - EF Core:
CoordinateColumn()andAddCoordinateColumn()migration extensions - EF Core:
AsCoordinate()value converter using JSON serialization - Documentation: Comprehensive Entity Framework Core guide for Coordinate type (
coordinate-conversion.md) - Documentation: MongoDB serializer documentation for Coordinate type
- Documentation: Updated common column types reference to include
CoordinateColumn()
Changed
- Updated
Cratis.Fundamentalspackage from 7.10.3 to 7.14.0 - Updated
Cratis.Metrics.Roslynto 7.14.0
Notes
The Coordinate type support is ready but requires the Cratis.Geospatial.Coordinate type to be published in a future version of Cratis.Fundamentals. The type exists in the Fundamentals repository but is not yet available in the published NuGet package (7.14.0 is current).