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
- dialect/entsql: add support for index-type annotation by @a8m in https://github.com/ent/ent/pull/2353
- Add required json1 build tag to contributing instructions. by @freb in https://github.com/ent/ent/pull/2359
- dialect/sql/schema: fix bug in atlas integration when working WithDropIndex/WithDropColumn by @a8m in https://github.com/ent/ent/pull/2374
New Contributors
- @iamnande made their first contribution in https://github.com/ent/ent/pull/2274
- @hezhizhen made their first contribution in https://github.com/ent/ent/pull/2301
- @eric-yoo made their first contribution in https://github.com/ent/ent/pull/2313
- @crossworth made their first contribution in https://github.com/ent/ent/pull/2309
- @sbs2001 made their first contribution in https://github.com/ent/ent/pull/2326
- @MrParano1d made their first contribution in https://github.com/ent/ent/pull/2332
- @tprebs made their first contribution in https://github.com/ent/ent/pull/2340
Full Changelog: https://github.com/ent/ent/compare/v0.10.0...v0.10.1