Skip to content

Releases: richecr/duck-orm

v1.0.2

13 May 18:37
352ef24
Compare
Choose a tag to compare

What's Changed

Added

  • Added logs in methods using the lib logging.
  • Added ModelManager to manage database tables.
  • Preparing DuckORM to support migrations with duck-orm-cli.

Corretion

  • Method associations now ignores fields that are not of type ForeingKey or OneToOne.

New Contributors

Full Changelog: v1.0.1...v1.0.2

v1.0.1

07 Nov 23:06
2480aa1
Compare
Choose a tag to compare

[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 and get_all method of the OneToMany field.
  • Fixed the add, add_models and get_all method of the ManyToMany field.
  • Fixed parser method of QueryExecutor module.

v1.0.0

31 Oct 21:01
Compare
Choose a tag to compare

[1.0.0] - 10-31-2021: Released

Added

  • Implement method find_by_id and documentation. #9 @richecr
  • Added the on_delete parameters to the ForeignKey field and documentation. #17 @yuri-s-s
  • Added the on_update parameters to the ForeignKey field and documentation. #19 @yuri-s-s
  • Add parameter name_constraint in ForeignKey field and documentation. #18 @richecr
  • Add parameter name_constraint in OneToOne 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

New Contributors

Full Changelog: v0.1.0...v1.0.0

v0.1.0

06 Aug 17:58
f20b3d0
Compare
Choose a tag to compare

[0.1.0] - 2021-08-06

Added

  • Launch.
  • Creation of models.
  • Support for postgresql and sqlite.
  • Supported Fields: String, Integer, BigInteger, Varchar and Boolean.
  • Supported Relationships: One To One, One To Many and Many To Many.