v2.1.0
Highlights
- 🔌 The Vendor REST API now works out of the box. The plugin self-registers its API
Platform mapping, so admin CRUD (/api/v2/admin/vendors) and shop read endpoints
(/api/v2/shop/vendors) are available with no extra configuration. - 📧 Manage vendor extra emails via the API, as an embedded writable collection.
- 🖼️ New logo upload endpoint:
POST /api/v2/admin/vendors/{slug}/logo(multipart/form-data). - 🌍 13 languages out of the box — added de, it, pt_BR, nl, pl, ru, ja, zh_CN, tr and ar
on top of en/es/fr. - ✅ Sylius 2.2 support (alongside 2.0 and 2.1), tested on PHP 8.2 / 8.3 / 8.4.
Added
- The plugin self-registers its API Platform mapping (Vendor admin CRUD + shop read endpoints).
extraEmails(embedded writable collection) andpositionexposed on the admin Vendor API.- Multipart logo upload endpoint
POST /api/v2/admin/vendors/{slug}/logo, reusing the existing uploader. - Optional sitemap integration through
VendorUrlProvider(forstefandoorn/sitemap-plugin). - Translations for 10 additional locales (de, it, pt_BR, nl, pl, ru, ja, zh_CN, tr, ar).
- API functional tests and additional unit tests.
CHANGELOG.md,CONTRIBUTING.md, issue/PR templates anddoc/api.md.
Changed
⚠️ Renamed the vendor logo propertylogoName→logoPathonVendorandVendorInterface
(andVendorLogoUploader), with a migration renaming theodiseo_vendor.logo_namecolumn to
logo_path.- Admin vendor form reorganised: extra emails under the General tab, logo at the top of the
Profile tab, and the now-empty Media tab removed. - CI matrix extended to PHP 8.2, 8.3 and 8.4.
Removed
- Dead
VendorFormMenuBuilderEventclass and its unused service definition.
Fixed
- "Add email" button label now resolves to the correct translation key.
Upgrade notes
-
Update any code calling
getLogoName()/setLogoName()togetLogoPath()/setLogoPath(). -
Run the migrations after updating:
bin/console doctrine:migrations:migrate
Full changelog: v2.0.0...v2.1.0