ent v0.3.0 Release Notes

Release Date: 2020-08-05 // about 2 years ago
  • ๐Ÿ›  This version includes multiple bug fixes, changes in ent/schema, the generated-code and the database migration.

    Schema changes

    • Add schema annotations support for fields and edges. This API allows to attach metadata to fields and edges and inject them to external templates. More info can be found in the docs.
    • โž• Add GoType support for enum fields. This change makes it possible to share the same enum type between multiple schemas.
    • โž• Add the Unique option to UUID fields.

    Codegen changes

    • Add an API for creating bulk of entities. More info can be found in the docs.
    • โž• Add the fail function to template functions.
    • Import codegen out (makes goimports faster).

    Migration changes

    • ๐Ÿ›  Fix default value option to enum fields.
    • ๐Ÿ”„ Change ent_types table id type to uint64 (from int).