Skip to content

Release v20.40.0

Choose a tag to compare

@github-actions github-actions released this 08 Jun 16:12
063e098

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.Coordinate to TypeScript Coordinate from @cratis/fundamentals package
  • MongoDB: CoordinateSerializer serializing as BSON document with longitude and latitude fields
  • EF Core: GetCoordinateType() mapping (PostgreSQL: jsonb, SQL Server: nvarchar(max), SQLite: text)
  • EF Core: CoordinateColumn() and AddCoordinateColumn() 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.Fundamentals package from 7.10.3 to 7.14.0
  • Updated Cratis.Metrics.Roslyn to 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).