pypi zensical 0.0.46

latest releases: 0.0.65, 0.0.64, 0.0.63...
3 months ago

Summary

This version improves search result quality and includes several bug fixes and refactorings.

Search excerpts

Search results now include excerpts, making it easier to understand why a result matches. Search remains fully client-side and as fast as before, even for projects with thousands of pages. We still consider search an active area of iteration and expect to further improve it and expose more configuration options over time.

Try it in our documentation!

User interface

The user interface is updated to v0.0.19, which includes several navigation and interaction fixes. Search highlighting now ignores single-character tokens, which avoids noisy matches like highlighting every e for queries such as e-mail. Instant previews now include a hover bridge so moving the cursor from a link to the tooltip no longer drops the popup across the visual gap.

Dependencies were also updated, including TypeScript 6 and SVGO 4 compatibility adjustments. 83 new icons were added, 2 icons were removed, and 19 icons were modified. The Lucide icon set was updated to version v1.21.0.

Validation defaults

The validation options unresolved_references, unresolved_footnotes, unused_definitions, unused_footnotes, shadowed_definitions, and shadowed_footnotes are now disabled by default. These checks remain available when explicitly enabled, but they have proven too unstable in edge cases with the current reference parser. They will eventually be superseded by the higher-fidelity parser that is already used by Zensical Studio and is planned for Open Source release and later integration into Zensical.

Changelog

Bug fixes

  • aeb31ad ui – update ui to v0.0.19
  • 61b6d05 compat – preserve small tags in generated search index
  • edb0878 zensical – search path segment is empty when title is sourced from section index page
  • 909f973 compat – don't crash on invalid URLs in HTML (#755)
  • e6b55fe compat – strip images from toc labels (#749)
  • 0f11c7f – update pyo3 to 0.29.0 to mitigate 2 vulnerabilities

Refactorings

  • e4a370f zensical, compat – change several validation defaults to false (#758)

Don't miss a new zensical release

NewReleases is sending notifications on new releases.