Skip to content

Release/v1.3.0#5

Merged
calliostro merged 3 commits intomainfrom
release/v1.3.0
Jan 1, 2026
Merged

Release/v1.3.0#5
calliostro merged 3 commits intomainfrom
release/v1.3.0

Conversation

@calliostro
Copy link
Owner

This pull request modernizes the Symfony bundle's service configuration, updates compatibility for newer versions of dependencies, and improves CI coverage. The most important changes are grouped below:

Service Configuration Modernization:

  • Migrated service definitions from XML (services.xml) to PHP-based configuration (services.php), simplifying and modernizing the dependency injection setup. The extension now uses PhpFileLoader and sets service arguments explicitly. (src/DependencyInjection/CalliostroSpotifyWebApiExtension.php, src/Resources/config/services.php, src/Resources/config/services.xml) [1] [2] [3]

Dependency and Compatibility Updates:

  • Expanded support for jwilsson/spotify-web-api-php to include both v6 and v7 in composer.json and documented this in the README.md. (composer.json, README.md) [1] [2]
  • Updated Symfony compatibility matrix in the CI workflow to cover Symfony 6.4, 7.x, and 8.0 with PHP 8.2–8.5, and removed legacy and dev stability test cases. (.github/workflows/ci.yml)

Continuous Integration Improvements:

  • Broadened CI triggers to include pushes to legacy/*, feature/*, hotfix/*, and release/* branches, not just main. (.github/workflows/ci.yml)
  • Cleaned up CI steps by removing unused composer stability configuration and simplifying dependency installation. (.github/workflows/ci.yml) [1] [2]

Documentation Enhancements:

  • Improved documentation formatting and quick start instructions in README.md. [1] [2]

- Add support for `jwilsson/spotify-web-api-php` v6 and v7
- Migrate service configuration from XML to PHP format (fixes Symfony 7.4+ deprecation)
- Align CI workflow with comprehensive PHP 8.2-8.5 and Symfony 6.4-8.0 test matrix
Remove
ull argument placeholders from services.php to avoid PHPStan errors in consuming projects. Use setArguments() instead of 
eplaceArgument() in the extension since arguments are no longer predefined.
Copilot AI review requested due to automatic review settings January 1, 2026 15:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request modernizes the Symfony bundle by migrating service configuration from XML to PHP, expanding support for newer dependencies, and updating the CI test matrix. Key improvements include simplified dependency injection configuration and broader compatibility testing.

Key Changes:

  • Migrated service definitions from XML to PHP-based configuration for modern Symfony practices
  • Added support for jwilsson/spotify-web-api-php v7 alongside v6
  • Expanded CI testing to cover more Symfony versions and PHP combinations

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/Resources/config/services.xml Removed legacy XML service configuration file
src/Resources/config/services.php Added modern PHP-based service configuration with improved readability
src/DependencyInjection/CalliostroSpotifyWebApiExtension.php Updated to use PhpFileLoader and changed from replaceArgument to setArguments for cleaner service configuration
composer.json Expanded spotify-web-api-php dependency to support both v6 and v7
README.md Added documentation for v6/v7 support and improved formatting
.github/workflows/ci.yml Broadened CI coverage with additional branch triggers and expanded Symfony/PHP test matrix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@calliostro calliostro merged commit 1df5f7e into main Jan 1, 2026
34 checks passed
@calliostro calliostro deleted the release/v1.3.0 branch January 1, 2026 16:24
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.

1 participant