Skip to content

Conversation

@jahnvi480
Copy link

This pull request updates the PHP SQL Server drivers to version 5.13, adds support for PHP 8.4 in CI pipelines, improves driver validation logic and test coverage, and modernizes test cases to use the recommended ODBC Driver 17 instead of the deprecated SQL Server Native Client. It also refines test expectations and error handling for greater reliability.

Version and Build Updates

  • Bumped driver version to 5.13 in source/shared/version.h and updated package version strings to "5.13.0".

CI and Platform Support

  • Added PHP 8.4 support to Appveyor and Azure Pipelines configurations, ensuring builds and tests run against the latest PHP version.
  • Updated compiler selection logic in buildscripts/buildtools.py to ensure vs16 is used for PHP 8.0 and above, including 8.4.

Driver Validation and Test Modernization

  • Replaced references to deprecated "SQL Server Native Client 11.0" with "ODBC Driver 17 for SQL Server" in test cases, and updated driver validation logic to reflect current supported drivers.

Test Improvements and Error Handling

  • Enhanced test skip logic to detect unsupported configurations (e.g., LocalDB/Express Edition, Windows Authentication) and improved error expectation matching for login failures.
  • Refined test output expectations for date fields and server info to include new sample data and allow for additional valid characters.

Other Test Maintenance

  • Updated large data test to remove forced encryption and clarified test description.

@jahnvi480 jahnvi480 marked this pull request as draft December 22, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants