ArchInstall 3.0.8 has been released and introduces several updates, including the replacement of storage['session'] with storage['installation_session'], the removal of storage['LOG_PATH'] and storage['LOG_FILE'] as part of a rework of the log handler, and the elimination of unused arguments from internal functions.
The latest updates encompass the introduction of a version indicator in the main menu title, the resolution of various bugs, and the implementation of synchronisation following installation. Additional modifications encompass the activation of unreachable code checks in the lib/ directory using mypy, the elimination of unnecessary None type annotations, the resolution of invalid-annotation warnings, the refactoring of default Btrfs subvolumes, the implementation of truthy-bool checks in mypy, the correction of example code in the README, the reference to the guided.py script instead of a symlink in the README, the removal of strict_bytes from the mypy configuration, the elimination of a workaround for the mypy 1.15.0 crash, the removal of superfluous None checks from the desktop profile code, the addition of type annotations to the global storage dictionary, the refactoring of command logs, and
ArchInstall 3.0.8
Breaking changes
- In #3548
storage['session']
is replaced withstorage['installation_session']
. This should only matter to internal calls, but if someone is using this old session variable in a script this will require a quicksed
onstorage['session']
.storage['LOG_PATH']
andstorage['LOG_FILE']
was removed in a re-work of the log handler in #3550. This should only matter to internal calls, but if someone relied on this variable/path to insert their own logs, this needs to be changed according to this PR.- Remove unused arguments from internal functions by @correctmost in #3571, this should not cause any issues as they haven't been used in a while and was mostly used for internal calls. But if someone used these functions in their scripts, this will need some slight adjustments in arguments to these functions.
New features
- Add new version indicator in the title of the main menu by @svartkanin in #3587
Bug fixes
- Fix root partition device mapper name by @codefiles in #3524
- Fix empty password by @codefiles in #3531
- Fix empty username by @codefiles in #3533
- Fix #3513 Crash when scrolling one-line text by @svartkanin in #3520
- Fix #3534 Btrfs subvolume creation fails when specifying empty subvolume name by @svartkanin in #3537
- Fix #3530 load_plugin looks for missing version field in storage by @svartkanin in #3535
- Change from grub-btrfs.service to grub-btrfsd.service by @lubuoren in #3540
- Fix restore edit content on help menu close by @svartkanin in #3568
- Add
sync
after installation completed, this should help with situations where users forcefully shut down the machine instead of gracefully shutting it down (yanking power to the machine vs runningshutdown
orreboot
) by @svartkanin in #3569- Spelling error on extras package in
xmonad
by @Torxed in #3582- Fix recursive call in scripts by @svartkanin in #3586
- Mount partitions in minimal script before starting installation by @svartkanin in #3585
- Removed
xf86-video-vmware
as it's been dropped: by @Torxed in #3590Other various changes
- Enable unreachable code checks in lib/ with mypy by @correctmost in #3521
- Remove extraneous
None
type annotations by @correctmost in #3522- Fix invalid-annotation warnings reported by Pyrefly by @correctmost in #3523
- Refactor default Btrfs subvolumes by @codefiles in #3525
- Enable truthy-bool checks in mypy and fix related warnings by @correctmost in #3528
- Fix #3626 Example code in README has runtime errors by @svartkanin in #3536
- Reference
guided.py
script instead of symlink from README by @svartkanin in #3543- Remove strict_bytes from the mypy config by @correctmost in #3544
- Remove workaround for mypy 1.15.0 crash by @correctmost in #3545
- Remove some unnecessary None checks from desktop profile code by @correctmost in #3546
- Add type annotations to global storage dictionary by @correctmost in #3548
- Refactor command logs by @codefiles in #3549
- Remove underscore from _FrameDim because it's used externally by @correctmost in #3547
- Remove return value check for Installer.minimal_installation by @correctmost in #3555
- Remove unused _DeferredTranslation methods and references by @correctmost in #3557
- Use PEP 639 license expression by @codefiles in #3556
- Moved python-cryptography from makedepends to depends by @Torxed in #3558
- Enable the bad-exit-annotation ruff rule and fix related warnings by @correctmost in #3564
- Fix return values used with a Textbox.edit callback in curses by @correctmost in #3566
- Honor the sort_items parameter on MenuItemGroup.from_enum by @correctmost in #3572
- Enable stricter mypy definition checks in archinstall/lib/ by @correctmost in #3573
- Use a generic instead of Any in MenuHelper by @correctmost in #3574
New Contributors
Full Changelog: 3.0.7...3.0.8