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