Follow-up to #16218: Bug/Feature: TCE-Forms does not use sprite icons -- this leads...
[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 Changes in 4.5 pre-releases
7 ===========================
8
9 * All additions to alpha3 and beta1 have been documented here:
10 http://forge.typo3.org/projects/typo3v45-projects/wiki/TYPO3_450alpha3
11 http://forge.typo3.org/projects/typo3v45-projects/wiki/TYPO3_450beta1
12
13 This information will be merged in this NEWS.txt below before the
14 final release.
15
16 General
17 =======
18
19 * 4.5 will be the first official TYPO3 release with LTS (long term support)
20 * A Sprite Generator was added. This allows you to create your own
21 sprite files, also core can generate the files if some new icons
22 were added (#15079).
23 * When TYPO3 runs with two different domain names for the FE and the
24 BE, it is now possible to set accordingly different cookie domains
25 using $TYPO3_CONF_VARS['FE']['cookieDomain'] and
26 $TYPO3_CONF_VARS['BE']['cookieDomain'].
27 * Pages of type "Shortcut" can now also link to the parent page, not
28 only to the first or a random subpage.
29 * The media element now has a core wizard for rewriting URLs. This
30 allows the user to copy the URL from browser (eg a youtube URL like
31 http://www.youtube.com/watch?v=pkA9qw80xO0) and use
32 it in the media element as URL. Currently supported platforms:
33 youtube, dailymotion, sevenload, vimeo, clipfish, google,
34 metacafe, myvideo, liveleak and veoh.
35 * A improved version of misc/advanced.htaccess provides more accurate
36 and up-to-date information and is a real working sample on how to setup
37 your Apache to server TYPO3 pages. This setup is now also used in the
38 introduction package as-is.
39
40
41 Backend
42 =======
43
44 * The frameset was removed. This makes the Backend a lot faster.
45 Now the navigation tree also can be resized. The new backend works
46 using the ExtJS viewport, providing an easy and unified interface
47 to manipulate the content of the different panels.
48 * The user can decide the type of each page created in the
49 "Create multiple pages" Wizard. And the wizard can create more
50 than 9 pages at once.
51 * All system extensions from typo3/mod were moved to real system
52 extensions. These modules are:
53 - Extension Manager
54 - List module
55 - Filelist module
56 - Info module
57 - Access module
58 - Workspace module
59 List module and Extension Manager are set to required extensions,
60 but it is possible to overwrite this setting in localconf.php eg
61 if you want to deinstall the Extension Manger. Make sure you visit
62 the Update Wizard!!!
63 * The recycler was refactored and has now the same skin as the rest
64 of the BE.
65 * DB check -> page tree submodule was removed (module lowlevel).
66 * RSA Auth now works also with special chars.
67 * Clearing cache now is logged (#15305).
68 * A hook now allows postprocessing of filelist and TCEforms files
69 operations (#15192 and #15221). Typical use-case:
70 - Allow editors to upload any picture (e.g., 10 Mpixels) as they
71 don't know how to resize the pictures or do not have the software
72 - Prevent fileadmin to be overflooded with huge pictures which
73 will never be used in their original size
74 - Automatically resize "huge" pictures after the upload
75 Extension using it already:
76 http://forge.typo3.org/projects/show/extension-image_autoresize
77 * New TS config option to disable the "Show secondary options"
78 checkbox (#13797). In User-TS, you can set:
79 options.enableShowPalettes=0 to see this feature in action.
80 Default is still "1" like it used to be.
81 * The cron syntax interpreter of the Scheduler was entirely refactored.
82 It now supports the full range of cron syntax features as can be found
83 in Unix manual pages.
84
85
86 Frontend
87 ========
88
89 * FE login now allows to show the logout form direct after login.
90
91
92 Extbase / Fluid
93 ===============
94
95 * Fixed Extbase Caching Bug.
96 * All methods trying to find an object by uid now ignore the
97 storagePid. This changes the behavior of argument mapping and the
98 way extbase fetches 1:1 relations. Resolves #5631. You should not
99 experience any negative side-effects of this change, i.e. if your
100 extension worked before, it will definitely after this change.
101 However, it makes the record handling more robust.
102 * Performance improvements in
103 TypoScript::convertTypoScriptArrayToPlainArray.
104 * Fluid contains many new features you might want to start using.
105 There are some changes that require special attention in case you
106 created custom condition ViewHelpers or if you call renderSection()
107 and renderWithLayout() from Tx_Fluid_View_TemplateView.
108 * Check out these ChangeLogs for more details:
109 - typo3/sysext/extbase/ChangeLog.txt
110 - typo3/sysext/fluid/ChangeLog.txt
111
112
113 Compatibility
114 =============
115
116 * See typo3/sysext/fluid/ChangeLog.txt for some breaking changes in
117 Fluid.
118 * See typo3/sysext/extbase/ChangeLog.txt for a fix that might break
119 certain setups (caching bug fixed, might break extbase extensions
120 that setup their own TS configuration manually)
121 * The API for registering additional cache frontends or backends has changed.
122 As of TYPO3 4.5 only the classname needs to be specified in favor of both
123 path to the php file and the classname. Instead the class needs to be
124 registered for autoloading. See #15586 for details.
125 Example:
126 New:
127 $TYPO3_CONF_VARS['SYS']['caching']['cacheFrontends']['myext']='tx_myext_cache';
128 Old:
129 $TYPO3_CONF_VARS['SYS']['caching']['cacheFrontends']['myext']='/path/tx_myext_cache.php:tx_myext_cache';
130
131
132 Development
133 ===========
134
135 * There is a new setting that shows all SQL queries in debug
136 (#15425): $TYPO3_CONF_VARS['SYS']['sqlDebug'] = 2;
137 * Contrib libraries can be replaced now via hook (#15218). This
138 allows to test with updates of these libraries. Demo extensions
139 can be found here:
140 http://forge.typo3.org/projects/typo3v45-projects/files
141 * Catch all ExtDirect Exceptions and show them in the DebugConsole.
142 It now also allows you to call debug() (#15513).
143 * DebugConsole now also catch console-calls from Javascript if no
144 console is available. This allows eg debug prints in browsers
145 having no console like the IE
146 * ExtDirect is available in the frontend now (#15754):
147 http://wiki.typo3.org/ExtDirect
148 * t3lib_div now provides two functions setSingletonInstance and addInstance
149 that will set the objects to be returned by makeInstance. (#16267)
150 This will allow unit tests to inject mocks into makeInstance.
151 In addition, there now is a function purgeInstances that makes
152 makeInstance return fresh instances (singleton as well as non-singleton).
153
154
155 TypoScript
156 ==========
157
158 * stdWrap now has a new feature: .numberFormat (#13815)
159 lib.myPrice = TEXT
160 lib.myPrice {
161 value = 0.8
162 numberFormat {
163 decimals = 2
164 dec_point = ,
165 }
166 noTrimWrap = || $|
167 }
168 # Will result in "0,80 $"
169
170 * GIFBUILDER has a new feature: ELLIPSE (#2049). Example:
171 file = GIFBUILDER
172 file {
173 XY = 200,200
174 format = jpg
175 quality = 100
176 10 = ELLIPSE
177 10.dimensions = 100,100,50,50
178 10.color = red
179 }
180 * Added easy interface to integrate lightbox style image enlargement
181 in the frontend. Just set some constants in the "CONTENT" part of
182 css_styled_content and your images will get attributes added that
183 are needed for lightbox JS frameworks to work out of the box.
184
185
186 Database API / DBAL
187 ===================
188
189 * Prepared queries are now part of the TYPO3 database API (#15457).
190 The API is mostly based on PDO's method naming and currently
191 supports SELECT queries. TYPO3 will progressively use this new
192 database API which is cleaner and quicker when using DBAL.
193 Extension authors are encouraged to use it in their own
194 extensions.
195 * Output of SQL parser when dealing with prepared queries is cached
196 for enhanced performances. To activate this caching if you don't have
197 a memcached server:
198 $TYPO3_CONF_VARS['SYS']['useCachingFramework'] = 1;
199 In order to have a much higher cache hit ratio, you should use one
200 or more memcached servers. To activate this enhanced caching, use:
201 $TYPO3_CONF_VARS['SYS']['useCachingFramework'] = 1;
202 $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['dbal'] = array(
203 'backend' => 't3lib_cache_backend_MemcachedBackend',
204 'options' => array(
205 'servers' => array('localhost:11211', 'otherhost:11211'),
206 )
207 );
208 * DBAL now supports "FIND_IN_SET()" (#14818) function and maps it
209 correct functions in case usage under AdoDB. Using FIND_IN_SET in
210 listQuery() will provide performance improvements in all areas, as
211 this is used in several places (backend and frontend, for example
212 for checking the group list permissions).
213
214
215 Workspaces
216 ==========
217
218 * There is a new Scheduler task for the automatic publication of
219 workspaces (#14994). If a publication date has been set for a
220 given workspace, it will be published the next time the Scheduler
221 task runs. Note that automatic "un-publication" still does not
222 work. Replaces non-working CLI script
223 "typo3/mod/user/ws/cli/ws_cli.phpsh".
224 * The workspaces module was completely rewritten and is now based on
225 ExtJS. The usability is enhanced by displaying the information in a
226 nice grid view. Besides that each workspace can now have a customized
227 set of stages which are child records of a workspace record.
228 Make sure to run the upgrade wizard which migrates the hardcoded draft
229 workspace to a real workspace and sets up the new stages.
230 * Inline Relational Record Editing (IRRE) can now also be used for 1:n
231 relations in workspaces.
232 * In order to support custom stages properly it's recommended to change
233 the type of all t3ver_stage fields from tinyint(4) to int(11).
234
235
236 Backend skin
237 ============
238
239 * sprites.css now contains the autogenerated sprites.
240
241
242 Speed improvements
243 ==================
244
245 * Added "compress data" options to DbBackend of the Caching
246 framework (#15141). Enable it like this:
247 $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pages'] =
248 array(
249 'frontend' => 't3lib_cache_frontend_VariableFrontend',
250 'backend' => 't3lib_cache_backend_DbBackend',
251 'options' => array(
252 'cacheTable' => 'cachingframework_cache_pages',
253 'tagsTable' => 'cachingframework_cache_pages_tags',
254 'compression' => TRUE,
255 ),
256 );
257 * Some often used functions of t3lib_div were speed improved.