Skip to content

Commit

Permalink
Edit release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Feb 26, 2025
1 parent 80020b6 commit 4a7bddd
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions doc/manual/source/release-notes/rl-2.27.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Release 2.27.0 (2025-02-26)
# Release 2.27.0 (2025-03-03)

- Set FD_CLOEXEC on sockets created by curl [#12439](https://github.com/NixOS/nix/pull/12439)

Curl creates sockets without setting FD_CLOEXEC/SOCK_CLOEXEC, this can cause connections to remain open forever when using commands like `nix shell`
- `inputs.self.submodules` flake attribute [#12421](https://github.com/NixOS/nix/pull/12421)

This change sets the FD_CLOEXEC flag using a CURLOPT_SOCKOPTFUNCTION callback.
Flakes in Git repositories can now declare that they need Git submodules to be enabled:
```
{
inputs.self.submodules = true;
}
```
Thus, it's no longer needed for the caller of the flake to pass `submodules = true`.

- Git LFS support [#10153](https://github.com/NixOS/nix/pull/10153) [#12468](https://github.com/NixOS/nix/pull/12468)

Expand All @@ -13,7 +17,7 @@
nix flake prefetch 'git+ssh://[email protected]/Apress/repo-with-large-file-storage.git?lfs=1'
```

A flake can also declare that it requires lfs to be enabled:
A flake can also declare that it requires LFS to be enabled:
```
{
inputs.self.lfs = true;
Expand All @@ -22,16 +26,9 @@

Author: [**@b-camacho**](https://github.com/b-camacho), [**@kip93**](https://github.com/kip93)

- `inputs.self.submodules` flake attribute [#12421](https://github.com/NixOS/nix/pull/12421)

Flakes in Git repositories can now declare that they need Git submodules to be enabled:
```
{
inputs.self.submodules = true;
}
```
Thus, it's no longer needed for the caller of the flake to pass `submodules = true`.
- Set `FD_CLOEXEC` on sockets created by curl [#12439](https://github.com/NixOS/nix/pull/12439)

Curl created sockets without setting `FD_CLOEXEC`/`SOCK_CLOEXEC`. This could previously cause connections to remain open forever when using commands like `nix shell`. This change sets the `FD_CLOEXEC` flag using a `CURLOPT_SOCKOPTFUNCTION` callback.

# Contributors

Expand Down

0 comments on commit 4a7bddd

Please sign in to comment.