Skip to content

Releases: lptstr/winfetch

v2.5.1

26 Aug 20:12
abb172b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.0...v2.5.1

v2.5.0

31 Jan 19:22
v2.5.0
695ef48
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.1...2.5.0

v2.4.1

04 May 16:12
aff73ca
Compare
Choose a tag to compare

What's Changed

  • Change script encoding to UTF-8 with BOM - Closes #134 by @astelmachonak-nydig in #135

Full Changelog: v2.4.0...v2.4.1

v2.4.0

30 Apr 21:06
c228cba
Compare
Choose a tag to compare

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

Full Changelog: v2.3.0...v2.4.0

v2.3.0

06 Nov 05:02
v2.3.0
a358871
Compare
Choose a tag to compare

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

21 Jul 02:09
8eb61b1
Compare
Choose a tag to compare

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

19 Jun 03:48
f4d0eb9
Compare
Choose a tag to compare

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

  • Remove ImageMagick dependency (#75)
  • Show packages through winget (#85)

New Info

  • weather (#71)

v2.0.0

07 Mar 12:05
0ec5e86
Compare
Choose a tag to compare

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 and WINFETCH_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

23 Dec 01:12
1e84629
Compare
Choose a tag to compare

Various fixes and improvements.

  • The OS field now shows more specific information.
  • The Memory field's style was changed to used / total. The information is rounded to one decimal space.
  • The Disk field now shows the percentage of used space in parens (instead of the disk label).

1.2.0

11 Apr 15:18
28bff6f
Compare
Choose a tag to compare

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)
  • [!] Dependencies curl 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.