Skip to content

Commit 6fc71dc

Browse files
committed
docs: add release-notes as appendix
The release notes used to be an appendix in the manual. After converting to markdown that appendix got lost. This commit reintroduces the release notes into the manual.
1 parent abdc82d commit 6fc71dc

28 files changed

+888
-898
lines changed

docs/home-manager-manual.nix

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ in stdenv.mkDerivation {
3737
cp -t out/highlightjs ${nmd}/static/highlightjs/tomorrow-night.min.css
3838
cp ${./highlight-style.css} out/highlightjs/highlight-style.css
3939
40+
cp -r ${./release-notes} release-notes
41+
4042
nixos-render-docs manual html \
4143
--manpage-urls ./manpage-urls.json \
4244
--revision ${lib.trivial.revisionWithDefault revision} \

docs/manual/manual.md

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ nixos-options.md
2828
```{=include=} appendix html:into-file=//nix-darwin-options.html
2929
nix-darwin-options.md
3030
```
31+
```{=include=} appendix html:into-file=//release-notes.xhtml
32+
release-notes/release-notes.md
33+
```

docs/release-notes/release-notes.adoc

-33
This file was deleted.

docs/release-notes/release-notes.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Release Notes {#ch-release-notes}
2+
3+
This section lists the release notes for stable versions of Home Manager
4+
and the current unstable version.
5+
6+
```{=include=} chapters
7+
rl-2405.md
8+
rl-2311.md
9+
rl-2305.md
10+
rl-2211.md
11+
rl-2205.md
12+
rl-2111.md
13+
rl-2105.md
14+
rl-2009.md
15+
rl-2003.md
16+
rl-1909.md
17+
rl-1903.md
18+
rl-1809.md
19+
```
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
[[sec-release-18.09]]
2-
== Release 18.09
1+
# Release 18.09 {#sec-release-18.09}
32

43
The 18.09 release branch became the stable branch in September, 2018.

docs/release-notes/rl-1903.adoc

-59
This file was deleted.

docs/release-notes/rl-1903.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Release 19.03 {#sec-release-19.03}
2+
3+
The 19.03 release branch became the stable branch in April, 2019.
4+
5+
## Highlights {#sec-release-19.03-highlights}
6+
7+
This release has the following notable changes:
8+
9+
- The [opt-home.file._name_.source](#opt-home.file._name_.source) option now allows source
10+
files to be hidden, that is, having a name starting with the `.`
11+
character. It also allows the source file name to contain characters
12+
not typically allowed for Nix store paths. For example, your
13+
configuration can now contain things such as
14+
15+
``` nix
16+
home.file."my file".source = ./. + "/file with spaces!";
17+
```
18+
19+
- The type used for the systemd unit options under
20+
[opt-systemd.user.sockets](#opt-systemd.user.sockets),
21+
etc. has been changed to offer more robust merging of
22+
configurations. If you don't override values within systemd units
23+
then you are not affected by this change. Unfortunately, if you do
24+
override unit values you may encounter errors.
25+
26+
In particular, if you get an error saying that a "unique option" is
27+
"defined multiple times" then you need to use the
28+
[`mkForce`](https://nixos.org/nixos/manual/#sec-option-definitions-setting-priorities)
29+
function. For example,
30+
31+
``` nix
32+
systemd.user.services.foo.Service.ExecStart = "/foo/bar";
33+
```
34+
35+
becomes
36+
37+
``` nix
38+
systemd.user.services.foo.Service.ExecStart = lib.mkForce "/foo/bar";
39+
```
40+
41+
We had to make this change because the old merging was causing too
42+
many confusing situations for people.
43+
44+
## State Version Changes {#sec-release-19.03-state-version-changes}
45+
46+
The state version in this release includes the changes below. These
47+
changes are only active if the [opt-home.stateVersion](#opt-home.stateVersion) option is
48+
set to "19.03" or later.
49+
50+
- There is now an option [opt-programs.beets.enable](#opt-programs.beets.enable) that
51+
defaults to `false`. Before the module would be active if the
52+
[opt-programs.beets.settings](#opt-programs.beets.settings) option was non-empty.

docs/release-notes/rl-1909.adoc

-31
This file was deleted.

docs/release-notes/rl-1909.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Release 19.09 {#sec-release-19.09}
2+
3+
The 19.09 release branch became the stable branch in October, 2019.
4+
5+
## Highlights {#sec-release-19.09-highlights}
6+
7+
This release has the following notable changes:
8+
9+
- The `programs.firefox.enableGoogleTalk` and
10+
`programs.firefox.enableIcedTea` options are now deprecated and will
11+
only work if Firefox ESR 52.x is used.
12+
13+
- The `home-manager` tool now provides an `uninstall` sub-command that
14+
can be used to uninstall Home Manager, if used in the standalone
15+
mode. That is, not as a NixOS module.
16+
17+
## State Version Changes {#sec-release-19.09-state-version-changes}
18+
19+
The state version in this release includes the changes below. These
20+
changes are only active if the `home.stateVersion` option is set to
21+
\"19.09\" or later.
22+
23+
- The [opt-programs.firefox.package](#opt-programs.firefox.package) option now expects a
24+
wrapped Firefox package and defaults to `pkgs.firefox`.
25+
26+
- The options [opt-home.keyboard.layout](#opt-home.keyboard.layout) and
27+
[opt-home.keyboard.variant](#opt-home.keyboard.variant) now default to `null`, which
28+
indicates that the system value should be used.

docs/release-notes/rl-2003.adoc

-126
This file was deleted.

0 commit comments

Comments
 (0)