Added feature #6037: Performance tunning in t3lib_div by removing elderly PHP functions
[Packages/TYPO3.CMS.git] / NEWS.txt
1 ************************************************************************
2 CHANGES & IMPROVEMENTS between TYPO3 4.1 and 4.2
3 (for technical details see ChangeLog)
4 ************************************************************************
5
6 General
7 ==================
8
9 * New PHP version requirement: You need to have at least PHP 5.2.0 in order to run TYPO3 4.2
10 * Workspaces allow moving of elements (for details, see Inside TYPO3, Core API, and this video: http://castor.t3o.punkt.de/files/moving_in_workspaces2.mp4 (/.mov for better quality)
11 * The new backend of the "Cleaner Backend Project" (typo3/backend.php) replaced the old module (typo3/alt_main.php)
12
13 Backend
14 ==================
15
16 * New Installer
17
18 * Templates
19 -> Various enhancements to the TS object browser and TS analyzer
20 -> Added new T3Editor with syntax highlighting and other usability improvements for editing TypoScripts
21
22 * Extension Manager
23 -> Auto-update view when new back-end modules were installed
24 -> Integrate the extension ter_update_check into EM
25
26 * Workspaces
27 -> Implemented moving for elements ("Element" versions)
28 -> Workspace "swapping" for "New"-placeholders and "Deleted"-Markers is now supported
29 -> Added switch in TYPO3_CONF_VARS['BE']['elementVersioningOnly'] which allows to completely turn off page and branch versioning
30
31 * htmlArea RTE
32 -> Various bug fixes
33 -> Enable htmlArea RTE in Safari
34 -> Removed list of plugins from EM configuration
35 -> Enhancements to the block styling and text styling drop-down lists
36 -> Enhancements to the handling of inline elements: new formattext drop-down list and new inline element buttons
37 -> Enhancements to the handling of block elements: formattext, insertparagrahbefore and insertparagraphafter buttons, blockquote button, indent with div and configurable class, alignment with configurable classes
38 -> New plugin API enable TYPO3 extension to extend the RTE (to be documented separately)
39
40 * Cleaner Backend Project
41 -> Implemented new GUI with lots of usability improvements
42 -> Enable Tabs in Page Properties
43 -> Use optgroups in selectorboxes
44 -> Added "Open Documents" as optional module in top bar
45 -> Possibility to fold the page- and file-tree widgets
46
47 * TCEforms
48 -> Notify and visualize user where required elements are nested in IRRE or Tabs
49 -> The page doktypes "advanced" and "not in menu" were removed and their functionality integrated into the "normal" doktype
50
51 * Inline Relational Record Editing (IRRE)
52 -> Localization support for child records
53 -> Possibility to define storage page for child records on a per-table-basis (TSconfig TCAdefault.[table].pid = [page id])
54
55 * Template Module
56 -> Improved TypoScript editor by integration of T3Editor with several extended features like code highlighting, code snippets, etc.
57 -> Improved the usability of the Constant Editor
58
59 Compatibility
60 =============
61
62 * t3lib_div::csvValues() now exports like Internet RFC 4180 (embedded line-breaks allowed)
63 * !!! Page doktypes "2" & "5" ("advanced" and "not in menu") were removed and merge with the "normal" doktype "1"
64 -> This behaviour can be disabled by setting the $TYPO3_CONF_VARS['SYS']['compat_version'] to '4.1'.
65 -> The update wizard allows one to perform the required database changes.
66 -> For Developers: Check your extensions and TypoScripts
67 -> doktypes '2' and '5' are deprecated!
68 -> change conditions like "doktype=5" to "nav_hide=1"
69 -> remove conditions like "doktype=2"
70
71 Speed improvements
72 ==================
73
74 * indexed_search with a huge page trees can now be a lot faster with the new TypoScript configuration option "skipExtendToSubpagesChecking"
75 * Added many calls to $GLOBALS['TYPO3_DB']->sql_free_result() free these memory resources
76 * Speed up link rendering by implementing some local caches
77 * Introduction of global variable $ACCESS_TIME (to the minute) to allow a better usage of MySQL query cache for time-based access control queries
78 * Improved caching of locallang and changed internal caching from default character set of language to required character set.
79
80 Development
81 ====================
82
83 * Add new external library "RemoveXSS" for easily filtering potential Cross Site Scripting (XSS) attacks.
84 -> Can be used by any script. Usage: $filtered_string = t3lib_div::removeXSS($input_string);
85 -> Thanks to Travis Puderbaugh <kallahar@quickwired.com> for providing this nice piece of code!
86
87 * TCEforms
88 -> Setting a field of eval "timesec" as a label of a table would show an integer instead of the hh:mm:ss string
89
90 * Workspaces
91 -> Added class.wslib_gui.php to allow using WS GUI from extensions
92 -> Added "flush" command to TCEmain API for versions so versions can be completely deleted and not only released from a workspace
93
94 * AJAX/JavaScript
95 -> Added JavaScript minification feature (new function t3lib_div::minifyJavaScript)
96 -> Updated JavaScript libraries: prototype (1.6.0.2) and script.aculo.us (1.8.1)
97 -> Consistent interface for AJAX calls in the TYPO3 Backend (typo3/ajax.php)
98
99 * Hooks
100 -> Added hook to Web>Page "columns" view, allowing plugins to display "additional info" instead of "CODE:"
101 -> Added a hook to TCEforms to enable custom evaluations for input fields
102 -> Introduced a new global hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks']
103 -> allows to insert HTML before a records icon in the page tree, Web>List and Web>Page modules (and possibly more places where makes sense)
104 -> Integrate post processing hook for links handled by typoLink
105 -> Web>List module: Allow modification/addition/removal of icons for each table and its records
106 -> Hook in TCEmain after all database operations
107 -> Some Hooks for tslib_content
108 -> Added hooks to t3lib_TCEforms_inline to manipulate control items for each child record
109 -> Added hook to manipulate the cHash
110
111 TypoScript changes
112 ==================
113
114 * Back-end
115 -> Removed TSconfig property TCEFORM.<table>.<field>.linkTitleToSelf.returnUrl
116 -> Added possibility to set TCAdefaults in Page TSconfig
117 -> Added Page TSconfig property TCEFORM.[table].[field].label to override labels
118
119 * Front-end
120 -> Added +stdWrap for the .src parameter of "FRAME"
121 -> Added +stdWrap for the .wrapItemAndSub parameter of "TMENUITEM"
122 -> Added new conditions "year" and "dayofyear"
123 -> Addes possibility to define cache expire time of HMEMUs
124 -> Introduced a new TS option that makes indexing of metatags configurable (config.index_metatags)
125 -> Added stdWrap support for minW and minH of imgResource
126 -> Added minification of JavaScripts (config.minifyJS)
127 -> Constant 'PAGE_TARGET' of CSS Styled Content is cleared when compatVersion is set to 4.2.0
128
129 Database changes
130 ================
131
132 * Replace all TINYTEXT columns with VARCHAR(255)
133 * Change index "parent" of fe_user to (pid,username) and drop the index "pid"
134 * Added fields "crdate" and "cruser_id" to tt_content
135
136 DBAL
137 ====
138
139 * typo3/sysext/adodb: Update to upstream version 4.94
140
141 Frontend features
142 =================
143
144 * New login-box System-Extension "felogin":
145 -> This is a refactored version of the "newloginbox" extension, now integrated into the core.
146 -> If you install the extension, it will replace the old login content element (CType: "Login Form").
147 -> The new plugin comes with a great new redirection framework and lots of configuration options - but still runs nicely out of the box.
148 * Roll-over (RO) on a GMENU in IE didn't work with xhtml_strict (Bug #3729)
149 * Content encoding with x-gzip is now available also for IE7
150 * Various improvements to the admin panel
151 * Whole workspaces can be previewed now for users with no backend login by a simple link you can email
152 * Enabled EXPLAIN SELECT queries in TS admin panel
153
154 Backend skin
155 ============
156
157 * ...
158
159 Important bugfixes
160 ==================
161
162 * Better transliteration for hebrew (using lower-cased latin letters)
163 * pageNotFound_handling used to return an empty page if the specified URL could not be retrieved (old gremlin)
164 * "Clear FE cache" didn't clear "typo3temp/cache_pages" directory
165
166 Currently unsupported
167 =====================
168
169 * Missing features concerning the disposal of Inline Relational Record Editing (IRRE)
170 -> Workspaces and Versioning are currently not supported
171 -> FlexForms using the TCA type 'inline' are currently not supported/tested
172 -> Import/Export (sysext tx_impexp) might not work correctly in special cases