Skip to content

Commit fb7e9f2

Browse files
authored
feat: add CHANGELOG.md (#3285)
1 parent c11ed02 commit fb7e9f2

File tree

17 files changed

+1021
-65
lines changed

17 files changed

+1021
-65
lines changed

.github/workflows/draft.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: ./scripts/build.sh ${{ matrix.target }}
5757

5858
- name: Upload artifact
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v5
6060
with:
6161
name: ${{ matrix.target }}
6262
path: |
@@ -102,7 +102,7 @@ jobs:
102102
Compress-Archive -Path ${env:TARGET_NAME} -DestinationPath "${env:TARGET_NAME}.zip"
103103
104104
- name: Upload artifact
105-
uses: actions/upload-artifact@v4
105+
uses: actions/upload-artifact@v5
106106
with:
107107
name: ${{ matrix.target }}
108108
path: yazi-${{ matrix.target }}.zip
@@ -130,7 +130,7 @@ jobs:
130130
run: ./scripts/build.sh ${{ matrix.target }}
131131

132132
- name: Upload artifact
133-
uses: actions/upload-artifact@v4
133+
uses: actions/upload-artifact@v5
134134
with:
135135
name: ${{ matrix.target }}
136136
path: |
@@ -164,7 +164,7 @@ jobs:
164164
run: mv yazi_*.snap yazi-${{ matrix.arch }}.snap
165165

166166
- name: Upload artifact
167-
uses: actions/upload-artifact@v4
167+
uses: actions/upload-artifact@v5
168168
with:
169169
name: snap-${{ matrix.arch }}
170170
path: yazi-${{ matrix.arch }}.snap
@@ -173,7 +173,7 @@ jobs:
173173
runs-on: ubuntu-latest
174174
needs: [build-snap]
175175
steps:
176-
- uses: actions/download-artifact@v5
176+
- uses: actions/download-artifact@v6
177177
with:
178178
pattern: snap-*
179179
merge-multiple: true
@@ -202,7 +202,7 @@ jobs:
202202
runs-on: ubuntu-latest
203203
needs: [build-unix, build-windows, build-musl, build-snap]
204204
steps:
205-
- uses: actions/download-artifact@v5
205+
- uses: actions/download-artifact@v6
206206
with:
207207
merge-multiple: true
208208

@@ -231,7 +231,7 @@ jobs:
231231
232232
- uses: actions/checkout@v5
233233

234-
- uses: actions/download-artifact@v5
234+
- uses: actions/download-artifact@v6
235235
with:
236236
merge-multiple: true
237237

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
winget:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/download-artifact@v5
11+
- uses: actions/download-artifact@v6
1212
with:
1313
merge-multiple: true
1414

CHANGELOG.md

Lines changed: 931 additions & 0 deletions
Large diffs are not rendered by default.

Cargo.lock

Lines changed: 43 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ crossterm = { version = "0.29.0", features = [ "event-stream" ] }
3030
dirs = "6.0.0"
3131
foldhash = "0.2.0"
3232
futures = "0.3.31"
33-
globset = "0.4.17"
33+
globset = "0.4.18"
3434
hashbrown = { version = "0.16.0", features = [ "serde" ] }
3535
indexmap = { version = "2.12.0", features = [ "serde" ] }
3636
libc = "0.2.177"

yazi-actor/src/mgr/refresh.rs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ use yazi_core::tab::Folder;
55
use yazi_fs::{CWD, Files, FilesOp, cha::Cha};
66
use yazi_macro::{act, succ};
77
use yazi_parser::VoidOpt;
8-
use yazi_shared::{data::Data, url::UrlBuf};
8+
use yazi_proxy::MgrProxy;
9+
use yazi_shared::{data::Data, scheme::SchemeLike, url::UrlBuf};
910
use yazi_term::tty::TTY;
1011
use yazi_vfs::{VfsFiles, VfsFilesOp};
1112

@@ -19,7 +20,7 @@ impl Actor for Refresh {
1920
const NAME: &str = "refresh";
2021

2122
fn act(cx: &mut Ctx, _: Self::Options) -> Result<Data> {
22-
if let (_, Some(s)) = (CWD.set(cx.cwd()), YAZI.mgr.title()) {
23+
if let (_, Some(s)) = (CWD.set(cx.cwd(), Self::cwd_changed), YAZI.mgr.title()) {
2324
execute!(TTY.writer(), SetTitle(s)).ok();
2425
}
2526

@@ -39,8 +40,14 @@ impl Actor for Refresh {
3940
}
4041

4142
impl Refresh {
43+
fn cwd_changed() {
44+
if CWD.load().scheme.is_virtual() {
45+
MgrProxy::watch();
46+
}
47+
}
48+
4249
// TODO: performance improvement
43-
pub fn trigger_dirs(folders: &[&Folder]) {
50+
fn trigger_dirs(folders: &[&Folder]) {
4451
async fn go(cwd: UrlBuf, cha: Cha) {
4552
let Some(cha) = Files::assert_stale(&cwd, cha).await else { return };
4653

yazi-codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ proc-macro = true
1313

1414
[dependencies]
1515
# External dependencies
16-
syn = { version = "2.0.107", features = [ "full" ] }
16+
syn = { version = "2.0.108", features = [ "full" ] }
1717
quote = "1.0.41"

yazi-config/preset/theme-dark.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ perm_exec = { fg = "cyan" }
9999

100100
# Progress
101101
progress_label = { bold = true }
102-
progress_normal = { fg = "blue", bg = "black" }
103-
progress_error = { fg = "blue", bg = "red" }
102+
progress_normal = { fg = "green", bg = "black" }
103+
progress_error = { fg = "yellow", bg = "red" }
104104

105105
# : }}}
106106

yazi-config/preset/theme-light.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ perm_exec = { fg = "cyan" }
9999

100100
# Progress
101101
progress_label = { bold = true }
102-
progress_normal = { fg = "blue", bg = "black" }
103-
progress_error = { fg = "blue", bg = "red" }
102+
progress_normal = { fg = "green", bg = "gray" }
103+
progress_error = { fg = "yellow", bg = "red" }
104104

105105
# : }}}
106106

yazi-fs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ core-foundation-sys = { workspace = true }
4141
objc = { workspace = true }
4242

4343
[target.'cfg(not(target_os = "android"))'.dependencies]
44-
trash = "5.2.3"
44+
trash = "5.2.5"

0 commit comments

Comments
 (0)