# trifid

## 6.1.0

### Minor Changes

- ae47ffc: Add support for serving an instance under a subpath.
  
  Instances are served at the root of a domain by default. Deployments that only
  have a subdomain, and already serve other things on it, can now mount Trifid
  under a subpath instead:
  
  ```yaml
  server:
    subpath: /SUBPATH
  ```
  
  A resource whose IRI is `http://example.org/path/resource` is then served as
  `https://example.com/SUBPATH/path/resource`. The subpath is applied to the
  routes of every plugin, to the static files, to the templates, and to the IRI
  rewriting, so links and content negotiation keep pointing at the right place.
  
  Endpoint URLs configured as root-relative paths (such as `url: /query`) refer to
  a route of the instance itself, so they now resolve under the subpath too and do
  not need to be adjusted.
  
  Templates receive the subpath as the `subpath` variable, which always ends with a
  slash so that it can be interpolated directly:
  
  ```handlebars
  <link rel="stylesheet" href="{{subpath}}static/core/style.css" />
  ```
  
  Plugins receive it as `subpath` on their argument, and `normalizeSubpath` /
  `joinSubpath` are exported to help them mount their own static files.
  
  The default value is `/`, which is exactly the previous behaviour, so existing
  configurations and plugins are unaffected.

### Patch Changes

- Updated dependencies [aec9547]
- Updated dependencies [cd25a42]
- Updated dependencies [cd25a42]
- Updated dependencies [ab0eea3]
- Updated dependencies [ae47ffc]
- Updated dependencies [ae47ffc]
- Updated dependencies [ae47ffc]
- Updated dependencies [ae47ffc]
- Updated dependencies [ae47ffc]
- Updated dependencies [ae47ffc]
- Updated dependencies [e83a5ba]
- Updated dependencies [aec9547]
  - trifid-plugin-graph-explorer@3.3.0
  - @zazuko/trifid-entity-renderer@2.1.0
  - @zazuko/trifid-plugin-sparql-proxy@3.1.0
  - trifid-plugin-spex@4.1.0
  - trifid-core@6.1.0
  - trifid-plugin-yasgui@4.2.0

## 6.0.3

### Patch Changes

- e127457: This includes some dependencies upgrades, including the some for the YASGUI plugin.

## 6.0.2

### Patch Changes

- 94215c3: Support Graph Explorer 2.0, which is built with React 19 and bundles its own copy of React.

  The page used to load React 16 from a CDN and mount the workspace with the `ReactDOM.render` API, which was removed in React 18. Since the `graph-explorer-full.min.js` bundle now ships React 19 itself, the CDN scripts are gone and the workspace is mounted with the `renderTo` helper exposed by the library.

  The explorer now also fills the whole viewport between the Trifid header and footer instead of being constrained to a fixed 750px height inside the centered content column.

- Updated dependencies [94215c3]
  - trifid-plugin-graph-explorer@3.1.0

## 6.0.1

### Patch Changes

- b0af3b4: Fix module resolution in trifid-core.
- Updated dependencies [b0af3b4]
  - trifid-core@6.0.1

## 6.0.0

### Major Changes

- 3c9ceba: Convert the whole codebase into TypeScript.

  This is is marked as a major change, as some imports may need to be updated.

- 51ea8bc: New design ; this updates some styles and elements. For people that were doing some customizations, it may be a breaking change.

### Patch Changes

- Updated dependencies [3c9ceba]
- Updated dependencies [51ea8bc]
  - @zazuko/trifid-entity-renderer@2.0.0
  - trifid-plugin-graph-explorer@3.0.0
  - trifid-handler-fetch@4.0.0
  - @zazuko/trifid-plugin-sparql-proxy@3.0.0
  - trifid-plugin-yasgui@4.0.0
  - trifid-core@6.0.0
  - trifid-plugin-i18n@4.0.0
  - trifid-plugin-spex@4.0.0

## 5.3.0

### Minor Changes

- 1875a00: Use hardened container image

### Patch Changes

- 1875a00: Upgrade some dependencies

## 5.2.0

### Minor Changes

- 60d4ae3: Remove the default value for username and password for the SPARQL endpoint in the container image.

### Patch Changes

- Updated dependencies [65a2625]
- Updated dependencies [cc82fa2]
  - trifid-plugin-graph-explorer@2.2.0
  - trifid-core@5.3.2

## 5.1.5

### Patch Changes

- 6ab19f1: Upgrade container base image to Node 24.
- Updated dependencies [ea0b33f]
  - trifid-plugin-yasgui@3.4.5

## 5.1.4

