The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.500000

  • THIS RELEASE CONTAINS MULTIPLE POTENTIALLY-BREAKING BEHAVIOR CHANGES.
  • Complete revamp of the internal architecture.
    • Most of the private attributes have been renamed.
    • Everything is now an object.
    • Sims-specific wrappers for:
      • DBIC::Source
      • DBIC relationship data structure (hashes and CODE)
  • Retrieving unique rows will raise an error if the row doesn't match the provided spec.
    • Set `die_on_unique_mismatch => 0` to disable this
  • Using a type that isn't loaded will raise an error vs a warning.
  • Relationship constraints are now lazily checked.
    • If you say there should be 2 children, Sims will wait until all children are created before verifying that the constraint is met
  • Set `value_not` to constrain possible values for a column
    • This can be a scalar or an array.
  • Trace the creation of objects by setting the `object_trace` parameter
    • Trace the topograph as well, if needed, with `topograph_trace`
  • Disable all randomization with the `predictable_values` parameter

Modules

The addition of simulating data to DBIx::Class

Provides

in lib/DBIx/Class/Sims/Runner.pm
in lib/DBIx/Class/Sims/Util.pm
in lib/DBIx/Class/Sims.pm