Release Notes for ModeShape 2.5.0.Beta1
JCR Supported Features
ModeShape 2.5.0.Beta1 includes several new minor improvements, such as new javax.jcr.Credentials classes for
anonymous and HTTP servlet authentication, a built-in profiling framework enabling use of Byteman runtime
bytecode injection, and a switch to Maven 3 and refactoring of the build process. The release also contains
fixes for almost two dozen bugs. ModeShape also uses PicketBox for the JAAS implementation used in tests.
This means that ModeShape now implements all of the required JCR 2.0 features (repository acquisition,
authentication, reading/navigating, query, export, node type discovery, and permissions and capability
checking) and most of the optional JCR 2.0 features (writing, import, observation, workspace management
versioning, locking, node type management, same-name siblings, shareable nodes, and orderable
child nodes). The remaining optional features in JCR 2.0 (access control management,
lifecycle management, retention and hold, and transactions) may be introduced in future versions.
ModeShape supports the JCR-SQL2 and JCR-QOM query languages defined in JSR-283, plus the XPath and
JCR-SQL languages defined in JSR-170 but deprecated in JSR-283. ModeShape also supports a simple
search-engine-like language that is actually just the full-text search expression grammar
used in the second parameter of the CONTAINS(...) function of the JCR-SQL2 language.
As with previous releases, ModeShape 2.5.0.Beta1 integrates with JAAS, web application security,
or you can easily integrate it with other systems. ModeShape can use a variety of back-ends to store
information (RDBMSes, Infinispan data grid, memory, JBoss Cache, JCR repositories), can access content
in multiple systems (file systems, SVN repositories, JDBC metadata), can federate multiple stores and
systems into a single JCR repository, or can access other systems using custom connectors.
ModeShape is also able to automatically extract and store useful content from files you upload into
the repository using its library of sequencers, making that information much more accessible and
searchable than if it remains locked up inside the stored files. And ModeShape provides
WebDAV and RESTful services to allow various clients to access the content. For details, see the Reference Guide.
The 2.5.0.Beta1 release has not yet been certified to be fully compliant with JCR 2.0. The ModeShape
project plans to focus on attaining this certification in the very near future.
Accessing the Repository
- JAAS Authentication
- HTTP Authentication (for RESTful and WebDAV Services Only)
- Custom Authentication
Namespaces
- Session Remapping
- Permanent Addition/Deletion
Reading Repository Content
- Traversal Access
- Direct Access
- Same-Name Siblings
- Multi-Value Properties
- All Property Types Supported
- Property Type Conversion
Writing Repository Content
- Create/Update/Delete Nodes
- Create/Update/Delete Properties (Through Parent Nodes)
- Moving, Copying, Cloning
- Adding/Removing Mixins
- Referential integrity enforcement
Query / Search
- XPath
- JCR-SQL
- JCR-SQL2
- JCR-QOM
- Full-Text Search
Importing/Exporting Repository Content
- System View Import/Export
- Document View Import/Export
Node Types
- Inheritance Among Node Types
- Discovering available Node Types
- Discovering the Node Types of a Node
- Discovering the Definition of a Node Type
- Property Constraints
- Automatic Item Creation
- Predefined standard Node Types
- Custom Node Type Registration (CND-Based and and JCR 2.0 API Template-Based)
Repository Metadata under System Node
- Permanent Namespace Mappings
- Node Types (Built-In and User-Registered)
- Active Locks
Other JCR Optional Features
- Locking
- Observation
- Versioning
- Shareable Nodes
ModeShape-Specific Features
Connectors
- Federated Connector
- JPA Connector (read-write/persistent storage)
- In-Memory Connector (read-write)
- JCR Connector (read-write)
- Infinispan Connector (read-write/persistent storage)
- JBoss Cache Connector (read-write/persistent storage)
- File System Connector (read-write/persistent storage of files & folders)
- Subversion Connector (read-write/persistent storage of files & folders)
- JDBC Metadata Connector (read-only)
Sequencers
- Compact Node Definition (CND) Sequencer
- DDL Sequencer
- Image Sequencer
- Java Source Sequencer
- Java Class Sequencer
- MP3 Sequencer
- MS Office Sequencer
- Text Sequencers (Delimited and Fixed Width)
- XML Sequencer
- Zip File Sequencer (also WARs, JARs, and EARs)
- Teiid Relational Model Sequencer
- Teiid VDB Sequencer
Deployment/Access Models
- Clustering
- JNDI-Based Deployment
- Embedded (in Server or JEE Archive) Deployment
- OSGi-Compatible Archives
- Access through RESTful Service
- Access through WebDAV Service
- Deploy as a service in JBoss Application Server, with JOPR monitoring
- JDBC driver for accessing ModeShape content through JDBC API and JCR-SQL2 queries
Bug Fixes, Features, and other Issues
Bug
- [MODE-1088][https://issues.jboss.org/browse/MODE-1088] - When using Designer to import from ModeShape, the table ntchildNodeDefinition, is exposing 2 columns (jcrname and jcr_name1) pointing to the same underlying sourced column of jcr:name
- [MODE-1083][https://issues.jboss.org/browse/MODE-1083] - A call to Property#getDefinition returns null for new property nodes which are based on a replicated PropertyDefinition.
- [MODE-1078][https://issues.jboss.org/browse/MODE-1078] - NPE when LockManager attempts to process a change from cluster.
- [MODE-1048][https://issues.jboss.org/browse/MODE-1048] - If initialContent file is not a valid location, then "java.lang.IllegalArgumentException: The stream argument may not be null" is seen when accessing REST via browser
- [MODE-1109][https://issues.jboss.org/browse/MODE-1109] - Remote Infinispan tests fail if running on computer with IPv6 networking
- [MODE-1127][https://issues.jboss.org/browse/MODE-1127] - Unable to extract parsed namespaces via CndNodeTypeReader
- [MODE-1103][https://issues.jboss.org/browse/MODE-1103] - ModeShape should close the supplied input streams when importing XML
- [MODE-1102][https://issues.jboss.org/browse/MODE-1102] - Should not require setting the "autoGenerateSchema" property on the JpaSource
- [MODE-1105][https://issues.jboss.org/browse/MODE-1105] - Cannot read modeshape-initial-content.xml when deployed as service
- [MODE-1093][https://issues.jboss.org/browse/MODE-1093] - Search indexes were not always updated to reflect all changes
- [MODE-1092][https://issues.jboss.org/browse/MODE-1092] - WEAKREFERENCE is converted to a REFERENCE property when retrieved
- [MODE-1099][https://issues.jboss.org/browse/MODE-1099] - IRestClient Does Not Provide A Way To Allow Versioning To Occur When A Resource Is Published
- [MODE-841][https://issues.jboss.org/browse/MODE-841] - File content is not being extracted and included in the search indexes
- [MODE-1077][https://issues.jboss.org/browse/MODE-1077] - First file uploaded for publishing is missing intermediary folder in query results
- [MODE-1119][https://issues.jboss.org/browse/MODE-1119] - Checking ModeShape status in the JBoss AS console results in an exception
- [MODE-1070][https://issues.jboss.org/browse/MODE-1070] - Enabling clustering in Reference Guide
- [MODE-1073][https://issues.jboss.org/browse/MODE-1073] - Sequencing multiple files occasionally results in extra intermediate nodes being generated with other same-name-sibling indexes appended
- [MODE-1113][https://issues.jboss.org/browse/MODE-1113] - Node type are missing after restarting ModeShape
- [MODE-1110][https://issues.jboss.org/browse/MODE-1110] - Query with multiple inner joins results in NullPointerException
- [MODE-1117][https://issues.jboss.org/browse/MODE-1117] - The "jcr:predecessors" property for "mix:versionable" nodes is set incorrectly
- [MODE-1114][https://issues.jboss.org/browse/MODE-1114] - Importing and reimporting (replacing) same XML with versioned content results in corrupted version history
Component Upgrade
- [MODE-880][https://issues.jboss.org/browse/MODE-880] - Change from using JBoss IDTrust to PicketBox
Enhancement
- [MODE-1124][https://issues.jboss.org/browse/MODE-1124] - Use org.hibernate.cfg.Environment constants when specifying hibernate parameters
- [MODE-1112][https://issues.jboss.org/browse/MODE-1112] - Pushing changes upstream that enable ModeShape to be built in Mead
Feature Request
- [MODE-1121][https://issues.jboss.org/browse/MODE-1121] - Create a javax.jcr.Credentials implementation for anonymous users and for HTTP servlet authentication
- [MODE-1111][https://issues.jboss.org/browse/MODE-1111] - InitialContextFactory for modeshape
Task
- [MODE-999][https://issues.jboss.org/browse/MODE-999] - Fix pom.xml in modeshape-jbossas-web-webdav-war
- [MODE-1100][https://issues.jboss.org/browse/MODE-1100] - Update Reference Guide to reflect use of Git and Maven 3
- [MODE-1104][https://issues.jboss.org/browse/MODE-1104] - Build all ModeShape artifacts in one step
- [MODE-1106][https://issues.jboss.org/browse/MODE-1106] - Break out parent POM into separate module
- [MODE-1014][https://issues.jboss.org/browse/MODE-1014] - ModeShape JDBC driver requires too many dependencies when using local JCR
- [MODE-1096][https://issues.jboss.org/browse/MODE-1096] - Move to Maven 3
- [MODE-1074][https://issues.jboss.org/browse/MODE-1074] - Fix the Java and JavaDoc compiler warnings that appear when using Eclipse 3.6.1
- [MODE-1079][https://issues.jboss.org/browse/MODE-1079] - Correct COPYRIGHT year
Sub-task
- [MODE-1085][https://issues.jboss.org/browse/MODE-1085] - Create system to easily profile/record commands and activity of sessions