Skip to content

Full of goodies

Compare
Choose a tag to compare
@thetutlage thetutlage released this 02 Mar 11:50

Highlights

  • This release includes a drop-in replacement for faker-js (a project no longer active)
  • Support for better-sqlite3. 16x faster replacement to sqlite3.
  • Fixing migration names to be platform agnostics
  • New commands migration:refresh, migration:reset, migration:fresh and db:wipe.

Breaking changes

  • The returning method now returns an array of objects, even when one column is mentioned. It is a direct result of changes made by knex knex/knex#4471
  • The sqlite3 package is no longer supported. Instead, you can use@vscode/sqlite3 as a drop-in replacement.
  • The fakerjs package is no longer supported. Instead, you can use @faker-js/faker as a drop-in replacement.

Commits

  • chore: release under next tag cad1e8c
  • test: fix breaking tests 6ea257b
  • fix: Fix migration filenames to be platform agnostic eecdc56
  • fix: retain existing attributes when calling loadCount on the model instance 0e19c53
  • refactor: remove unused imports 27e1dfd
  • feat: add support for better-sqlite3 5d006b8
  • fix: ddl logs to lowercase the SQL query b991e82
  • chore: dropping log statements to debug failing mssql tests 5aea733
  • ci: update docker setup and failing mysql tests a118455
  • test: fixing breaking tests after knex upgrade 851b23f
  • ci: running sqlite tests outside of docker 78c4939
  • ci: attempt to fix sqlite3 errors 5149a81
  • refactor: allow returning calls for sqlite 3b3bb7a
  • chore: attempt to fix dockerfile python issues b7ce89c
  • fix: node-gyp docker-alpine error and switch to lts 3d9f752
  • chore: use @vscode/sqlite3 over sqlite3 02468dc
  • test: fix test script path d27a87f
  • chore: update dependencies e35170f
  • refactor: reorganize meta config 64bffa4
  • chore: update dependencies bfcc2e6
  • refactor: use @faker-js/faker instead of faker (#791) 759f2e4
  • feat: add getAllViews getAllTypes dropAllTypes and dropAllViews functions (#784) f7aa5b9
  • feat: add migration:refresh, migration:reset, migration:fresh and db:wipe commands (#764) 441d9b5
  • refactor: add missing "wrapIdentifier" option on PostgreConfig (#763) 19990dc
  • feat(real): add helper to load all factories (#760) 7e88ad6
  • refactor(stub): Enable foreign key support in SQLite config 87ce418

PRs

New Contributors

Full Changelog: v16.3.2...v17.0.0