Skip to content

Releases: fuelen/seed_factory

v0.7.0

31 Jan 17:14

Choose a tag to compare

Features

  • Same trait can be set by multiple commands
  • "Did you mean?" suggestions in compile-time errors for typos

Compile-time Validations

  • Validate referenced entities in params
  • Validate circular trait dependencies
  • Validate trait references in :from option (non-existent trait, wrong entity)

Bug Fixes

  • Fix trait transition execution order
  • Fix trait resolution for commands in conflict groups
  • Fix :is_subset conflict resolution removing commands in multiple groups
  • Fix trait resolution when command produces multiple entities

Improvements

  • Major internal refactoring - extracted modules: Context, Requirements, CommandGraph, Exceptions
  • Improved exception messages with better context
  • Improved error reporting
  • Better error message when produced entity was already produced by another command
  • Hide __spark_metadata__ from inspect output
  • Compile test support files

Dependencies

  • Updated Spark and other dependencies

Full Changelog: v0.6.0...v0.7.0

v0.6.0

17 May 08:56

Choose a tag to compare

Added

  • Added support for using a list of traits in the :from option.

Updated

  • Required Elixir version updated to ~> 1.15 due to Spark dependency.

Fixes

  • Improved argument matching using the args_match function.
  • Resolved issue where structs were incorrectly treated as maps during deep comparison and merging.
  • Enhanced error messages for scenarios where an entity is manually added to the context.

Full Changelog: v0.5.0...v0.6.0

v0.5.0

12 Mar 19:33

Choose a tag to compare

Full Changelog: v0.4.0...v0.5.0

v0.4.0

16 Aug 10:45

Choose a tag to compare

Full Changelog: v0.3.0...v0.4.0

v0.3.0

25 Jul 19:15

Choose a tag to compare

Full Changelog: v0.2.0...v0.3.0

v0.2.0

07 Jun 16:15

Choose a tag to compare

Full Changelog: v0.1.0...v0.2.0

v0.1.0

17 May 19:18

Choose a tag to compare