Skip to content

Release 0.9.5

Compare
Choose a tag to compare
@acoburn acoburn released this 20 Jan 21:58

This is a patch release in the 0.9.x series. There are no incompatible interface changes and no need to migrate existing data.

This release adds the following features:

#604 Make it possible to customize the default ACL resource
#618 Add support for X-Forwarded-* and Forwarded headers
#640 Add JSON-LD 1.1 IRIs to vocabulary

The default ACL resource feature is only relevant upon initial startup or in the event that no ACL exists in the root location. To set a custom ACL, make sure that a turtle file is available on the classpath and set the following property:

trellis.webac.default-acl-location=location/of/acl/on/classpath.ttl

or, via an ENV value:

TRELLIS_WEBAC_DEFAULT_ACL_LOCATION=location/of/acl/on/classpath.ttl

It should also be noted that, with the updates to the JSON-LD 1.1 vocabulary, the non-standard profiles http://www.w3.org/ns/json-ld#compacted-flattened and http://www.w3.org/ns/json-ld#expanded-flattened are no longer supported. Instead, please use one of:

  • http://www.w3.org/ns/json-ld#compacted
  • http://www.w3.org/ns/json-ld#expanded
  • http://www.w3.org/ns/json-ld#flattened

For example: Accept: application/ld+json; profile="http://www.w3.org/ns/json-ld#flattened"