Added missing feature information for lightbox integration
[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 * Fixed Extbase Caching Bug.
80 * All methods trying to find an object by uid now ignore the
81 storagePid. This changes the behavior of argument mapping and the
82 way extbase fetches 1:1 relations. Resolves #5631. You should not
83 experience any negative side-effects of this change, i.e. if your
84 extension worked before, it will definitely after this change.
85 However, it makes the record handling more robust.
86 * Performance improvements in
87 TypoScript::convertTypoScriptArrayToPlainArray.
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 these ChangeLogs for more details:
93 - typo3/sysext/extbase/ChangeLog.txt
94 - typo3/sysext/fluid/ChangeLog.txt
95
96
97 Compatibility
98 =============
99
100 * See typo3/sysext/fluid/ChangeLog.txt for some breaking changes in
101 Fluid.
102 * See typo3/sysext/extbase/ChangeLog.txt for a fix that might break
103 certain setups (caching bug fixed, might break extbase extensions
104 that setup their own TS configuration manually)
105 * The API for registering additional cache frontends or backends has changed.
106 As of TYPO3 4.5 only the classname needs to be specified in favor of both
107 path to the php file and the classname. Instead the class needs to be
108 registered for autoloading. See #15586 for details.
109 Example:
110 New:
111 $TYPO3_CONF_VARS['SYS']['caching']['cacheFrontends']['myext']='tx_myext_cache';
112 Old:
113 $TYPO3_CONF_VARS['SYS']['caching']['cacheFrontends']['myext']='/path/tx_myext_cache.php:tx_myext_cache';
114
115
116 Development
117 ===========
118
119 * There is a new setting that shows all SQL queries in debug
120 (#15425): $TYPO3_CONF_VARS['SYS']['sqlDebug'] = 2;
121 * Contrib libraries can be replaced now via hook (#15218). This
122 allows to test with updates of these libraries. Demo extensions
123 can be found here:
124 http://forge.typo3.org/projects/typo3v45-projects/files
125 * Catch all ExtDirect Exceptions and show them in the DebugConsole.
126 It now also allows you to call debug() (#15513).
127 * DebugConsole now also catch console-calls from Javascript if no
128 console is available. This allows eg debug prints in browsers
129 having no console like the IE
130 * ExtDirect is available in the frontend now (#15754):
131 http://wiki.typo3.org/ExtDirect
132
133 TypoScript
134 ==========
135
136 * stdWrap now has a new feature: .numberFormat (#13815)
137 lib.myPrice = TEXT
138 lib.myPrice {
139 value = 0.8
140 numberFormat {
141 decimals = 2
142 dec_point = ,
143 }
144 noTrimWrap = || $|
145 }
146 # Will result in "0,80 $"
147
148 * GIFBUILDER has a new feature: ELLIPSE (#2049). Example:
149 file = GIFBUILDER
150 file {
151 XY = 200,200
152 format = jpg
153 quality = 100
154 10 = ELLIPSE
155 10.dimensions = 100,100,50,50
156 10.color = red
157 }
158 * Added easy interface to integrate lightbox style image enlargement
159 in the frontend. Just set some constants in the "CONTENT" part of
160 css_styled_content and your images will get attributes added that
161 are needed for lightbox JS frameworks to work out of the box.
162
163
164 Database API / DBAL
165 ===================
166
167 * Prepared queries are now part of the TYPO3 database API (#15457).
168 The API is mostly based on PDO's method naming and currently
169 supports SELECT queries. TYPO3 will progressively use this new
170 database API which is cleaner and quicker when using DBAL.
171 Extension authors are encouraged to use it in their own
172 extensions.
173 * Output of SQL parser when dealing with prepared queries is cached
174 for enhanced performances. To activate this caching if you don't have
175 a memcached server:
176 $TYPO3_CONF_VARS['SYS']['useCachingFramework'] = 1;
177 In order to have a much higher cache hit ratio, you should use one
178 or more memcached servers. To activate this enhanced caching, use:
179 $TYPO3_CONF_VARS['SYS']['useCachingFramework'] = 1;
180 $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['dbal'] = array(
181 'backend' => 't3lib_cache_backend_MemcachedBackend',
182 'options' => array(
183 'servers' => array('localhost:11211', 'otherhost:11211'),
184 )
185 );
186 * DBAL now supports "FIND_IN_SET()" (#14818) function and maps it
187 correct functions in case usage under AdoDB. Using FIND_IN_SET in
188 listQuery() will provide performance improvements in all areas, as
189 this is used in several places (backend and frontend, for example
190 for checking the group list permissions).
191
192
193 Workspaces
194 ==========
195
196 * There is a new Scheduler task for the automatic publication of
197 workspaces (#14994). If a publication date has been set for a
198 given workspace, it will be published the next time the Scheduler
199 task runs. Note that automatic "un-publication" still does not
200 work. Replaces non-working CLI script
201 "typo3/mod/user/ws/cli/ws_cli.phpsh".
202
203
204 Backend skin
205 ============
206
207 * sprites.css now contains the autogenerated sprites.
208
209
210 Speed improvements
211 ==================
212
213 * Added "compress data" options to DbBackend of the Caching
214 framework (#15141). Enable it like this:
215 $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pages'] =
216 array(
217 'frontend' => 't3lib_cache_frontend_VariableFrontend',
218 'backend' => 't3lib_cache_backend_DbBackend',
219 'options' => array(
220 'cacheTable' => 'cachingframework_cache_pages',
221 'tagsTable' => 'cachingframework_cache_pages_tags',
222 'compression' => TRUE,
223 ),
224 );
225 * Some often used functions of t3lib_div were speed improved.