Fixed bug #17093: User settings reference nonexistent field edit_showFieldHelp
[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 * CSH for FlexForms is handled more cleanly but requires adjustments.
154 This has an impact in particular for FE plugins. To continue displaying
155 the CSH for their FlexForm, the CSH file must be declared
156 as for other elements, i.e.
157
158 t3lib_extMgm::addLLrefForTCAdescr('somekey', 'EXT:myext/locallang_csh.xml');
159
160 For more details, in particular how the key is defined, see:
161 http://wiki.typo3.org/Pending_Documentation#CSH_for_FlexForms
162
163
164 TypoScript
165 ==========
166
167 * stdWrap now has a new feature: .numberFormat (#13815)
168 lib.myPrice = TEXT
169 lib.myPrice {
170 value = 0.8
171 numberFormat {
172 decimals = 2
173 dec_point = ,
174 }
175 noTrimWrap = || $|
176 }
177 # Will result in "0,80 $"
178
179 * GIFBUILDER has a new feature: ELLIPSE (#2049). Example:
180 file = GIFBUILDER
181 file {
182 XY = 200,200
183 format = jpg
184 quality = 100
185 10 = ELLIPSE
186 10.dimensions = 100,100,50,50
187 10.color = red
188 }
189 * Added easy interface to integrate lightbox style image enlargement
190 in the frontend. Just set some constants in the "CONTENT" part of
191 css_styled_content and your images will get attributes added that
192 are needed for lightbox JS frameworks to work out of the box.
193
194
195 Database API / DBAL
196 ===================
197
198 * Prepared queries are now part of the TYPO3 database API (#15457).
199 The API is mostly based on PDO's method naming and currently
200 supports SELECT queries. TYPO3 will progressively use this new
201 database API which is cleaner and quicker when using DBAL.
202 Extension authors are encouraged to use it in their own
203 extensions.
204 * Output of SQL parser when dealing with prepared queries is cached
205 for enhanced performances. To activate this caching if you don't have
206 a memcached server:
207 $TYPO3_CONF_VARS['SYS']['useCachingFramework'] = 1;
208 In order to have a much higher cache hit ratio, you should use one
209 or more memcached servers. To activate this enhanced caching, use:
210 $TYPO3_CONF_VARS['SYS']['useCachingFramework'] = 1;
211 $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['dbal'] = array(
212 'backend' => 't3lib_cache_backend_MemcachedBackend',
213 'options' => array(
214 'servers' => array('localhost:11211', 'otherhost:11211'),
215 )
216 );
217 * DBAL now supports "FIND_IN_SET()" (#14818) function and maps it
218 correct functions in case usage under AdoDB. Using FIND_IN_SET in
219 listQuery() will provide performance improvements in all areas, as
220 this is used in several places (backend and frontend, for example
221 for checking the group list permissions).
222
223
224 Workspaces
225 ==========
226
227 * There is a new Scheduler task for the automatic publication of
228 workspaces (#14994). If a publication date has been set for a
229 given workspace, it will be published the next time the Scheduler
230 task runs. Note that automatic "un-publication" still does not
231 work. Replaces non-working CLI script
232 "typo3/mod/user/ws/cli/ws_cli.phpsh".
233 * The workspaces module was completely rewritten and is now based on
234 ExtJS. The usability is enhanced by displaying the information in a
235 nice grid view. Besides that each workspace can now have a customized
236 set of stages which are child records of a workspace record.
237 Make sure to run the upgrade wizard which migrates the hardcoded draft
238 workspace to a real workspace and sets up the new stages.
239 * Inline Relational Record Editing (IRRE) can now also be used for 1:n
240 relations in workspaces.
241 * In order to support custom stages properly it's recommended to change
242 the type of all t3ver_stage fields from tinyint(4) to int(11).
243
244
245 Backend skin
246 ============
247
248 * sprites.css now contains the autogenerated sprites.
249
250
251 Speed improvements
252 ==================
253
254 * Added "compress data" options to DbBackend of the Caching
255 framework (#15141). Enable it like this:
256 $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pages'] =
257 array(
258 'frontend' => 't3lib_cache_frontend_VariableFrontend',
259 'backend' => 't3lib_cache_backend_DbBackend',
260 'options' => array(
261 'cacheTable' => 'cachingframework_cache_pages',
262 'tagsTable' => 'cachingframework_cache_pages_tags',
263 'compression' => TRUE,
264 ),
265 );
266 * Some often used functions of t3lib_div were speed improved.