Skip to content

Latest commit

History

History
176 lines (95 loc) 路 8.67 KB

CHANGELOG.md

File metadata and controls

176 lines (95 loc) 路 8.67 KB

5.0.1 (2022-08-18)

Bug Fixes

5.0.1-next.1 (2022-08-17)

Bug Fixes

5.0.0 (2022-08-01)

Bug Fixes

  • add factory deprecation notice (8d75e05)
  • 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.

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

Bug Fixes

  • add factory deprecation notice (8d75e05)

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.

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

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

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

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

Bug Fixes

  • add type check on subfactories creation (2b2883b)
  • attrs failing with lazy instances (c8ddda8)

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

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