Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Releases: ihabunek/phormium

0.8.0 - PDO atrributes in config

07 May 10:31
Compare
Choose a tag to compare
  • Added database attributes to configuration
  • BC BREAK: Phormium will no longer force lowercase column names on database tables. This can still be done manually by setting the PDO::ATTR_CASE: attribute to PDO::CASE_LOWER in the configuration.

0.7.0 - Introducing relations

05 Dec 18:04
Compare
Choose a tag to compare
  • BC BREAK: Dropped support for PHP 5.3
  • Added a shorthand for model relations with Model->hasChildren() and
    Model->hasParent()

0.6.2

28 Sep 10:03
Compare
Choose a tag to compare
  • Fixed an issue with shallow cloning which caused the same Filter instance to be used in cloned QuerySets.

0.6.1

13 Sep 13:24
Compare
Choose a tag to compare
  • Added DB::disconnect(), for disconnecting a single connection
  • Added DB::isConnected(), for checking if a connection is up
  • Added DB::setConnection(), useful for mocking
  • Added Connection->inTransaction()

0.6

10 Apr 09:02
Compare
Choose a tag to compare
0.6
  • BC BREAK: Moved filter classes to Phormium\Filter namespace

    Please update your references (e.g. use Phormium\ColumnFilter to
    use Phormium\Filter\ColumnFilter).
  • BC BREAK: Removed logging and stats classes

    These will be reimplemented using events and available as separate packages.
  • Added Model::all()
  • Added Model->toYAML()
  • Added Model::fromYAML()
  • Added raw filters
  • Added events
  • Modified Model::fromJSON() to take an optional $strict parameter

0.5

10 Dec 14:24
Compare
Choose a tag to compare
0.5
  • Added Model->dump()
  • Added Filter::col()
  • Added gathering of query stats

0.4

18 Jul 07:15
Compare
Choose a tag to compare
0.4
  • Added support for custom queries via Connection object
  • Added Model->merge()
  • Added Model::find()
  • Added Model::exists()
  • Modified Model::get() to accept the primary key as an array
  • Modified Model->save() to be safer

0.3

18 Jul 07:13
Compare
Choose a tag to compare
0.3
  • Added QuerySet::valuesFlat()
  • Added optional parameter $allowEmpty to QuerySet::single()

0.2

18 Jul 07:12
Compare
Choose a tag to compare
0.2
  • Added transactions
  • Added QuerySet::dump()
  • Added logging via Apache log4php
  • Added composite filters

0.1

18 Jul 07:12
Compare
Choose a tag to compare
0.1

Initial release.