Skip to content

Commit 1637815

Browse files
authored
Merge pull request #2134 from fastfetch-cli/dev
Release: v2.57.0
2 parents a9f43ff + 16e6dec commit 1637815

451 files changed

Lines changed: 2840 additions & 1498 deletions

File tree

Some content is hidden

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

.github/workflows/ci.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -520,12 +520,12 @@ jobs:
520520
architecture: x86-64
521521
cpu_count: 4
522522
shell: bash
523-
version: '7.7'
523+
version: '7.8'
524524
run: |
525525
uname -a
526526
sudo pkg_add -u
527-
sudo pkg_add -r llvm-19.1.7p3 cmake git pkgconf wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 imagemagick chafa
528-
CC=clang-19 cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
527+
sudo pkg_add -r llvm-21.1.2p0 cmake git pkgconf wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 imagemagick chafa
528+
CC=clang-21 cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
529529
cmake --build . --target package --verbose -j4
530530
./fastfetch --list-features
531531
time ./fastfetch -c presets/ci.jsonc --stat false
@@ -647,7 +647,7 @@ jobs:
647647
path: ./fastfetch-*.*
648648

649649
windows-hosts:
650-
name: Windows-${{ matrix.arch }}
650+
name: Windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}
651651
runs-on: ${{ matrix.runs-on }}
652652
permissions:
653653
security-events: write
@@ -660,11 +660,22 @@ jobs:
660660
msystem: CLANG64
661661
msystem-lower: clang64
662662
msys-arch: x86_64
663+
win7-compat-flag: OFF
664+
win7-compat-postfix: ""
665+
- arch: amd64
666+
runs-on: windows-latest
667+
msystem: CLANG64
668+
msystem-lower: clang64
669+
msys-arch: x86_64
670+
win7-compat-flag: ON
671+
win7-compat-postfix: "-win7"
663672
- arch: aarch64
664673
runs-on: windows-11-arm
665674
msystem: CLANGARM64
666675
msystem-lower: clangarm64
667676
msys-arch: aarch64
677+
win7-compat-flag: OFF
678+
win7-compat-postfix: ""
668679
defaults:
669680
run:
670681
shell: msys2 {0}
@@ -683,7 +694,7 @@ jobs:
683694
run: uname -a
684695

685696
- name: configure project
686-
run: env PKG_CONFIG_PATH=/${{ matrix.msystem-lower }}/lib/pkgconfig/:$PKG_CONFIG_PATH cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
697+
run: env PKG_CONFIG_PATH=/${{ matrix.msystem-lower }}/lib/pkgconfig/:$PKG_CONFIG_PATH cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_WIN7_COMPAT=${{ matrix.win7-compat-flag }} .
687698

688699
- name: build project
689700
run: cmake --build . --verbose -j4
@@ -714,7 +725,7 @@ jobs:
714725
name: upload artifacts for signing
715726
uses: actions/upload-artifact@v4
716727
with:
717-
name: fastfetch-windows-${{ matrix.arch }}
728+
name: fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}
718729
path: |
719730
*.dll
720731
fastfetch.exe
@@ -733,16 +744,16 @@ jobs:
733744
output-artifact-directory: '.'
734745

735746
- name: create zip archive
736-
run: 7z a -tzip -mx9 -bd -y fastfetch-windows-${{ matrix.arch }}.zip LICENSE *.dll fastfetch.exe flashfetch.exe presets
747+
run: 7z a -tzip -mx9 -bd -y fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}.zip LICENSE *.dll fastfetch.exe flashfetch.exe presets
737748

738749
- name: create 7z archive
739-
run: 7z a -t7z -mx9 -bd -y fastfetch-windows-${{ matrix.arch }}.7z LICENSE *.dll fastfetch.exe flashfetch.exe presets
750+
run: 7z a -t7z -mx9 -bd -y fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}.7z LICENSE *.dll fastfetch.exe flashfetch.exe presets
740751

741752
- name: upload true artifacts
742753
uses: actions/upload-artifact@v4
743754
with:
744-
name: fastfetch-windows-${{ matrix.arch }}
745-
path: ./fastfetch-windows-${{ matrix.arch }}.*
755+
name: fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}
756+
path: ./fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}.*
746757
overwrite: true
747758

748759
release:

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
# 2.57.0
2+
3+
Deprecation notice:
4+
* Support for Windows 7 (and 8.x) is deprecated and will be removed in a future release. Extended support for Windows 7 (and 8.1) ended on January 10, 2023. These versions do not officially support ANSI escape codes (running fastfetch on them requires a third-party terminal such as ConEmu). In addition, Windows 7 lacks some APIs used by fastfetch. Fastfetch currently loads these APIs dynamically at runtime to maintain compatibility, but this adds complexity to the codebase and increases the maintenance burden.
5+
* A CMake flag `ENABLE_WIN7_COMPAT:BOOLEAN` has been introduced (defaults to `ON` for now). If set to `OFF`, Windows 7 compatibility code is excluded, and the resulting binaries will support only Windows 10 (version 1607 and later) and Windows 11.
6+
* The main prebuilt Windows binaries on the Release page (`fastfetch-windows-amd64.*`) are built with `ENABLE_WIN7_COMPAT=OFF`. These are the binaries used by `scoop` and `winget`. Users who need Windows 7 (or 8.x) support can download the `-win7` variant instead.
7+
* The `ENABLE_WIN7_COMPAT` CMake option and the `-win7` variant binaries are planned to be removed in 2.60.0.
8+
9+
Features:
10+
* Supports COSMIC DE version detection (DE, Linux)
11+
* Supports niri version detection (#2121, WM, Linux)
12+
* Supports cosmic-term version and terminal font detection (Terminal / TerminalFont, Linux)
13+
* Supports urxvt font detection (TerminalFont, Linux) (#2105)
14+
* Improves xterm font detection by checking `xterm.vt100.faceName` (TerminalFont, Linux)
15+
* Supports Secure Boot detection (Bootmgr, macOS)
16+
* Supports DPI scale factor detection on Windows 7 (Display, Windows)
17+
* Supports xterm 256-color codes in color configuration
18+
* In `display.color`: "@<color-index>" (e.g., "@34" for color index 34)
19+
* In `*.format` strings: "#@<color-index>" (e.g., "#@34" for color index 34)
20+
* Improves uptime accuracy on Windows 10+ (Uptime, Windows)
21+
* Adds a new module `Logo` to query built-in logo raw data in JSON output (Logo)
22+
* Usage: `fastfetch -s logo -l <logo-name> -j # Supported in JSON format only`
23+
* Supports shell version detection even if the binary has been deleted (#2136, Shell, Linux)
24+
* Overall code refinements and optimizations
25+
26+
Bugfixes:
27+
* Skips local / loopback routes when detecting network interfaces (LocalIP, Linux) (#2127)
28+
* Fixes CPU speed detection on s390x (CPU, Linux) (#2129)
29+
* Fixes GPU detection error handling and supports case-insensitive PCI ID parsing (GPU, Windows)
30+
* Fixes some networking issues and memory leaks (Networking)
31+
* Fixes `exePath` reporting relative paths on macOS (Shell, macOS)
32+
33+
Logos:
34+
* Adds openSUSE Tumbleweed braille logo
35+
* Adds Xinux
36+
* Renames HydraPWK to NetHydra
37+
* Fixes colors of deepin and UOS
38+
* Fixes colors of macOS and variants
39+
140
# 2.56.1
241

342
Features:

0 commit comments

Comments
 (0)