Skip to content

v12.25.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 22:05
· 18 commits to main since this release
b065838

v12.25.0 - 2026-08-24

  • 🎉 TAK Server HTML error pages (Tomcat/Spring "Exception Report" documents) returned by the API are now parsed into a TAKServerError instead of the raw HTML being used as the error message - message/safe contain the human readable Message (falling back to Description, the Exception's message, the page <title> or the visible text) while details contains a plain-text breakdown (status line, labelled fields & exception trace) suitable for an "Advanced" UI section and html retains the unmodified page. Pages are parsed with the existing @tak-ps/xml-js dependency (Tomcat emits well-formed XHTML) with a visible-text fallback for malformed documents. TAKServerError, parseHTMLError(), isHTML(), summarizeHTMLError() & formatHTMLError() are exported
  • 🐛 Errors thrown within TAKAPI.fetch are now rethrown when they are any Err subclass (previously matched on name === 'PublicError' only)

