Skip to content

Commit c2f63e8

Browse files
committed
Release notes
1 parent e95312c commit c2f63e8

File tree

2 files changed

+54
-38
lines changed

2 files changed

+54
-38
lines changed

doc/manual/source/release-notes-determinate/changes.md

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -159,32 +159,18 @@ This section lists the differences between upstream Nix 2.33 and Determinate Nix
159159

160160
<!-- Determinate Nix version 3.16.0 -->
161161

162-
* Wasm support by @edolstra in [DeterminateSystems/nix-src#309](https://github.com/DeterminateSystems/nix-src/pull/309)
162+
* Wasm support [DeterminateSystems/nix-src#309](https://github.com/DeterminateSystems/nix-src/pull/309)
163163

164-
* builtins.wasm: Check against values with ID 0 by @edolstra in [DeterminateSystems/nix-src#324](https://github.com/DeterminateSystems/nix-src/pull/324)
164+
* Fix hung downloads when `http-connections = 0` [DeterminateSystems/nix-src#327](https://github.com/DeterminateSystems/nix-src/pull/327)
165165

166-
* filetransfer: don't allow the queue size to be 0 by @cole-h in [DeterminateSystems/nix-src#327](https://github.com/DeterminateSystems/nix-src/pull/327)
166+
* Support .gitattributes in subdirectories [DeterminateSystems/nix-src#335](https://github.com/DeterminateSystems/nix-src/pull/335)
167167

168-
* Sync with upstream 2.33.2 by @edolstra in [DeterminateSystems/nix-src#332](https://github.com/DeterminateSystems/nix-src/pull/332)
168+
* builtins.getFlake fixes [DeterminateSystems/nix-src#337](https://github.com/DeterminateSystems/nix-src/pull/337)
169169

170-
* Support .gitattributes in subdirectories by @edolstra in [DeterminateSystems/nix-src#335](https://github.com/DeterminateSystems/nix-src/pull/335)
170+
* builtins.getFlake: Support path values [DeterminateSystems/nix-src#338](https://github.com/DeterminateSystems/nix-src/pull/338)
171171

172-
* BinaryCacheStore::queryPathInfoUncached(): Ensure noexcept by @edolstra in [DeterminateSystems/nix-src#336](https://github.com/DeterminateSystems/nix-src/pull/336)
172+
* Provenance [DeterminateSystems/nix-src#321](https://github.com/DeterminateSystems/nix-src/pull/321)
173173

174-
* Enable static builds by @RossComputerGuy in [DeterminateSystems/nix-src#323](https://github.com/DeterminateSystems/nix-src/pull/323)
174+
* Add subcommand 'nix provenance show' [DeterminateSystems/nix-src#340](https://github.com/DeterminateSystems/nix-src/pull/340)
175175

176-
* builtins.getFlake fixes by @edolstra in [DeterminateSystems/nix-src#337](https://github.com/DeterminateSystems/nix-src/pull/337)
177-
178-
* Provenance by @edolstra in [DeterminateSystems/nix-src#321](https://github.com/DeterminateSystems/nix-src/pull/321)
179-
180-
* builtins.getFlake: Support path values by @edolstra in [DeterminateSystems/nix-src#338](https://github.com/DeterminateSystems/nix-src/pull/338)
181-
182-
* Add subcommand 'nix provenance show' by @edolstra in [DeterminateSystems/nix-src#340](https://github.com/DeterminateSystems/nix-src/pull/340)
183-
184-
* Record builder host name in build provenance by @edolstra in [DeterminateSystems/nix-src#341](https://github.com/DeterminateSystems/nix-src/pull/341)
185-
186-
* Build provenance improvements by @edolstra in [DeterminateSystems/nix-src#343](https://github.com/DeterminateSystems/nix-src/pull/343)
187-
188-
* Store provenance info in the NAR info disk cache by @edolstra in [DeterminateSystems/nix-src#344](https://github.com/DeterminateSystems/nix-src/pull/344)
189-
190-
* Increase the open file soft limit to the hard limit by @edolstra in [DeterminateSystems/nix-src#347](https://github.com/DeterminateSystems/nix-src/pull/347)
176+
* Increase the open file soft limit to the hard limit [DeterminateSystems/nix-src#347](https://github.com/DeterminateSystems/nix-src/pull/347)

doc/manual/source/release-notes-determinate/v3.16.0.md

Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,52 @@
22

33
* Based on [upstream Nix 2.33.2](../release-notes/rl-2.33.md).
44

5-
## What's Changed
6-
* Wasm support by @edolstra in [DeterminateSystems/nix-src#309](https://github.com/DeterminateSystems/nix-src/pull/309)
7-
* builtins.wasm: Check against values with ID 0 by @edolstra in [DeterminateSystems/nix-src#324](https://github.com/DeterminateSystems/nix-src/pull/324)
8-
* filetransfer: don't allow the queue size to be 0 by @cole-h in [DeterminateSystems/nix-src#327](https://github.com/DeterminateSystems/nix-src/pull/327)
9-
* Sync with upstream 2.33.2 by @edolstra in [DeterminateSystems/nix-src#332](https://github.com/DeterminateSystems/nix-src/pull/332)
10-
* Support .gitattributes in subdirectories by @edolstra in [DeterminateSystems/nix-src#335](https://github.com/DeterminateSystems/nix-src/pull/335)
11-
* BinaryCacheStore::queryPathInfoUncached(): Ensure noexcept by @edolstra in [DeterminateSystems/nix-src#336](https://github.com/DeterminateSystems/nix-src/pull/336)
12-
* Enable static builds by @RossComputerGuy in [DeterminateSystems/nix-src#323](https://github.com/DeterminateSystems/nix-src/pull/323)
13-
* builtins.getFlake fixes by @edolstra in [DeterminateSystems/nix-src#337](https://github.com/DeterminateSystems/nix-src/pull/337)
14-
* Provenance by @edolstra in [DeterminateSystems/nix-src#321](https://github.com/DeterminateSystems/nix-src/pull/321)
15-
* builtins.getFlake: Support path values by @edolstra in [DeterminateSystems/nix-src#338](https://github.com/DeterminateSystems/nix-src/pull/338)
16-
* Add subcommand 'nix provenance show' by @edolstra in [DeterminateSystems/nix-src#340](https://github.com/DeterminateSystems/nix-src/pull/340)
17-
* Record builder host name in build provenance by @edolstra in [DeterminateSystems/nix-src#341](https://github.com/DeterminateSystems/nix-src/pull/341)
18-
* Build provenance improvements by @edolstra in [DeterminateSystems/nix-src#343](https://github.com/DeterminateSystems/nix-src/pull/343)
19-
* Store provenance info in the NAR info disk cache by @edolstra in [DeterminateSystems/nix-src#344](https://github.com/DeterminateSystems/nix-src/pull/344)
20-
* Increase the open file soft limit to the hard limit by @edolstra in [DeterminateSystems/nix-src#347](https://github.com/DeterminateSystems/nix-src/pull/347)
5+
## Support `.gitattributes` in subdirectories
6+
7+
For performance, the Git backwards compatibility hack was only applied to repositories that had a `.gitattributes` in the root directory.
8+
However, it is possible to have a `.gitattributes` file in a subdirectory, and there are real-world repos that do this, so we have dropped that restriction.
9+
10+
PR: [DeterminateSystems/nix-src#335](https://github.com/DeterminateSystems/nix-src/pull/335)
11+
12+
## Fix hung downloads when `http-connections = 0`
13+
14+
When we started limiting the number of active cURL handles in [DeterminateSystems/nix-src#315](https://github.com/DeterminateSystems/nix-src/pull/315), we did not take into account that `http-connections = 0` is a special value that means, roughly "as many connections as possible" (the exact behavior is up to cURL).
15+
16+
This should now be fixed.
17+
18+
PR: [DeterminateSystems/nix-src#327](https://github.com/DeterminateSystems/nix-src/pull/327)
19+
20+
## `builtins.getFlake` fixes
21+
22+
`builtins.getFlake` now supports using relative paths, like:
23+
24+
```nix
25+
builtins.getFlake ./..
26+
```
27+
28+
instead of the hacky
29+
30+
```nix
31+
builtins.getFlake (builtins.flakeRefToString { type = "path"; path = self.sourceInfo.outPath; narHash = self.narHash; });
32+
```
33+
34+
Note that allowing `builtins.getFlake` to fetch from store paths is probably a bad idea, since it's ambiguous when using chroot stores, so a warning will be printed when this is encountered.
35+
36+
PRs:
37+
* [DeterminateSystems/nix-src#337](https://github.com/DeterminateSystems/nix-src/pull/337)
38+
* [DeterminateSystems/nix-src#338](https://github.com/DeterminateSystems/nix-src/pull/338)
39+
40+
## Increase open file limit
41+
42+
Recently, some users have reported seeing errors like:
43+
44+
```
45+
error: creating git packfile indexer: failed to create temporary file '/Users/anon/.cache/nix/tarball-cache-v2/objects/pack/pack_git2_56d617039ac17c2b': Too many open files
46+
```
47+
48+
This should now be fixed.
49+
50+
PR: [DeterminateSystems/nix-src#347](https://github.com/DeterminateSystems/nix-src/pull/347)
2151

2252

2353
**Full Changelog**: [v3.15.2...v3.16.0](https://github.com/DeterminateSystems/nix-src/compare/v3.15.2...v3.16.0)

0 commit comments

Comments
 (0)