Skip to content

v3.1.0

Compare
Choose a tag to compare
@zerocrates zerocrates released this 26 Aug 20:35
· 922 commits to develop since this release

Features

  • PHP 8 support
  • Minimum PHP version increased to 7.2
  • Built-in support for alt text for media and assets
  • New Assets section for listing and managing uploaded assets
  • New Asset site block for including assets in pages
  • New "query" form input allows usage of advanced search inputs rather than copying and pasting a query string
  • Options for multiple sites that share the same items but display them in different languages (contributed by @ManOnDaMoon)
    • New site setting to show only resource values that are in the site's configured locale language
    • New site setting to control whether to show the locale labels for resource values
  • Added thumbnail setting for sites; thumbnails are displayed in the public list of sites
  • New "List of pages" site block
  • Options for controlling the content to show in the browse preview block
  • Option for adding a wrapper div with a specified class to the HTML block
  • Batch edit for items allows adding and removing items from sites
  • Resource admin show pages now include the resource ID in their sidebars
  • Improved links to browse resources in public-side user bar (#1716, contributed by @Daniel-KM)
  • Media can now be sorted by filesize
  • New "auto" option for cli execute strategy to detect which strategy to use (#1661, contributed by @Daniel-KM)

Bugs Fixed

  • Site and page titles were sometimes not properly escaped on public pages (reported by ribersec)
  • Sidebar selectors could show wrong number of results when filtering (#1678)
  • Newly-opened sidebars could display "underneath" previous ones in some situations

Changes

  • Public advanced search for sites only shows the sets that are attached to the site in the item set dropdown, and does not show the dropdown at all if no sets are attached
  • Site blocks are displayed alphabetically in page edit sidebar
  • Module.php files for non-active modules are now not loaded at all
  • Custom pages added by modules that are inactive are displayed as "[Missing Page]" instead of "Fallback"
  • Files without generated thumbnails now render as custom-assigned or fallback thumbnails rather than a text-only link

For Developers

  • Background jobs can create absolute URLs
  • Ignore empty-string queries for is_public and assign_new_items in API (#1671, contributed by @Daniel-KM)
  • New filters rep.resource.display_title and rep.resource.display_description for filtering titles and descriptions displayed on pages
  • Added view.edit.before and view.edit.after filters for site page edit
  • Tooling for detecting changes to module DB schema SQL now includes automatically-generated join tables
  • Resources can be searched and sorted by resource_template_label in API
  • Page action menu... used by modules (??)
  • New option to get registered services from a plugin manager in alphabetical order using new Sortable interface