Skip to content

Releases: dots-suite/dots

DoTS v1.1.0

Choose a tag to compare

@philippepons philippepons released this 13 Sep 20:24

DoTS v1.1.0

Highlights

  • Alignment with the final DTS v1.0 specification, replacing the previous 1-alpha implementation
  • New CLI scripts for managing collections and documents (add, remove, link, unlink) without manual database manipulation
  • New optional renderer query parameter on the document endpoint — a DoTS-specific extension, not part of the DTS specification — allowing the same document to be rendered with different presentations (various CSS stylesheets for TEI documents, or various XSL transformations for HTML or TXT output). This also makes mediaType=txt available as a new output option.

Changed (DTS v1.0 compliance)

  • Removed @type from citeStructure
  • Updated @context and dtsVersion to match the DTS v1.0 specification

Note: these changes may not be backward-compatible with clients built against the previous 1-alpha response shape.

Added

Collection and document management scripts

  • scripts/add_collection.sh — creates a new collection under a given parent (defaults to topCollectionId); optionally updates the project's metadata folder when a project directory path is provided
  • scripts/remove_collection.sh — removes a collection; resources it contains are either moved to the parent collection, or fully deleted (documents, sub-collections, etc.) when --delete_resources is set to true
  • scripts/add_document.sh — adds a new document under a given parent collection (defaults to topCollectionId); optionally updates the project's metadata folder
  • scripts/delete_document.sh — deletes a document from the database
  • scripts/add_doc_to_collection.xq — links an existing document to an existing collection
  • scripts/delete_doc_from_collection.xqm — unlinks a document from a collection; if the document belonged only to that collection, it is automatically reattached to topCollectionId

Rendering

  • Configurable rendering scenarios via renderer_config.xml, with per-format default renderers

Fixed

  • @id returned without parameters was not queryable via ?id= on the Collections endpoint (#46)
  • ClassNotFoundException for CrossOriginFilter when launching DoTS with BaseX 12 (#39)
  • Incorrect default @maxCiteDepth for TEI documents without fragments (#36)
  • Incorrect //fragment/@ref value (#30)
  • Missing functx module dependency (#28)
  • Output error in utils:getCitationTrees (#26)
  • Incorrect parent value for navigation members (#22)
  • Incorrect handling of combined ref + down parameters on the Navigation endpoint (#21)
  • Incorrect maxCiteDepth value in collection members (#19)

Documentation

DoTS

Choose a tag to compare

@philippepons philippepons released this 14 May 09:12