Skip to content

Latest commit

 

History

History
618 lines (319 loc) · 33.5 KB

CHANGELOG.md

File metadata and controls

618 lines (319 loc) · 33.5 KB

3.6.1 (2024-08-11)

Bug Fixes

  • adjust data source cleanup behaviour to jsdoc description (e27f42e)
  • schema detection in check-database fn (39dcc92)

3.6.0 (2024-07-27)

Features

  • add experimental entity-{uniqueness,property-names,join-columns} helpers (#1062) (9ab61cc)

3.5.1 (2024-04-09)

Bug Fixes

  • deps: bump locter from 2.0.2 to 2.1.0 (#957) (34d491f)
  • deps: bump reflect-metadata from 0.2.1 to 0.2.2 (#958) (7e8e885)
  • deps: bump smob from 1.4.1 to 1.5.0 (#961) (d14f79a)
  • remove extension in typeorm-extension import in seeder template file (#954) (4ccb4b6)

Performance Improvements

  • opimized seeder-factory save-many fn (#955) (a4dfce5)

3.5.0 (2024-02-12)

Bug Fixes

  • deps: bump @faker-js/faker from 8.3.1 to 8.4.0 (#859) (7d505d4)
  • deps: bump @faker-js/faker from 8.4.0 to 8.4.1 (#885) (e9585f6)
  • optimized useEnv singleton fn (a7f08d1)

Features

  • use envix for environment management (883b9d4)

3.4.1-beta.1 (2024-02-07)

Bug Fixes

  • deps: bump @faker-js/faker from 8.3.1 to 8.4.0 (#859) (7d505d4)
  • don't export bin path (3f9708d)

3.4.0 (2024-01-18)

Bug Fixes

  • deps: bump locter to v2.0.2 (4108ee3)
  • remove duplicate runtime environment checks (25db92a)

Features

  • add bin directory as export (#849) (d0e83e6)
  • prioritize seeder track property over global option (b21bb6f)
  • simplify data-source options detection (328b4f0)

3.4.0-beta.2 (2024-01-18)

Bug Fixes

  • remove duplicate runtime environment checks (25db92a)

Features

  • add bin directory as export (#849) (d0e83e6)
  • prioritize seeder track property over global option (b21bb6f)

3.4.0-beta.1 (2024-01-18)

Features

  • simplify data-source options detection (328b4f0)

3.3.0 (2024-01-11)

Bug Fixes

Features

3.2.0 (2023-11-25)

Bug Fixes

  • deps: bump @faker-js/faker from 8.2.0 to 8.3.1 (#782) (fa7a114)
  • deps: bump locter from 1.2.2 to 1.2.3 (#779) (e89daea)

Features

3.1.1 (2023-10-24)

Bug Fixes

  • multiple shebangs in cli entrypoint (c227c66)

3.1.0 (2023-10-21)

Bug Fixes

  • deps: bump @faker-js/faker from 8.0.2 to 8.2.0 (#734) (f3e5054)
  • deps: bump smob from 1.4.0 to 1.4.1 (#732) (fb71fae)

Features

  • async data-source exports (a2cdb9d)

3.0.2 (2023-09-15)

Bug Fixes

  • deps: bump locter from 1.2.1 to 1.2.2 (#687) (3c26fdd)

3.0.1 (2023-07-27)

Bug Fixes

  • export seeder entity (4f728fd)
  • seeder: ensure SeederExecutor properly sort seed file on fileName (#642) (a9c4f92)

3.0.0 (2023-07-25)

Bug Fixes

  • adjust build action to cache bin and dist dir (9afa905)
  • adjust runSeeder(s) method to use seeder executor (3f55d49)
  • align cli options with README (4f3432c)
  • circular dependencies (23b8d6c)
  • circular dependencies between seder and data-source-options (c5d1d09)
  • cleanup file path adjustment (01332c5)
  • deps: bump locter from 1.1.2 to 1.1.3 (#633) (90ce900)
  • deps: bump locter from 1.2.0 to 1.2.1 (#637) (47ffdac)
  • deps: bump rapiq from 0.8.1 to 0.9.0 (#618) (e2d9d1b)
  • include bin directory in package-json file list (327ce47)
  • keepà bin directory + updated .gitignore (58aebad)
  • logging of seed file name on creation (8bb0ec5)
  • minor cleanup (8773e02)
  • only track one time seeder (8edf6cf)
  • preserve bin/cli.{mjs,cjs} for publishing (7b175e9)
  • rename seeder property oneTimeOnly to track + global seedTracking option (b8c4b35)
  • resolve seeder/factory file patterns & paths relative to root directory (622aec9)
  • seeds without timestamp should be considered older (f511978)
  • yargs import for esm cli entry-point (3d46dff)

Features

  • allow setting (faker) locale for seeder factories (5387d44)
  • explicit seed execution, comparison by file-name/path (61de8dd)
  • generate cli entry point for cjs/esm (0cc73b6)
  • implemented seed:craete cli command + adjusted seed run command (7cc56bc)
  • only create seeder table if trackable seed found or global flag is set (379c296)
  • option to execute seeds only once (5f6d98f)
  • refactor and optimized file path modification (5bdfd0a)
  • refactored cli options + enhanced commands (637250b)
  • remove legacy data-source options building (6cb4d77)
  • use rollup and swc to create bundles for cjs & esm (46016e8)

BREAKING CHANGES

  • public api changed
  • ormconfig no longer supported
  • CLI path changed

3.0.0-alpha.9 (2023-07-22)

Bug Fixes

  • logging of seed file name on creation (8bb0ec5)
  • resolve seeder/factory file patterns & paths relative to root directory (622aec9)

Features

  • explicit seed execution, comparison by file-name/path (61de8dd)
  • refactor and optimized file path modification (5bdfd0a)

BREAKING CHANGES

  • public api changed

3.0.0-alpha.8 (2023-07-21)

Bug Fixes

  • align cli options with README (4f3432c)
  • deps: bump locter from 1.1.2 to 1.1.3 (#633) (90ce900)
  • rename seeder property oneTimeOnly to track + global seedTracking option (b8c4b35)

Features

  • implemented seed:craete cli command + adjusted seed run command (7cc56bc)
  • refactored cli options + enhanced commands (637250b)

3.0.0-alpha.7 (2023-07-20)

Bug Fixes

  • circular dependencies (23b8d6c)
  • cleanup file path adjustment (01332c5)

3.0.0-alpha.6 (2023-07-16)

Bug Fixes

  • adjust runSeeder(s) method to use seeder executor (3f55d49)
  • deps: bump rapiq from 0.8.1 to 0.9.0 (#618) (e2d9d1b)
  • only track one time seeder (8edf6cf)
  • seeds without timestamp should be considered older (f511978)

Features

  • allow setting (faker) locale for seeder factories (5387d44)
  • option to execute seeds only once (5f6d98f)

3.0.0-alpha.5 (2023-05-29)

Bug Fixes

  • adjust build action to cache bin and dist dir (9afa905)

3.0.0-alpha.4 (2023-05-29)

Bug Fixes

  • preserve bin/cli.{mjs,cjs} for publishing (7b175e9)

3.0.0-alpha.3 (2023-05-29)

Bug Fixes

  • keepà bin directory + updated .gitignore (58aebad)

3.0.0-alpha.2 (2023-05-29)

Bug Fixes

  • include bin directory in package-json file list (327ce47)

3.0.0-alpha.1 (2023-05-29)

Bug Fixes

  • circular dependencies between seder and data-source-options (c5d1d09)
  • yargs import for esm cli entry-point (3d46dff)

Features

  • generate cli entry point for cjs/esm (0cc73b6)
  • remove legacy data-source options building (6cb4d77)
  • use rollup and swc to create bundles for cjs & esm (46016e8)

BREAKING CHANGES

  • ormconfig no longer supported
  • CLI path changed

2.8.1 (2023-05-29)

Bug Fixes

  • deps: bump @faker-js/faker from 7.6.0 to 8.0.2 (#589) (1cc418b)
  • deps: bump rapiq from 0.8.0 to 0.8.1 (#590) (ae669c8)
  • deps: bump smob from 1.0.0 to 1.4.0 (#588) (7b0d094)

v2.8.0

compare changes

🚀 Enhancements

  • Sort by filename when using seed pattern (#546)

🩹 Fixes

  • deps: Bump yargs from 17.7.1 to 17.7.2 (#554)

📦 Build

  • deps-dev: Bump typeorm from 0.3.12 to 0.3.13 (#534)
  • deps-dev: Bump @tada5hi/commitlint-config from 1.0.0 to 1.0.1 (#530)
  • deps: Bump codecov/codecov-action from 3.1.1 to 3.1.3 (#547)
  • deps-dev: Bump better-sqlite3 from 8.2.0 to 8.3.0 (#535)
  • deps-dev: Bump eslint from 8.36.0 to 8.38.0 (#537)
  • deps-dev: Bump vitepress from 1.0.0-alpha.64 to 1.0.0-alpha.73 (#545)
  • deps-dev: Bump changelogen from 0.5.2 to 0.5.3 (#549)
  • deps-dev: Bump eslint from 8.38.0 to 8.39.0 (#550)
  • deps-dev: Bump @types/node from 18.15.11 to 18.16.0 (#548)
  • deps-dev: Bump vitepress from 1.0.0-alpha.73 to 1.0.0-alpha.74 (#551)
  • deps-dev: Bump @types/node from 18.16.0 to 18.16.2 (#553)
  • deps-dev: Bump @types/node from 18.16.2 to 18.16.3 (#556)
  • deps-dev: Bump typeorm to v0.3.15 (33c34b1)
  • deps-dev: Remove semantic release dependency (5b9047e)

✅ Tests

  • Fix file-path sort test for windows os (30971e3)

❤️ Contributors

v2.7.0

compare changes

🚀 Enhancements

  • Prepare & extend env reading for env data-source otions reading (c3a401c)
  • Experimental read env data-source options and merge them with file based options (e5c4e1b)
  • Add extra utility to merge data-source options (df5637c)

🩹 Fixes

  • deps: Bump locter from 1.0.10 to 1.1.0 (#523)
  • Export env sub module (fc9090d)

📦 Build

  • Replaced semantic-release with changelogen for release management (66e3997)
  • deps-dev: Bump vitepress from 1.0.0-alpha.61 to 1.0.0-alpha.64 (#529)
  • deps-dev: Bump @tada5hi/eslint-config-typescript (#526)
  • deps-dev: Bump @types/yargs from 17.0.22 to 17.0.24 (#527)
  • deps-dev: Bump @types/node from 18.15.7 to 18.15.11 (#528)

❤️ Contributors

2.6.2 (2023-03-25)

Bug Fixes

  • typo in mongo-db connection creation (f828f26)

2.6.1 (2023-03-25)

Bug Fixes

  • deps: bump locter from 1.0.9 to 1.0.10 (#512) (a4ef42d)

2.6.0 (2023-03-25)

Features

  • add generate migraiton helper utility (c9e3736)
  • add mongodb driver support (5ef4d74)
  • better env variable(s) handling (fea6bf7)

2.5.4 (2023-03-13)

Bug Fixes

  • use of default export for data-source search (66eddf0)

2.5.3 (2023-03-13)

Bug Fixes

  • deps: bump locter to v1.0.9 (ce0abc0)
  • deps: bump yargs from 17.6.2 to 17.7.1 (#492) (0850571)
  • safer strategy for replacing windows separator (8839b57)

2.5.2 (2023-02-16)

Bug Fixes

  • more secure path extension replacement (51f2056)

2.5.1 (2023-02-16)

Bug Fixes

  • enhance path replacement for ts -> js (dd141ab)
  • minor enhancements for path replacing + enhanced find operation (17160ea)

2.5.0 (2023-02-15)

Bug Fixes

  • deps: bump rapiq, better-sqlite(dev) & typeorm(dev) (acff4f7)

Features

  • lazy transpiling of seeder-/data-source-files (5d092ad)
  • stricter typescript rules (64a2868)

2.4.2 (2023-01-17)

Bug Fixes

  • deps: bump locter from 0.6.1 to 0.7.0 (bb0d2fa)
  • deps: bump rapiq from 0.6.2 to 0.6.3 (#438) (d2d4919)
  • generic type for seeder meta (f82c655)

2.4.1 (2022-12-28)

Bug Fixes

  • deps: bump locter from 0.6.0 to 0.6.1 (79f44bf)
  • deps: bump rapiq from 0.6.1 to 0.6.2 (1c941a1)

2.4.0 (2022-12-16)

Features

  • run migrations with specified transaction mode (3e7f9a5)

2.3.1 (2022-12-09)

Bug Fixes

  • deps: bump locter from 0.5.1 to 0.6.0 (8f12f18)
  • deps: bump rapiq from 0.6.0 to 0.6.1 (f15a95e)
  • pending migrations check (532cd2f)

2.3.0 (2022-11-27)

Features

  • add check-database utility fn (706e044)
  • allow null value in query filter list (949124c)

2.2.13 (2022-11-16)

Bug Fixes

  • typo in apply-query check (df79051)

2.2.12 (2022-11-06)

Bug Fixes

  • deps: bump yargs from 17.6.0 to 17.6.2 (b76eeac)

2.2.11 (2022-10-28)

Bug Fixes

  • only apply query parameter if options are defined (49b1d0a)

2.2.10 (2022-10-27)

Bug Fixes

  • deps: bump rapiq from 0.3.1 to 0.3.2 (dd0fc55)

2.2.9 (2022-10-26)

Bug Fixes

  • deps: bump rapiq from 0.0.6 to 0.3.1 (b78dfe8)

2.2.8 (2022-10-21)

Bug Fixes

  • param order in apply-query-parse-output (4fff8cd)

2.2.7 (2022-10-21)

Bug Fixes

  • add apply-query function + cleaned up query sub-module (247fa0a)

2.2.6 (2022-10-20)

Bug Fixes

  • apply-sort should rely on apply-query-sort (dc7f713)

2.2.5 (2022-10-20)

Bug Fixes

  • updated rapiq to v0.2.6 (2220d4d)

2.2.4 (2022-10-20)

Bug Fixes

  • use default-path as alternative default-alias (13594d4)

2.2.3 (2022-10-20)

Bug Fixes

  • updated rapiq to v0.2.5 & updated docs (09226cb)

2.2.2 (2022-10-19)

Bug Fixes

  • updated rapiq to v0.2.4 (0b35d43)

2.2.1 (2022-10-19)

Bug Fixes

  • export parse* methods + updated docs & README.md (3251135)

2.2.0 (2022-10-19)

Features

  • strongly typed options for query parse functions (206c653)

2.1.15 (2022-10-13)

Bug Fixes

  • deps: bump @faker-js/faker from 7.5.0 to 7.6.0 (9730d27)

2.1.14 (2022-10-11)

Bug Fixes

2.1.13 (2022-10-10)

Bug Fixes

  • deps: bump rapiq from 0.0.4 to 0.0.6 (591848e)

2.1.12 (2022-10-04)

Bug Fixes

  • add missing save argument for seeder-factory make method (3f5f32b)

2.1.11 (2022-10-03)

Bug Fixes

  • set seeder to synchronous execution by default (955f2ef)