Skip to content

Prep for release 0.13.0#1097

Merged
ben-edna merged 2 commits intomainfrom
prep-for-0.13.0
Mar 31, 2026
Merged

Prep for release 0.13.0#1097
ben-edna merged 2 commits intomainfrom
prep-for-0.13.0

Conversation

@ben-edna
Copy link
Copy Markdown
Contributor

@ben-edna ben-edna commented Mar 31, 2026

Summary by CodeRabbit

  • Chores
    • Released version 0.13.0. Updated package version number and changelog. Re-recorded terminal session examples and updated all test expectations to reflect the new version.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 31, 2026

Walkthrough

This PR releases version 0.13.0 by updating the package version constant, marking the changelog as released, regenerating asciicast recordings and feature test expectations with the new version string, and updating release automation documentation paths.

Changes

Cohort / File(s) Summary
Version and Release
CHANGELOG.rst, dfetch/__init__.py
Updated package version from 0.12.1 to 0.13.0 and marked Release 0.13.0 changelog header as released on 2026-03-30.
Documentation
doc/howto/contributing.rst, doc/tutorials/installation.rst
Updated release tagging and version example instructions to reference 0.13.0 and next version 0.14.0.
Asciicast Recordings
doc/asciicasts/*.cast (14 files)
Regenerated terminal session recordings with updated Dfetch version output (0.12.10.13.0), adjusted timestamps, and modified terminal metadata (width 111→114 for most); includes: add.cast, basic.cast, check-ci.cast, check.cast, diff.cast, environment.cast, format-patch.cast, freeze.cast, import.cast, init.cast, interactive-add.cast, report.cast, sbom.cast, update-patch.cast, update.cast, validate.cast.
Feature Test Expectations
features/*.feature (31 files)
Updated expected CLI version strings from Dfetch (0.12.1) to Dfetch (0.13.0) across all test scenarios; consistent changes applied across: check-*.feature, fetch-*.feature, guard-against-overwriting-*.feature, journey-*.feature, list-projects.feature, patch-*.feature, report-sbom.feature, suggest-project-name.feature, update-patch-*.feature, updated-project-has-dependencies.feature, validate-manifest.feature, and handle-invalid-metadata.feature.
Release Automation
script/release.py
Updated documentation file paths in release script: doc/installation.rstdoc/tutorials/installation.rst and doc/contributing.rstdoc/howto/contributing.rst.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Release 0.12.0 #1010: Performs identical release-related edits with version bumps, changelog updates, and asciicast/feature regeneration.
  • Prepare for release 0.11.0 #911: Contains the same code-level release-preparation changes for version bumping and test fixture updates.
  • Next-dev-cycle #1011: Modifies the same script/release.py documentation replacement patterns for release automation.

Suggested labels

development, documentation, testing

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Prep for release 0.13.0' directly and clearly summarizes the main objective of the changeset, which is to prepare for the 0.13.0 release by updating version numbers and documentation throughout the codebase.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch prep-for-0.13.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
script/release.py (1)

65-70: ⚠️ Potential issue | 🟡 Minor

Fix the version replacement in installation.rst to avoid corrupting documentation examples.

The regex r"``\d+\.\d+\.\d+``" matches and replaces 0.13.0 at line 30 in doc/tutorials/installation.rst, but this is a generic example used to explain version format conventions ("If it is only numbers (e.g. 0.13.0), it is an official release."), not an actual version number. Replacing it with the release version would make the documentation misleading.

Either remove this file from the replacement targets or adjust the replacement logic to preserve documentation examples.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@script/release.py` around lines 65 - 70, The replacement is too broad and
corrupts example text in doc/tutorials/installation.rst; update the call to
replace_pattern_in_files so it either skips that file or narrows the
search_pattern to only match real version tokens (for example require a
preceding context like "Release:" or a version directive) instead of any
``0.13.0``-style example; locate the call to replace_pattern_in_files and change
its arguments to exclude "doc/tutorials/installation.rst" or tighten the regex
to include contextual anchors so only actual release/version occurrences are
replaced.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@doc/asciicasts/interactive-add.cast`:
- Around line 100-103: The recorded ignore list in
doc/asciicasts/interactive-add.cast currently contains ".circleci", ".github",
"tests" (see the "ignore:" block), which conflicts with the expected inputs in
features/interactive-add.feature that expect "docs" and "tests"; fix this by
either re-recording interactive-add.cast so the interactive input sequence
submits "docs" and "tests" for the ignore list, or update the feature scenario
to match the recorded entries, ensuring the "ignore:" entries in
interactive-add.cast and the expected values in features/interactive-add.feature
are identical.

---

Outside diff comments:
In `@script/release.py`:
- Around line 65-70: The replacement is too broad and corrupts example text in
doc/tutorials/installation.rst; update the call to replace_pattern_in_files so
it either skips that file or narrows the search_pattern to only match real
version tokens (for example require a preceding context like "Release:" or a
version directive) instead of any ``0.13.0``-style example; locate the call to
replace_pattern_in_files and change its arguments to exclude
"doc/tutorials/installation.rst" or tighten the regex to include contextual
anchors so only actual release/version occurrences are replaced.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: ba24c1ba-2c30-4bad-9cbb-56fd93d275b3

📥 Commits

Reviewing files that changed from the base of the PR and between b6cc295 and 3a6304b.

📒 Files selected for processing (53)
  • CHANGELOG.rst
  • dfetch/__init__.py
  • doc/asciicasts/add.cast
  • doc/asciicasts/basic.cast
  • doc/asciicasts/check-ci.cast
  • doc/asciicasts/check.cast
  • doc/asciicasts/diff.cast
  • doc/asciicasts/environment.cast
  • doc/asciicasts/format-patch.cast
  • doc/asciicasts/freeze.cast
  • doc/asciicasts/import.cast
  • doc/asciicasts/init.cast
  • doc/asciicasts/interactive-add.cast
  • doc/asciicasts/report.cast
  • doc/asciicasts/sbom.cast
  • doc/asciicasts/update-patch.cast
  • doc/asciicasts/update.cast
  • doc/asciicasts/validate.cast
  • doc/howto/contributing.rst
  • doc/tutorials/installation.rst
  • features/check-archive.feature
  • features/check-git-repo.feature
  • features/check-specific-projects.feature
  • features/check-svn-repo.feature
  • features/checked-project-has-dependencies.feature
  • features/diff-in-git.feature
  • features/diff-in-svn.feature
  • features/fetch-archive.feature
  • features/fetch-checks-destination.feature
  • features/fetch-file-pattern-git.feature
  • features/fetch-file-pattern-svn.feature
  • features/fetch-git-repo-with-submodule.feature
  • features/fetch-git-repo.feature
  • features/fetch-single-file-git.feature
  • features/fetch-single-file-svn.feature
  • features/fetch-with-ignore-git.feature
  • features/fetch-with-ignore-svn.feature
  • features/guard-against-overwriting-git.feature
  • features/guard-against-overwriting-svn.feature
  • features/handle-invalid-metadata.feature
  • features/journey-basic-patching.feature
  • features/journey-basic-usage.feature
  • features/list-projects.feature
  • features/patch-after-fetch-git.feature
  • features/patch-after-fetch-svn.feature
  • features/patch-fuzzy-matching-git.feature
  • features/report-sbom.feature
  • features/suggest-project-name.feature
  • features/update-patch-in-git.feature
  • features/update-patch-in-svn.feature
  • features/updated-project-has-dependencies.feature
  • features/validate-manifest.feature
  • script/release.py

@ben-edna ben-edna merged commit 3ec05b0 into main Mar 31, 2026
40 checks passed
@ben-edna ben-edna deleted the prep-for-0.13.0 branch March 31, 2026 09:18
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.

2 participants