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 #1703
- schema/field: add support for type-aware Default and UpdateDefault in time fields by @a8m in #2289
- sql: add support for DESC indexes using annotation and atlasgo.io by @a8m in #2304
- entc/gen: support local package names for generated packages by @a8m in #2306
- Add check that model file doesn't already exist on ent init by @adayNU in #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 #2335
- dialect/sql/schema: support postgres geometric types. by @tprebs in #2340
- dialect/sql/schema: versioned migrations by @masseelch in #2337
- entc/gen: singularize feature flag name for versioned migrations by @masseelch in #2350
- dialect/entsql: add support for index-type annotation by @a8m in #2353
- Add required json1 build tag to contributing instructions. by @freb in #2359
- dialect/sql/schema: fix bug in atlas integration when working WithDropIndex/WithDropColumn by @a8m in #2374
New Contributors
- @iamnande made their first contribution in #2274
- @hezhizhen made their first contribution in #2301
- @eric-yoo made their first contribution in #2313
- @crossworth made their first contribution in #2309
- @sbs2001 made their first contribution in #2326
- @MrParano1d made their first contribution in #2332
- @tprebs made their first contribution in #2340
Full Changelog: v0.10.0...v0.10.1