From d6a5ae9b927151331b8b1fb808ab4ab6939133b3 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 24 May 2023 17:23:38 +0200 Subject: [PATCH 1/2] Fixup release notes --- doc/manual/src/release-notes/rl-2.13.md | 9 +++++++++ doc/manual/src/release-notes/rl-next.md | 10 ---------- 2 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 doc/manual/src/release-notes/rl-next.md diff --git a/doc/manual/src/release-notes/rl-2.13.md b/doc/manual/src/release-notes/rl-2.13.md index 0759f890413d..28a7f373116d 100644 --- a/doc/manual/src/release-notes/rl-2.13.md +++ b/doc/manual/src/release-notes/rl-2.13.md @@ -38,3 +38,12 @@ * You can now disable the global flake registry by setting the `flake-registry` configuration option to an empty string. The same can be achieved at runtime with `--flake-registry ""`. + +* Since 2.13.4, a new function `builtins.readFileType` is available. It is similar to + `builtins.readDir` but acts on a single file or directory. + +* Since 2.13.4, the `builtins.readDir` function has been optimized when encountering not-yet-known + file types from POSIX's `readdir`. In such cases the type of each file is/was + discovered by making multiple syscalls. This change makes these operations + lazy such that these lookups will only be performed if the attribute is used. + This optimization affects a minority of filesystems and operating systems. diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md deleted file mode 100644 index 8a79703abd82..000000000000 --- a/doc/manual/src/release-notes/rl-next.md +++ /dev/null @@ -1,10 +0,0 @@ -# Release X.Y (202?-??-??) - -* A new function `builtins.readFileType` is available. It is similar to - `builtins.readDir` but acts on a single file or directory. - -* The `builtins.readDir` function has been optimized when encountering not-yet-known - file types from POSIX's `readdir`. In such cases the type of each file is/was - discovered by making multiple syscalls. This change makes these operations - lazy such that these lookups will only be performed if the attribute is used. - This optimization affects a minority of filesystems and operating systems. From 9d7451a1fb1623c69314434f85e942b6df40e860 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 24 May 2023 18:09:48 +0200 Subject: [PATCH 2/2] Update doc/manual/src/release-notes/rl-2.13.md Co-authored-by: Valentin Gagarin --- doc/manual/src/release-notes/rl-2.13.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/src/release-notes/rl-2.13.md b/doc/manual/src/release-notes/rl-2.13.md index 28a7f373116d..8fc8fdaaf369 100644 --- a/doc/manual/src/release-notes/rl-2.13.md +++ b/doc/manual/src/release-notes/rl-2.13.md @@ -43,7 +43,7 @@ `builtins.readDir` but acts on a single file or directory. * Since 2.13.4, the `builtins.readDir` function has been optimized when encountering not-yet-known - file types from POSIX's `readdir`. In such cases the type of each file is/was + file types from POSIX's `readdir`. In such cases the type of each file was discovered by making multiple syscalls. This change makes these operations lazy such that these lookups will only be performed if the attribute is used. This optimization affects a minority of filesystems and operating systems.