Releases: mahmoudmohamedramadan/easy-model
Releases · mahmoudmohamedramadan/easy-model
v1.1.5
v1.1.4
v1.1.3
Added
- Add the
fetchBuilder
method in #17. - Add the
setSearchableQuery
method in #18. - Add the
setUpdatableQuery
method in #18. - Add the ability to specify the builder type that is getting back in #18.
Changed
- Remove the
updateOrCreateModel
andupdateOrCreateRelationship
methods in #18. - Remove the
setChainableModel
method in #18. - Update the return type of the
setUpdatableModel
method in #18.
Fixed
- Fix updating an empty array of togglable columns in #16.
- Fix the model serialization issue encountered in the
toggleColumns
method in #16. - Fix populating the
updated_at
column when incrementing and decrementing values in #16. - Fix toggling many columns at a bunch of records in #18.
- Fix updating single model instances in #18.
Full Changelog: v1.1.2...v1.1.3
v1.1.2
v1.1.1
v1.1.0
Changed
- Refactor the code in #10.
Fixed
- Fix the providing columns and values only to the
addWheres
andaddOrWheres
methods in #10.
Full Changelog: v1.0.9...v1.1.0
v1.0.9
Added
Fixed
- Fix the result ordering by the same model column and its relationship in #6.
Full Changelog: v1.0.8...v1.0.9
v1.0.8
Added
- Add the ability to order the result using
HasOne
,HasMany
,BelongsTo
, andBelongsToMany
relationships in #4. - Add the ability to use
Local Scopes
andGlobal Scopes
in #5.
Changed
- Improve the code's readability.
- Optimize the query time.
Fixed
- Fix the result ordering by model relationship in #2.
Full Changelog: v1.0.7...v1.0.8
v1.0.7
Changed
- Update the
order by
query by replacing the foreign with the primary key. - Improve the code's readability.
- Rename the
addAllWheres
andaddOrAllWheres
methods toaddRelationConditions
andaddOrRelationConditions
.
Fixed
- Fix searching within the model itself.
- Fix searching in the relationship with an anonymous model.
v1.0.6
Added
- Add the
ext-pdo
torequire
key. - Add the
laravel/framework
to therequire
key.
Changed
- Optimize the query time.
- Remove the
illuminate/database
from therequire
key. - Remove the
illuminate/contracts
from therequire
key. - Remove the
illuminate/pagination
from therequire
key.