Skip to content

Releases: nulpunkt/yesql-php

Make sure properties are declared

27 Sep 07:22
Compare
Choose a tag to compare

PHP 8.3 gives deprecation warnings when setting undeclared class properties.

Support for php8

17 May 08:27
e9e61f9
Compare
Choose a tag to compare

For actual production code only a regex has been updated.

This release has been testet on 7.4.28 and 8.0.18.

For tests phpunit has been upgraded and the CI has been moved to github actions.

Added support of naming parameters in queries directly.

02 Nov 10:42
ec94a6e
Compare
Choose a tag to compare

Before this, you had to create an inFunc which did the mapping. Rightfully, some have argued that it was probably not the best way to doit. So now names can be specified directly in the name of the query.

Allow subclasses to access the db connection

14 Jul 08:52
Compare
Choose a tag to compare
Allow subclasses to get a hold of the connection

For some reason, people seem to think this is a nice idea, so they can
make mixed repositories, which contains methods handled by yesql and
some they make on their own.

We should not warn when getting zero rows in oneOrMany: one mode

15 Apr 08:41
Compare
Choose a tag to compare

We should not warn when getting zero rows in oneOrMany: one mode.

Fetch rows into a class

31 Mar 08:06
Compare
Choose a tag to compare

We should be able to fetch rows directly into classes.

Eager checking of rowFunc and inFunc

22 Mar 13:32
Compare
Choose a tag to compare

It is nice to know if rowFunc and inFunc exist.

Cache prepared statements

18 Mar 11:56
Compare
Choose a tag to compare

This will make repeated calls to a method execute faster.

Api is stable

18 Mar 09:52
Compare
Choose a tag to compare

This marks the first actual release. I feel like the api is stable.