trifid-handler-fetch
Version:
Fetch handler for Trifid
72 lines (38 loc) • 1.89 kB
Markdown
- 7d2ac00: Forward the SPARQL queries in the OpenTelemetry traces
- f0e3b13: Fix and improve types references
- 080f5d8: Harmonize author and keywords fields
- a97a6a0: Use Apache 2.0 license
- 7d6a17a: Upgrade Oxigraph to 0.4.0-rc.1.
- 1cafa55: Return `reply` in the `routeHandler`, in order to be compatible with the support for compression.
- cb5e6b9: It is now possible to configure the log level of the queries by using the `queryLogLevel` configuration option.
- 6a4dcfc: Returns `Server-Timing` as response header containing the duration of the request to perform.
- cba7676: Upgrade `oxigraph` to 0.4.0-alpha.7
- 4b515f8: Use 'plugins' instead of 'middlewares'
- 0eaf2b7: Completely change the way it is working.
Instead of being an handler that is made to be called only when dereferencing, it is now a Trifid plugin that is exposing a new endpoint `/query` (for example) that can be used to perform SPARQL queries against the dataset.
This means that it is now possible to perform SPARQL queries against a dataset that is loaded from a URL, which was not possible before.
This also means that it is possible to use all other Trifid plugins that were only working with a SPARQL endpoint and not with a dataset coming from a simple file.
Please take a look on how to use it in the documentation here: https://github.com/zazuko/trifid/tree/main/packages/handler-fetch#readme
- 293d7e6: The plugin is now using the new Trifid factory, which is a breaking change.
- 69d6ad0: Improve included TypeScript types.
- e65e519: Support `unionDefaultGraph` configuration