Skip to content

Add changelogs to modules - #2300

Merged
domenkozar merged 3 commits into
mainfrom
changelogs
Nov 24, 2025
Merged

domenkozar merged 3 commits into
mainfrom
changelogs

Conversation

@domenkozar

@domenkozar domenkozar commented Nov 21, 2025 •

Copy link
Copy Markdown
Member

Introduces a changelog system that displays release notes and
important updates to users after running devenv update.

Changelogs are defined using the changelogs option in any devenv.nix
module or configuration:

{
  changelogs = [
    {
      date = "2025-01-15";
      title = "git-hooks.package is now pkgs.prek";
      when = config.git-hooks.enable;
      description = ''
        Some markdown description of the change
      '';
    }
  ];
}

Each entry requires:

  • date: A YYYY-MM-DD formatted date string
  • title: Short description of the change
  • when: Condition for including the changelog (e.g., based on config)
  • description: Markdown-formatted detailed description

The hash is computed from date and title only, allowing descriptions
to be amended without affecting deduplication. Shown changelogs are
cached in .devenv/changelog-cache.json.

A new devenv changelogs command displays all relevant changelogs.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

@github-actions

github-actions Bot commented Nov 21, 2025 •

Copy link
Copy Markdown
Contributor

🔍 Suggested Reviewers

Based on git blame analysis of the changed lines, the following contributors have significant experience with the modified code:

Please consider reviewing this PR as you have authored significant portions of the code being modified. Your expertise would be valuable! 🙏

This comment was automatically generated by git-blame-auto-reviewer

Last updated: 2025-11-24T16:25:02.776Z

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 21, 2025 •

Copy link
Copy Markdown

Deploying devenv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7921e7d
Status: ✅  Deploy successful!
Preview URL: https://48373c7f.devenv.pages.dev
Branch Preview URL: https://changelogs.devenv.pages.dev

View logs

@domenkozar
domenkozar force-pushed the changelogs branch 3 times, most recently from e614603 to d2eb73f Compare November 24, 2025 00:02
Introduces a changelog system that displays release notes and
important updates to users after running `devenv update`.

Changelogs are defined using the `changelogs` option in any devenv.nix
module or configuration:

```nix
{
  changelogs = [
    {
      date = "2025-01-15";
      title = "git-hooks.package is now pkgs.prek";
      when = config.git-hooks.enable;
      description = ''
        Some markdown description of the change
      '';
    }
  ];
}
```

Each entry requires:
- `date`: A YYYY-MM-DD formatted date string
- `title`: Short description of the change
- `when`: Condition for including the changelog (e.g., based on config)
- `description`: Markdown-formatted detailed description

The hash is computed from date and title only, allowing descriptions
to be amended without affecting deduplication. Shown changelogs are
cached in `.devenv/changelog-cache.json`.

A new `devenv changelogs` command displays all relevant changelogs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@domenkozar
domenkozar merged commit 40cae33 into main Nov 24, 2025
276 of 295 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant