Skip to content

Releases: NitroXy/BasicObject

v.1.4.2

Choose a tag to compare

@torandi torandi released this 11 Nov 09:10

Bugfixes

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

v.1.4.1

Choose a tag to compare

@ext ext released this 22 Dec 17:13

Bugfixes

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

Additions

  • Run tests in PHP 7.1

v1.4

Choose a tag to compare

@ext ext released this 22 Dec 16:56

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

Choose a tag to compare

@torandi torandi released this 14 Feb 23:51

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