Skip to content

Commit 1d6a2c2

Browse files
committed
lib.types: add release notes
1 parent f407f6f commit 1d6a2c2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

nixos/doc/manual/redirects.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,6 +1844,12 @@
18441844
"sec-release-25.05-notable-changes": [
18451845
"release-notes.html#sec-release-25.05-notable-changes"
18461846
],
1847+
"sec-release-25.05-lib": [
1848+
"release-notes.html#sec-release-25.05-lib"
1849+
],
1850+
"sec-release-25.05-lib-breaking": [
1851+
"release-notes.html#sec-release-25.05-lib-breaking"
1852+
],
18471853
"sec-release-24.11": [
18481854
"release-notes.html#sec-release-24.11"
18491855
],

nixos/doc/manual/release-notes/rl-2505.section.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,11 @@
118118
- `bind.cacheNetworks` now only controls access for recursive queries, where it previously controlled access for all queries.
119119

120120
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
121+
122+
## Nixpkgs Library {#sec-release-25.05-lib}
123+
124+
### Breaking changes {#sec-release-25.05-lib-breaking}
125+
126+
- Structure of the `functor` of some types has changed. `functor` is an implementation detail and should not be relied upon. If you did rely on it let us know in this [PR](https://github.com/NixOS/nixpkgs/pull/363565).
127+
- [`lib.types.enum`](https://nixos.org/manual/nixos/unstable/#sec-option-types-basic): Previously the `functor.payload` was the list of enum values directly. Now it is an attribute set containing the values in the `values` attribute.
128+
- [`lib.types.separatedString`](https://nixos.org/manual/nixos/unstable/#sec-option-types-string): Previously the `functor.payload` was the seperator directly. Now it is an attribute set containing the seperator in the `sep` attribute.

0 commit comments

Comments
 (0)