FORKED jorgebodega/typeorm-seeding@3.2.0
- A big thanks to Jorge Bodega for improving this module beyond TypeORM Seeding v1.6.0 when it became idle. Ultimately we decided to go in a different direction for TypeORM v0.3.0 support, but his contributions were crucial.
3.2.0 (2022-02-06)
- Allow async map function (2d2c27b)
3.1.0 (2022-01-13)
- add support to async definition on factory (9432089)
3.1.0-next.1 (2022-01-09)
- add support to async definition on factory (5fcca0e)
3.0.1 (2022-01-08)
- update dependencies and add rimraf to dev deps (504cef2)
3.0.0 (2022-01-06)
- 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)
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
2.0.0 (2021-12-14)
useSeeders
has been renamed touseFactories
to be more consistent with functionality- New
useSeeders
has been created. Returns every Seeder that complies glob pattern and could execute them. Seeder
is now an abstract class instead of an interfaceSeeder
must export default, as that is the one that is chosen onuseSeeder
tearDownDatabase
anduseRefreshDatabase
are deprecated