Bump version.
[oweals/dinit.git] / NEWS
1 == Version 0.8.0
2
3 This release includes major usability features.
4
5 * New command "dinitcheck" checks service descriptions for errors (without attempting to load
6   or start the service). Checks the named service(s) and any dependencies.
7 * Service descriptions can now be reloaded, using "dinitctl reload <service-name>". This works
8   for services which are started, with some restrictions, and for services which are stopped,
9   and allows dependencies to be altered.
10 * dinitctl now defaults to the system process socket location when run as root. This means that
11   using '-s' is no longer necessary (it is still supported for backwards compatibility). A new
12   '-u' option can be used to communicate with the user daemon, if there is one.
13
14 == Version 0.7.0
15
16 This release adds a minor feature, and includes a re-work of some base functionality
17 (which should not affect most use cases).
18
19  * dinitctl "restart" command added. Re-starts an already-running service without affecting
20    activation or dependency links.
21  * dinitctl "stop" command now requires a `--force` option if dependents of the specified
22    service would also need to stop.
23  * dinitctl "wake" command now reconnects dependency links from dependents of the specified
24    service, and can only be used if at least one such dependent is started.
25
26 == Version 0.6.1:
27
28 This is a bug-fix release with several minor fixes:
29
30  * Resource limits were not properly being set.
31  * Prevent early termination when standard input is closed or set to a device which cannot
32    be watched for input.
33  * Control protocol fix, possibly not affecting any real usage.
34
35 == Version 0.6.0:
36
37 This release adds a number of minor features:
38
39  * Better behaviour when boot fails. User can choose an action from reboot, resume boot process,
40    start the "recovery" service, or power-off. 
41  * New service settings for limiting resources at the process level: "rlimit-nofile",
42    "rlimit-core", "rlimit-data", "rlimit-addrspace". Both hard and soft limits can be set.
43    See dinit-service(5) for details.
44  * New "env-file" setting allows per-setting environment to be specified via a file. The file
45    is re-read each time the service process is started. 
46  * Added a "--quiet" option to suppress console output from Dinit.
47  * Dinit when run as a user daemon no longer logs via syslog. Logging to file can still be
48    enabled via the "-l"/"--log-file" option.
49  * Added a "--socket-path"/"-p" option to dinitctl, to specify the socket path for communication
50    with the dinit daemon.
51  
52 A number of minor bugfixes and other improvements are also implemented. An integration test
53 framework has been added with a small number of tests, to complement the existing unit tests.
54
55 == Version 0.5.2:
56
57 This is a bug-fix release for several minor issues which have been found in the preceding
58 release (0.5.1).
59
60  * Fix logging failure after log buffer becomes full.
61  * Fix readiness-fd notification not immediately updating service states.
62  * Fix use of old settings in sample configuration for Linux.
63  * Re-create control socket file node if it "disappears". Should solve issues if root filesystem
64    is mounted read-write on boot.
65  * Fix potential issue with service launch failure for services using a fixed notification fd. 
66
67 == Version 0.5.1:
68
69 This is a bug-fix release for several issues of varying severity which have been found in the
70 preceding release.
71
72  * Improved logging behaviour when a service runs "on console" for a very short time.
73  * Fix for crash due to SIGALRM on OpenBSD.
74  * Fixes for compiling with Musl C library.
75  * Fix dinitctl "enable" and "disable" commands when path to service directory is absolute.
76  * "termsignal" setting renamed "term-signal" and now supports "KILL" signal. "termsignal"
77    is still supported for compatibility with existing service descriptions.
78  * Other minor fixes.
79
80 == Version 0.5.0:
81
82 This version adds S6-compatible readiness notification support, and adds support for updating
83 the "utmp" database when services start/stop (this functionality should be avoided if possible
84 since the "utmp" database is mostly an historical artifact, and system support is often prone
85 to issues which allow unprivileged users to prevent updates and deny or delay logins; however,
86 utilities such as "who" may depend on the database being updated appropriately). 
87
88 Other changes:
89  * Add "-u" command line option to force running dinit as a user instance.
90  * Add a "chain-to" service property to better support recovery services.
91  * Add a "shares-console" service option to allow running services "on the console" without having
92    them own it exclusively.
93  * Add "inittab-id" and "inittab-line" service settings for utmp support.
94  * Minor bugfixes.
95
96 == Version 0.4.0:
97
98 This version focuses on being more "distribution friendly". It adds mechanisms to add and remove
99 dependencies, either temporarily or persistently, between services without manual editing of
100 service description files.
101
102 Changes:
103  * A new service description directive, "waits-for.d", allows specifying a directory for which the
104    contents (filenames) are read as dependencies. This provides a convenient way to add and remove
105    dependencies to service descriptions without editing the textual service description file. 
106  * dinitctl has new commands, "add-dep" and "rm-dep", to add or remove a dependency between
107    services. The dependency is not persisted and won't survive a restart. Check the man page for
108    details.
109  * dinitctl has new commands, "enable" and "disable". These permanently enable/disable
110    a service for some target ("boot" by default) by creating/destroying a symbolic link
111    in the waits-for.d directory specified in the service description (and create/remove
112    waits-for dependency dynamically). Check the man page for details.
113  * A code style guide has been added (in the "doc" directory).
114  * More tests, minor bugfixes.