Bot releases are visible (Hide)
Published by a8m over 4 years ago
Published by a8m over 4 years ago
Add the StorageKey option for edges.
Add a hook.Unless
function for hook package.
A few bug fixes for Postgres and default values.
Published by a8m over 4 years ago
2 options were added to the schema fields:
A few bug fixes and another option for getting the Mutation object of a builder. More info can be found in the PR.
Published by a8m over 4 years ago
Published by a8m over 4 years ago
Published by a8m over 4 years ago
Add Indexes/Edges/Hooks to ent.Mixin
, and also rename schema/schemautil
to schema/mixin
.
This means that if you upgrade to v0.2.0 and you used mixins before, you should do the following:
schemautil.TimeMixin
), you should replace the import path to be ent/schema/mixin
instead (and drop the Mixin suffix).mixin.Schema
in your struct instead of implementing the rest of the methods.Published by a8m over 4 years ago
Published by a8m over 4 years ago
Hooks and mutation layers were added to builders.
Published by a8m over 4 years ago
Published by a8m over 4 years ago
integration: update mysql8 version and remove test container
integration: add pg and mysql test for customids (#342)
doc: fix a doc error (#339)
entc/gen: currently handle user-defined string ids (#338)
dialect/sql/mysql: fix verifyrange check for mysql (#337)
entc/gen: better formatted codegen for predicates (#336)
dialect/sql/schema: setrange on custom column name of pks (#333)
entc/gen: fix eager-loading for m2m edges (#335)
ci: upgrade to mysql latest in integration (#331)
dialect/sql/schema: support mysql latest numeric type format (#328)
entc/gen: allow defining custom tag for id field (#330)
dialect/sql/schema: verify and fix mysql auto-increment on reset (#329)
Published by a8m over 4 years ago
#286 addressed the issue that described in #285.
Although, this PR was heavily tested internally before it was merged, we suggest that if you upgrade an older version of ent, run migration with offline mode before, to make sure it goes smoothly.
Published by a8m over 4 years ago