Releases: Antiz96/arch-update
v3.0.0
Highlight
Welcome to the new v3.0.0
Arch-Update major release! 😄 🎉
Despite a major version bump, this new release doesn't include much changes from a user perspective:
There is the introduction of the new AURHelper
option in the arch-update.conf
configuration file, which allows you to explicitly set which AUR helper to use between paru
and yay
in case you have both of them installed (e.g. AURHelper=yay
).
The big part of this new major release is a complete restructuring of the code base. Indeed, every functions of main arch-update.sh
script have been splitted into separate "libraries" (which are now sourced/called when needed via the main script). This greatly improves the readability of the code base and ease the overall maintenance & contribution processes.
Note that this code restructuring implies a breaking change for people installing/upgrading Arch-Update from source, see the note below (people using the Arch-Update AUR package are not concerned).
Breaking Change:
People that installed Arch-Update from source will either need to uninstall it (with make uninstall
) before pulling and installing the new version (with git pull
and make install
) or they will need to manually remove the arch-update-tray
file from their system (which is under /usr/local/bin/
if the default installation prefix was used) when upgrading from v2.x.x
to v3.x.x
.
Otherwise, the arch-update-tray
file will remain un-tracked on the system.
Features
Fixes
Miscellaneous
- Add simple unit tests to check basic functions with
make test
(#236) - (4978f98) by @Antiz96 - Chore!(code structure): Split the script functions into separate libraries (#232) - (c89c0dc) by @Antiz96
Full Changelog: v2.3.3...v3.0.0
v2.3.3
Highlight
This new release fixes an issue with dates parsing which led to an "invalid date" error during Arch news listing and incorrect information in the "Author/Publication date" fields during Arch news displaying.
Fixes
Documentation
- Add that Arch-Update follows usual system maintenance steps (as described in the Arch Wiki) in documentation (#228) - (0238738) by @Antiz96
Styling
Full Changelog: v2.3.2...v2.3.3
v2.3.2
Highlight
This new release makes Arch-Update looking for pending kernel upgrade before looking for services to restart in order to avoid asking users to restart services before asking to reboot (which is redundant).
Arch-Update will now only offers to restart services if users did not choose to reboot (or if there's no pending kernel update).
Features
- Check for pending kernel update before checking for services to restart (#225) - (b416969) by @Temet79
New Contributors
Full Changelog: v2.3.1...v2.3.2
v2.3.1
Highlight
This release includes various fixes and improvements (mostly about error handling during the check for recent Arch News).
Fixes
- (news) Make curl fail on http server errors responses when checking for recent news (#220) - (384b6bc) by @Antiz96
- (news) Avoid undesired error message if the last_update_run file is incorrect during news check (#218) - (408078e) by @Antiz96
Miscellaneous
- (checkservices) Update the checkservices command that parses the list of services to restart (#219) - (4a0b4df) by @Antiz96
- (news) Simplify warning message in case of request timeout (#217) - (da04ba1) by @Antiz96
- Update the news var value in case of error (#221) - (e123290) by @Antiz96
- Add SPDX license identifier header to the tray script (#216) - (278237f) by @Antiz96
Full Changelog: v2.3.0...v2.3.1
v2.3.0
Highlight
This release introduces the new arch-update --edit-config
option that allows you to edit the currently used arch-update.conf
configuration file (#209).
It also introduces the new DiffProg
option in the arch-update.conf
configuration file to allow users to choose their DIFFPROG of choice to visualize & edit differences when processing pacnew files within Arch-Update (#207).
Finally, it brings various improvements to the "News" function of the script to optimize it and avoid unexpected behaviors (#213).
Features
- Add the
--edit-config
option to edit thearch-update.conf
configuration file (#209) - (988ad2d) by @Antiz96 - Add the "DiffProg" option in arch-update.conf (#207) - (7c56d33) by @Antiz96
Fixes
- Optimize the "News" function and avoid unexpected behaviors (#213) - (a16a160) by @Antiz96
- Fix exit status code 7 for the --list option (#212) - (814c489) by @Antiz96
Documentation
- Various documentation improvements (#210) - (7a4eb4a) by @Antiz96
- Add the exit status 12 documentation in man pages (#208) - (3df5849) by @Antiz96
Full Changelog: v2.2.0...v2.3.0
v2.2.0
Highlight
This release introduces a new "check services" feature that will check for services that require a post upgrade restart, and it will offer you to do so if there are (#203).
It also includes various improvements and fixes on the systray applet side. Most notably the new arch-update --tray --enable
option (#197), that allows to automatically set up the Arch-Update systray applet to the "autostart commands" (which is the preferred method for some specific desktop environments, such as XFCE for instance). Additionally, a few fixes that brings a better integration in some desktop environment have been made ((#179) & (#202)), especially for KDE Plasma.
Finally, this release brings a lot of "chore/internal" changes and standards that should help structuring the future development of the project and ease external contributions.
Important note:
The archlinux-contrib package is a new dependency. People using the Arch-Update AUR package will get it automatically when updating to v2.2.0
, but people installing Arch-Update from source will have to install this new dependency by themselves.
Features
- Check for services that require a post upgrade restart on packages upgrade (#203) - (d2af4a8) by @Antiz96
- Allow to read multiple news at once (#200) - (8cb822a) by @Antiz96
- Add the
--tray --enable
option to automatically set the systray applet in autostart apps (#197) - (2b3857f) by @Antiz96
Fixes
- (systray) Prevent multiple instances of the systray applet to be able to run at the same time (#199) - (fa92a61) by @Antiz96
- (translation) Add missing translations for WARNING and ERROR (#194) - (3e5c8f6) by @Antiz96
- (systray) Set QApplication class in systray's python script (#202) - (3683b4a) by @starscaledragon
- Add a category to the desktop file (#179) - (5bbb86e) by @max276
Styling
Miscellaneous
- (CONTRIBUTING) Update contributing guidelines (#189) - (7bf057d) by @Antiz96
- (changelog) Add a changelog file (#190) - (f55bbbf) by @Antiz96
- (main script) Add a proper SPDX license header (#195) - (8531c29) by @Antiz96
- (release) Update RELEASE.md (#192) - (6fb7dc2) by @Antiz96
- (release) Add release steps (#191) - (1cb2427) by @Antiz96
- Add contributing guidelines (CONTRIBUTING.md) (#188) - (9307079) by @Antiz96
- Add a link to sponsor page (#187) - (8ebab0a) by @Antiz96
- Add a config for issue templates (#186) - (2062fdd) by @Antiz96
- Update issue templates (#185) - (658a3ae) by @Antiz96
- Add templates for issues and pull requests (#184) - (7cf1245) by @Antiz96
Full Changelog: v2.1.0...v2.2.0
v2.1.0
If you haven't already, please read the v2.0.0
changelog which contains important information.
Highlight
This release introduces support for the new systemd run0
command for privilege elevation (in addition of the already supported sudo
and doas
commands).
If you have multiple of those commands installed on your system, you can now specify which one Arch-Update should use via the new PrivilegeElevationCommand=[Cmd]
option in the arch-update.conf
configuration file (for instance: PrivilegeElevationCommand=doas
).
Finally, the new arch-update --show-config
option allows to display the current configuration file (if it exists), which will ease the process of sharing configuration files in bug reports for debug/analyses purposes.
Features
- Add support for systemd run0 by @Antiz96 in #172
- Add an option in the configuration file to explicitly set which command to use for privilege elevation (
sudo
,doas
orrun0
) by @Antiz96 in #175 - Add the
--show-config
option that displays the current configuration file by @Antiz96 in #177
Fixes
Full Changelog: v2.0.2...v2.1.0
v2.0.2
If you haven't already, please read the v2.0.0
changelog which contains important information.
Highlight
This release introduces a "right click" context menu for the systray applet containing two entries: one to run arch-update
and one to "exit" the systray applet (with translations):
Additionally, the 5 seconds countdown before a system reboot (when there's a pending kernel update) is now dynamic, with the remaining seconds being shown in real time.
Finally, this release includes various improvements and fixes to the main script and documentation.
Features
- Add a right click context menu to the systray applet (to "quit/exit" it and run arch-update) by @trigg in #165
- Make the reboot countdown after a kernel upgrade showing remaining seconds in real time by @Antiz96 in #169
Improvements/Fixes
- Add the method to force
arch-update
to run in a specific terminal emulator via the desktop file to the documentation (as workaround for people using a terminal emulator not known/supported bygio
for whom cliking on the systray applet icon does nothing) by @Antiz96 in #168 - Improve documentation regarding the check function and how to modify the check cycle by @Antiz96 in #167
- Use the 'state_up_to_date' function to initialize the state file if it does not exists by @Antiz96 in #159
- Make Arch-Update also look in XDG_DATA_HOME/XDG_DATA_DIRS for translation files and example config by @Antiz96 in #170
- Fix wording in Makefile by @Antiz96 in #158
- Fix typos in READMEs by @Antiz96 in #161
Full Changelog: v2.0.1...v2.0.2
v2.0.1
If you haven't already, please read the v2.0.0
changelog which contains important information.
Highlight
The systray applet now attempts to read the arch-update.desktop
file at the below paths and in the following order when clicked:
$XDG_DATA_HOME/applications/arch-update.desktop
$HOME/.local/share/applications/arch-update.desktop
$XDG_DATA_DIRS/applications/arch-update.desktop
/usr/local/share/applications/arch-update.desktop
<-- Default installation path when installing Arch-Update from source/usr/share/applications/arch-update.desktop
<-- Default installation path when installing Arch-Update from the AUR
In case you want/need to customize the arch-update.desktop
file, copy it in a path that has a higher priority than the default installation path and modify it there (to ensure that your custom arch-update.desktop
file supersedes the default one and that your modifications are not being overwritten on updates).
Improvements/Fixes
- Fix a typo in the FR documentation by @Antiz96 in #155
- Make systray applet also searching in XDG_DATA_HOME & XDG_DATA_DIRS when looking for the .desktop file by @Antiz96 and @trigg in #156
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Highlight
I'm very happy to present to you the new v2.0.0
Arch-Update major release! 🎉
As modest as this project is, I'm really impressed to see what once was just a simple one line bash alias in my personal system has become over time... 🥹
I'd like to thank everyone that opened issues, feature requests, pull requests or contributed to Arch-Update in any way.
I'd also like to give a special thanks to @Tearling27 who contributed super neat new icons, as well as a very huge thanks to @trigg who provided an excellent work and offered an unexpected and precious help regarding the biggest feature of this major release! ❤️
So, what new cool stuff does this release brings?
-
The superfluous intermediate 'checking' and 'installing' states and their respective icons have been completely removed as they did not really served any actual purpose and are not really interesting/relevant. Arch-Update now only focuses on whether your system is up to date or if there are pending updates available and got some shiny new customized icons for the occasion!
-
Speaking of icons, the
dynamicicon changing for the.desktop
file has been dropped entirely. Indeed, the way it was initially implement always was a bit hacky and didn't even worked properly for most people anyway (as most panel/taskbar/dock do not support real time refreshing icons). -
As a replacement for the above, Arch-Update finally got itself a clickable systray applet that dynamically change depending on the current state of your system (if it is up to date or if there are updates available). You can now remove the
.desktop
file from wherever you integrated it and start the systray applet instead; either by adding thearch-update --tray
command to your auto-start command/WM config or by starting/enabling the associated systemd service like so:systemctl --user enable --now arch-update-tray.service
Important notes:
- People running Wayland additionally need the
qt6-wayland
package for the systray applet to work properly. - For people using the Arch-Update AUR package :
- The following error is expected when using
arch-update
to update from v1.X.X to v2.X.X:cp: cannot stat '/usr/share/icons/arch-update/arch-update_up-to-date.svg': No such file or directory
. It will only happen once during the switch from v1 to v2 and will not happen again after that :)
- The following error is expected when using
- For people installing Arch-Update from source:
- First uninstall the current version running on your system (via
sudo make uninstall
) before downloading this release's archive (or pulling the repo locally) and re-installing Arch-Update (viasudo make install
), otherwise you'll keep unnecessary residues of the previous version on your system. Also make sure to install the newly required dependencies listed in the installation instructions.
- First uninstall the current version running on your system (via
Features
Improvements
- Move icons into hicolor theme by @trigg in #147
- Drop icon changing for the .desktop file and remove superfluous icons/states by @Antiz96 in #150
- New icons set by @Tearling27 in #152 and #153
- Simplification of the README for an easier and more fluid reading
New Contributors
- @trigg made their first contribution in #147
- @Tearling27 made their first contribution in #152
Full Changelog: v1.15.0...v2.0.0