Changelogs » Archey4

PyUp Safety actively tracks 232,000 Python packages for vulnerabilities and notifies you when to upgrade.

Archey4

4.7.1

Hello everyone :wave:
  
  Let's reuse the previous release notes format :
  
  Main (important) changes
  
  :new: This version brings support for two "new" distributions :
  * CentOS
  * Alpine Linux
  
  :bug: Since 56, and thanks to ingrinder, the `Disk` entry now _properly_ supports the BTRFS file-system type.
  
  :package: As noticed in 59, .RPM and ARCH LINUX packages generated by FPM (and proposed as assets for v4.7.0) were actually broken (Arch users : the [AUR one](https://aur.archlinux.org/packages/archey4/) was not concerned). This has been fixed, and packages below _should_ work as expected.
  :package: :warning: RPM-based users : You will **HAVE TO** choose the package that fits the Python 3 version running on your system. If you don't know what to choose, please run `python3 --version` :warning:
  
  :art: The way Archey handles ANSI colors has been completely reworked, and some tweaks have been brought :
  * Colors for Arch Linux, Manjaro & Ubuntu logos have been ~~fixed~~ _updated_
  * The `os-release`'s `ANSI_COLOR` option set in (some) distributions will be honored (see [here](https://aur.archlinux.org/packages/archey4/) for more information
  * :warning: You may want to disable the latter behavior with the help of `colors_palette.honor_ansi_color` configuration option :warning:
  
  :desktop_computer: A `-v` CLI flag has been added to show the current version of Archey you are running.
  
  :hotsprings: You may now specify a list of chipsets to prompt with LM-SENSORS when computing the average temperature (instead of all by default). Please refer to the `temperature.sensors_chipsets` option documentation in README.
  
  Other (minor) changes
  
  diff
  + Implements distribution matching "fall-back" (see `os-release`'s `ID_LIKE` option)
  + Fixes some entries not working in specific environments (as Docker containers)
  + Performances improvements in distribution matching
  + Fixes timeout exceptions that _may_ occur when relying on `urllib` (`WAN_IP`)
  + Fixes `Temperature` average value computation if (a) fan control chipset(s) are present on the system
  + Fixes `systemd-detect-virt` execution output not being honored in `Model`
  + Fixes configuration file not being marked as one in .DEB & .RPM packages
  + Improves testing in many modules
  
  
  
  Bye :wave:

4.7.0

Hello everyone, I'll try to make it short & concise !
  
  Main (important) changes
  
  :building_construction: Since 41, and thanks to lannuttia, the whole software architecture has been reworked.
  :world_map: `python3-netifaces` will be used to retrieve IP addresses in a more portable way. See 41 too. It's a **new dependency** (:warning:).
  :house: Your (local) IPv6 addresses will now be displayed by default. A new `ip_settings.lan_ip_v6_support` flag has been added to disable this behavior.
  :vertical_traffic_light: Since 50, and thanks to czr137, you may now configure thresholds for `Disk` and `RAM` entries warning/danger colors with new `limits.{disk,ram}.{danger,warning}` configuration options.
  :computer: Due to 51, `default_strings.bare_metal_environment` configuration option has been **removed** (:warning:), as the `Model` entry has been fully reworked.
  :art: Output used to contain heading and trailing **newlines**, they have been **removed** as well (:warning:).
  :file_cabinet: Due to 42 and since 43, the `Disk` entry _should_ now support BTRFS and TEMPFS file-systems.
  :1234: Correct units (`MiB` & `GiB`) will now be displayed for `Disk` and `RAM` entries.
  :package: Since 54, distribution packaging has been reworked, using [FPM](https://github.com/jordansissel/fpm). It's time to test it using the assets below :100:
  
  > Note to Arch Linux users : You really **should** install this package from [AUR](https://aur.archlinux.org/packages/archey4/).
  > Note to Debian users : .DEB packages will now **be signed** with my GPG key (as PyPI wheels were).
  
  Other (minor) changes
  
  diff
  + GitHub templates for issues and pull requests have been improved
  + Many PyLint warnings have been fixed, its usage is now cleaner
  + Some new runtime execution (and module freezing tests) have been added to CI
  + End-user documentation has been improved
  + Performance has been slightly improved
  + Temperature output format has been improved
  + For virtualization (`Model`), now relies on `systemd-detect-virt` (if available) instead of `virt-what` (it _should_ be backward-compatible with v4.6.0)
  + Relies on internal `urllib` instead of third `wget` calls when `dnsutils` (or `bind-tools` on Arch Linux) is not available)
  + Basic support for Deepin window manager and desktop environment has been added
  + (manual) `RAM` computations have been fixed (see 90975d4e)
  + Unit tests have been improved
  
  
  ---
  
  **EDIT 2020-04-19** : :warning: Packages for Arch Linux and RPM-based distributions are actually **broken** (see 59 & 60) :warning:
  Please wait for the [next release](https://github.com/HorlogeSkynet/archey4/milestone/4), packages will be regenerated and fixed then.

4.6.0

Hey everyone !
  
  So this is an exhaustive recap of what has happened between July and August, and what you _should_ read before upgrading in any way.
  
  A project, A.K.A. "A story of dependencies"
  
  So, if it's not already the case, you will understand sooner or later that a main dependency of Archey 4 has changed with v4.6.0.
  As extensively discussed during 36, we will now drop the direct usage of `lsb_release` and instead ask the `distro` Python module.
  The idea is to propose (in a backward-compatibility way) a better support of distribution detection, by using a known maintained module that will do the job.
  In the future, we may expect a lighter integration process for new distributions (like `*-BSD` and much more), as their `id` would be predictable.
  It also should be faster, as it uses `/etc/os-release` file under the hood (if available), instead of calling an external program.
  
  This was also the occasion to improve some distribution matching pattern (`fe8ec9`).
  
  :warning: **Unless your are using Debian Jessie (and thus you should opt for an installation from PIP now)**, you basically only have to install `python[3]-distro` package from your repositories, which will provide the `distro`Β Python module.
  Don't forget that, if you don't want to install it as a package for instance, it is also [available from PyPI](https://pypi.org/project/distro/) : `pip3 install distro`.
  
  Once it's done, you _may_ consider removing the no longer used `lsb-release` dependency, if your packages manager allows you to do it :relieved:
  
  **TL;DR**
  
  diff
  -lsb-release
  +python3-distro
  
  
  One new feature
  
  * A basic `SlackWare` support has been implemented : Feedbacks are welcome (`3334624`)
  
  Some bug fixes
  
  * The truncation of `GPU` information was not handling some special characters (`794083e`)
  * The test cases were throwing (and still throw some) warnings (see 35)
  
  As always, some minor improvements
  
  * `dig` & `wget` calls will now be forced to use respective IP versions while detecting your public address (`45fd5de`)
  * Little performance gain during `GPU` detection (`fb7c79a`)
  * Little performance gain during distribution detection (additionally to the usage of `distro`)
  * Documentation and README consistencies have been improved
  * The contributors list has been updated with latest "makers" (Thanks guys :heart:)
  * Code styles are now compliant with PyLint `bad-indentation` warning
  
  Surprise (!)
  
  Finally, I'm very happy to announce that Xysto will kindly (try to do its best to) provide `.rpm` packages for Archey :tada:
  As always, feedbacks will be appreciated :bow:
  
  > The `COPYRIGHT.md` will now list "official" Archey 4 packagers.
  
  ---
  
  Bye, thanks for your time and happy upgrading :wave:
  
  ---
  
  EDIT : I forgot to sign this release... I've set you a signed Wheel as asset here.
  
  EDIT 2 : Due to a bug with PyPI, I've re-submitted Wheel afterwards.
  The corresponding version will hence be `archey4-4.6.0.post1` due to `setuptools` versioning normalization.

4.5.0

Hey all, you'll find below a short sum up of the changes brought to Archey 4 during june and july :
  
  * Fixes an error with some ARM devices (thanks to thisforeda) [see 31]
  * Adds support for WSL filesystem (thanks to Naragato) [see 32]
  * Improves code style, development workflows and adds Python 3.7 job to Travis [see 33]
  * Fixes a warning occurring while running test against Python 3.4 & beautifies documentation [see f52c1c45 and 0dda3955]
  * Later, the new Debian package will be published with UNIX rights fixed on configuration file !
  * I've also added Python Wheel to GitHub release's assets, as long as its signature
  
  Happy upgrade,
  Bye :wave:

4.4.1

Hi everyone,
  
  Below a short sum up of the changes brought between February and May :
  
  * Installation instructions and documentation have been improved
  * Encoding-relative errors will now be handled properly during execution (see 28)
  * CPU detection has been extended to work on some ARM architectures (see 29 & 30)
  
  Happy upgrade,
  Cheers :wave:

4.4.0

Hello there,
  
  This has been a very long road, here is an exhaustive briefing of new changes :
  
  The project
  
  * Software architecture has been reworked (such a Python project now)
  * Test cases have been added (run them with `python3 setup.py test`)
  * Now compatible with setuptools (`pip3 install .`)
  * Improves documentation
  * New code styles to improve readability
  * Program now available on [PyPI](https://pypi.org/project/archey4/) (`pip3 install archey4`)
  * [Travis CI](https://travis-ci.org/HorlogeSkynet/archey4) will now automatically inspect the code !
  * A `.gitignore` has been added
  
  Features, Improvements & Bug fixes
  
  * Now `GPU` will sort entries by relevancy and output only the best one
  * Adds new strings to configuration for translation
  * Execution warnings are now mutable (check `suppress_warnings` in the configuration)
  * Major optimizations of external calls
  * `Packages` entry will now output more accurate values, and is compatible with non-English locales
  
  ---
  
  A big thanks to AdJaGu, Si13n7 and Xysto for their respective time !
  
  ---
  
  PS : I'll attach new binaries a bit later, sorry for the inconvenience :grimacing:
  PS2 : I'll also **stop building RPM release packages 'cause they actually don't work** (tested on Fedora with Xysto), so we'd need a packager :+1:
  
  ---
  
  There is actually a problem with the DEB package (you may have some files within your `/` directory)...
  It will be fixed with the next release. Sorry for the inconvenience.

4.3.3

So much work during these past 4 days, let's sum it up and draw a new release :
  
  * Improves documentation (thanks to Phoenix1747)
  * Precises dependencies (see next packages) (thanks again to Phoenix1747)
  * Adds timeout for IP addresses detection to configuration file (thanks to AdJaGu)
  * Handles the absence of `wget` (for vanilla Linux environments)
  * Now warnings and errors will be printed to STDERR to allow streams redirection
  
  Thanks, bye πŸ‘‹

4.3.2

Hi there,
  
  Today it's a new release with changes mainly coming from Si13n7. A big thanks to him.
  
  * IPv6 support for `LAN_IP` & `WAN_IP`
  * One new option to specify the maximum number of local addresses to display
  * Backward compatibility has been improved
  * Archey support now Windows subsystems
  * License and copyrights will now be externalized
  
  Don't hesitate to report any issue πŸ‘Œ
  Bye πŸ‘‹

4.3.1

Hello there !
  
  New minor version, let's see what changed recently :
  
  * Now users can mask one or many entries from the external configuration (see [README.md](README.md)) !
  * Minor optimizations
  * Improves code style
  * Implements configuration "locking" (users can now block future configuration file to being loaded)
  * Adds the color palette to `Terminal` output ! 🎨
  * Fixes detection for `WindowManager` with KDE Plasma !
  
  Everything is supposed to be backward compatible, don't hesitate to point out any issue you may experience 😬
  
  Bye πŸ‘‹

4.3.0

Hi there,
  
  New version = new stuffs :
  
  * Adds a new entry for hardware temperature (see 10 and 12)
  * Adds support for external configurations (optional though, Archey will keep working as a standalone script 😜) (see 13 and 14)
  * Bug fix for RAM computation
  * Typo
  * Now packages are available (see `Assets` attached and previous release)
  * Updates dependencies list
  * Minor optimizations
  * GitHub repo does not have a `dev` branch anymore (was actually useless and redundant)
  
  Comments are still welcome πŸ‘Œ
  
  Bye πŸ‘‹

4.2.2

Thanks to Si13n7, the Ubuntu logo has been fixed !
  New users will have a help message about the dependence to the `lsb-release` package.
  The trailing white-space which had been added to the previous release has just been removed πŸ˜‰
  
  Happy monitoring 🏹
  
  ---
  
  **EDIT 27/11/17** : A package is now available for Arch-based distributions (see binary attached below), and published on AUR (waiting for validation ?) : https://aur.archlinux.org/packages/archey4/
  
  **EDIT 28/11/17** : Packages for Debian and Red Hat are now available ([source](https://labs.pixelswap.fr/HorlogeSkynet/archey4-packaging)) ! Check below and new README.

4.2.1

Some optimizations, improves development conditions and modularity
  
  EDIT : Sorry for those useless notifications... Some problems with GitHub... πŸ˜•
  
  EDIT 2 : This repository is now detached from [its parent](https://github.com/djmelik/archey) !
  After having thought about this A LOT, I've contacted the GitHub's support and now it's finally done :tada:

4.2.0

A lot of new things, please see the changes below and update your local version !
  
  * Adds Raspberry Pi compatibility for the `Model` Class (tested with Raspbian and Arch Linux ARM)
  * Fixes an error when `wmctrl` was not installed
  * Adds virtualized environments compatibility for the `Model` Class (shouldn't we rename this Class now ?)
  * Handles packages tools errors / warnings (if you destroyed it in the past 😜)
  * Many minor optimizations
  * Adds GitHub Issues & PR templates
  
  Ciao πŸ‘‹

4.1.2

New project name, minor optimization and backward compatibility about the empty set character.
  A `dev` branch has been created, it'll be the default one on GitHub from now

4.1.1

Fixes missing case, deletes a false window manager, adds backward compatibility for old `inetutils` packages & replace tabulations by white-spaces for indentation

4.1.0

Now local and public IP addresses will be displayed (special thanks to normcyr), and some little improvements

4.0.5

Makes the code cleaner and widens the `lsb_release` outputs possibilities (for Arch Linux, and the future if needed)

4.0.4

Fix' a strange color glitch with some terminals (by removing extra left-tabulations) and allows a longer GPU information entry

4.0.3

Very little optimizations and fix for users who do not have a colored `$PS1` !

4.0.2

Adds lots of optimizations, improves backward compatibility and now correctly running as root

4.0.1

Minor fixes and improvements for logo displays

4.0.0

Main bugs fixed, lots of improvements and optimizations, support for some others OS