### Patch Changes

- c41beea: Lower the OpenTelemetry cardinality
- Updated dependencies [c41beea]
  - trifid-handler-fetch@3.5.1
  - @zazuko/trifid-plugin-sparql-proxy@2.9.1
  - @zazuko/trifid-entity-renderer@1.6.1

## 5.1.3

### Patch Changes

- b3137cd: Include `otel.js` which was missing if using the npm module directly.
- Updated dependencies [b3137cd]
  - trifid-core@5.3.1

## 5.1.2

### Patch Changes

- 06bd35b: Export some metrics using OpenTelemetry
- Updated dependencies [c1b8591]
- Updated dependencies [06bd35b]
- Updated dependencies [c1b8591]
- Updated dependencies [e124f78]
  - trifid-core@5.3.0
  - @zazuko/trifid-entity-renderer@1.6.0
  - trifid-handler-fetch@3.5.0
  - @zazuko/trifid-plugin-sparql-proxy@2.9.0

## 5.1.1

### Patch Changes

- 7d2ac00: Forward the SPARQL queries in the OpenTelemetry traces
- Updated dependencies [7d2ac00]
  - trifid-handler-fetch@3.4.0
  - @zazuko/trifid-plugin-sparql-proxy@2.8.0

## 5.1.0

### Minor Changes

- 7d21f77: Add OpenTelemetry support.

  Just start Trifid with the `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable set to your OpenTelemetry endpoint, like `https://example.com/v1/traces`.

### Patch Changes

- Updated dependencies [7d21f77]
  - trifid-core@5.2.0

## 5.0.12

### Patch Changes

- 98fee3a: Upgrade `@fastify/compress` to 8.1.0 so that it supports zstd
- Updated dependencies [98fee3a]
- Updated dependencies [a421a32]
  - trifid-core@5.1.2
  - @zazuko/trifid-plugin-sparql-proxy@2.7.0

## 5.0.11

### Patch Changes

- d743dbb: Upgrade some dependencies
- Updated dependencies [23bd23e]
  - @zazuko/trifid-plugin-sparql-proxy@2.6.2

## 5.0.10

### Patch Changes

- 5ddaa47: Bump `@zazuko/yasgui` to 4.5.0
- Updated dependencies [5ddaa47]
- Updated dependencies [a190193]
  - trifid-plugin-yasgui@3.4.4
  - @zazuko/trifid-entity-renderer@1.5.3

## 5.0.9

### Patch Changes

- Updated dependencies [499601f]
  - trifid-plugin-spex@3.0.0

## 5.0.8

### Patch Changes

- e3d7ac0: Upgrade container base image from Node 20 to 22.
- 080f5d8: Harmonize author and keywords fields
- a97a6a0: Use Apache 2.0 license
- Updated dependencies [080f5d8]
- Updated dependencies [a97a6a0]
- Updated dependencies [007e201]
  - @zazuko/trifid-entity-renderer@1.4.0
  - trifid-plugin-graph-explorer@2.1.0
  - trifid-handler-fetch@3.3.3
  - @zazuko/trifid-plugin-sparql-proxy@2.5.0
  - trifid-plugin-yasgui@3.3.0
  - trifid-core@5.1.0
  - trifid-plugin-i18n@3.0.2
  - trifid-plugin-spex@2.2.0

## 5.0.7

### Patch Changes

- Updated dependencies [1cafa55]
- Updated dependencies [1cafa55]
- Updated dependencies [7729ed7]
  - @zazuko/trifid-entity-renderer@1.2.1
  - trifid-plugin-graph-explorer@2.0.3
  - trifid-handler-fetch@3.3.1
  - @zazuko/trifid-plugin-sparql-proxy@2.4.0
  - trifid-plugin-yasgui@3.1.2
  - trifid-core@5.0.0
  - trifid-plugin-spex@2.1.1

## 5.0.6

### Patch Changes

- d6a9f4d: Add more labels to the Docker image

## 5.0.5

### Patch Changes

- 096b762: Upgrade some dependencies, like `braces` to 3.0.3.

## 5.0.4

### Patch Changes

- 9aa5280: Faster default health checks on `/healthz` by using the Docker image
- Updated dependencies [7442b22]
- Updated dependencies [cba7676]
- Updated dependencies [2346a1c]
  - @zazuko/trifid-entity-renderer@1.1.1
  - trifid-handler-fetch@3.1.0
  - trifid-core@4.0.6

## 5.0.3

### Patch Changes

