Skip to content

Releases: djetelina/tofuref

v1.8.1

12 Apr 13:50

Choose a tag to compare

Changed

  • Replaced $surface with $background across most widgets.
    • When a color matches the terminal background, it's able to respect the terminal's opacity.
      $background very likely dose if theming is consistent for the system.

Fixed

  • Fixed version picker visibility by mounting on TabPane parent with an overlay layer.
  • The version picker now closes after selecting any version, including the already-active one.
  • Version picker preserves highlighted resource after switching versions.
  • cltr+f and ctlr+b now do what they say they should, not the opposite

v1.8.0

26 Mar 20:54

Choose a tag to compare

Added

  • Fuzzy search for providers and resources, enabled by default (configurable via fuzzy_search option). Results are sorted by relevance.
  • CLI startup targeting: --provider/-p, --resource/-r, and --data/-d all honor the provider_resource/provider_data naming scheme to auto-resolve providers and focus the exact resource or datasource at launch.

Fixed

  • Fixed search window visibility (Textual 7 compatibility).

v1.7.0

19 Jan 09:28

Choose a tag to compare

Added

  • Support for Python 3.14 is back

Changed

  • Replaced aiopath dependency with anyio.Path
  • Updated dependencies

v1.6.0

12 Oct 12:25

Choose a tag to compare

Added

  • Many big speed improvements
    • Some things are now done in parallel
    • Asynchronous access to the filesystem, should greatly increase responsiveness on slow disks
    • Some widgets are now not showing until they are ready
    • Check for cached doesn't happen for every single entry
    • Loading indicator on startup to let things load faster in the background
    • Config options for loading times notifications and for ignoring cache, mainly for development purposes
  • Backspace and left arrow to go back up a level (content → resources → providers)
  • Header with status bar, project links and a logo

Changed

  • Redesigned layout
  • Providers by the opentofu organization are not displayed, because they are forks and originals should be used
  • Purge from cache doesn't appear (and doesn't work) when the item is not cached
  • Code block selection is now shown in the content window, not as a maximized window

Fixed

  • When exiting the Table of Contents, the document will no longer scroll to the top
  • Copy code blocks window now disappears when it loses focus
  • tofuref will try to strip long documents to prevent from freezing, target configurable by markdown_length_target (default 40 000)
    • For example, kubernetes_deployment_v1 document is over 170k characters long with many different elements
      that are demanding for underlying libraries to process. For now we're stripping based on heading for
      nested sections, with less nested sections being stripped last.

Removed

  • Temporarily dropped python 3.14 support because aiopath is not yet compatible, the speed is worth it for now
  • Fullscreen mode, redesigned layout should be good even on narrow viewports
  • Log widget, if need be a log file might be added later
  • Subtitles moved to the header from subtitles in the border

v1.5.0

08 Oct 22:31

Choose a tag to compare

Added

  • Improved perceived responsiveness during app launch and when loading large providers
    • Subtitles now inform what is happening in the background
    • The screen gets refreshed more often, resulting in somewhat working loading indicators
    • Eliminate initial layout “jumping”
    • Note: Launch may be slightly slower; changes focus on perceived responsiveness

Changed

  • Default borders changed from ascii to vkey, you can still revert to ascii with your local configuration
  • Welcome content was refreshed

Fixed

  • Normalized em/en dashes to hyphens so headings render correctly in the content viewer
  • Corrected the cache purge notification to refer to the right item type (Resource vs Provider)
  • Set a more descriptive subtitle for resource content pages
  • Open in browser in the welcome tab now opens the changelog instead of crashing the application

v1.4.0

30 Jul 19:49

Choose a tag to compare

Added

  • Cached guides now display their intended page title instead of their 'name' taken from a doc filename
  • In provider window, GitHub repo of the provider can now be opened in a browser with ctrl+g
  • In provider window, GitHub stats for a provider's repo can now be shown with s
  • Content can now be opened in browser (on OpenTofu registry web) with B for easier searching and sharing

Changed

  • Headers (frontmatter) of markdown documents in the registry are now handled by a proper library
  • Numbers are now formatted according to locale
  • Number of providers now have spaces around the / (out of) symbol
  • Code block highlighting is no longer customizable due to a change in the TUI framework

v1.3.0

13 Jun 18:06

Choose a tag to compare

Added

  • Added a config option in the theme section to enable/disable emojis
  • Added the ability to bookmark items with the keybinding b, identified by 📌 or B
  • Cached items are now sorted first, identified by 🕓 or C
  • Items can now be cleared from cache with ctrl+d
  • Made name of the provider pop a little bit by dimming the organization

Changed

  • Replaced letters identifying resource types (R, D, F, G) with emojis

Fixed

  • Various colours should now adhere to the active theme, instead of being fixed

v1.2.0

05 Jun 21:23

Choose a tag to compare

Added

  • Configuration support through a file and env variables
  • Notification when a newer version is available

Changed

  • The footer has been cleaned up, less important keybinds are now hidden

Fixed

  • Fallback for providers had an incorrect path
  • Cache and Configuration directories are now truly cross-platform
    (they probably didn't work on Windows previously), macOS cache and config move as
    a result of this change

v1.1.0

23 May 17:28

Choose a tag to compare

Added

  • API responses are now persistently cached on the filesystem
    • Index of providers is valid for a month, to force refresh: rm ~/.cache/tofuref/index.json
    • Providers themselves are valid forever because they are versioned
  • If the initial fetch of the provider index fails, a fallback version with top 50 providers and 5 newest versions is
    used
  • use (yank) now works in the content window; it lets you select which codeblock found in the content to copy
  • escape can now be used to cancel search
  • Some windows now support limited vim bindings (j, k, G, ctrl+f, ctrl+b)
  • Table of Contents can now be toggled in the content window, allowing for navigation between headers

Fixed

  • Content that contained markdown splits (---) is now properly fully considered as content
  • escape in fullscreen mode no longer breaks fullscreen mode

Changed

  • All API requests now have a shorter timeout, 5s → 3s
  • Keybind for showing log was changed from l to ctrl+l and hidden from the footer
  • use of a provider can now be invoked even when none has been selected yet, it will copy the highlighted one with
    their latest version

v1.0.1

19 May 23:04

Choose a tag to compare

Fixed

  • Use provider configuration had v prefix in the version number
  • Use provider configuration was missing a quote at the beginning of source
  • Use provider configuration has a proper format (aligned =)