github ent/ent v0.5.4

latest releases: v0.13.1, v0.13.0, v0.12.5...
3 years ago

Users that upgrade to this version and already use schema-hooks or the privacy policy in ent/schema, should follow the steps mentioned in #1115 (comment).

schema/field

  • Support for indexing ID fields (Thanks @napei)
  • Allow non incremental PKs (Thanks @saantiaguilera)
  • Add DefaultFunc option to string and bytes builders
  • Remove the deprecated ValueMap option for enum builder

codegen

  • Allow field selection in query builder and eager-loading (#1077)

dialect/sql/schema

  • Add migration support for JSON columns in old versions of MariaDB (=< 10.2)
  • Support for binary columns in MySQL (Thanks @nolotz)

dialect/sql/sqlgraph

  • Small perf improvements
  • Allow arbitrary last insert id type (Thanks @cliedeman)

dialect/sql

Don't miss a new ent release

NewReleases is sending notifications on new releases.