Skip to content

Commit b80da99

Browse files
authored
Merge pull request #677 from fastfetch-cli/dev
Release: v2.5.0
2 parents 5ede47f + a95a80a commit b80da99

File tree

97 files changed

+9947
-876
lines changed

Some content is hidden

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

97 files changed

+9947
-876
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
run: echo "ffversion=$(./fastfetch --version-raw)" >> $GITHUB_OUTPUT
133133

134134
- name: upload artifacts
135-
uses: actions/upload-artifact@v3
135+
uses: actions/upload-artifact@v4
136136
with:
137137
name: fastfetch-linux
138138
path: ./fastfetch-*.*
@@ -188,7 +188,7 @@ jobs:
188188
run: ctest
189189

190190
- name: upload artifacts
191-
uses: actions/upload-artifact@v3
191+
uses: actions/upload-artifact@v4
192192
with:
193193
name: fastfetch-macos
194194
path: ./fastfetch-*.*
@@ -204,7 +204,7 @@ jobs:
204204
uses: actions/checkout@v4
205205

206206
- name: run VM
207-
uses: cross-platform-actions/action@v0.21.1
207+
uses: cross-platform-actions/action@master
208208
with:
209209
operating_system: freebsd
210210
version: '13.2'
@@ -222,7 +222,7 @@ jobs:
222222
ctest
223223
224224
- name: upload artifacts
225-
uses: actions/upload-artifact@v3
225+
uses: actions/upload-artifact@v4
226226
with:
227227
name: fastfetch-freebsd
228228
path: ./fastfetch-*.*
@@ -284,7 +284,7 @@ jobs:
284284
run: 7z a -t7z -mx9 -bd -y fastfetch-$(./fastfetch --version-raw)-Win64.7z *.dll fastfetch.exe flashfetch.exe presets
285285

286286
- name: upload artifacts
287-
uses: actions/upload-artifact@v3
287+
uses: actions/upload-artifact@v4
288288
with:
289289
name: fastfetch-win64
290290
path: ./fastfetch-*-Win64.*
@@ -351,7 +351,7 @@ jobs:
351351
run: 7z a -t7z -mx9 -bd -y fastfetch-$(./fastfetch --version-raw)-Win32.7z *.dll fastfetch.exe flashfetch.exe presets
352352

353353
- name: upload artifacts
354-
uses: actions/upload-artifact@v3
354+
uses: actions/upload-artifact@v4
355355
with:
356356
name: fastfetch-win32
357357
path: ./fastfetch-*-Win32.*
@@ -369,20 +369,45 @@ jobs:
369369
permissions:
370370
contents: write
371371
steps:
372-
- name: download artifacts
373-
uses: actions/download-artifact@v3
374-
375372
- name: get latest release version
376373
id: get_version_release
377374
uses: pozetroninc/github-action-get-latest-release@master
378375
with:
379376
repository: ${{ github.repository }}
380377

