Releases: lptstr/winfetch
v2.5.1
What's Changed
- Update deprecated Chocolatey command shim by @Ojjeorago in #184
- Add Chocolatey v2.0 compatibility by @JamesDBartlett3 in #191
New Contributors
- @Ojjeorago made their first contribution in #184
- @JamesDBartlett3 made their first contribution in #191
Full Changelog: v2.5.0...v2.5.1
v2.5.0
What's Changed
- Allow custom ASCII art using config file by @rashil2000 in 24ca268
- Add Windows 95/98/2000 ASCII art by @lexd0g in #143
- Report MaxClockSpeed in CPU by @rashil2000 in #144
- Fix redundant whitespace in CPU name by @xtonousou in #148
- Speed up info_locale by @Carterpersall in #154
- Implement faster IPv4 address retrieval method by @Carterpersall in #159
- Optimize info_disks by @Carterpersall in #164
- Optimize CPU usage retrieval by @Carterpersall in #160
- Add PSGallery publishing workflow by @rashil2000 in 30770d1
- Support for transparent images by @JManch in #169
- Optimize ps_pkgs function by @Carterpersall in #163
- Slightly faster CPU info by @Carterpersall in #167
- Show current theme name by @rashil2000 in 0358dee
New Contributors
- @lexd0g made their first contribution in #143
- @xtonousou made their first contribution in #148
- @Carterpersall made their first contribution in #154
- @JManch made their first contribution in #169
Full Changelog: v2.4.1...2.5.0
v2.4.1
What's Changed
Full Changelog: v2.4.0...v2.4.1
v2.4.0
Breaking Changes
The config file format before v2.0.0 is no longer compatible with Winfetch. It is recommended to use the new configuration file format (a .ps1 file) which was released in version 2.0.0.
What's Changed
- Link to Neofetch in Readme by @kidonng in #115
- Import
International
module in all versions of PowerShell Core (d14361e) Resolve-Path
while defining image bitmap - Fixes #105 (c3c9105)- Use different image widths for different logos (cf8861e, 8fa2210)
- Add a small logo variant by @rashil2000 in #122
- Allow overriding image/logo width by @rashil2000 in #123
- Add option to print image as ASCII text by @rashil2000 in #124
- Fix check for empty config file - Closes #125 (07cce61)
- Allow passing remote URL for image path (938dde7)
- Refactoring and cleanup (e64bcd7, 03ce4ce, f19207d)
- Show multiple GPUs on separate lines by @HO-COOH in #127
Full Changelog: v2.3.0...v2.4.0
v2.3.0
Breaking Changes
The scoop manifest was moved from the extras
bucket to the main
bucket, in order to receive this and future updates you'll need to reinstall it.
scoop uninstall winfetch
scoop install winfetch
What's Changed
- Show missing "system" identifier in package count by @dckface in #104
- Change user, host, and rowname colors to yellow for better visibility by @bilditup1 in #97
- Add
made with: wordpad
badge to README by @kiedtl in #107 - Optimize battery reporting by @rashil2000 in #111
- Add more shell exceptions for terminal info (15ec7b3)
Full Changelog: v2.2.0...v2.3.0
v2.2.0
Changelog
New Features
- Add ability to specify custom package managers (#91)
- Add Windows 11 Logo and Improve Logo Detection (#88)
- Add PS packages information (#90)
Improvements
- Workaround locale issue in PS 7.1+ (670463f)
- Rewrote disk info to use Windows API calls instead of WMIC (#94)
Fixes
- Handle terminal detection error (ae576e0)
v2.1.0
In this release, the winfetch repository was moved from lptstr/winfetch
to kiedtl/winfetch
see #81 for more information. There were also several improvements to the backend and @rashil2000 removed our dependency on ImageMagick by performing image processing using PowerShell which should be much faster and more reliable.
Changelog
Fixes
- Fix compatibility with scoop-search (#79)
- Fix error with disk info when a CD drive is installed (#74)
New Features
New Info
weather
(#71)
v2.0.0
This major release is backwards compatible with older versions, however, the configuration style and internals have changed significantly. Several new info segments have been added, along with the ability to configure the order of info segments and to add custom segments, as well as many other features, improvements and bug fixes. Two new maintainers have also been added, @jcwillox and @rashil2000.
Changelog
Fixed
- Fixed errors when using strict-mode
- Fixed errors when using
-noimage
- Fixed issues with image processing especially for larger images
- Fixed detailed help not showing
New Features
- Improved terminal detection
- Improved scoop pkgs speed
- Disable unused package managers, use
-showpkgs <enabled pkgs>
- Change the order of info segments
- Insert blank info lines
- Hide the colorbar
- Colorbar now shows 16 colors
- Add custom info segments in the config
- Info lines are now written out progressively
- Info segments can now display multiple lines
- Show info for multiple disks, use
-showdisks *
- Added legacy windows logo, use
-switchlogo
to use the alternate logo - Added
-all
parameter to show all built-in info segments (regardless of your config) - Added
-stripansi
parameter to disable colors/fancy formatting similar to--stdout
in neofetch - Added
-configpath
parameter andWINFETCH_CONFIG_PATH
environment variable to override the default location of the config - Command-line parameters will now override those set in the config
- Long lines will now be truncated instead of wrapping to the next line
- Added a basic legacy branch for systems older than Windows 7
- The default config is now embedded within winfetch.ps1 and is generated automatically if your config doesn't exist
- Added percentage bars to cpu, memory, disk and battery, they are configured similar to neofetch, for example, use
winfetch -cpustyle bar -diskstyle textbar
New Info
kernel
resolution
motherboard
battery
local_ip
public_ip
cpu_usage
locale
theme
New Configuration
We have also switched to a much more modular approach for info segments, this simplified the code and made it easier to add new info segments. This change also allows users to add custom info segments in their config. The default config has been updated, see the configuration docs for more information.
If you never used winfetch -genconf
before then you should automatically be switched to the new config, otherwise, you can regenerate a new config with winfetch -genconf
.
Optionally, you can attempt to migrate your old configuration, this commit may help.
Benchmarks
There have been many improvements to speed since v1.2.0
. Comparing v1.2.0
to v2.0.0
with the same segments enabled 1500ms
-> 350ms
which is around a 4x
improvement. More details can be seen on the winfetch vs neofetch benchmarks.
v1.3.0
1.2.0
Winfetch is now cleaner, faster, and smaller.
Changelog
[+]
Add support for PowerShell 5 (@TheIncorrigible1)[!]
Rewrite internals, Winfetch is now faster[+]
Make Winfetch output redirectable[+]
Add contributing guide[!]
Add support for new configuration style (@TheIncorrigible1)[!]
Cleaned logic and added consistent style (@TheIncorrigible1)[!]
Dependenciescurl
and PowerShell 6 no longer needed
Support for PowerShell 5
Thanks to (@TheIncorrigible1), support for PowerShell 5 was added and #3 was closed. You can now run Winfetch on older machines without PowerShell 6.
Internal rewrite
Again, thanks to (@TheIncorrigible1), major parts of Winfetch were rewritten, making v1.2.0 slightly faster (see benchmarks).
Also, the part of Winfetch that displays information was rewritten from scratch, and is now about 30 lines shorter.
Redirectable output
You can now redirect Winfetch output to a file, like so:
$ winfetch >> file
... and view the file in the terminal with cat
:
$ cat file
Color, style, images, etc. will all be preserved intact in the file and can be viewed without problems.
You can now save Winfetch output in a file and cat
the file when needed instead of re-running Winfetch.
New configuration
Configuration was rewritten in v1.2.0, and is slightly more intuitive.
You might want to manually delete your configuration file and run winfetch -genconf
to re-generate the configuration.
Other minor changes
You can now run man (scoop which winfetch)
to view help.
Alternatively, you can just run the following:
$ winfetch -help
Benchmarks
Benchmark #1: ./winfetch-old.ps1
Time (mean ± σ): 3.994 s ± 0.040 s [User: 0.0 ms, System: 13.6 ms]
Range (min … max): 3.950 s … 4.070 s 10 runs
Benchmark #2: ./winfetch-new.ps1
Time (mean ± σ): 3.610 s ± 0.046 s [User: 33.8 ms, System: 85.5 ms]
Range (min … max): 3.561 s … 3.718 s 10 runs
Summary
'./winfetch-new.ps1' ran
1.11 ± 0.02 times faster than './winfetch-old.ps1'
The Winfetch source is also 3KB smaller, as well as almost 150 loc shorter.