Releases: flightphp/active-record
Releases · flightphp/active-record
v0.4.9
v0.4.8
v0.4.7
What's Changed
- There was an unseen merge conflict with spaces vs tabs that caused RecordCommand to....feel very sad.
Full Changelog: v0.4.6...v0.4.7
v0.4.6
v0.4.5
v0.4.4
v0.4.3
What's changed?
- Fixed but where
isHydrated
is not set to false when a record isreset()
#10 - Thanks @starfishpatkhoo
Full Changelog: v0.4.2...v0.4.3
v0.4.2
What's Changed?
- Several bug fixes
insert()
was not marking the record as hydratedinsert()
was assuming that all primary keys were ints (or rowids)- Redid some logic on
save()
to check for a primary key if supplied, and also a hydrated record. It was improperly checking for insert before.
- Now you can use text based primary keys! You just need to supply the key before the insert takes place either by assigning it to the record
$MyRecord->my_text_pk
or in abeforeInsert()
method.
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
- There was an issue if you named a relation something like 'group' it would throw a weird non-helpful error that would make you triage the bug for a while.
- You can now set the database connection (for instance in a long running cron and you need to refresh the connection)
- You can now evaluate the the SQL that was compiled with
$Record->getBuiltSql()
after your method has run. - There was a bug introduced with __isset() being created where the $this->join property was being dynamically set.
Full Changelog: v0.4.0...v0.4.1