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
- Add schema options for sql builders (Thanks @marwan-at-work)