Skip to content

Releases: MasoniteFramework/orm

v1.0.3

18 Jan 03:20
39d1f68
Compare
Choose a tag to compare

Change Log

Added

  • Added joins() to the query builder
  • Added __visible__ to the model serialization

Fixed

  • Fixed issue where models were calling UPDATES when they should have calling INSERT queries

v1.0.1

09 Jan 03:37
Compare
Choose a tag to compare

Change Log

Added

  • Added after_creating to the factory class
  • Added has_one relationship.

v1.0.0

05 Jan 04:24
Compare
Choose a tag to compare

Version 1.0.0

Hooray we made it!!

🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊

v0.9.5

05 Jan 04:14
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed Python Package Upload file

v0.9.4

04 Jan 01:57
86b8be5
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed issues where multiply order bys would not compile correctly
  • Fixed several small coding issues
  • Fixed Schema class connection
  • Fixed issue where attributes could not be retrieved correctly after immediately setting them.

Added

  • Added when method to query builder
  • Added truncating without foreign keys
  • Added enable and disable foreign key checks
  • Added timezone to models
  • Added new model method for overriding date time strings
  • Added ability to pass a dictionary to the where method

Changed

  • Changed count method to return integer
  • Changed migrations saving in migrations table with a .py suffix. Removed this to be more compatible with Orator

v0.9.3

19 Dec 02:20
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed issue where updates were not setting the updated_at timestamp on records
  • Fixed issue where migrations were not logging queries even though log_queries was set to True

Added

  • Added ability to specify the directory where migrations are located (defaults to databases/migrations)

Changed

  • Changed Postgres from using WHERE LIKE to WHERE ILIKE by default

v0.9.2

17 Dec 13:37
ef4c5c8
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed issue where mutable parameters would cause issues when calling methods multiple times
  • Fixed an issue where raw queries were not passing down the query bindings

Added

  • Added better exceptions. Query exceptions now throw a standardize QueryException class across all connections.
  • Added where like and where not like to the query builder

Changed

  • Refactored several classes to prevent mutable default parameter issues and improve code quality

v0.9.1

02 Dec 04:14
6b5acf2
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed issue where belongs to relationship was fetching relationship on wrong model value
  • Fixed issue where relationship query was making duplicate value bindings

v0.9.0

02 Dec 03:25
Compare
Choose a tag to compare

Change Log

Fixed

  • Fixed migration output SQL when sql queries are lists
  • Fixed issue with platform classes ignoring nullable columns
  • Fixed issue where dates were defaulting to today's date

Added

  • Added ability to run a specific seeder

v0.8.1

25 Nov 04:32
dc95f9b
Compare
Choose a tag to compare

Change Log

Added

  • Added last to query builder

Fixed

  • Fixed issue with eager loading