Skip to content

Releases: jorgebodega/typeorm-seeding

v5.0.0-next.2

01 Aug 21:49
Compare
Choose a tag to compare
v5.0.0-next.2 Pre-release
Pre-release

5.0.0-next.2 (2022-08-01)

Bug Fixes

  • add factory deprecation notice (8d75e05)

v5.0.0-next.1

13 Jul 08:23
Compare
Choose a tag to compare
v5.0.0-next.1 Pre-release
Pre-release

5.0.0-next.1 (2022-07-13)

Bug Fixes

  • update dependency glob to v8 (2d3c996)

Features

  • removed unused command and add some more tests (ea6649e)
  • use typeorm 0.3 (aa0153b)

BREAKING CHANGES

  • Removed config command
  • Connection API is deprecated and removed.

v4.0.0

23 Mar 20:11
Compare
Choose a tag to compare

4.0.0 (2022-03-23)

Bug Fixes

  • add type check on subfactories creation (2b2883b)
  • attrs failing with lazy instances (c8ddda8)
  • update dependency yargs to v17.4.0 (b64c224)

Features

  • add factorized attrs (4a2ce08)
  • add lazyattribute and subfactory as options in attribs (48a3630)
  • add subfactory as valid factorized attr (0f4b37e)
  • separate different types of lazy attributes (3efe94e)

BREAKING CHANGES

  • definition function has been substituted with attrs

v4.0.0-next.3

03 Mar 13:27
Compare
Choose a tag to compare
v4.0.0-next.3 Pre-release
Pre-release

4.0.0-next.3 (2022-03-03)

v4.0.0-next.2

12 Feb 01:17
Compare
Choose a tag to compare
v4.0.0-next.2 Pre-release
Pre-release

4.0.0-next.2 (2022-02-12)

v3.2.0

06 Feb 18:50
Compare
Choose a tag to compare

3.2.0 (2022-02-06)

Features

  • Allow async map function (2d2c27b)

v3.1.0

13 Jan 19:21
Compare
Choose a tag to compare

3.1.0 (2022-01-13)

Features

  • add support to async definition on factory (9432089)

v3.1.0-next.1

09 Jan 15:01
Compare
Choose a tag to compare
v3.1.0-next.1 Pre-release
Pre-release

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

Features

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

v3.0.1

08 Jan 14:07
Compare
Choose a tag to compare

3.0.1 (2022-01-08)

Bug Fixes

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

v3.0.0

06 Jan 21:21
Compare
Choose a tag to compare

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