Repository navigation
runa v0.10.0
·
285 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Sorting feature, performance improvements and more.
Added
- Sorting: Added directory entry sorting. Can be triggered via the
sort = ["o"]key-bind.- Added a new sort worker thread to handle re-sorts reducing load of the initial
nav_ioworker by a lot. - Added multiple sorting methods:
Natural (default),Name,Size,Created,Modified,Accessed.
- Added a new sort worker thread to handle re-sorts reducing load of the initial
- Metadata worker: Added a new
metadataworker task to handle all relevantFileMetadatacalls in abounded(1)thread.- Increases performance for the
File Infowidget as well as for the file information on the status line.
- Increases performance for the
- Cli config help Added a new way of handling the Cli documentation helper by enabling section based key prints as well as the full documentation.
- FileInfo Toggles: The
[display.info]configuration options now determine if the file metadata is computed, not just drawn to UI.- When disabled, no metadata is resolved for this field, reducing memory.
Fixed
- Default configuration: Fixed the
[theme.selection]defaults being apply to the wrong color-pair. Now correctly applies to thebgof the selection.
Changed
- Default configuration:
rn --init-fullwill now generate the full documented runa configuration toml.- This helps reducing maintenance of adjusting each configuration file after changes.
- Widget size: The default widget size is now set to
small. - Initial start: Removed the initial start notification suggesting to run
rn --initif noruna.tomlwas generated or created before. - FileInfo Renamed:
FileInfo, itsfile_info.rsmodule, and all its references have been to renamed toFileMetadataandmetadatato accurately reflect its purpose better. - MetadataState: Added a new
app/metadata.rssub-module to hold the file metadata handling forAppStatesynchronization. - Archive Attestation: All release archives are now attested via the release workflow.
It is now possible to verify the integrity and origin of all downloaded assets:
gh attestation verify --repo alexm-dev/runa <file_name>Internal
- Debloat: Reworked the
config::load::default_pathandconfig::load::loadfunctions to safe on system calls resulting in a smaller binary size. - Tests:
- Added new formatting tests to
core/formatter.rs. - Added new tests to
core/metadata.rs.
- Added new formatting tests to
- Performance:
FileEntrynow stores thelowereddata of a entry name to cache it and not recompute it on every sort.- Added
DashMaptoCachedMetaKeyfor faster and concurrent lookups without mutex locks resulting in faster sorting. - Removed
CachedFileInfoto avoid duplication of file data. Replaced withFileMetadataCachethat caches an file metadata asArc<str>for efficient lazy loading. - Added
selected_indicesto store the indices of a FileEntry in a vector instead of recalculating resulting in navigation changes more efficient.