1. Minor Java API Release
There are a few API additions coming with this release. The changes are backwards-compatible, so any code using API 16.x should work fine.
New API Version
See Structure API Versions for full version information and downloads.
2. Compatible Changes in the Java API
2.1. Memo Item Type
With the introduction of memo items in Structure 5.4, we are adding a new constant to the public API:
CoreItemType.MEMO contains the module key for the memo item type.
Memo items were called "notes" during development, but we decided to rename them to avoid confusion with the Note column. The constant
CoreItemTypes.NOTE, added in the previous API version, has therefore been deprecated and shouldn't be used.
2.2. New Methods in
We have added two new methods to the
fromValues()is a static factory method that lets you combine the trails from a collection of
AttributeValues into a
expand(TrailItemSet)produces a set that contains all items from the receiver and the argument sets.