Changes between Version 66 and Version 67 of ReleaseNotes
- Timestamp:
- 23.08.2013 15:18:26 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReleaseNotes
v66 v67 8 8 9 9 New features: 10 * **Timestamps** (#386). Each topic/association have creation and modification timestamps. Topics/associations retrieved via REST are attributed with these timestamps. The new Time API allows programmatic timestamp access and topic/association retrieval based on time ranges. Timestamps are also the basis for validating the browser cache and for edit conflict detection. 11 * Better performance through exploiting the browser cache (#478).12 * **Edit conflict detection** (#479). The server rejects a PUT request when the resource has changed meanwhile. The check is based on the resource's "last modified" timestamp. This fights the "lost update" problem when working collaboratively. (Conflict ''resolution'' is not yet realized.)10 * **Timestamps** (#386). Each topic/association have creation and modification timestamps. Topics/associations retrieved via REST are attributed with these timestamps. The new Time API allows programmatic timestamp access and topic/association retrieval based on time ranges. Timestamps are also the basis for validating the browser cache and for edit conflict detection. The time aspect is realized as a separate module (`dm4-time`). 11 * **Exploiting the browser cache** (#478). Consequent usage of intrinsic HTTP features (`Last-Modified` and `Cache-Control` response headers and `If-Modified-Since` request header) results in lesser network traffic and better perceived performance. The caching aspect is realized as a separate module (`dm4-caching`). 12 * **Edit conflict detection** (#479). The server rejects a PUT request when the resource has changed meanwhile. The check is based on the resource's "last modified" timestamp. This fights the "lost update" problem when working collaboratively. Edit conflict detection is realized at HTTP level, that is a conditional PUT request (`If-Unmodified-Since` request header). Conflict ''resolution'' is not yet realized. 13 13 14 14 Plugin Development Framework: 15 15 * A plugin can store **Node Properties**. Node properties are topic/association metadata like timestamps, ACL information, or geo coordinates. The new Property API can retrieve topics/associations based on property value or value range (#472). Node properties can be indexed. Numeric properties are trie-indexed which allows for performant range queries. Ranges are particularly useful for time-based or geo-based retrieval (#490). Property keys are namespaced (#491). 16 16 * 3 new Core Events: 17 * SERVICE_REQUEST_FILTER allows manipulation and interruption ofREST service requests (#480).18 * RESOURCE_REQUEST_FILTER allows manipulation and interruption ofstatic resource requests (#480).19 * 17 * `SERVICE_REQUEST_FILTER` allows plugins to manipulate or interrupt REST service requests (#480). 18 * `RESOURCE_REQUEST_FILTER` allows plugins to manipulate or interrupt static resource requests (#480). 19 * `SERVICE_RESPONSE_FILTER` allows plugins to set certain response headers (#477). 20 20 * The Core Service provides methods for retrieving ''all'' topics/associations from the DB. These are useful for migrations which transform the entire database (#495). 21 21 * Simplified API: the Core API's and standard plugin service's get/retrieve/delete methods no longer require the `clientState` parameter (#496). 22 22 * Revised exception handling: 23 * A plugin can produce specific HTTP (error) responses by throwing a WebApplicationException from its resource methods or event handlers (#484 ).23 * A plugin can produce specific HTTP (error) responses by throwing a WebApplicationException from its resource methods or event handlers (#484, #481). 24 24 * Exceptions thrown from resource methods or event handlers must no longer be wrapped in a WebApplicationException if a 500 response is intended (#484). 25 25 * Access Control API: there are methods for retrieving topics/associations based on creator or owner (#458). 26 * New Webclient event (client-side): `pre_send_request` allows plugins to investigate and manipulate a request before it is send to the server (#486). 27 * Plugins can send REST service requests asynchronously (#476). 26 28 27 29 Further changes: 28 30 * The dependency on Felix's proprietary ExtHttpService is dropped. We are ready to replace Felix HTTP Service with OPS4J Pax Web. OPS4J Pax Web is a far more modern and flexible OSGi HTTP Service implementation which enables a variety of new applications (#448). 29 31 * The REST service no longer delivers user-related permission information along with the topics/associations. Instead the Access Control API provides methods for retrieving the permissions explicitly (#489). This makes topic/association responses cachable by the browser (#478). 32 * Core Service REST API: the URLs for topic/association update (PUT) requests are REST-conform (#482). 30 33 31 34 Bug fixes: 32 35 * Web application plugins (derived from WebActivatorPlugin) are detected as DeepaMehta plugins. The ALL_PLUGINS_ACTIVE event is properly fired (#498). 33 * Exceptions thrown from request filters appear in the log file (#474). 34 * When processing the directives of an update request the object dm4c.selected_object (part of the Webclient model) is updated properly (#488). 36 * Exceptions thrown from request filters (formerly servlet filters) appear in the log file (#474). 37 * Webclient: when processing the directives of an update request the `dm4c.selected_object` (part of the Webclient model) is updated properly (#488). 38 * Webclient: construction of the object model passed to a topic/association update request no longer manipulates the `dm4c.selected_object` in place. This allows a plugin to investigate the selected object's metadata (e.g. timestamps, access control information) before the request is actually send (#486). 35 39 * The type loader doesn't throw a bogus "Endless recursion" exception when repeatedly tried to load a type with an invalid URI (#487). 40 * Requests issued by the Webclient have no superfluous "?" character at the end as it might confuse the browser's or network proxy's caching heuristic (#483). 41 * Login works with an open DM installation as well. (An open DM installation is one with read_requires_login=false and write_requires_login=false) (#475). 42 36 43 37 44 == 2013-03-11: DeepaMehta 4.1 ==