Releases: MasoniteFramework/orm
Releases · MasoniteFramework/orm
v1.0.3
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
Change Log
Added
- Added
after_creating
to the factory class - Added
has_one
relationship.
v1.0.0
Version 1.0.0
Hooray we made it!!
🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊 🎉 🎊
v0.9.5
Change Log
Fixed
- Fixed Python Package Upload file
v0.9.4
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
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 toTrue
Added
- Added ability to specify the directory where migrations are located (defaults to
databases/migrations
)
Changed
- Changed Postgres from using
WHERE LIKE
toWHERE ILIKE
by default
v0.9.2
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
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
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
Change Log
Added
- Added last to query builder
Fixed
- Fixed issue with eager loading