Releases: doctrine/dbal
Releases · doctrine/dbal
3.7.0
Release Notes for 3.7.0
3.7.0
- Total issues resolved: 0
- Total pull requests resolved: 28
- Total contributors: 10
New Features
- 6134: Add binary array type thanks to @shyim
- 6130: Add Type::lookupName() shortcut method thanks to @mvorisek
- 6059: Allow
DsnParser
to parsedriverClass
via$schemeMapping
thanks to @kbond - 6046: Add support for unlogged tables in PostgreSQL thanks to @f-lombardo
- 6010: Add support for SQLite shorthand form in foreign key constraints thanks to @phansys
- 5946: Support RENAME INDEX on MariaDB thanks to @Khartir
- 5916: Use Native JSON type instead of LONGTEXT for MariaDB thanks to @cgknx
Improvements
- 6150: Add a configuration setting to disable generating type comments thanks to @stof
- 6136: Support Symfony 7 by adding return types conditionally thanks to @derrabus
- 6082: Optimize TypeRegistry::lookupName() from O(N) to O(1) thanks to @mvorisek
- 6023: Remove redundant initialization of column options thanks to @morozov
- 6018: Use constants for DBAL types thanks to @phansys
- 6004: [MySQLi] Convert private property
Statement::$paramTypeMap
to class constantPARAM_TYPE_MAP
thanks to @phansys - 5996: Replace "magic" values with constants at
DB2Platform
thanks to @phansys - 5995: Use constants for DBAL types at
DB2Platform::initializeDoctrineTypeMappings()
thanks to @phansys
Deprecations
- 6017: Narrow responsibilities in datetime related types thanks to @phansys
- 5957: Trigger a runtime deprecation for
Connection::executeUpdate()
thanks to @derrabus - 5948: Trigger runtime deprecations for legacy API thanks to @derrabus
Static Analysis
- 5926: Restrict the possible values for the casing options under the
Portability\
NS thanks to @phansys
Documentation
- 6165: Prepare release 3.7.0 thanks to @derrabus
- 6069: Add documentation for #6044 thanks to @f-lombardo
Dependencies
- 6066: Prerequisites for PHPUnit update to version 10 in 4.0.x thanks to @morozov
- 6164: PHPUnit 9.6.13, PHPStan 1.10.35 thanks to @derrabus
CI
- 6163: Update MariaDB workflows thanks to @derrabus
- 6110: Sync MariaDB support strategy with upstream thanks to @derrabus
Test Suite
- 6019: Use constants for DBAL types in tests thanks to @phansys
- 5917: Add test for
Mysqli\Result
thanks to @phansys
Code Style
3.6.7
Release Notes for 3.6.7
3.6.7
- Total issues resolved: 0
- Total pull requests resolved: 9
- Total contributors: 5
Bug,Drivers,MySQL,Platform Detection
CI,PostgreSQL
- 6154: Run tests against Postgres 16 thanks to @derrabus
CI
- 6152: Bump CI workflows thanks to @derrabus
Static Analysis,Test Suite
- 6151: PHPStan 1.10.34, PHPUnit 9.6.12 thanks to @derrabus
- 6139: PHPUnit 9.6.11, PHPStan 1.10.32 thanks to @derrabus
Documentation
- 6147: Fix invalid SQL in the document thanks to @takaram
- 6145: docs: link to the testing guidelines in CONTRIBUTING.md thanks to @greg0ire
- 6137: Remove duplicate alias and slug thanks to @greg0ire
Documentation,SQL Server,pdo_sqlsrv,sqlsrv
3.6.6
Release Notes for 3.6.6
3.6.6
- Total issues resolved: 0
- Total pull requests resolved: 8
- Total contributors: 4
Bugfixes
- 6132: fix: don't trigger deprecation if called internally thanks to @dkarlovi
- 6113: Fix self deprecation from getCustomSchemaOptions thanks to @VincentLanglet
- 6108: Avoid self deprecation about listTableColumn thanks to @VincentLanglet
Documentation
- 6119: Fix a typo and a space thanks to @williamdes
Static Analysis
- 6131: PHPStan 1.10.29 thanks to @derrabus
- 6116: PHPStan 1.10.26 thanks to @derrabus
CI
- 6118: Run tests with MySQL 8.1 thanks to @derrabus
Code Style
- 6111: Pin Slevomat Coding Standard thanks to @derrabus
3.6.5
Release Notes for 3.6.5
3.6.5
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 4
Bug,Prepared Statements,ibm_db2
Bug
Documentation
Static Analysis,Test Suite
Bug,SQL Server,Schema Introspection,Schema Management
- 6072: Fix binding unused parameter thanks to @derrabus
3.6.4
Release Notes for 3.6.4
3.6.4
- Total issues resolved: 0
- Total pull requests resolved: 3
- Total contributors: 3
Bug,Platforms
- 6064: trigger if called outside for AbstractPlatform::supportsCreateDropDatabase thanks to @dmaicher
CI,PHP
- 6060: Run tests with PHP 8.3 thanks to @derrabus
Bug,Schema
3.6.3
Release Notes for 3.6.3
3.6.3
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 4
Bugfixes
- 6051: Reference the right argument thanks to @greg0ire
Static Analysis
Code Style
- 6029: Doctrine Coding Standard 12 thanks to @derrabus
Documentation
- 6036: Gender Neutral Language thanks to @edent
- 6032: Note on bindValue positional needle thanks to @edent
- 6011: [docs] Fix anchor text at
types.rst
thanks to @phansys
3.6.2
Release Notes for 3.6.2
3.6.2
- Total issues resolved: 0
- Total pull requests resolved: 14
- Total contributors: 5
Bug,Configuration,DSN Parser
Documentation
- 6008: fix: @links in comment in Column thanks to @simPod
- 5987: Fix reference to removed DATE_INTERVAL_UNIT_* constants thanks to @derrabus
- 5973: Fix typo thanks to @OskarStark
- 5971: Document the
serverVersion
option in a forward-compatible manner thanks to @derrabus - 5952: [Docs] Update database list and vendors thanks to @phansys
Bug,Packaging
Static Analysis
Static Analysis,Test Suite
- 5982: PHPUnit 9.6.6, PHPStan 1.10.9 thanks to @derrabus
Bug,Connections,Replication
CI,MariaDB
PostgreSQL,Test Suite
- 5955: Skip test on Postgres 10/11 thanks to @derrabus
CI,IBM DB2
CI,ibm_db2
3.6.1
Release Notes for 3.6.1
3.6.1
- Total issues resolved: 0
- Total pull requests resolved: 11
- Total contributors: 6
Documentation
- 5947: Add 3.7.x branch thanks to @derrabus
- 5923: Fix comment thanks to @HypeMC
- 5919: [Docs] fixes count typo at Driver usage thanks to @mvhirsch
Test Suite
- 5943: PHPUnit 9.6.4 thanks to @derrabus
Bug,Prepared Statements,pgsql
Static Analysis
- 5935: PHPStan 1.10.3, PHP Code Sniffer 3.7.2 thanks to @derrabus
- 5933: [SCA] Update requirement for "phpstan/phpstan" thanks to @phansys
- 5932: PHPStan 1.10 thanks to @derrabus
Bug,PHP
- 5930: Fixes PHP initialization error thanks to @aimeos
CI,IBM DB2,ibm_db2
Bug,PostgreSQL,Schema Management
4.0.0-beta2
What's Changed
- Update project metadata by @morozov in #5790
- Revert "Clean up MySQL version detection logic" by @greg0ire in #5795
- Fix typo in exception message by @derrabus in #5799
- Run tests with MariaDB 10.9 by @derrabus in #5798
- Remove unwanted suffix by @greg0ire in #5801
- Bump dev tools by @derrabus in #5806
- PHPStan 1.9.1 by @derrabus in #5807
- Merge tests for fetch behavior of freed results by @derrabus in #5810
- Document breaking changes about serverVersion by @greg0ire in #5797
- Bump tools and workflows by @derrabus in #5828
- Doctrine CS 11.0 by @derrabus in #5831
- Document tuple return type of
generateCacheKeys()
by @derrabus in #5834 - Update Branch metadata by @derrabus in #5840
- Introduce a
ArrayParameterType
enum by @derrabus in #5838 - Restore
Connection::ARRAY_PARAM_OFFSET
by @derrabus in #5842 - Introduce a
ArrayParameterType
enum by @derrabus in #5839 - Trigger a deprecation for versions that will be parsed differently by @derrabus in #5844
- PHPStan 1.9.4 by @derrabus in #5845
- Standalone DSN parser by @derrabus in #5843
- Fix test cases for URL parsing by @derrabus in #5848
- Remove database URLs from tests by @derrabus in #5852
- Remove the
url
connection param by @derrabus in #5850 - Allow to explicitly set the wrapper class to the default one by @derrabus in #5851
- Use a narrower return type for DriverManager::getAvailableDrivers() by @MidnightDesign in #5853
- Test the return type of DriverManager::getAvailableDrivers() by @MidnightDesign in #5854
- Reuse the Params type alias for getConnection() by @derrabus in #5855
- Use narrower return types for convertTo*Value methods by @MidnightDesign in #5856
- Formally allow
url
inDriverManager::getConnection()
by @someniatko in #5857 - fix platform comparator issues when using compareTables by @dmaicher in #5861
- Allow passing url to override params by @keulinho in #5862
- PHPStan 1.9.11, PHPUnit 9.5.28, Doctrine CS 11.1 by @derrabus in #5864
- Flag parameters as sensitive if they could contain the database password by @derrabus in #5866
- PHPStan 1.9.14 by @derrabus in #5871
- Add missing doc blocks to Index and UniqueConstraint by @derrabus in #5875
- Use psalm-assert to get rid of
assert()
calls by @derrabus in #5877 - Explain why the number of affected rows can be a string by @GromNaN in #5872
- [Docs] Add IBM DB2 to
configuration.rst
by @phansys in #5881 - Make sure only PDO parameter types are passed to PDO methods by @derrabus in #5883
- Add the PgSQL driver by @derrabus in #5880
- Introduce the
SchemaManagerFactory
interface by @derrabus in #5876 - Optimize pgsql queries without parameters by @derrabus in #5889
- Raise exception if
pg_send_*()
calls fail by @derrabus in #5888 - Deallocate prepared statements in destructor by @derrabus in #5893
- Make PDO transaction methods throw
PDOException&DriverException
by @maxm86545 in #5890 - PHPUnit 9.6.0 by @derrabus in #5899
- Close pgsql connection in destructor by @derrabus in #5892
- Widen the return type of
Result::rowCount()
by @derrabus in #5879 - Remove
InvalidParameterType
exception by @derrabus in #5896 - Use TestLogger instead of mocks by @derrabus in #5903
- Modernize pgsql driver for PHP 8.1 by @derrabus in #5904
- PHPUnit 9.6.3 by @derrabus in #5907
- Free pgsql results on destruct by @derrabus in #5908
- Bump
laminas/automatic-releases
to 1.24.0 by @derrabus in #5910 - Fix type assumptions about
Connection::lastInsertId()
by @phansys in #5909 - Prepare release 3.6.0 by @derrabus in #5878
- Run tests with MariaDB 10.10 by @derrabus in #5913
New Contributors
- @MidnightDesign made their first contribution in #5853
- @someniatko made their first contribution in #5857
- @keulinho made their first contribution in #5862
- @GromNaN made their first contribution in #5872
Full Changelog: 4.0.0-beta1...4.0.0-beta2
3.6.0
Release Notes for 3.6.0
3.6.0
- Total issues resolved: 0
- Total pull requests resolved: 20
- Total contributors: 2
CI,MariaDB
- 5913: Run tests with MariaDB 10.10 thanks to @derrabus
Drivers,Improvement,PostgreSQL,pgsql
- 5908: Free pgsql results on destruct thanks to @derrabus
- 5889: Optimize pgsql queries without parameters thanks to @derrabus
Drivers,Improvement,PostgreSQL,Prepared Statements,pgsql
Bug,Connections,PostgreSQL,pgsql
Drivers,Error Handling,Improvement,PostgreSQL,pgsql
Documentation
- 5878: Prepare release 3.6.0 thanks to @derrabus
Static Analysis
- 5877: Use psalm-assert to get rid of
assert()
calls thanks to @derrabus - 5855: Reuse the Params type alias for getConnection() thanks to @derrabus
- 5854: Test the return type of DriverManager::getAvailableDrivers() thanks to @MidnightDesign
- 5853: Use a narrower return type for DriverManager::getAvailableDrivers() thanks to @MidnightDesign
Deprecation,New Feature
Configuration,Connecting,New Feature,PHP
-
5866: Flag parameters as sensitive if they could contain the database password thanks to @derrabus
-
5856: Use narrower return types for convertTo*Value methods thanks to @MidnightDesign
Test Suite
- 5852: Remove database URLs from tests thanks to @derrabus
- 5848: Fix test cases for URL parsing thanks to @derrabus
Configuration,Deprecation,MariaDB,MySQL,Platform Detection
Configuration,Connections,Deprecation,New Feature
- 5843: Standalone DSN parser thanks to @derrabus