Fixed bug #15663: SpriteGenerator adds empty folder to spritebase, which results...
[Packages/TYPO3.CMS.git] / NEWS.txt
1 ************************************************************************
2 CHANGES & IMPROVEMENTS between TYPO3 4.4 and 4.5
3 (for technical details see ChangeLog)
4 ************************************************************************
5
6 General
7 =======
8
9 * 4.5 will be the first official TYPO3 release with LTS (long term support)
10 * A Sprite Generator was added. This allows you to create your own
11 sprite files, also core can generate the files if some new icons
12 were added (#15079).
13 * When TYPO3 runs with two different domain names for the FE and the BE,
14 it is now possible to set accordingly different cookie domains using
15 $TYPO3_CONF_VARS['FE']['cookieDomain'] and $TYPO3_CONF_VARS['BE']['cookieDomain'].
16 * Pages of type "Shortcut" can now also link to the parent page, not only to the
17 first or a random subpage.
18
19
20 Backend
21 =======
22
23 * The user can decide the type of each page created in the
24 "Create multiple pages" Wizard. And the wizard can create more
25 than 9 pages at once.
26 * All system extensions from typo3/mod were moved to real system
27 extensions. These modules are:
28 - Extension Manager
29 - List module
30 - Filelist module
31 - Info module
32 - Access module
33 - Workspace module
34 List module and Extension Manager are set to required extensions,
35 but it is possible to overwrite this setting in localconf.php eg
36 if you want to deinstall the Extension Manger. Make sure you visit
37 the Update Wizard!!!
38 * The recycler was refactored and has now the same skin as the rest
39 of the BE.
40 * DB check -> page tree submodule was removed (module lowlevel).
41 * RSA Auth now works also with special chars.
42 * Clearing cache now is logged (#15305).
43 * A hook now allows postprocessing of filelist and TCEforms files
44 operations (#15192 and #15221). Typical use-case:
45 - Allow editors to upload any picture (e.g., 10 Mpixels) as they
46 don't know how to resize the pictures or do not have the software
47 - Prevent fileadmin to be overflooded with huge pictures which
48 will never be used in their original size
49 - Automatically resize "huge" pictures after the upload
50 Extension using it already:
51 http://forge.typo3.org/projects/show/extension-image_autoresize
52 * New TS config option to disable the "Show secondary options"
53 checkbox (#13797). In User-TS, you can set:
54 options.enableShowPalettes=0 to see this feature in action.
55 Default is still "1" like it used to be.
56
57
58 Frontend
59 ========
60
61 * FE login now allows to show the logout form direct after login.
62
63
64 Extbase / Fluid
65 ===============
66
67 * All methods trying to find an object by uid now ignore the
68 storagePid. This changes the behavior of argument mapping and the
69 way extbase fetches 1:1 relations. Resolves #5631. You should not
70 experience any negative side-effects of this change, i.e. if your
71 extension worked before, it will definitely after this change.
72 However, it makes the record handling more robust.
73 * Performance improvements in
74 TypoScript::convertTypoScriptArrayToPlainArray.
75 * Numerous other bugfixes, see extbase/ChangeLog.txt
76 * Fluid contains many new features you might want to start using.
77 There are some changes that require special attention in case you
78 created custom condition ViewHelpers or if you call renderSection()
79 and renderWithLayout() from Tx_Fluid_View_TemplateView.
80 * Check out typo3/sysext/fluid/ChangeLog.txt for more details!
81
82
83 Compatibility
84 =============
85
86 * See typo3/sysext/fluid/ChangeLog.txt for some breaking changes in
87 Fluid.
88 * The API for registering additional cache frontends or backends has changed.
89 As of TYPO3 4.5 only the classname needs to be specified in favor of both
90 path to the php file and the classname. Instead the class needs to be
91 registered for autoloading. See #15586 for details.
92 Example:
93 New:
94 $TYPO3_CONF_VARS['SYS']['caching']['cacheFrontends']['myext']='tx_myext_cache';
95 Old:
96 $TYPO3_CONF_VARS['SYS']['caching']['cacheFrontends']['myext']='/path/tx_myext_cache.php:tx_myext_cache';
97
98
99 Development
100 ===========
101
102 * There is a new setting that shows all SQL queries in debug
103 (#15425): $TYPO3_CONF_VARS['SYS']['sqlDebug'] = 2;
104 * Contrib libraries can be replaced now via hook (#15218). This
105 allows to test with updates of these libraries. Demo extensions
106 can be found here:
107 http://forge.typo3.org/projects/typo3v45-projects/files
108 * Catch all ExtDirect Exceptions and show them in the DebugConsole.
109 It now also allows you to call debug() (#15513).
110
111
112 TypoScript
113 ==========
114
115 * stdWrap now has a new feature: .numberFormat (#13815)
116 lib.myPrice = TEXT
117 lib.myPrice {
118 value = 0.8
119 numberFormat {
120 decimals = 2
121 dec_point = ,
122 }
123 noTrimWrap = || $|
124 }
125 # Will result in "0,80 $"
126
127 * GIFBUILDER has a new feature: ELLIPSE (#2049). Example:
128 file = GIFBUILDER
129 file {
130 XY = 200,200
131 format = jpg
132 quality = 100
133 10 = ELLIPSE
134 10.dimensions = 100,100,50,50
135 10.color = red
136 }
137
138
139 Database API / DBAL
140 ===================
141
142 * Prepared queries are now part of the TYPO3 database API (#15457).
143 The API is mostly based on PDO's method naming and currently
144 supports SELECT queries. TYPO3 will progressively use this new
145 database API which is cleaner and quicker when using DBAL.
146 Extension authors are encouraged to use it in their own
147 extensions.
148 * DBAL now supports "FIND_IN_SET()" (#14818) function and maps it
149 correct functions in case usage under AdoDB. Using FIND_IN_SET in
150 listQuery() will provide performance improvements in all areas, as
151 this is used in several places (backend and frontend, for example
152 for checking the group list permissions).
153
154
155 Workspaces
156 ==========
157
158 * There is a new Scheduler task for the automatic publication of
159 workspaces (#14994). If a publication date has been set for a
160 given workspace, it will be published the next time the Scheduler
161 task runs. Note that automatic "un-publication" still does not
162 work. Replaces non-working CLI script
163 "typo3/mod/user/ws/cli/ws_cli.phpsh".
164
165
166 Backend skin
167 ============
168
169 * sprites.css now contains the autogenerated sprites.
170
171
172 Speed improvements
173 ==================
174
175 * Added "compress data" options to DbBackend of the Caching
176 framework (#15141). Enable it like this:
177 $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pages'] =
178 array(
179 'frontend' => 't3lib_cache_frontend_VariableFrontend',
180 'backend' => 't3lib_cache_backend_DbBackend',
181 'options' => array(
182 'cacheTable' => 'cachingframework_cache_pages',
183 'tagsTable' => 'cachingframework_cache_pages_tags',
184 'compression' => TRUE,
185 ),
186 );
187 * Some often used functions of t3lib_div were speed improved.