Releases: richecr/duck-orm
Releases · richecr/duck-orm
v1.0.2
What's Changed
Added
- Added logs in methods using the lib
logging
. - Added
ModelManager
to manage database tables. - Preparing
DuckORM
to support migrations withduck-orm-cli
.
Corretion
- Method
associations
now ignores fields that are not of typeForeingKey
orOneToOne
.
New Contributors
- @dependabot made their first contribution in #43
- @richecr made their first contribution in #48
Full Changelog: v1.0.1...v1.0.2
v1.0.1
[1.0.1] - 11-06-2021: Released
Added
- Added
__tablename__
attribute of models in ModelManager.
Corretion
- ModelManager
create_all_tables
method does not create the tables
and neither the relationships already created, before it generated an error. - The
drop_all_tables
to ModelManager method does not drop the tables
that do not exist, before it generated an error. - Fixed the
add
andget_all
method of theOneToMany
field. - Fixed the
add
,add_models
andget_all
method of theManyToMany
field. - Fixed
parser
method ofQueryExecutor
module.
v1.0.0
[1.0.0] - 10-31-2021: Released
Added
- Implement method
find_by_id
and documentation. #9 @richecr - Added the
on_delete
parameters to theForeignKey
field and documentation. #17 @yuri-s-s - Added the
on_update
parameters to theForeignKey
field and documentation. #19 @yuri-s-s - Add parameter
name_constraint
inForeignKey
field and documentation. #18 @richecr - Add parameter
name_constraint
inOneToOne
field and documentation. #30 @richecr - Add
ManagerModel
and documentation. #31 @richecr - Changed the way that the determined between the tables is created. #31 @richecr
- Add field Timestamp. #15 @richecr
- Suport Databases 0.5.3. @richecr
Corretion
- Documentation fix: portuguese words and some broken links. #20 e #32 @lucascz37 and @saintmalik
New Contributors
- @yuri-s-s made their first contribution in #21
- @lucascz37 made their first contribution in #20
- @saintmalik made their first contribution in #32
Full Changelog: v0.1.0...v1.0.0