lib.types: add release notes

This commit is contained in:
Johannes Kirschbauer 2024-12-09 16:21:12 +01:00
parent f407f6f57e
commit 1d6a2c28a4
No known key found for this signature in database
2 changed files with 14 additions and 0 deletions

View File

@ -1844,6 +1844,12 @@
"sec-release-25.05-notable-changes": [ "sec-release-25.05-notable-changes": [
"release-notes.html#sec-release-25.05-notable-changes" "release-notes.html#sec-release-25.05-notable-changes"
], ],
"sec-release-25.05-lib": [
"release-notes.html#sec-release-25.05-lib"
],
"sec-release-25.05-lib-breaking": [
"release-notes.html#sec-release-25.05-lib-breaking"
],
"sec-release-24.11": [ "sec-release-24.11": [
"release-notes.html#sec-release-24.11" "release-notes.html#sec-release-24.11"
], ],

View File

@ -118,3 +118,11 @@
- `bind.cacheNetworks` now only controls access for recursive queries, where it previously controlled access for all queries. - `bind.cacheNetworks` now only controls access for recursive queries, where it previously controlled access for all queries.
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
## Nixpkgs Library {#sec-release-25.05-lib}
### Breaking changes {#sec-release-25.05-lib-breaking}
- 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).
- [`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.
- [`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.