Releases: djetelina/tofuref
Releases · djetelina/tofuref
v1.8.1
Changed
- Replaced
$surfacewith$backgroundacross most widgets.- When a color matches the terminal background, it's able to respect the terminal's opacity.
$backgroundvery likely dose if theming is consistent for the system.
- When a color matches the terminal background, it's able to respect the terminal's opacity.
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+fandctlr+bnow do what they say they should, not the opposite
v1.8.0
Added
- Fuzzy search for providers and resources, enabled by default (configurable via
fuzzy_searchoption). Results are sorted by relevance. - CLI startup targeting:
--provider/-p,--resource/-r, and--data/-dall honor theprovider_resource/provider_datanaming 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
v1.6.0
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
opentofuorganization 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_v1document 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.
- For example,
Removed
- Temporarily dropped python 3.14 support because
aiopathis 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
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
asciitovkey, you can still revert toasciiwith 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
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
Bfor 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
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 📌 orB - 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
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
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
- Index of providers is valid for a month, to force refresh:
- 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 copyescapecan 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 escapein 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
ltoctrl+land 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