Skip to content

Releases: rdmarsh/tries

tries v4.3.0

06 Dec 13:57
ac57a5e

Choose a tag to compare

Full Changelog: v4.2.0...v4.3.0

tries v4.3.0

This release completes the full transition from build_tries to the new, simplified tries tool. It adds a proper installation layout, introduces robust support-file loading, improves theme handling, and tightens correctness around filtering and trie generation.


Highlights

  • Renamed build_tries.py to tries.py
    The tool now installs and runs under a single, consistent name.

  • New XDG/PREFIX-aware support-file loader
    Themes and samples now load from user- or system-level locations with correct precedence.

  • Cleaner installation layout

    • tries installs into $PREFIX/bin
    • Themes and samples install into $HOME/.local/share/tries or $PREFIX/share/tries
  • Custom themes persist automatically
    Saved themes are written to the correct directory and auto-loaded on future runs.

  • Filtering is now correctly case-sensitive
    Removes the previous implicit re.IGNORECASE behaviour.


Added

  • Support-file loader using runpy.run_path for:
    • themes.py
    • themes_custom.py
    • samples.py
  • Automatic creation of shared data directories during installation.
  • Proper handling of XDG base directory logic and PREFIX overrides.
  • Improved theme-saving logic with clear path output.

Changed

  • Renamed script and documentation from build_tries to tries everywhere.
  • Replaced old theme import logic with the new loader.
  • Filtering (-f) is now strict and case-sensitive.
  • Updated gallery and test scripts to use the new executable name.
  • Theme merging order is now:
    fallback → installed → custom

Improved

  • More reliable merging and detection of themes.
  • Better integration of installed sample data.
  • Cleaner Makefile with consistent install paths and directory creation.
  • Gallery and test suite outputs now use clearer, user-friendly messaging.

Removed

  • All uses of the deprecated build_tries.py name.
  • Implicit case-insensitive filtering.
  • Old import-based theme loading system.

Fixed

  • Custom themes correctly override fallback and installed themes.
  • Loader avoids polluting import paths and handles missing files gracefully.

Version

4.3.0