github eza-community/eza v0.11.0
eza v0.11.0

latest releases: v0.19.4, v0.19.3, v0.19.2...
12 months ago

Description

A new minor release, and the first minor release in the lifetime of eza. Why a minor release? Because we just landed windows support, that's why!

A lot of code quality changes in this release as well, of particular note, the icons are now stored in a perfect hash table, giving a small but noticeable improvement in performance.

Changelog

Bug Fixes

  • Add windows implementation of is_empty_dir
  • Re-align --git-ignore in help message
  • Avoid direnv error if nix isn't installed

Documentation

  • Empty dir functions
  • Document is_empty_dir functions
  • Add function documentation for get_file_type and icon_for_file.

Features

  • Optimize checking for empty directories when a directory has subdirectories
  • Use perfect hash tables for file types and icons

Miscellaneous Tasks

  • Bump git2 from 0.17.2 to 0.18.0
  • Bump uzers from 0.11.1 to 0.11.2
  • Bump glob from 0.3.0 to 0.3.1
  • Bump DeterminateSystems/nix-installer-action from 3 to 4
  • Bump terminal_size from 0.1.16 to 0.2.6
  • Bump timeago from 0.3.1 to 0.4.1

Refactor

  • Use phf macros instead of codegen to create icon and filetype tables
  • Add constants for most of the commonly used icons
  • Add constants for the rest of icons used multiple times
  • Rename class FileExtension to FileTypeClassifier to better reflect the purpose
  • Move get_file_type to FileType enum

Styling

  • Is_empty_dir() was put between the unix size() and windows size()

Build

  • Use rust stable
  • Add unstable package
  • Disable clippy check 'unreadable_literal' in generated files

New Contributors

Full Changelog: v0.10.9...v0.11.0

Don't miss a new eza release

NewReleases is sending notifications on new releases.