Skip to content

Upgrading symfony/translation 7 to 8

Unknownv7.4.22 → v8.1.10

Fetching 18 releases from GitHub…0 / 18
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

PHP requirement changed in v8.1.0-BETA1: >=8.2 → >=8.4.1.

Drops symfony/deprecation-contracts.

Moves symfony/polyfill-mbstring ~1.0 → ^1.0, symfony/translation-contracts ^2.5.3|^3.3 → ^3.6.1. Your build may pick other versions.

Generated by DepDelta from published PHP source. Not mixed with prose notes.

  • removed: method TranslatableMessage.__toString(): string
  • changed: class DataCollectorTranslator implements TranslatorInterface, TranslatorBagInterface, LocaleAwareInterface, WarmableInterface, ResetInterface → final class DataCollectorTranslator implements TranslatorInterface, TranslatorBagInterface, LocaleAwareInterface, WarmableInterface, ResetInterface
  • added: constructor LocaleFallbackProvider(array $localeFallbacks = …)
  • added: final class LocaleFallbackProvider
  • added: method IdentityTranslator.setLocale(string $locale): void
  • added: method LocaleFallbackProvider.computeFallbackLocales(string $locale): array
  • added: static method LocaleFallbackProvider.validateLocale(string $locale): void
  • changed: method ExtractorInterface.extract(string|iterable $resource, MessageCatalogue $catalogue) → method ExtractorInterface.extract(string|iterable $resource, MessageCatalogue $catalogue): void
  • changed: method ExtractorInterface.setPrefix(string $prefix) → method ExtractorInterface.setPrefix(string $prefix): void
  • changed: method CsvFileLoader.setCsvControl(string $delimiter = …, string $enclosure = …, string $escape = …): void → method CsvFileLoader.setCsvControl(string $delimiter = …, string $enclosure = …): void