Skip to content

Releases: mahmoudmohamedramadan/easy-model

v1.1.5

13 Dec 21:10
9b0c2d8
Compare
Choose a tag to compare

Changed

  • Restore the resolveModel method in #22 and #23.

Full Changelog: v1.1.4...v1.1.5

v1.1.4

13 Dec 20:56
2e209eb
Compare
Choose a tag to compare

Changed

  • Remove the resolveModel method in #19.

Full Changelog: v1.1.3...v1.1.4

v1.1.3

06 Dec 18:42
Compare
Choose a tag to compare

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 and updateOrCreateRelationship 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

29 Nov 11:22
Compare
Choose a tag to compare

Added

  • Add the zeroOutColumns method in #15.
  • Add the toggleColumns method in #15.
  • Add the ability to execute update operations using Query Builder and Eloquent Builder in #15.

Changed

  • Update the functionality of incrementing and decrementing the columns in #15.

Full Changelog: v1.1.1...v1.1.2

v1.1.1

22 Nov 07:56
Compare
Choose a tag to compare

Added

  • Add the Updatable trait in #11.
  • Add the ignoreGlobalScopes method in #12.
  • Add the includeSoftDeleted method in #13.

Changed

  • Rename the setModel method to setSearchableModel in #11.
  • Refactor the code.
  • Improve the code's readability.

Full Changelog: v1.1.0...v1.1.1

v1.1.0

14 Nov 14:11
Compare
Choose a tag to compare

Changed

  • Refactor the code in #10.

Fixed

  • Fix the providing columns and values only to the addWheres and addOrWheres methods in #10.

Full Changelog: v1.0.9...v1.1.0

v1.0.9

07 Nov 17:44
Compare
Choose a tag to compare

Added

  • Add the ability to pass closures to addWheres and addOrWheres methods in #7 and #8.

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

31 Oct 21:26
Compare
Choose a tag to compare

Added

  • Add the ability to order the result using HasOne, HasMany, BelongsTo, and BelongsToMany relationships in #4.
  • Add the ability to use Local Scopes and Global 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

25 Oct 15:03
Compare
Choose a tag to compare

Changed

  • Update the order by query by replacing the foreign with the primary key.
  • Improve the code's readability.
  • Rename the addAllWheres and addOrAllWheres methods to addRelationConditions and addOrRelationConditions.

Fixed

  • Fix searching within the model itself.
  • Fix searching in the relationship with an anonymous model.

v1.0.6

18 Oct 19:00
Compare
Choose a tag to compare

Added

  • Add the ext-pdo to require key.
  • Add the laravel/framework to the require key.

Changed

  • Optimize the query time.
  • Remove the illuminate/database from the require key.
  • Remove the illuminate/contracts from the require key.
  • Remove the illuminate/pagination from the require key.