From b2a25acc3ec3c44de180983fd79d2499a00f8f00 Mon Sep 17 00:00:00 2001 From: Gabriel Moreno Date: Sat, 3 Jan 2026 14:57:35 -0400 Subject: [PATCH 1/2] docs: remove `CHANGELOG.md` --- CHANGELOG.md | 66 ---------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index c6efd43..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,66 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [2.2.0] - 2026-01-02 - -### Fixed - -- Fixed battery segment panic on desktop Macs without batteries - now gracefully shows "Plugged In" instead of crashing (thanks to [@DonovanMontoya](https://github.com/DonovanMontoya) in #4). -- Fixed incorrect memory calculation that was displaying available memory as used memory. -- Fixed terminal name retrieval (thanks to [@paraversal](https://github.com/paraversal) in #3). - -### Changed - -- Memory display now shows usage in GiB with percentage (e.g., "8.50 GiB / 16.00 GiB (53%)"). -- Removed hardcoded x86_64 build target to allow native builds on Apple Silicon (M1/M2/M3) Macs. -- Improved error handling across all segments (`os`, `host`, `kernel`, `uptime`, `shell`, `cpu`, `battery`) - now uses graceful fallbacks instead of panicking on missing data. -- Added cached fallback utilities for better performance. -- Updated dependencies to latest versions. - -### Housekeeping - -- Added `.DS_Store` to `.gitignore`. - -## [2.1.0] - 2023-03-01 - -### Changed - -- The GPU segment finally has a non-shell spawning implementation (huge thanks to [@k-ronny](https://github.com/k-ronny)'s suggestion on #1) and started using the [iron-oxide](https://docs.rs/iron-oxide/latest/iron_oxide/) crate. - -## [2.0.0] - 2023-02-24 - -### Changed - -- Everything, all project files & functions have been ported out to [Rust](https://www.rust-lang.org/). - -## [1.1.1] - 2023-02-19 - -### Changed - -- Changed cache implementations with new utils (`get_cache`, `set_cache`, `clear_cache`). - -## [1.1.0] - 2023-02-18 - -### Added - -- Add `wm`segment. - -### Updated - -- Use mutex locks for shell commands. - -## [1.0.2] - 2023-01-03 - -### Updated - -- Update `packages`command. - -## [1.0.0] - 2022-05-15 - -### Added - -- Initial release. From d2576dc166a40977c36695af37e693323f54220f Mon Sep 17 00:00:00 2001 From: Gabriel Moreno Date: Sat, 3 Jan 2026 14:59:59 -0400 Subject: [PATCH 2/2] refactor: remove 'v' prefix from bracket version on release title --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3653b1b..aa33392 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,10 @@ jobs: id: date run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT + - name: Get version without v prefix + id: version + run: echo "version=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT + - name: Build release binary run: cargo build --release @@ -35,7 +39,7 @@ jobs: - name: Create GitHub Release uses: softprops/action-gh-release@v1 with: - name: "[${{ github.ref_name }}] - ${{ steps.date.outputs.date }}" + name: "[${{ steps.version.outputs.version }}] - ${{ steps.date.outputs.date }}" draft: true generate_release_notes: true files: macfetch-${{ github.ref_name }}.tar.gz