CHANGES 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. This is the changelog for Calamares. For each release, the major changes and
  2. contributors are listed. Note that Calamares does not have a historical
  3. changelog -- this log starts with version 3.2.0. The release notes on the
  4. website will have to do for older versions.
  5. # 3.2.10 (unreleased) #
  6. This release contains contributions from (alphabetically by first name):
  7. Distributions are **advised** to check the slideshow they use for the
  8. installation step; changes in loading and translation mechanisms may
  9. require changes in the slideshow.
  10. ## Core ##
  11. - With this release, option *WITH_PYTHONQT* changes default to **off**.
  12. There does not seem to be any serious use of the PythonQt API and
  13. the UI opportunities it offers, so begin the process of deprecating
  14. and removing that. Sometime in the future, QML pages will fill the
  15. gap for easily-prototyped-yet-slick UI elements.
  16. - A crash when no *finished* page (or rather, no page at all) is
  17. configured after the last *exec* section of the sequence has been
  18. solved. The *finished* page can be left out (but then you don't get
  19. the restart-now functionality). #1168
  20. - The *slideshow* which is run during installation now has API versions.
  21. API version 1 (the default) runs as before, where the slideshow is loaded
  22. when the installation starts. API version 2 loads the slideshow on
  23. Calamares startup, thus improving responsiveness. Documentation
  24. in `src/branding/README.md`. #1152
  25. - The example slideshow now uses API version 2.
  26. ## Modules ##
  27. - *initramfs* has been changed from a Python module to a C++ module.
  28. Packaging will need to adjust now it installs a .so instead of a .py.
  29. The module itself functions as before. It does have a new configuration
  30. option, to change the version passed as to the `-k` option of
  31. update-initramfs. #1180
  32. - *partition* Now has its own setting for *requiredStorage*, duplicating
  33. the same setting in the *welcome* module. This is useful for
  34. configurations where no *welcome* module is used, but a minimum
  35. size must be checked anyway. #1169
  36. # 3.2.9 (2019-06-03) #
  37. This release contains contributions from (alphabetically by first name):
  38. - Kevin Kofler
  39. ## Core ##
  40. No user- or deployer-visible changes. Bugfixing as usual, see the
  41. milestone for details.
  42. ## Modules ##
  43. - *branding* now supports os-release variables in the *strings* section,
  44. which allows re-using (at runtime) information set in /etc/os-release .
  45. This requires KDE Frameworks 5.58. #1150
  46. - *branding* allows the use of FreeDesktop.org icon names for the
  47. *productLogo* and *productIcon* keys. If a file is named there, then
  48. the file is used, and otherwise the icon is looked up in the current
  49. theme. #1160
  50. - *packages* On Arch, with the `pacman` package manager, avoid a hang
  51. during system update. #1154
  52. - *welcome* allows a custom image path or icon name to be set for the
  53. language-selection drop-down (instead of the international standard one).
  54. # 3.2.8 (2019-05-10) #
  55. This is a **source-incompatible** release of Calamares. Include files
  56. have been shuffled around, so third-party C++ modules will need
  57. adjustment to the changed names.
  58. This release contains contributions from (alphabetically by first name):
  59. - Arnaud Ferraris
  60. - Kevin Kofler
  61. ## Core ##
  62. - All user-visible texts referring to "MB" and "GB" now use the standard
  63. "MiB" and "GiB" wording, which matches what we were actually calculating
  64. with (i.e. 2^20 and 2^30 respectively). #1129
  65. - The side-pane, which shows the list of steps that will be executed,
  66. now tries to fit the text (name of each module) into the available space
  67. by shrinking the font as needed. #1137
  68. - *libcalamares* (accidentally) linked with Qt's GUI libraries when
  69. PythonQt was found. This led to the odd situation where the non-GUI
  70. Calamares library depends on a bunch of GUI libraries.
  71. - *libcalamares* The `utils/` subdirectory has been hugely refactored,
  72. with functionality split out into separate files. C++ modules will
  73. need to have their `#include` names updated. Basically, users of
  74. `utils/CalamaresUtils.h` will need to include the header file for
  75. the functionality that is actually used.
  76. ## Modules ##
  77. - *finished* has a new mechanism for configuring the behavior of the
  78. *restart now* button. The old-style boolean configuration is still
  79. supported but generates a warning. #1138
  80. - *locale* module GeoIP configuration has a new preferred format.
  81. See `locale.conf` for details. The old configuration is still
  82. supported but will be phased out before 3.3.0 -- in particular,
  83. support for "legacy" format will be removed, since that was a
  84. crutch for the disappearance of one GeoIP provider in 2018.
  85. - *oemid* is a new module for configuring OEM phase-0 (image pre-mastering,
  86. or pre-deployment) things. It has limited functionality at the moment,
  87. writing only a single batch-identifier file. #943
  88. - *welcome* can now do GeoIP lookups as well (but be careful with the
  89. configuration, since you need a GeoIP that provides country information,
  90. not just timezones). This will let Calamares select a starting language
  91. that matches where it is -- which might not be useful at all. #934
  92. - All Python modules now bail out gracefully on (at least some) bad
  93. configurations, rather than raising an exception. The pre-release
  94. scripts now test for exceptions to avoid shipping modules with
  95. ImportError or SyntaxError results.
  96. # 3.2.7 (2019-04-27) #
  97. This is a **hotfix** release for regressions introduced in the
  98. Python modules. The *localecfg* module was unusable because of
  99. a missing `import`.
  100. # 3.2.6 (2019-04-25) #
  101. This release contains contributions from (alphabetically by first name):
  102. - Arnaud Ferraris
  103. - Dominic Hayes (feren)
  104. - Raul Rodrigo Segura (raurodse)
  105. ## Core ##
  106. * Under-the-hood code cleanups in lots of parts of the core. Calamares now
  107. builds without warnings when Clang 8 is used.
  108. * A new *disable-cancel-during-exec* setting provides more fine-grained
  109. control than *disable-cancel*, which hides the button entirely.
  110. #1122 (Thanks to Dominic, FerenOS)
  111. * A branding module can now also cause a stylesheet to be loaded, which
  112. will be applied to the widgets inside Calamares. #961 (Thanks to Raul)
  113. ## Modules ##
  114. * All of the Python-based modules now have translations enabled. #991
  115. * *Displaymanager* module has improved support for LightDM configuration.
  116. #1123 (Thanks to Dominic, FerenOS)
  117. * *License* module can now display local files inline, and scrolls to
  118. allow longer lists of licenses and to support long license texts
  119. displayed inline. #1124 #1125 #1052
  120. * *Partition* module has additional checks for validity partition layouts.
  121. #1127 (Thanks to Arnaud)
  122. * *Welcome* module has improved usability: a standard icon
  123. alongside the *Language* label, for improved recognition,
  124. and improved language-list display and sorting. #1107
  125. # 3.2.5 (2019-04-15) #
  126. This release contains contributions from (alphabetically by first name):
  127. - Arnaud Ferraris
  128. - Dan Simmons
  129. - Gabriel Craciunescu
  130. ## Core ##
  131. * View modules (in C++) can now perform their own requirements-checking
  132. to see if installation makes sense. This expands upon the existing
  133. requirements checks in the welcome module (RAM, disk space, ..).
  134. The checks have been made asynchronous, so that responsiveness during
  135. requirements-checking is improved and the user has better feedback.
  136. * Support for building an AppImage of Calamares has been added to the
  137. `ci/` directory. There are use-cases where a containerized build and
  138. configuration make sense rather than having Calamares installed in the
  139. host system. (Thanks to the AppImage team, Alexis)
  140. * OEM mode (phase-1) now correctly refers to Calamares as a "Setup Program"
  141. rather than an installer. #1100 (Thanks to Arnaud)
  142. ## Modules ##
  143. * *Bootloader* module: a serious bug introduced in 3.2.4 which prevents
  144. succesful boot after installation on EFI machines, has been repaired.
  145. (Thanks to Gabriel) #1104
  146. * *Displaymanager* module: it is no longer a fatal error to not have any
  147. display-managers. #1095
  148. * *Partition* module: it is now possible to build without libparted. Since
  149. KPMCore may not need this library anymore, it is a dependency that will
  150. be dropped as soon as it is feasible. Add this to the CMake flags:
  151. `-DCMAKE_DISABLE_FIND_PACKAGE_LIBPARTED=ON`
  152. * *Partition* module: the location that is selected for the bootloader,
  153. no longer changes when a new partition is created. #1098
  154. * Python modules: several modules have had translations added. This is
  155. usually only visible when the module runs as part of the *exec* step,
  156. when the module's *pretty name* is displayed. In addition, some error
  157. messages are now translated.
  158. * *UnpackFS* module: improved progress reporting and tests. #565
  159. # 3.2.4 (2019-02-12) #
  160. This release contains contributions from (alphabetically by first name):
  161. - Alf Gaida
  162. - aliveafter1000
  163. - Arnaud Ferraris
  164. - Caio Jordão Carvalho
  165. - Collabora LTD
  166. - Gabriel Craciunescu
  167. - Kevin Kofler
  168. - Philip Mueller
  169. - Scott Harvey
  170. ## Core ##
  171. * The Calamares application now recognizes the `-X` or `--xdg-config`
  172. option, which adds XDG_DATA_DIRS to the places used to find QML
  173. and branding directories, and XDG_CONFIG_DIRS to the places used
  174. to find the global settings and module configurations. This allows
  175. a more fine-grained, and more layered, approach to setting up
  176. Calamares configurations (in particular, distro's can **add**
  177. configuration files and give them priority, instead of **forking**
  178. configuration files).
  179. * The *branding* file now contains settings that control the size
  180. and resize behavior of Calamares. See the branding file for
  181. more documentation. In particular, the setting *windowExpanding*
  182. can be set to *normal*, *fullscreen* or *noexpand*.
  183. * The `settings.conf` file can now configure whether the *Cancel* button
  184. is shown (this isn't a branding thing, because it's quite fundamental
  185. to the workflow of the installer).
  186. ## Modules ##
  187. * The *partition* module supports RAID devices, but only when Calamares
  188. is compiled with the newest KPMCore release (3.3.0).
  189. * The calculation of required space -- including swap -- has been simplified,
  190. and Calamares no longer reserves 2GiB of space in calculations for internal
  191. use (this means that it no longer mysteriously drops swap when the disk
  192. size is close to the required installation size).
  193. * The name of the type of default filesystem (e.g. ext4 or btrfs) is now handled
  194. case- and localization-insensitively. This means that *btrfs* is now always
  195. an acceptable spelling.
  196. * The currently-selected disk device is remembered between manual partitioning
  197. and the partitioning-overview pages. (Thanks to Arnaud)
  198. * *partition* There is new support for partitioning layout presets.
  199. See `partition.conf` for documentation and details.
  200. * The *keyboard* module now handles the (bogus) Austrian keymap for
  201. the system console properly. (Thanks to Kevin)
  202. * The *preservefiles* module now has a mechanism for setting the permissions
  203. (and ownership) of preserved files. (Thanks to Scott)
  204. * New module *fsresizer* can be used to resize filesystems. It is intended
  205. for use in OEM installs where an image of fixed size is created,
  206. and then sized to the actual SD card the user has used.
  207. * The *mount* module now handles missing *extraMounts* and *extraMountsEfi*
  208. keys gracefully (this is probably a misconfiguration, though, and gives a
  209. warning).
  210. * The *packages* module now supports pre- and post-script options
  211. for all operations, not just during install (keep in mind that
  212. these run as three separate shells, though).
  213. * A new *rawfs* module supports straightforward copying of filesystems from
  214. the installation media to the target stystem. This can be used, for instance,
  215. for block-level-identical installations.
  216. # 3.2.3 (2019-01-09) #
  217. This release contains contributions from (alphabetically by first name):
  218. - aliveafter1000
  219. ## Core ##
  220. There are no core changes in this release.
  221. ## Modules ##
  222. * *partition* Fixed bug where, during detection of existing systems, the
  223. existing system partitions may be mounted and then files deleted.
  224. This is a **limited** version of the patch from aliveafter1000
  225. that will be in 3.2.4, which tries harder to mount filesystems
  226. read-only and unmodifiable.
  227. * *locale* It was possible to set the installer and system language
  228. (e.g. to German) while the global storage value for *locale*
  229. remained set to English. Then no localization packages are installed
  230. (see feature `${LOCALE}` in `packages.conf`). Reported downstream
  231. in Netrunner.
  232. # 3.2.2 (2018-09-04) #
  233. This release contains contributions from (alphabetically by first name):
  234. - Andrius Štikonas
  235. - artoo@cromnix.org
  236. - Caio Jordão Carvalho
  237. - Harald Sitter
  238. - Philip Müller
  239. - Simon Quigley
  240. - Walter Lapchynski
  241. ## Core ##
  242. * Example configurations are **no longer installed** by default.
  243. The default setting for *INSTALL_CONFIG* has changed. Distributions
  244. are strongly encouraged to write their own configuration files and
  245. not rely on the example configuration files. Example configurations
  246. may change unpredictably.
  247. * It is now possible to express module dependencies through the
  248. *requiredModules* key in `module.desc`. All of the required modules
  249. for a given module must occur in the sequence **before** the module
  250. requiring them. None of the core modules use this facility.
  251. * The search paths for QML files, branding descriptors and module
  252. descriptors have been revamped and now self-document in the log.
  253. * A new `ci/RELEASE.sh` script has been added to streamline releases;
  254. it is not guaranteed to work anywhere in particular though.
  255. ## Modules ##
  256. * When multiple modules are mutually exclusive, or don't make sense
  257. to enable concurrectly, a new `USE_<foo>` framework has been added
  258. to CMake to simplify the selection of modules. This is in addition
  259. to the existing `SKIP_MODULES` mechanism.
  260. * Various off-by-one-sector errors in the automatic partitioning
  261. mode have been corrected. In addition, swap space is calculated
  262. a little more conservatively.
  263. * A new module has been added to the core which can configure openrc
  264. services. To make services configuration consistent:
  265. - The *services* module has been **renamed** *services-systemd*,
  266. - The openrc module is named *services-openrc*,
  267. - At CMake time, it is possible to select all of the services modules,
  268. or one specific one, by setting the *USE_services* CMake variable.
  269. By default, all of the modules are built and installed.
  270. * The systemd-services module can now disable targets and mask both
  271. targets and services (which will allow you to break the system with
  272. a bad configuration). The configuration is a little more flexible
  273. because a service (or target) name can be used on its own with
  274. sensible defaults.
  275. * The displaymanager module has been entirely revamped. A long-standing
  276. bug which ignored the settings for default desktop has been fixed
  277. (thanks to Walter Lapchynski). Translations have been added to the
  278. error messages. Each DM now has an implementation class for doing
  279. all the configuration steps it needs. This groups the code needed for
  280. a specific DM (and presumably, per-distro) in one place.
  281. Distro's are **strongly advised** to re-test their DM configuration
  282. and installation with the revamped code.
  283. # 3.2.1 (2018-06-25) #
  284. This release contains contributions from (alphabetically by first name):
  285. - Bill Auguer
  286. - Gabriel Craciunescu
  287. - Phil Mueller
  288. - Raul Rodrigo Segura
  289. ## Core ##
  290. * Qt 5.7 is now the minimum required Qt version. Because KPMCore
  291. (a fairly fundamental dependency) requires Qt 5.7, Calamares
  292. has followed suit.
  293. * New testing application `loadmodule` for loading and running a
  294. single Calamares module.
  295. * New translations Belarussian and Korean.
  296. * Jobs can now be *emergency jobs* which run even after a failure.
  297. * Improved debugging when modules fail to load.
  298. * Bad configuration files will now cause the user-interface of
  299. Calamares to display an error message, rather than silently
  300. ignoring some configuration errors. This will certainly cause
  301. problems for distributions with sloppy configurations.
  302. ## Modules ##
  303. * New module preservefiles, keeps (log) files around after install;
  304. this duplicates functionality with the unmount module, but unmount
  305. is very late, rather limited, and fragile.
  306. * Interactiveterminal module now disables itself if build requirements
  307. are not met, rather than blocking the build.
  308. * Fixes in the timezone map data make the southern hemisphere more
  309. usable and put Reykjavik in its place.
  310. * The packages module can now update the target system if explicitly
  311. told to do so.
  312. * More paths and executables are configurable in the bootloader module.
  313. * Distributions are advised to review the `users.conf` setup **again**,
  314. as some changes in version 3.2.0 caused regressions downstream.
  315. * Distributions are advised to review their `locale.gen` files
  316. **again**. Previous changes were too restrictive, matching only
  317. the specific format Chakra Linux uses. Calamares now preserves
  318. all the comment-lines in the file and writes enabled locales
  319. at the end, with a descriptive comment.
  320. # 3.2.0 (2018-05-17) #
  321. This release contains contributions from (alphabetically by first name):
  322. - Alf Gaida
  323. - AlmAck
  324. - Caio Jordão Carvalho
  325. - Frede H
  326. ## Modules ##
  327. * UI annoyances in the partitioning module were fixed; the
  328. mount-point selector is now more obvious when no mount-point
  329. has been chosen, and the mount-point and flags are preserved
  330. when (re)editing partitions.
  331. * The handling of `@@ROOT@@` substitution in shellprocesses was
  332. backwards; this has been fixed (the substitution is made when
  333. running in the **host**).
  334. * The user shell is no longer hard-coded to `/bin/bash`,
  335. but follows the default setting for useradd(8), e.g.
  336. those set in `/etc/default/useradd`.