New
v0.10.1
Version v0.10.1 includes 2 fixes for bugs that were introduced in version v0.10.0, and additional improvements for schema migration.
What's Changed
- entc/gen: set foreign-key columns non-nullable for required edges by @a8m in https://github.com/ent/ent/pull/1703
- schema/field: add support for type-aware Default and UpdateDefault in time fields by @a8m in https://github.com/ent/ent/pull/2289
- sql: add support for DESC indexes using annotation and atlasgo.io by @a8m in https://github.com/ent/ent/pull/2304
- entc/gen: support local package names for generated packages by @a8m in https://github.com/ent/ent/pull/2306
- Add check that model file doesn't already exist on ent init by @adayNU in https://github.com/ent/ent/pull/2307
- Allow ID to use field.Other with custom types by @crossworth in https://github.com/ent/ent/pull/2309ent/ent/pull/2336
- entc/gen: skip *sql.NullInt64 assertion on edges with type Other by @crossworth in https://github.com/ent/ent/pull/2335
- dialect/sql/schema: support postgres geometric types. by @tprebs in https://github.com/ent/ent/pull/2340
- dialect/sql/schema: versioned migrations by @masseelch in https://github.com/ent/ent/pull/2337
- entc/gen: singularize feature flag name for versioned migrations by @masseelch in https://github.com/ent/ent/pull/2350