Changes for page Release Notes for XWiki Enterprise 4.0 Milestone 2
Last modified by Thomas Mortagne on 2023/10/13
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -ReleaseNotes.WebHome - Content
-
... ... @@ -11,23 +11,113 @@ 11 11 12 12 == Extension Manager improvements == 13 13 14 - {{todo/}}14 +=== Extension Manager === 15 15 16 +* Added possibility to choose on which wiki to install an extension 17 +* When installing/uninstalling extension or any other background job, the result of the job executing is stored on the filesystem so that it can be reviewed later. There is no UI to access it yet but it's always possible to access the saved file on filesystem directly. 18 + 19 +=== XWiki Repository === 20 + 21 +* Added a button to update an imported extension 22 +* It's now possible to extend an Extension sheet with custom informations. For example http://extensions.xwiki.org adds "Bundled with" and "Compatibility" fields. 23 + 24 += For developers = 25 + 26 +== Extension Manager moved to commons == 27 + 28 +Everything not specifically related to XWiki is now part of xwiki-commons. That means that anyone can get all Extension Manager features (easy live JAR installation/uninstallation from remote repositories, dependency management, etc.) in any Java application. 29 + 30 +== Classloader module moved to commons == 31 + 32 +Mostly been moved as Extension Manager dependency but also useful on it own as a tool to dynamically add new URLs in a classloader at runtime. 33 + 34 +== New Job module == 35 + 36 +The code to execute a task in background and provide related progress and isolated log has been extracted from Extension Manager and is now in its own module. 37 + 38 +== Component related improvements == 39 + 40 +=== Role moved from Class to Type === 41 + 42 +In order to support parameterized role like DocumentReferenceResolver<String>, all the APIs of ComponentManager and Component descriptors have been changed to take Type instead of Class. All the old APIs are still available and working, but have been deprecated. 43 + 44 +=== ComponentRole is deprecated === 45 + 46 +You should now use @Role instead of @ComponentRole. The difference is that when using @Role the generic parameters will be taken into account as part of the role while with @ComponentRole the role stays the Class of the component role so be careful when you do this change, it might break everything if you don't want to take into account parameters (that's why a new annotation has been introduced instead of changing the behavior of ComponentRole). 47 + 48 +=== References resolver/serializer and Provider now support parameter type as part of the role === 49 + 50 +This mean that declaring or injecting a such component no longer require any hint unless you want to provide/inject a variant for the same type. 51 + 52 +Here are some example. Instead of: 53 + 54 +{{code language="java"}} 55 +@Inject 56 +@Named("reference/default") 57 +private DocumentReferenceResolver<EntityReference> resolver 58 + 59 +@Inject 60 +@Named("reference/current") 61 +private DocumentReferenceResolver<EntityReference> resolver 62 + 63 +@Inject 64 +@Named("sometypeprovider") 65 +private Provider<SomeType> resolver 66 +{{/code}} 67 + 68 +you will write 69 + 70 +{{code language="java"}} 71 +@Inject 72 +private DocumentReferenceResolver<EntityReference> resolver 73 + 74 +@Inject 75 +@Named("current") 76 +private DocumentReferenceResolver<EntityReference> resolver 77 + 78 +@Inject 79 +private Provider<SomeType> resolver 80 +{{/code}} 81 + 82 +All reference resolver and serializer provide static variables with the Type for both String and EntityReference. For example you can write: 83 + 84 +{{code language="java"}} 85 +DocumentReferenceResolver<EntityReference> resolver = componentManager.lookupComponent(DocumentReferenceResolver.TYPE_REFERENCE, "current") 86 +{{/code}} 87 + 16 16 = Bug fixes and improvements = 17 17 18 -{{todo/}} 90 +* [[XE-1096>>http://jira.xwiki.org/browse/XE-1096]] The attachment selector should also work with the ##/edit/## action in 'Inline form' edit mode 91 +* [[XE-1105>>http://jira.xwiki.org/browse/XE-1105]] Default class sheet doesn't display correctly the class title 92 +* [[XWIKI-7411>>http://jira.xwiki.org/browse/XWIKI-7411]] Cannot import a XAR containing ##%3A## in its file name 93 +* [[XWIKI-6305>>http://jira.xwiki.org/browse/XWIKI-6305]] Keep the current user in the administration application when editing user details 94 +* [[XWIKI-7462>>http://jira.xwiki.org/browse/XWIKI-7462]] Improve the Profile breadcrumb to be more user friendly 95 +* [[XWIKI-7484>>http://jira.xwiki.org/browse/XWIKI-7484]] Write a log line in the console instructing the user to open XWiki in a browser 19 19 20 20 See the full list of [[JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%223.5-milestone-1%22&tempMax=1000]] fixed in this release. 21 21 22 22 = For Developers = 23 23 24 -{{todo/}} 101 +* [[XCOMMONS-94>>http://jira.xwiki.org/browse/XCOMMONS-94]] Set the minimum required Maven version (3.0) to build XWiki in the POM 102 +* [[XWIKI-7502>>http://jira.xwiki.org/browse/XWIKI-7502]] Replace notion of Container's ApplicationContext with the notion of Environment 103 +* [[XWIKI-7476>>http://jira.xwiki.org/browse/XWIKI-7476]] Sheets need to be able to display the title of the document they are applied to 104 +* [[XWIKI-7526>>http://jira.xwiki.org/browse/XWIKI-7526]] Enable Infinispan JMX mbeans by default for runtime monitoring of XWiki caches 105 +* [[XWIKI-7504>>http://jira.xwiki.org/browse/XWIKI-7504]] Files within WEB-INF directory readable by using Velocity 106 +* [[XE-1108>>http://jira.xwiki.org/browse/XE-1108]] Provide tomcat5 and tomcat7 based Debian packages 25 25 26 26 == Upgrades == 27 27 28 28 The following dependencies have been upgraded: 29 29 30 -{{todo/}} 112 +* commons-codec 1.6 113 +* commons-configuration 1.8 114 +* commons-io 2.1 115 +* commons-net 3.1 116 +* HyperSQL 2.2.8 117 +* Infinispan 5.1.1 118 +* Junit 4.10 119 +* Maven Clover plugin 3.1.4 120 +* Selenium 2.20 31 31 32 32 = Tested Browsers = 33 33 ... ... @@ -37,8 +37,6 @@ 37 37 38 38 {{browser name='chrome' version= '17'/}} 39 39 40 -{{todo/}} 41 - 42 42 = Known issues = 43 43 44 44 * [[Bugs we know about>>http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]]