Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle 2.2 release notes: Difference between revisions

From MoodleDocs
(Corrected link to fixed issues in tracker)
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Hello and welcome to our Moodle 2.2 release!  Completely free of artificial preservatives, colour and flavour enhancers.  Fully natural and ready to eat!
Hello and welcome to our Moodle 2.2 release!


Release date: tomorrow!
Completely free of artificial preservatives, colour and flavour enhancers.  Fully natural and ready to eat!


Here is the [http://tracker.moodle.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+mdl+AND+resolution+%3D+fixed+AND+fixVersion+in+%28%222.2%22%29+ORDER+BY+priority+DESC%2C+key+DESC full list of fixed issues in 2.2]  (Long!)
Release date: 5th December, 2011
 
Here is the [https://tracker.moodle.org/issues/?jql=project%20%3D%20mdl%20AND%20resolution%20%3D%20fixed%20AND%20fixVersion%20in%20(%222.2%22)%20ORDER%20BY%20priority%20DESC full list of fixed issues in 2.2]  (Long!)


===Major new features===
===Major new features===


; [https://docs.moodle.org/22/en/Advanced_grading_methods Advanced grading methods], including [https://docs.moodle.org/22/en/Rubrics Rubrics]: Rubrics have been a top feature request for a long time and we're pleased to be able to say that now you can design and use rubrics to grade things in Moodle.  Rubrics are actually the first plugin of a new 'Advanced Grading' plugin type, because we expect our users to come up with all kinds of similar advanced grading interfaces and integrations.  This feature was developed by Moodle HQ, although it was inspired by the Rubrics work done by Moodlerooms.
; [[image:rubric-example.png|thumb|right]][https://docs.moodle.org/22/en/Advanced_grading_methods Advanced grading methods], including [https://docs.moodle.org/22/en/Rubrics Rubrics]: Rubrics have been a long-requested feature and we're pleased to be able to say that now you can design and use rubrics to grade things in Moodle.  Rubrics are actually the first plugin of a new 'Advanced Grading' plugin type, because we expect our users to come up with all kinds of similar advanced grading interfaces and integrations.  It currently only works for Assignments but will be extended soon across all modules.  This feature was developed by Moodle HQ, although it was inspired by the Rubrics work done by Moodlerooms.
; IMS Learning Tools Interoperability 1.1 (MDL-20534): The IMS LTI standard is a simple but promising way that e-learning tools can interoperate.  It allows Moodle to embed learning objects (or full-blown tools like forums) from external web sites into courses in such a way that Moodle can pass user data to the tool, and the tool can send grades back to Moodle's gradebook.  Not only does it allow integration of a growing amount of interactive content and services but it will allow developers to create functionality for Moodle in any language they like.  (eg they can create a new activity using Ruby or Java, as long as it support LTI 1.1 and has a web interface).  Moodle is one of the first Learning Management Systems in the world to support IMS LTI 1.1.  ([http://www.imsglobal.org/membersandaffiliates.html Moodle is a contributing member of IMS Global]).  This feature was originally developed by [http://www.upc.edu Universitat Politecnica de Catalunya], then improved and extended by [http://moodlerooms.com Moodlerooms], with lots of support from Chuck Severance of IMS and Eloy Lafuente of the Moodle HQ team.
; [https://docs.moodle.org/22/en/External_tool External tool] : The IMS LTI standard is a simple but promising way that e-learning tools can interoperate.  It allows Moodle to embed learning objects (or full-blown tools like forums) from external web sites into courses in such a way that Moodle can pass user data to the tool, and the tool can send grades back to Moodle's gradebook.  Not only does it allow integration of a growing amount of interactive content and services but it will allow developers to create functionality for Moodle in any language they like.  (eg they can create a new activity using Ruby or Java, as long as it support LTI 1.1 and has a web interface).  Moodle is one of the first Learning Management Systems in the world to support IMS LTI 1.1.  ([http://www.imsglobal.org/membersandaffiliates.html Moodle is a contributing member of IMS Global]).  This feature was originally developed by [http://www.upc.edu Universitat Politecnica de Catalunya], then improved and extended by [http://moodlerooms.com Moodlerooms], with lots of support from Chuck Severance of IMS and Eloy Lafuente of the Moodle HQ team. (MDL-20534)
; IMS Common Cartridge (MDL-29956): This is platform-independent popular standard for packaging learning content.  For example it is used by publishers to publish simple courses to go with their textbooks, in a way that works on a variety of Learning Management Systems.  Moodle did have support for importing CC packages in Moodle 1.9, and thanks to the work primarily by Darko Miletic and Moodlerooms, this is now available for Moodle 2.2 and later.  Exporting to CC will come in 2.3.
; [https://docs.moodle.org/22/en/IMS_Common_Cartridge_import IMS Common Cartridge import] : This is platform-independent popular standard for packaging learning content.  For example it is used by publishers to publish simple courses to go with their textbooks, in a way that works on a variety of Learning Management Systems.  Moodle did have support for importing CC packages in Moodle 1.9, and thanks to the work primarily by Darko Miletic and Moodlerooms, this is now available for Moodle 2.2 and later.  Exporting to CC will come in 2.3.   (MDL-29956)
; MyMobile Theme (MDL-27622): Moodle 2.1 introduced the ability to select different themes for different devices, and now with 2.2 we have a standard theme in core that is custom-designed for smartphone browser screens.  This means that when users visit your Moodle site on a small screen they'll see a completely different layout, but one that is suitable for small touchscreens.  Big thanks for John Stabinger for his great work on this theme, which utilises Jquerymobile to achieve some of the magic.
; [https://docs.moodle.org/22/en/MyMobile_theme MyMobile theme] : Moodle 2.1 introduced the ability to select different themes for different devices, and now with 2.2 we have a standard theme in core that is custom-designed for smartphone browser screens.  This means that when users visit your Moodle site on a small screen they'll see a completely different layout, but one that is suitable for small touchscreens.  Big thanks for John Stabinger for his great work on this theme, which utilises Jquerymobile to achieve some of the magic. (MDL-27622)
; Gravatar integration (MDL-21676): Many of you may know about [http://gravatar.com gravatars] (globally recognized avatars), which allows your avatar icon to automatically appear when you comment on blogs and so on anywhere in the internet.  Moodle profiles now support it too. :)
; [https://docs.moodle.org/22/en/Gravatars Gravatars] : Many of you may know about [http://gravatar.com gravatars] (globally recognized avatars), which allows your avatar icon to automatically appear when you comment on blogs and so on anywhere in the internet.  Moodle profiles now support it too. :) (MDL-21676)


===Other highlights===
===Other highlights===
Line 23: Line 25:
* MDL-27001 - Activity descriptions can now be displayed on [https://docs.moodle.org/22/en/Course_homepage course homepages]
* MDL-27001 - Activity descriptions can now be displayed on [https://docs.moodle.org/22/en/Course_homepage course homepages]
* MDL-27036, MDL-30146 - [https://docs.moodle.org/22/en/SCORM_settings SCORM AICC] improvements to handling of external AICC packages
* MDL-27036, MDL-30146 - [https://docs.moodle.org/22/en/SCORM_settings SCORM AICC] improvements to handling of external AICC packages
; MDL-28277 SCORM - New interactions report (GSOC Project)
* MDL-28277 -  [[SCORM reporting improvements]] including a new [https://docs.moodle.org/22/en/Using_SCORM SCORM interactions report]
* MDL-26647 - Can choose in [https://docs.moodle.org/22/en/Roles_settings User policies] which fields (email, idnumber, department, etc.) are included wherever lists of students are shown.


===Security issues===
===Security issues===
   
   
To be released later
All security issues that were fixed in 2.1.x and 2.0.x were also fixed in 2.2.


===For developers: API changes===
===For developers: API changes===
Line 34: Line 37:


* https://github.com/moodle/moodle/blob/master/lib/upgrade.txt
* https://github.com/moodle/moodle/blob/master/lib/upgrade.txt
* MDL-29474 - Plugins should declare if they depend on other plugins  
* MDL-29474 - Plugins should declare (in [[version.php]]) if they depend on other plugins
* MDL-28554 - Upgrade to YUI 3.4.0 and 2.9.0
* MDL-28554 - Upgrade to YUI 3.4.0 and 2.9.0
* MDL-26796 - We no longer accept arrays in required_param() and optional_param()
* MDL-26796 - We no longer accept arrays in required_param() and optional_param()
* MDL-29602 - new context implementation and API, original context related functions are wrappers around the new OOP API


====New plugin types====
====New plugin types====
Line 45: Line 49:


====Plugin API changes====
====Plugin API changes====
Abbreviated descriptions of API changes are always kept up to date in the "upgrade.txt" within each plugin area.  We do this so that the information is always exactly right for the version of Moodle you are using.


;Authentication plugins: http://git.moodle.org/gw?p=moodle.git;a=blob;f=auth/upgrade.txt;hb=master
;Authentication plugins: http://git.moodle.org/gw?p=moodle.git;a=blob;f=auth/upgrade.txt;hb=master
Line 76: Line 82:
* MDL-29922 - lib/smarty (with the question format IMS QTI 2.0 also being removed - MDL-29921)
* MDL-29922 - lib/smarty (with the question format IMS QTI 2.0 also being removed - MDL-29921)
* MDL-29887 - lib/swfobject/swfobject.js
* MDL-29887 - lib/swfobject/swfobject.js
<noinclude>


====Webservice changes====
====Webservice changes====
Line 87: Line 91:
* MDL-29276 - Many other web service improvements
* MDL-29276 - Many other web service improvements
* Many web service [https://github.com/moodlehq/sample-ws-clients demo clients]  
* Many web service [https://github.com/moodlehq/sample-ws-clients demo clients]  
* Full web service [[:en:Web_services|user]] and [[:dev:Web_services|developer]] documentation update.
* Full web service [[:en:Web_services|user]] and [[:dev:Web_services|developer]] documentation update
* New [[:dev:Web_services_Roadmap | web service roadmap]]
* New [[:dev:Web_services_Roadmap | web service roadmap]]
====Other deleted items====
* MDL-29923 - Global search


==See also==
==See also==


* [https://docs.moodle.org/22/en/Category:New_features User documentation of new features in Moodle 2.2]
* [https://docs.moodle.org/22/en/Category:New_features User documentation of new features in Moodle 2.2]
* [https://docs.moodle.org/22/en/Upgrading_to_Moodle_2.2 Upgrading to Moodle 2.2] - important information for admins who are upgrading from earlier versions
 
[[Category:Release notes]]
[[Category:Release notes]]
[[Category:Moodle 2.2]]
[[Category:Moodle 2.2]]


[[fr:Notes de mise à jour de Moodle 2.2]]
[[fr:Notes de mise à jour de Moodle 2.2]]

Revision as of 14:57, 3 January 2013

Hello and welcome to our Moodle 2.2 release!

Completely free of artificial preservatives, colour and flavour enhancers. Fully natural and ready to eat!

Release date: 5th December, 2011

Here is the full list of fixed issues in 2.2 (Long!)

Major new features

rubric-example.png
Advanced grading methods, including Rubrics
Rubrics have been a long-requested feature and we're pleased to be able to say that now you can design and use rubrics to grade things in Moodle. Rubrics are actually the first plugin of a new 'Advanced Grading' plugin type, because we expect our users to come up with all kinds of similar advanced grading interfaces and integrations. It currently only works for Assignments but will be extended soon across all modules. This feature was developed by Moodle HQ, although it was inspired by the Rubrics work done by Moodlerooms.
External tool
The IMS LTI standard is a simple but promising way that e-learning tools can interoperate. It allows Moodle to embed learning objects (or full-blown tools like forums) from external web sites into courses in such a way that Moodle can pass user data to the tool, and the tool can send grades back to Moodle's gradebook. Not only does it allow integration of a growing amount of interactive content and services but it will allow developers to create functionality for Moodle in any language they like. (eg they can create a new activity using Ruby or Java, as long as it support LTI 1.1 and has a web interface). Moodle is one of the first Learning Management Systems in the world to support IMS LTI 1.1. (Moodle is a contributing member of IMS Global). This feature was originally developed by Universitat Politecnica de Catalunya, then improved and extended by Moodlerooms, with lots of support from Chuck Severance of IMS and Eloy Lafuente of the Moodle HQ team. (MDL-20534)
IMS Common Cartridge import
This is platform-independent popular standard for packaging learning content. For example it is used by publishers to publish simple courses to go with their textbooks, in a way that works on a variety of Learning Management Systems. Moodle did have support for importing CC packages in Moodle 1.9, and thanks to the work primarily by Darko Miletic and Moodlerooms, this is now available for Moodle 2.2 and later. Exporting to CC will come in 2.3. (MDL-29956)
MyMobile theme
Moodle 2.1 introduced the ability to select different themes for different devices, and now with 2.2 we have a standard theme in core that is custom-designed for smartphone browser screens. This means that when users visit your Moodle site on a small screen they'll see a completely different layout, but one that is suitable for small touchscreens. Big thanks for John Stabinger for his great work on this theme, which utilises Jquerymobile to achieve some of the magic. (MDL-27622)
Gravatars
Many of you may know about gravatars (globally recognized avatars), which allows your avatar icon to automatically appear when you comment on blogs and so on anywhere in the internet. Moodle profiles now support it too. :) (MDL-21676)

Other highlights

Security issues

All security issues that were fixed in 2.1.x and 2.0.x were also fixed in 2.2.

For developers: API changes

Core API changes

New plugin types

Plugin API changes

Abbreviated descriptions of API changes are always kept up to date in the "upgrade.txt" within each plugin area. We do this so that the information is always exactly right for the version of Moodle you are using.

Authentication plugins
http://git.moodle.org/gw?p=moodle.git;a=blob;f=auth/upgrade.txt;hb=master
Enrolment plugins
http://git.moodle.org/gw?p=moodle.git;a=blob;f=enrol/upgrade.txt;hb=master
Filters
http://git.moodle.org/gw?p=moodle.git;a=blob;f=filter/upgrade.txt;hb=master
Activity modules
http://git.moodle.org/gw?p=moodle.git;a=blob;f=mod/upgrade.txt;hb=master
Question behaviours
http://git.moodle.org/gw?p=moodle.git;a=blob;f=question/behaviour/upgrade.txt;hb=master
Question formats
http://git.moodle.org/gw?p=moodle.git;a=blob;f=question/format/upgrade.txt;hb=master
Question types
http://git.moodle.org/gw?p=moodle.git;a=blob;f=question/type/upgrade.txt;hb=master
Themes
http://git.moodle.org/gw?p=moodle.git;a=blob;f=theme/upgrade.txt;hb=master

DB changes

  • MDL-29313 - Length limit for VARCHAR columns under all Databases has been raised to 1333 chars. This will allow using that column type to store URLs and longer contents in general.
  • Specifically for Oracle installations:
    • MDL-29322 - All VARCHAR2 columns will be created using CHAR semantics instead of default BYTE semantics in Moodle 2.2 and upwards. This provides better cross-db compatibility and improves storage of longer Unicode strings.
    • MDL-29416 - For all existing sites, one new report has been added under Admin -> Development -> XMLDB Editor -> Check semantics, able to detect all the "old" BYTE semantics remaining in the database and generate the SQL statements needed to move them to proper CHAR semantics.

Libraries deleted from distribution

This is the list of some outdated / unused libraries that aren't bundled anymore with Moodle 2.2 and upwards. Any (contrib / custom) plugin using them should change to better alternatives or include its own copy of them:

Webservice changes

  • MDL-20804 - SOAP server can now publish detailed object structures via WSDL
  • MDL-29106 - New naming convention
  • MDL-29435 - SOAP/XML-RPC return clear error message when Moodle debug mode >= NORMAL
  • MDL-29277 - Any error at the web service description level is clearly indicated => which parameter/returned value is wrong, and what was expected.
  • MDL-29279 - REST server can return JSON
  • MDL-29276 - Many other web service improvements
  • Many web service demo clients
  • Full web service user and developer documentation update
  • New web service roadmap

Other deleted items

See also