Releases: stubbles/stubbles-dbal
Releases · stubbles/stubbles-dbal
11.0.0 - The future is still there
10.0.0 - Wonderful, 10 already
BC breaks
- changed parameter
$type
ofstubbles\db\QueryResult
to accept values of typeint
only
Other changes
- added more phpstan related type hints
9.0.2 - Don't be so strict
- removed
array
return type hint fromstubbles\db\Database
, can return other values
9.0.1 - Fetch the default
- fixed invalid default parameters for calls to
PDOStatement::fetch()
9.0.0 - All the types
BC breaks
- raised minimum required PHP version to 7.3.0
- added more type hints
stubbles\db\config\DatabaseConfiguration::getInitialQuery()
now returns an empty string if no initial query configured- parameter
$type
ofstubbles\db\Statement::bindParam()
andstubbles\db\Statement::bindValue()
must be an int stubbles\db\DatabaseConnection::getLastInsertId()
now returns astring
instead ofint
8.0.0 - Seven again?
BC breaks
- raised minimum required PHP version to 7.0.0
- introduced scalar type hints and strict type checking
7.0.0 - Almost seven
BC breaks
- Raised minimum required PHP version to 5.6
- Methods which threw
stubbles\lang\exceptions\ConfigurationException
now throw a\OutOfBoundsException
or\LogicException
6.0.0 - Housekeeping
BC breaks
- removed
stubbles\db\Datebase::map()
, usestubbles\db\Datebase::fetchAll()->map()->values()
instead, was deprecated since 5.0.0
Other changes
- upgraded stubbles/core to 6.0.0
5.0.1 - Warning free zone
- fixed warning when iterating over result set: use default column index when none specified
5.0.0 - The sequence of life
BC breaks
- deprecated
stubbles\db\Datebase::map()
, usestubbles\db\Datebase::fetchAll()->map()->values()
instead, will be removed with 6.0.0 stubbles\db\Datebase::fetchAll()
andstubbles\db\Datebase::fetchColumn()
now return an instance ofstubbles\lang\Sequence
instead of an array- changed default fetch mode for PDO from
\PDO::FETCH_BOTH
to\PDO::FETCH_ASSOC