Skip to content

Releases: scrawler-labs/arca-orm

v4.2.0

14 Apr 14:43
Compare
Choose a tag to compare
  • chore : dependency update and code formatting

v4.1.0

03 Mar 11:17
Compare
Choose a tag to compare
  • feat : get complete query builder using db()->select($expression)

v4.0.2

13 Feb 04:11
Compare
Choose a tag to compare

fix: handle float datatype properly

v4.0.1

24 Nov 11:53
df67215
Compare
Choose a tag to compare
  • fix: check for null before refresh

v4.0.0

11 Oct 08:07
Compare
Choose a tag to compare

What's New ?

Features

  • Eager load modal reaction
  • toArray() and toString() now returns with loaded relations
  • Database factory to build container and Database class
  • refresh() function for model to sync its state if relational models are modified
  • Ability to store arrays and objects directly into database (this is done using serialisation)

Performance

  • Loaded relational models are not loaded again

Security and Stability

  • Using safe version of php function so that Exception is thrown instead of false value being return
  • Force setting of id now throws error
  • Foreign key constraints are applied when saving relational models
  • Unstable static functions are removed
  • Events class is removed as it was causing multiple side effect
  • Dependencies are now properly managed by containers

Testing and Code quality

  • Code now follows phpcs-fixer symfony code guideline
  • Minimised class complexity using traits
  • Code coverage now 100%
  • Passes <75% in mutation testing
  • Passes level 8 phpstan analysis

Full Changelog: v3.4.0...v4.0.0

v3.4.0

06 Oct 00:40
5df9a3d
Compare
Choose a tag to compare
  • Better type hinting
  • Use safe version of built in php function
  • Better tests
  • Update License to MIT

v3.3.0

05 Oct 10:50
Compare
Choose a tag to compare
  • feat : tablesExist and tableExists function
  • fix: handle case where table does not exist

v3.2.0

05 Oct 06:27
Compare
Choose a tag to compare
  • fix : return null instead of bool when no result found

v3.1.1

30 Sep 04:49
Compare
Choose a tag to compare

fix: return false if there is no result

v3.1.0

27 Sep 21:02
Compare
Choose a tag to compare

fix : connection variable is now private