Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
`TranslationsEagerLoadingExtension`), so listing N resources issues one query
instead of one translation query per entity per locale; disable with the
`eager_load_translations` option (#10)
- Support for API Platform 5: `api-platform/symfony` now also allows `^5.0`

### Changed
- Modern bundle layout: the bundle class extends `AbstractBundle` and services
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Translation bundle for [API Platform](https://api-platform.com/) based on [Syliu
Supported versions:
-------------------

| Version | PHP | API Platform | Doctrine ORM |
|----------------------|--------|------------------|--------------|
| 2.x (`master`) | `^8.2` | `^3.4 \|\| ^4.0` | `^3.0` |
| 1.4 | `^8.1` | `^2.1 \|\| ^3.0` | `^3.0` |
| Version | PHP | API Platform | Doctrine ORM |
|----------------------|--------|----------------------------|--------------|
| 2.x (`master`) | `^8.2` | `^3.4 \|\| ^4.0 \|\| ^5.0` | `^3.0` |
| 1.4 | `^8.1` | `^2.1 \|\| ^3.0` | `^3.0` |

Installation:
-------------
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"php": "^8.2",
"api-platform/symfony": "^3.4 || ^4.0",
"api-platform/symfony": "^3.4 || ^4.0 || ^5.0",
"doctrine/orm": "^3.0",
"doctrine/doctrine-bundle": "^2.13 || ^3.0",
"symfony/config": "^6.4 || ^7.0 || ^8.0",
Expand All @@ -29,7 +29,8 @@
"friendsofphp/php-cs-fixer": "^3.95",
"symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0",
"symfony/validator": "^6.4 || ^7.0 || ^8.0",
"api-platform/core": "^3.4 || ^4.0"
"api-platform/core": "^3.4 || ^4.0 || ^5.0",
"symfony/http-client": "^6.4 || ^7.0 || ^8.0"
},
"prefer-stable": true,
"autoload": {
Expand Down
Loading