Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / translation / CHANGELOG.md
1 CHANGELOG
2 =========
3
4 3.4.0
5 -----
6
7  * Added `TranslationDumperPass`
8  * Added `TranslationExtractorPass`
9  * Added `TranslatorPass`
10  * Added `TranslationReader` and `TranslationReaderInterface`
11  * Added `<notes>` section to the Xliff 2.0 dumper.
12  * Improved Xliff 2.0 loader to load `<notes>` section.
13  * Added `TranslationWriterInterface`
14  * Deprecated `TranslationWriter::writeTranslations` in favor of `TranslationWriter::write`
15  * added support for adding custom message formatter and decoupling the default one.
16  * Added `PhpExtractor`
17  * Added `PhpStringTokenParser`
18
19 3.2.0
20 -----
21
22  * Added support for escaping `|` in plural translations with double pipe.
23
24 3.1.0
25 -----
26
27  * Deprecated the backup feature of the file dumper classes.
28
29 3.0.0
30 -----
31
32  * removed `FileDumper::format()` method.
33  * Changed the visibility of the locale property in `Translator` from protected to private.
34
35 2.8.0
36 -----
37
38  * deprecated FileDumper::format(), overwrite FileDumper::formatCatalogue() instead.
39  * deprecated Translator::getMessages(), rely on TranslatorBagInterface::getCatalogue() instead.
40  * added `FileDumper::formatCatalogue` which allows format the catalogue without dumping it into file.
41  * added option `json_encoding` to JsonFileDumper
42  * added options `as_tree`, `inline` to YamlFileDumper
43  * added support for XLIFF 2.0.
44  * added support for XLIFF target and tool attributes.
45  * added message parameters to DataCollectorTranslator.
46  * [DEPRECATION] The `DiffOperation` class has been deprecated and
47    will be removed in Symfony 3.0, since its operation has nothing to do with 'diff',
48    so the class name is misleading. The `TargetOperation` class should be used for
49    this use-case instead.
50
51 2.7.0
52 -----
53
54  * added DataCollectorTranslator for collecting the translated messages.
55
56 2.6.0
57 -----
58
59  * added possibility to cache catalogues
60  * added TranslatorBagInterface
61  * added LoggingTranslator
62  * added Translator::getMessages() for retrieving the message catalogue as an array
63
64 2.5.0
65 -----
66
67  * added relative file path template to the file dumpers
68  * added optional backup to the file dumpers
69  * changed IcuResFileDumper to extend FileDumper
70
71 2.3.0
72 -----
73
74  * added classes to make operations on catalogues (like making a diff or a merge on 2 catalogues)
75  * added Translator::getFallbackLocales()
76  * deprecated Translator::setFallbackLocale() in favor of the new Translator::setFallbackLocales() method
77
78 2.2.0
79 -----
80
81  * QtTranslationsLoader class renamed to QtFileLoader. QtTranslationsLoader is deprecated and will be removed in 2.3.
82  * [BC BREAK] uniformized the exception thrown by the load() method when an error occurs. The load() method now
83    throws Symfony\Component\Translation\Exception\NotFoundResourceException when a resource cannot be found
84    and Symfony\Component\Translation\Exception\InvalidResourceException when a resource is invalid.
85  * changed the exception class thrown by some load() methods from \RuntimeException to \InvalidArgumentException
86    (IcuDatFileLoader, IcuResFileLoader and QtFileLoader)
87
88 2.1.0
89 -----
90
91  * added support for more than one fallback locale
92  * added support for extracting translation messages from templates (Twig and PHP)
93  * added dumpers for translation catalogs
94  * added support for QT, gettext, and ResourceBundles