Skip to content

Releases: rawsrc/PDOPlusPlus

Packagist bug

27 Jun 06:29
Compare
Choose a tag to compare

As packagist does not allow versioning like v.5.0.1, the composer installer was stuck to the last compatible version with their numbering system (v3.2.1).

This version (copy of v.5.0.1) is only for compatibility purpose.

Code simplification

04 Nov 12:46
Compare
Choose a tag to compare

Remove the AbstractInjector class as its code was so simple that it was meaningful to directly implement it in each injector source code.
So now PDOPlusPlus is a standalone class with no other dependency.

This is a minor update and will not impact your code.

rawsrc

Version 5.0.0

02 Nov 08:33
Compare
Choose a tag to compare

New version
This a major update
May slightly break the compatibility with the code for the previous version
Fully tested

NEW FEATURES:

  • Full support of BIGINT/INT8 data type (SIGNED/UNSIGNED)
  • New injector: getInjectorInAsRef(): values are passed by ref and directly escaped (plain sql)
  • Remove some aliases for float data types: double, num, numeric, only float remain available

REMOVED:

  • Defining the final data type when creating an injector

Correct composer.json

13 Nov 10:31
Compare
Choose a tag to compare

This release is just to fix the composer.json update autoloader zone

New Major Version

02 Nov 13:56
Compare
Choose a tag to compare

New Major Update.
Not compatible with the previous version.

New features :

  • Auto-reset
  • Support for binary data
  • Support for bound columns
  • Support for scrollable cursor
  • Better support of transactions
  • Many code improvements
  • Fully tested using Exacodis

Bugfix under PHP 8.0

21 Mar 22:01
Compare
Choose a tag to compare

Minor update :
Bugfix: crash under PHP 8.0

New features : scrollable cursor and PDOStatement access

05 Dec 00:05
Compare
Choose a tag to compare

Hi,

THIS VERSION 3.2.0 IS FULLY COMPATIBLE WITH THE PREVIOUS 3.1.1

New features (2 methods):

  • selectStmt(): returns the PDOStatement generated by the engine and let you play with to extract data exactly as you want
  • selectStmtAsScrollableCursor(): returns the PDOStatement generated by the engine opened as a scrollable cursor if your database engine is compatible with this feature.

New minor feature: define and lock the type of injected values once for all

06 Nov 13:07
Compare
Choose a tag to compare
  • New minor feature
    it is now possible once for all to define and lock simultaneously the type of variable to be injected through an injector:
    $in = $ppp->injectorInByVal('int');, all values injected using $in() will automatically have the type int attached

Using this version does not break the compatibility with the code compliant with v3.x

New features

01 Nov 20:43
Compare
Choose a tag to compare
  • Injectors
    It is now possible to lock the data type before using the injector, see the method ->lockType() inside each injector

  • Pool of connections
    It is now possible to manage a pool of connections through the same instance of PDOPlusPlus.
    This does not break the previous way of connecting to the database based on constants

Bugfix

30 Oct 14:35
Compare
Choose a tag to compare

Closure visibility in builtPrepareAndAttachValuesOrParams()