ent v0.3.0 Release Notes

Release Date: 2020-08-05 // over 3 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).