github RDFLib/prez v3.3.0

latest releases: v4.23.4, v4.23.3, v4.23.2...
2 years ago

What's Changed

Fixes

Changes

  • Prez is now read-only for a given SPARQL endpoint
    • Prez no longer loads vocabularies to the SPARQL store on startup and instead loads it into an in-memory graph object
  • Simplified docker-compose local setup
  • Prez no longer persists the in-memory graph cache to disk. Each Prez restart now starts in a deterministic state with a clean cache
  • No longer uses base URL in HTTP client and as a result, no longer adds a trailing / to the URL of the requests made using the HTTP client
  • For search, invalid search_methods values now returns a HTTP status code of 400
  • SPARQL proxy endpoint filters out the Host header and sets it to the base URL of the target SPARQL endpoint

Added

  • Extends annotation functionality to SPARQL queries. SPARQL queries sent to prez's SPARQL endpoint with +anot in their mediatypes (e.g. text/anot+turtle) will include annotations in the results. Currently only applied to CONSTRUCT queries. Annotations are not included/counted towards LIMIT clauses.
  • HTTP endpoint to clear in-memory graph cache
  • HTTP endpoint to view in-memory graph cache
  • Documentation for Prez annotation properties
  • Documentation for common Prez environment variables

Breaking

  • SPARQL endpoints for each subsystems have been consolidated into one
  • SPARQL Update and SPARQL HTTP Store support dropped
  • Environment variables for SPARQL related config removed and simplified
    • SPARQL_ENDPOINT
    • SPARQL_USERNAME
    • SPARQL_PASSWORD

Full Changelog: v3.2.1...v3.3.0

Don't miss a new prez release

NewReleases is sending notifications on new releases.