Bump version to 0.5.0.
[oweals/dinit.git] / NEWS
1 == Version 0.5.0:
2
3 This version adds S6-compatible readiness notification support, and adds support for updating
4 the "utmp" database when services start/stop (this functionality should be avoided if possible
5 since the "utmp" database is mostly an historical artifact, and system support is often prone
6 to issues which allow unprivileged users to prevent updates and deny or delay logins; however,
7 utilities such as "who" may depend on the database being updated appropriately). 
8
9 Other changes:
10  * Add "-u" command line option to force running dinit as a user instance.
11  * Add a "chain-to" service property to better support recovery services.
12  * Add a "shares-console" service option to allow running services "on the console" without having
13    them own it exclusively.
14  * Add "inittab-id" and "inittab-line" service settings for utmp support.
15  * Minor bugfixes.
16
17 == Version 0.4.0:
18
19 This version focuses on being more "distribution friendly". It adds mechanisms to add and remove
20 dependencies, either temporarily or persistently, between services without manual editing of
21 service description files.
22
23 Changes:
24  * A new service description directive, "waits-for.d", allows specifying a directory for which the
25    contents (filenames) are read as dependencies. This provides a convenient way to add and remove
26    dependencies to service descriptions without editing the textual service description file. 
27  * dinitctl has new commands, "add-dep" and "rm-dep", to add or remove a dependency between
28    services. The dependency is not persisted and won't survive a restart. Check the man page for
29    details.
30  * dinitctl has new commands, "enable" and "disable". These permanently enable/disable
31    a service for some target ("boot" by default) by creating/destroying a symbolic link
32    in the waits-for.d directory specified in the service description (and create/remove
33    waits-for dependency dynamically). Check the man page for details.
34  * A code style guide has been added (in the "doc" directory).
35  * More tests, minor bugfixes.