Skip to main content

8.11 Documents

BREAKING CHANGES

tip

This release contains breaking changes. These are listed at the end of this page, along with instructions for migrating from previous releases.

  • Enable auth by default on file server endpoints
  • Replaced IS_TEMPLATE flag on FILE_STORAGE table with FILE_TYPE enum for extensibility

Features

  • Added endpoint to get asset details for a given document template ID
  • Added new HTTP endpoint to replace binary content of file
  • Added support for Apache Freemarker templates in Document Generation
  • Handle FILE_TYPE, add asset + template linking, modify upload, error handling, and UX improvements

Fixes

  • Ensure file size is correctly updated when replacing a file binary contents
  • Styling to stop documents hidden at the bottom of the screen

Patch releases

8.11.3

Fixes
  • Ensure S3ObjectInputStreams are lazily read

8.11.2

Fixes
  • file-server-app : Ensure S3Object is also closed when the underlying S3ObjectInputStream is closed

8.11.1

Features
  • file-server-app : Add higher default max connections setting (200) to AWS S3 provider

Breaking changes

Auth enabled

Custom endpoints were previously defaulting to having auth disabled. This logic has been inverted so that the default is that a user must be authenticated to hit the endpoint. If you have any endpoints which should be accessible by un-authenticated users you will need to set requiresAuth = false explicitly in it's config

IS_TEMPLATE replaced by FILE_TYPE

If your project is using Document Generation component and with it, template documents in Document Manager, with this change any FILE_STORAGE document and templates which are marked IS_TEMPLATE as true will need to be manually updated to set FILE_TYPE with a value of DOCUMENT_TEMPLATE.