npm @jorgebodega/typeorm-seeding 3.0.0
v3.0.0

latest releases: 7.1.0, 7.1.0-next.3, 7.1.0-next.2...
2 years ago

3.0.0 (2022-01-06)

Bug Fixes

  • adapt seeder to new schema (aecf7b4)
  • remove factories option from config (d66f0f1)

chore

  • remove all faker usages from source folder (1e14718)
  • remove faker from dependencies (40f21c8)

Features

  • adapt use seeders to new structure (5bca471)
  • move factory definition to new abstract class (81ccdf6)
  • remove context from factories (#23) (b7ecba4)
  • remove deprecated elements (d09e154)
  • remove factory helper methods and test associateds (#30) (3393724)
  • remove useFactories helper method (#29) (ddb5c2f)
  • seed command will execute now default seeder or seed param (314d8c3)

BREAKING CHANGES

  • useSeeders change its definition and is now incompatible with previous version
  • Faker is not available anymore as function param
  • Faker is removed from dependencies and now users must install it by themselves
  • Deprecated functions are removed
  • New abstract factory class is incompatible with previous version
  • useFactories will no longer be available as is useless in new architecture
  • Context is being removed from factories. This could break some applications that were using it

Don't miss a new typeorm-seeding release

NewReleases is sending notifications on new releases.