Skip to content

Improvements to model factories, new make:factory command and bug fixes

Choose a tag to compare

@thetutlage thetutlage released this 22 May 11:24

Commits

  • feat: add parent property to the factory builder for a relationship cd77bcd
  • refactor: install sqlite3 package instead of unsupported @vscode/sqlite3 5a6862c
  • refactor: call build method on the factory e498726
  • feat: add support for recursively merging attributes from factories 8f708b3
  • chore: update dependencies 0ecf89a
  • fix: prefix table name when making relationship join queries 9385a9b
  • refactor: use knex whereLike and whereILike methods under the hood f2e7d36
  • feat: add where"JSON" methods introduced by Knex 1.0 f875828
  • feat: add --compact-output on DbSeed command (#838) 3880c8d
  • feat: expose knex query builder instance in schema classes dff3f84
  • feat: add "whereLike" and "whereILike" methods 1b6001d
  • feat: add withMaterialized and withNotMaterialized to query builder 04c5c25
  • chore: add a space between migrator output and time elapsed in compact-output mode ed15ba9
  • feat: make:factory command + --factory flag to make:model (#837) bd22c96
  • feat: add --compact-output flag to run/rollback commands (#836) f8e0c8c
  • feat: allow model properties to report if they are dirty or not e40297c
  • feat: allow passing model assignment options via relationship persistence methods 5b2f846
  • feat: add support to define pivot attributes via factory builder 49a1d04
  • fix: do not wrap connection name in quotes when running migrations from tests 73a43ca
  • refactor: remove inline callbacks in favor of tap method 13588af
  • refactor: pass factory builder instance to all factory operations 72f233c
  • chore: remove @vscode/sqlite3 in favor of sqlite3 2332fbf
  • chore: update dependencies 9f87bc3
  • refactor: use anonymous classes for migrations (#829) 3d12a45
  • docs: remove outdated changelog.md (#834) bb7c81d
  • Fix the Contributing link at README (#833) 41a6135
  • feat(query-builder): add support for columns for with and withRecursive (#826) 1518dc6

PRs

  • feat(query-builder): add support for columns for with and withRecursive by @Melchyore in #826
  • Fix the Contributing link at README by @brkn in #833
  • Remove outdated CHANGELOG.md by @brkn in #834
  • Use anonymous classes for migrations by @RomainLanz in #829
  • feat: add --compact-output flag to run/rollback commands by @Julien-R44 in #836
  • feat: make:factory command + --factory flag to make:model by @Julien-R44 in #837
  • feat: add --compact-output on DbSeed command by @Julien-R44 in #838

New Contributors

Full Changelog: v17.2.0...v18.0.0