Breaking-65962-WebSVGLibraryAndAPIRemoved.rst 1.59 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

.. include:: ../../Includes.txt

======================================================================================
Breaking: #65962 - Third-party library "websvg" and the according API has been removed
======================================================================================

See :issue:`65962`

Description
===========

The third-party library "websvg" has been removed from the TYPO3 CMS Core. The according TypoScript options and
the public methods within PageRenderer have been removed without substitution.

The following PHP methods within PageRenderer have been removed:

.. code-block:: php

20
21
22
23
24
   $pageRenderer->setSvgPath()
   $pageRenderer->getSvgPath()
   $pageRenderer->loadSvg()
   $pageRenderer->enableSvgDebug()
   $pageRenderer->svgForceFlash()
25
26
27

The following TypoScript options are removed:

28
.. code-block:: typoscript
29

30
31
32
   page.javascriptLibs.SVG
   page.javascriptLibs.SVG.debug
   page.javascriptLibs.SVG.forceFlash
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53


Impact
======

Any installation using one of the methods above in an extension will fail.

Any installation using `page.javascriptLibs.SVG = 1` will not include the websvg library anymore and might lead
to SVGs not being displayed anymore in certain browsers. Using the SVG Content Object will lead to the same result.


Affected installations
======================

TYPO3 CMS 7 installations using the TypoScript options, the SVG Content Object or the pageRenderer methods directly.


Migration
=========

Affected installations should include the "websvg" library directly from the library owner, and in their setups.
54
55
56


.. index:: PHP-API, TypoScript, Frontend, Backend