Skip to content

v2025-06-05

Latest
Compare
Choose a tag to compare
@johnalotoski johnalotoski released this 05 Jun 22:11
a531b56

Overview:

Nixpkgs has been updated to 25.05 and nix to 2.29-maint. NixosModules and just recipes with breaking changes from those updates were fixed along with other miscellaneous improvements detailed below.

Details:

Important versioning updates in this release are underlined:

Component Release Pre-release
cardano-address 4.0.0 N/A
cardano-cli 10.8.0.0 10.8.0.0
cardano-db-sync 13.6.0.5 13.6.0.5
cardano-node 10.4.1 10.4.1
cardano-ogmios 6.11.2 N/A
mithril 2517.1 346b447
nix* 2.29.1 N/A
nixpkgs* 25.05 N/A

* = For nixos machine deployments

  • Bumps colmena to master HEAD, adds colmena to CI and updates just template recipes for breaking changes
  • Bumps nixpkgs from 24.11 -> 25.05
  • Bumps nix from 2.25.x -> 2.29.1
  • Bumps flake-parts to main HEAD and makes nixosModule adjustments for breaking changes
  • Bumps opentofu-registry and makes adjustments for breaking changes introduced with alpha and beta tag versioning
  • Optimizes the devShell by removal of the haskellNix input which is no longer needed
  • Improves the nixosModule profile-aws-ec2-ephemeral.nix with default ext2 mounting type and auto-mount on create features
  • Improves the nixosModule profile-grafana-alloy.nix for merging additional config
  • Adds default auto-gc of generations more than 30 days old to reduce aged packages and EOL sec triggers
  • Fixes recipe tofu cli arg passing for some use cases
  • Updates all three just demo recipe types to hard fork through to Plomin protocol version 10 and adds additional control params
  • Updates ip module abort and warn module messages with new info
  • Refactors all template script/recipes-* add-ons into scripts/recipes/*
  • Refactors demo recipes into scripts/recipes-* dir for easier Justfile diffing and patching

Breaking Changes, Recommended Updates and Action Items:

Breaking:

  • While not exactly breaking changes, there are a few updates in this release which are more disruptive than usual and deserve a call to attention:
    • If the Justfile is patched in the list of action items below, but the scripts/recipes-* files are not also migrated or vice-versa, some recipes will stop working
    • Deploying machines with this release will stop and restart more services than usual due to the nixpkgs update. Since a new kernel is also involved, a reboot after deployment should be done. The first deployment may report some secrets failures until reboot after which a second deployment will succeed.

Recommended Updates:

  • Update the cardano-parts pin to this release version v2025-06-05
  • Apply the template Justfile diff and patch or clone recipes on files described below.

Action Items:

Diff and patch the following files with just template-diff "$FILE" and then just template-patch "$FILE". Looking at the short PR diff for these files found at directory templates/cardano-parts-project/ prior to diffing and patching against your own repo can also be helpful.

Alternatively, if you know you would just like to mirror any of these template files without diffing or patching, use the
just template-clone "$FILE"` recipe.

flake/nixosModules/ip-module-check.nix               # To update the abort and warn ip module messages with new info
flake/opentofu/cluster.nix                           # To use nixos 25.05 AMIs by default
Justfile                                             # To relocate external recipes to an organized subdir and split demo recipes into that subdir also
scripts/cost-models/mainnet-plutusv3-pv10-prep.json  # A cost model reference file, matching mainnet to prepare for Conway to Plomin HF used in demo recipes
scripts/recipes/aws.just                             # Moved from scripts/recipes-aws.just
scripts/recipes-aws.just                             # Moved to scripts/recipes/aws.just
scripts/recipes/custom.just                          # Moved from scripts/recipes-custom.just
scripts/recipes-custom.just                          # Moved to scripts/recipes/custom.just
scripts/recipes/demo.just                            # Demo recipes externalized from the main Justfile
scripts/recipes/governance.just                      # Moved from scripts/recipes-governance.just
scripts/recipes-governance.just                      # Moved to scripts/recipes/governance.just
  • Machines deployed with this release should be rebooted after the initial deployment to nixpkgs 25.05 to ensure use of the new kernel.