Skip to content

Latest commit

 

History

History
73 lines (47 loc) · 4.39 KB

CHANGELOG.md

File metadata and controls

73 lines (47 loc) · 4.39 KB

FORKED jorgebodega/typeorm-seeding@3.2.0

Thank You

  • 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)

Features

  • Allow async map function (2d2c27b)

3.1.0 (2022-01-13)

Features

  • add support to async definition on factory (9432089)

3.1.0-next.1 (2022-01-09)

Features

  • add support to async definition on factory (5fcca0e)

3.0.1 (2022-01-08)

Bug Fixes

  • update dependencies and add rimraf to dev deps (504cef2)

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

2.0.0 (2021-12-14)

BREAKING CHANGES

  • useSeeders has been renamed to useFactories 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 interface
  • Seeder must export default, as that is the one that is chosen on useSeeder
  • tearDownDatabase and useRefreshDatabase are deprecated