- 6382598: Remove unused dependency `@zazuko/trifid-handle-redirects`
- Updated dependencies [b499b50]
- Updated dependencies [009d545]
- Updated dependencies [8345cab]
- Updated dependencies [2c15b93]
- Updated dependencies [c2b4053]
- Updated dependencies [3977304]
- Updated dependencies [24b3eab]
  - @zazuko/trifid-plugin-sparql-proxy@2.1.0
  - trifid-core@4.0.5
  - @zazuko/trifid-entity-renderer@1.0.4
  - trifid-plugin-yasgui@3.1.0

## 5.0.2

### Patch Changes

- d5ade95: Upgrade dependencies
- Updated dependencies [04c75de]
  - @zazuko/trifid-entity-renderer@1.0.3

## 5.0.1

### Patch Changes

- Updated dependencies [e8faa76]
- Updated dependencies [2553ece]
- Updated dependencies [e8faa76]
  - trifid-core@4.0.0
  - @zazuko/trifid-plugin-sparql-proxy@2.0.1
  - @zazuko/trifid-entity-renderer@1.0.1
  - trifid-plugin-graph-explorer@2.0.2
  - trifid-plugin-yasgui@3.0.2
  - trifid-plugin-spex@2.0.2

## 5.0.0

### Major Changes

- c5999e9: Remove the `trifid-handler-sparql` package
- 4b515f8: Use 'plugins' instead of 'middlewares'
- 00cecaa: Remove morgan logger.

### Minor Changes

- 1f2e258: Allow to start Trifid using the CLI without requiring a path to a configuration file.

### Patch Changes

- Updated dependencies [a454dbb]
- Updated dependencies [6583c86]
- Updated dependencies [3ab5eb3]
- Updated dependencies [69d6ad0]
- Updated dependencies [b38cbc5]
- Updated dependencies [81c27c0]
- Updated dependencies [849fa3d]
- Updated dependencies [757621f]
- Updated dependencies [4b515f8]
- Updated dependencies [849fa3d]
- Updated dependencies [d9963cd]
- Updated dependencies [0eaf2b7]
- Updated dependencies [0f21191]
- Updated dependencies [e069220]
- Updated dependencies [b635ae9]
- Updated dependencies [deef1a8]
- Updated dependencies [8337a36]
- Updated dependencies [e65e519]
- Updated dependencies [b38cbc5]
- Updated dependencies [1dd9ae7]
- Updated dependencies [538a959]
- Updated dependencies [293d7e6]
  - trifid-core@3.0.0
  - trifid-plugin-graph-explorer@2.0.0
  - trifid-handler-fetch@3.0.0
  - @zazuko/trifid-plugin-sparql-proxy@2.0.0
  - @zazuko/trifid-entity-renderer@1.0.0
  - trifid-plugin-yasgui@3.0.0
  - trifid-plugin-i18n@3.0.0
  - trifid-plugin-spex@2.0.0

## 4.1.1

### Patch Changes

- 7c1c443: Fix build issue where tags were not created the expected way.

## 4.1.0

### Minor Changes

- 83487f9: The Docker image now uses node 20 as base

## 4.0.3

### Patch Changes

- Updated dependencies [7940ded]
- Updated dependencies [8b9d0dd]
  - trifid-plugin-spex@1.1.4
  - @zazuko/trifid-entity-renderer@0.6.0

## 4.0.2

### Patch Changes

- Updated dependencies [cb227a3]
- Updated dependencies [9e2019c]
- Updated dependencies [3a13457]
- Updated dependencies [1937f67]
- Updated dependencies [141786b]
  - trifid-core@2.6.3
  - @zazuko/trifid-entity-renderer@0.5.0
  - @zazuko/trifid-plugin-sparql-proxy@1.1.1

## 4.0.1

### Patch Changes

- 8d1f155: Fix build of Docker image
- Updated dependencies [db20277]
  - trifid-plugin-yasgui@2.2.4

## 4.0.0

### Major Changes

- bb80ca9: Use `@zazuko/trifid-entity-renderer` instead of `@zazuko/trifid-renderer-entity`

  You will need to do the change in your configuration file:

  ```diff
   middlewares:
     # …

     entity-renderer:
  -    module: "@zazuko/trifid-renderer-entity"
  +    module: "@zazuko/trifid-entity-renderer"
  ```

### Patch Changes

- Updated dependencies [4a4e624]
- Updated dependencies [ed223f3]
- Updated dependencies [56144fd]
  - @zazuko/trifid-entity-renderer@0.4.18

## 3.0.0

### Patch Changes

- fc317a9: Upgrade commander and some other dependencies.
- Updated dependencies [735bf99]
  - trifid-core@2.6.2
