Skip to content

Releases: NitroXy/BasicObject

v.1.4.2

11 Nov 09:10
Compare
Choose a tag to compare

Bugfixes

  • Fixed warning from passing null to class_name, causing errors in php 8.2

v.1.4.1

22 Dec 17:13
@ext ext
Compare
Choose a tag to compare

Bugfixes

  • Removed unset($this) from BasicObject::delete()

Additions

  • Run tests in PHP 7.1

v1.4

22 Dec 16:56
@ext ext
Compare
Choose a tag to compare

Additions

  • Allow fully custom query: the user can now specify a custom query as long as it generates the necessary fields.
  • Expose exists: BasicObject::exists() returns a boolean indicating if this instance refers to an existing row or not (i.e. tell if it will run INSERT INTO or UPDATE).
  • Support passing extra fields to update_attributes: BasicObject::update_attributes gained a new option extra_fields which can be used when fields are overridden in __set.

v1.3

14 Feb 23:51
Compare
Choose a tag to compare

Removed dependency on memcache and instead added a simple interface to implement for caching.