Releases: adonisjs/lucid
Releases · adonisjs/lucid
Adding many to many and has many through relations
- test: fix failing tests bcaa619
- refactor: Abstract preloading logic to it's own class 61e6e04
- feat: implement has many through 4d0121f
- feat: add many to many relationship c59d90e
- fix: lazy boot relationships for circular dependencies to work fine 0e2116d
- test: add another use case test for hasMany 4e27cdf
- fix(belongsTo): set related many set correct relationships 45a60bb
Heck lot of features added
This is big release with handful of additions.
- Added
hasOne
,hasMany
andbelongsTo
relationships - Added support for defining dynamic connections in model queries.
- Added support for preloading relationships
- Added support for registering dynamic connections with Database manager
Commits
- chore: add healthCheck property in config template 348a547
- refactor: export relationship decorators from provider b6c5df2
- feat: implement belongsTo relationship 1df4d21
- feat: implement hasMany relationship 5371f88
- refactor: tighten up preloads api bad608c
- refactor: cleanup tests to avoid creating too many connections f6f0691
- feat: model insert,update and delete now allows using transactions 72dcabe
- refactor(transaction): use events instead of hooks 2b04b85
- feat(transaction): add support for before and after commit/rollback hooks ad65a1a
- test: fix breaking tests d32f9f0
- refactor: ask query builder to return the profiler action 43fe9f7
- feat: adding static find methods c7a62f8
- feat(baseModel): adding serialize to offload work from toJSON method be37cfb
- refactor: remove nullable from columns and add serialize property 8009256
- refactor: fix breaking test ec7b8f2
- feat: add healthchecks support 93b01dd
- feat(config): add support for optional config revisions a7a6e76
- refactor: marking certain properties readonly 0c9c632
- feat(manager): add support for patching connection config 3eb11ae
- refactor: manager.add now acts as a noop for existing connection 4650bc5
- fix: order of event arguments on the connection class 2e6c317
- refactor: change idle state to registered to be more accurate cd9d372
- refactor: restructure tests and fix typings reference path in source code 17ed065
- refactor: adding new static methods for querying on the model ee75a1d
- refactor: improving relationships API eb4de43
- feat: add support for nested preloads 1ea384c
- feat: restructure and implement hasOne 992f2fe
- refactor: export computed decorator 66d177e
- chore: update dependencies ecfb96c
Adding query builder to the orm
- feat: adding support for defining query options and sideloaded properties 34bda89
- ci: removing environment flag 15c0b72
- test: update .env file 1d051a9
- fix: wrap query results for sqlite driver as well 290ec66
- refactor: model query builder subqueries can now access the parent model 9bc3bf1
- feat: implement orm query builder a72283a
Fixing for the last release
Adding support for models
The release contains simplistic support for Active Record models
- chore: update data-models dependency 13d6f94
- test: fix failing test with sqlite driver coz of returning method nature ade15a9
- chore: update dependencies c81a4c4
- chore: using adonisjs block to define instructions and removing instructions file b6144bb
- feat: implement basic functionality for the base model aca8ad5
- refactor: set result same as record initially cd4206f
- feat: initiate orm 41c4d13
Fixes for the last release
Some of the exports were broken in the last release
Releasing with Database query builder
- refactor: add missing dependency for tests to pass 73e021e
- chore: add np for releases 1cac9bd
- feat: add instructions file 9ed0bcd
- chore(package): update dependencies e094a0a
- chore(package): update dependencies 40d1e23
- refactor: cleaning up and using traits to keep the code DRY 7465792
- refactor: scope database class inside it's own directory c83f0be
- refactor: use unscoped profiler by default 536e83e
- ci: removing appveyor 4b0272a
- chore(package): upgrade for knex latest version 25fba81
- feat: allowing defining mode and profiler for a query client 0896fe2
- feat: add support for profiling queries c6621ff
- feat: add database to be the primary API for making queries 2443ce9
- feat: add support for modes in query clients 069c5aa
- feat(connection manager): proxy error event 5919bd3
- refactor: abstract queryclient to it's own class from connection d5a52c0
- feat: finish query builder with read/write support 80cb80b
- feat: add support for aggregates in query builder b80da39
- feat: implement insert query builder 447fda7
- chore(package): update dependencies e99b202
- ci: using circleci machine executor for tests e8eac51
- chore: setup tests using docker compose 4c8df5e
- refactor: running tests for mysql,pg and sqlite drivers 3542934
- feat: completing the chainable query builder eab6840
- feat: add connection manager to manage database connections 7a962a6
- feat: implement connection class to manage and monitor pool resources 69b366a
- feat: setup initial typings for database and querybuilder c8713e9
- feat: setup new project a967c9d
- refactor: remove old files 9d003db
- test(mysql): fix failing tests 6cd666d
- chore(docker): add docker file for local testing 92c5834
- fix(relations): apply pivotModel scopes on belongsToMany sub queries 6cc7012
- chore(package): update dependencies 73c1071
- feat(model): add support for pre-defining timestamp values 5c2b180
- chore(dependency): update knex (#421) fe5fa00
- doc(readme): fix typo 7ed4138
- doc(instructions.md): fix typo 974845e
- Fix typo in JSDoc (#403) 2646b0c