378+
- name: download artifacts
379+
if: needs.linux.outputs.ffversion != steps.get_version_release.outputs.release
380+
uses: actions/download-artifact@v4
381+
381382
- name: create release
382383
if: needs.linux.outputs.ffversion != steps.get_version_release.outputs.release
383384
uses: ncipollo/release-action@v1
384385
with:
385386
tag: ${{ needs.linux.outputs.ffversion }}
386387
commit: ${{ github.sha }}
387388
artifactErrorsFailBuild: true
388-
artifacts: fastfetch-linux/*,fastfetch-macos/*,fastfetch-freebsd/*,fastfetch-win64/*,fastfetch-win32/*
389+
artifacts: fastfetch-*/fastfetch-*
390+
body: "Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/${{ needs.linux.outputs.ffversion }}/CHANGELOG.md) for details."
391+
392+
- name: download source tarballs
393+
if: needs.linux.outputs.ffversion != steps.get_version_release.outputs.release
394+
run: |
395+
for i in 1 2 3 4 5; do curl -L --remote-name-all --output-dir fastfetch-source --create-dirs https://github.com/${{ github.repository }}/archive/refs/tags/${{ needs.linux.outputs.ffversion }}.{tar.gz,zip} && break || sleep 5; done
396+
ls fastfetch-*/*
397+
398+
- name: generate release notes
399+
if: needs.linux.outputs.ffversion != steps.get_version_release.outputs.release
400+
run: |
401+
echo "Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/${{ needs.linux.outputs.ffversion }}/CHANGELOG.md) for details." > fastfetch-release-notes.md
402+
echo -e "\n---\n\n<details><summary>SHA256SUMs</summary><br>\n\n\`\`\`" >> fastfetch-release-notes.md
403+
sha256sum fastfetch-*/* >> fastfetch-release-notes.md
404+
echo -e "\`\`\`\n</details>" >> fastfetch-release-notes.md
405+
406+
- name: update release body
407+
if: needs.linux.outputs.ffversion != steps.get_version_release.outputs.release
408+
uses: ncipollo/release-action@v1
409+
with:
410+
tag: ${{ needs.linux.outputs.ffversion }}
411+
commit: ${{ github.sha }}
412+
bodyFile: fastfetch-release-notes.md
413+
allowUpdates: true

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# 2.5.0
2+
3+
Changes:
4+
* `--gpu-use-nvml` has been renamed to `--gpu-driver-specific` due to using of `IGCL` and `AGS`
5+
* We now detect external partitions more conservatively in Linux. USB partitions will not be detected as external always ( eg. The Linux kernel itself is installed in a USB drive )
6+
7+
Features:
8+
* Support more authentication type detection for macOS Sonoma (Wifi, macOS)
9+
* Default preset names to `.jsonc`. For example, `fastfetch -c all` will load `presets/all.jsonc` (#666)
10+
* Use Intel Graphics Control Library (IGCL) to detect more GPU information. Windows only (GPU, Windows)
11+
* Improve support of Asahi Linux (Brightness / CPU / GPU / Disk, Linux)
12+
* Support more properties of physical disks (PhysicalDisk)
13+
* Support SSD temperature detection with `--physicaldisk-temp` (PhysicalDisk)
14+
* Support partition label detection (Disk, FreeBSD)
15+
* Support platform specific graphic API version detection (GPU, macOS / Windows)
16+
17+
Bugfixes:
18+
* Fix Windows partition detection for WSL2 (Linux, Disk)
19+
* Fix Btrfs subvolumes being detected as external partitions some times (Linux, Disk)
20+
* Fix battery cycle counts in some places (Battery)
21+
* Fix CodeWhisperer compatibility (#676, Terminal, macOS)
22+
123
# 2.4.0
224

325
**We are deprecating flags based config files (will be removed in v3.0.0). We suggest you migrate to json based config files.** One may use `-c /path/to/config.conf --gen-config` to migrate existing flag based config files.

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 2.4.0
4+
VERSION 2.5.0
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -575,6 +575,7 @@ elseif(APPLE)
575575
src/detection/displayserver/displayserver_apple.c
576576
src/detection/font/font_apple.m
577577
src/detection/gpu/gpu_apple.c
578+
src/detection/gpu/gpu_apple.m
578579
src/detection/host/host_apple.c
579580
src/detection/lm/lm_nosupport.c
580581
src/detection/icons/icons_nosupport.c
@@ -630,6 +631,8 @@ elseif(WIN32)
630631
src/detection/font/font_windows.c
631632
src/detection/gpu/gpu_windows.c
632633
src/detection/gpu/gpu_nvidia.c
634+
src/detection/gpu/gpu_intel.c
635+
src/detection/gpu/gpu_amd.c
633636
src/detection/host/host_windows.c
634637
src/detection/icons/icons_windows.c
635638
src/detection/libc/libc_windows.cpp
@@ -903,6 +906,7 @@ elseif(APPLE)
903906
PRIVATE "-framework CoreWLAN"
904907
PRIVATE "-framework IOBluetooth"
905908
PRIVATE "-framework IOKit"
909+
PRIVATE "-framework Metal"
906910
PRIVATE "-framework OpenGL"
907911
PRIVATE "-framework OpenCL"
908912
PRIVATE "-framework SystemConfiguration"

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ There are [screenshots on different platforms](https://github.com/fastfetch-cli/
2727

2828
### Linux
2929

30-
* Debian / Ubuntu: Download `fastfetch-<version>-Linux.deb` from [Github release page](https://github.com/fastfetch-cli/fastfetch/releases/latest) and `sudo apt install fastfetch-<version>-Linux.deb`
30+
* Debian / Ubuntu: Download `fastfetch-<version>-Linux.deb` from [Github release page](https://github.com/fastfetch-cli/fastfetch/releases/latest) and `dpkg -i fastfetch-<version>-Linux.deb`
3131
* Arch Linux: `sudo pacman -S fastfetch`
3232
* Fedora: `sudo dnf install fastfetch`
3333
* Gentoo: `sudo emerge --ask app-misc/fastfetch`
34+
* NixOS: `sudo nix-shell -p fastfetch`
35+
* openSUSE: `sudo zypper install fastfetch`
36+
37+
Replace sudo with doas depending on what you use.
3438

3539
[See also if fastfetch has been packaged for your favorite Linux distro](#Packaging)
3640

doc/json_schema.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,8 +1191,8 @@
11911191
"type": "boolean",
11921192
"default": false
11931193
},
1194-
"useNvml": {
1195-
"description": "Use nvml (NVIDIA Management Library) to detect more detailed GPU information (memory usage, CUDA core count, etc)",
1194+
"driverSpecific": {
1195+
"description": "Use driver specific method to detect more detailed GPU information (memory usage, core count, etc)",
11961196
"type": "boolean",
11971197
"default": false
11981198
},
@@ -1381,6 +1381,11 @@
13811381
"description": "Show disks with given name prefix only",
13821382
"type": "string"
13831383
},
1384+
"temp": {
1385+
"description": "Detect and display SSD temperature if supported",
1386+
"type": "boolean",
1387+
"default": false
1388+
},
13841389
"key": {
13851390
"$ref": "#/$defs/key"
13861391
},

0 commit comments

Comments
 (0)