Skip to content

Commit 33c8c42

Browse files
authored
Merge branch 'main' into icon-backlog
2 parents 1a8ebb9 + 4ba2e17 commit 33c8c42

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+700
-383
lines changed

.github/workflows/flake.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Build Nix targets
99
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Check Nix flake inputs
1313
uses: DeterminateSystems/flake-checker-action@v5 # This action
1414
- name: Install Nix

.github/workflows/flakehub-backfill.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
id-token: "write"
1616
contents: "read"
1717
steps:
18-
- uses: "actions/checkout@v3"
18+
- uses: "actions/checkout@v4"
1919
with:
2020
ref: "refs/tags/${{ inputs.tag }}"
2121
- uses: "DeterminateSystems/nix-installer-action@main"

.github/workflows/flakehub-publish-tagged.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
id-token: "write"
1111
contents: "read"
1212
steps:
13-
- uses: "actions/checkout@v3"
13+
- uses: "actions/checkout@v4"
1414
- uses: "DeterminateSystems/nix-installer-action@main"
1515
- uses: "DeterminateSystems/flakehub-push@main"
1616
with:

.github/workflows/unit-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636

3737
- name: Install Rust toolchain
3838
uses: dtolnay/rust-toolchain@v1

CHANGELOG.md

+54
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,52 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.11.0] - 2023-09-04
6+
7+
### Bug Fixes
8+
9+
- Add windows implementation of is_empty_dir
10+
- Re-align `--git-ignore` in help message
11+
- Avoid direnv error if nix isn't installed
12+
13+
### Documentation
14+
15+
- Empty dir functions
16+
- Document is_empty_dir functions
17+
- Add function documentation for get_file_type and icon_for_file.
18+
19+
### Features
20+
21+
- Optimize checking for empty directories when a directory has subdirectories
22+
- Use perfect hash tables for file types and icons
23+
24+
### Miscellaneous Tasks
25+
26+
- Bump git2 from 0.17.2 to 0.18.0
27+
- Bump uzers from 0.11.1 to 0.11.2
28+
- Bump glob from 0.3.0 to 0.3.1
29+
- Bump DeterminateSystems/nix-installer-action from 3 to 4
30+
- Bump terminal_size from 0.1.16 to 0.2.6
31+
- Bump timeago from 0.3.1 to 0.4.1
32+
33+
### Refactor
34+
35+
- Use phf macros instead of codegen to create icon and filetype tables
36+
- Add constants for most of the commonly used icons
37+
- Add constants for the rest of icons used multiple times
38+
- Rename class FileExtension to FileTypeClassifier to better reflect the purpose
39+
- Move get_file_type to FileType enum
40+
41+
### Styling
42+
43+
- Is_empty_dir() was put between the unix size() and windows size()
44+
45+
### Build
46+
47+
- Use rust stable
48+
- Add unstable package
49+
- Disable clippy check 'unreadable_literal' in generated files
50+
551
## [0.10.9] - 2023-08-28
652

753
### Bug Fixes
@@ -23,7 +69,13 @@ All notable changes to this project will be documented in this file.
2369

2470
### Miscellaneous Tasks
2571

72+
- Bump DeterminateSystems/flake-checker-action from 4 to 5
2673
- Add funding.yml
74+
- Release 0.10.9
75+
76+
### Tree-wide
77+
78+
- Fix Windows build
2779

2880
### Build
2981

@@ -40,6 +92,7 @@ All notable changes to this project will be documented in this file.
4092
- Add flakehub-backfill
4193
- Add codeowners
4294
- Add gierens as .deb codeowner
95+
- Add windows to CI
4396

4497
### Deps
4598

@@ -171,6 +224,7 @@ All notable changes to this project will be documented in this file.
171224
### Miscellaneous Tasks
172225

173226
- Add PR template
227+
- Bump actions/stale from 5 to 8
174228
- Bump log from 0.4.14 to 0.4.20
175229
- Release 0.10.7
176230

Cargo.lock

+66-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+11-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "README.md"
1010
homepage = "https://github.com/eza-community/eza"
1111
license = "MIT"
1212
repository = "https://github.com/eza-community/eza"
13-
version = "0.10.9"
13+
version = "0.11.0"
1414

1515

1616
[package.metadata.deb]
@@ -36,7 +36,8 @@ name = "eza"
3636

3737

3838
[dependencies]
39-
ansi_term = "0.12"
39+
ansiterm = "0.12.2"
40+
gethostname = "0.4.3"
4041
glob = "0.3"
4142
lazy_static = "1.3"
4243
libc = "0.2"
@@ -51,6 +52,7 @@ term_grid = "0.1"
5152
terminal_size = "0.2.6"
5253
timeago = { version = "0.4.1", default-features = false }
5354
unicode-width = "0.1"
55+
urlencoding = "2.1.3"
5456
zoneinfo_compiled = "0.5.1"
5557

5658
[dependencies.datetime]
@@ -62,6 +64,13 @@ features = ["format"]
6264
version = "0.18"
6365
optional = true
6466
default-features = false
67+
# This builds libgit2 into the binary to avoid dependency problems on systems
68+
# that don't have the required version of libgit2 yet.
69+
# See: https://github.com/eza-community/eza/pull/192
70+
features = ["vendored-libgit2"]
71+
72+
[target.'cfg(target_os = "linux")'.dependencies]
73+
proc-mounts = "0.3"
6574

6675
[target.'cfg(unix)'.dependencies]
6776
uzers = "0.11.2"

0 commit comments

Comments
 (0)