This repository has been archived by the owner on Nov 26, 2022. It is now read-only.
Releases: selective-php/database
Releases · selective-php/database
3.2.0
3.1.0
Added
- Add PHP 8.0 support
- Add internal type declarations
Changed
Schema::getTableSchemaId
throwsJsonException
- Optimize tests
- Update Github Action build
Deprecated
- Deprecate
Schema::setDatabase
, useSchema::useDatabase
instead. - Deprecate
Schema::getTableSchemaId
, no replacement.
Removed
- Remove support for PHP 7.1, PHP 7.2 and PHP 7.3
Fixed
- Fix CS
Security
- None
3.0.0
Added
- Support for MySQL 8
Changed
- Change namespace from
Odan
toSelective
Deprecated
- None
Removed
- Support for PHP 7.1
- Columns with variable arguments. Use arrays instead e.g.
['id', 'first_name']
- Columns with
AS
for alias strings. Use arrays instead e.g.['alias' => 'fieldname']
Fixed
- Column values with raw values
- Fixed schema handling for MySQL 8
Security
- None
2.0.0
Breaking Changes
- Decoupled from PDO #9
- Removed Compression class #6
- Removed Schema::clearTable method #5
- Removed Connection::queryMapColumn
- Removed Connection::queryValue
- Removed Connection::queryValues
Changes
- Support for PHP 7.2+
- Type declarations and return types everywhere #8
New Features
SelectQuery
- Add column with alias as array (
['alias' => 'field']
) #7