An interesting news story has appeared on the website of the codebook.
Ellislab switched from SVN to Mercurial and posted on bitbucket version 2.0.0
But in order.
As already mentioned, the codeloger should be taken from the repository to a new address . Than distributed version control systems are better than centralized ones - the task is not for this topic, but in brief: now everyone can have their own Codeigniter repository.
Now about version 2.0. As an archive, it is not yet available, but the main changes are as follows:
the main thing
Disclaimer php4 support! It is finished. So far, the four are deprecated, and from version CI 2.1 it will be removed altogether.
Scaffolding is also deprecated.
Removed plugins. In favor of the helpers. In particular, the captcha plugin. Removed calendar plugin, because it's better not to do anything on jQuery anyway.
New type of libraries: Drivers.
Improvements to routing, as I understand, remove index.php in addresses.
Installing a config from an index - when many applications within a single framework use their configs.
Here: $ config ['directory_trigger'] is added - the subdirectory controller can be transferred via GET.
Now you can make Packages with your libraries, models, etc.
')
Libraries
Security library and a number of things for it.
Added $ parse_exec_vars property in Output library.
Ability to enable or disable individual sections in profiler.
Added information about HTTP headers and config to profiler.
The allowed file types in the Upload library can be set to '*' (from myself I’ll say that the definition of mime with upload depends heavily on browsers, so a lot of hemorrhoids are obtained. Now it should be easier).
Added the variable 'object' to the XML-RPC Server library configs. Do without $ CI.
Added is_object test to tests.
Table can generate empty cells or NULL.
You can set individual attributes for tags of a separate table cell.
The parse_string () method has been added to the Parser Class.
Added definition of Chrome and Flock to User Agent Class
Unit Test Class now has optional notes. Test results can be obtained as: $ this-> unit-> set_test_items ()
Database
Added several variables to the database configs: swap_pre, autoinit, stricton.
Added database_exists () check to utilitarian part.
Semantic changes in db-> version () (for Orakla, for example, or SQLite).
Bugfixes
Helpers
Added convert_accented_characters () to text helper.
Added allowed characters to the form_open () attribute list in the Form Helper.
Deprecated dohash () - now do_hash () is needed.
get_dir_file_info () has now lost backward recursion without backward compatibility.
directory_map () can set the depth.
delete_files () returns false on failure.
byte_format () can now format in decimal form.
Alpha and sha1 string types are added to random_string ().
Other
Loader now works more flexibly with class prefixes.
Increased randomness of random with is_really_writable () to eliminate collisions when querying.
Some DIR_WRITE_MODE changed to FILE_WRITE_MODE.
get_mime_by_extension () is not case sensitive.
Added “default” to reserved names.
Added exe and tgz to config / mimes.php.
Improvements in the documentation.
And a lot of bug fixes.
At a minimum, all this suggests that the old man is still too early to write off. What do you think?