Skip to content

Bump version to 0.2.1#127

Merged
yuval-qf merged 3 commits intomainfrom
feature/bump-version-to-0-2-1
Nov 3, 2025
Merged

Bump version to 0.2.1#127
yuval-qf merged 3 commits intomainfrom
feature/bump-version-to-0-2-1

Conversation

@yuval-qf
Copy link
Collaborator

@yuval-qf yuval-qf commented Nov 3, 2025

Description

Motivation and Context

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • 🎨 Code style/refactoring (no functional changes)
  • 🧪 Test updates
  • 🔧 Configuration/build changes

Changes Made

Screenshots/Examples (if applicable)

Checklist

  • I have read the CONTRIBUTING.md guide
  • My code follows the code style of this project (PEP 8, type hints, docstrings)
  • I have run uv run black . to format my code
  • I have run uv run flake8 . and fixed all issues
  • I have run uv run mypy --config-file .mypy.ini . and addressed type checking issues
  • I have run uv run bandit -c .bandit.yaml -r . for security checks
  • I have added tests that prove my fix is effective or that my feature works
  • I have run uv run pytest and all tests pass
  • I have manually tested my changes
  • I have updated the documentation accordingly
  • I have added/updated type hints for new/modified functions
  • My changes generate no new warnings
  • I have checked my code for security issues
  • Any dependent changes have been merged and published

Testing

Test Configuration:

  • Python version:
  • OS:
  • Other relevant details:

Test Steps:
1.
2.
3.

Additional Notes

Related Issues/PRs

  • Fixes #
  • Related to #
  • Depends on #

@yuval-qf yuval-qf self-assigned this Nov 3, 2025
@yuval-qf yuval-qf requested a review from drorIvry as a code owner November 3, 2025 12:40
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 3, 2025

Summary by CodeRabbit

  • Chores
    • Version bumped to 0.2.1
    • Updated fastapi to >=0.121.0
    • Updated uvicorn to >=0.38.0
    • Suppressed deprecation warnings from websockets

Walkthrough

Bumped project version to 0.2.1, raised dependency bounds for FastAPI and Uvicorn in pyproject.toml, and suppressed two websockets deprecation warnings in rogue/__main__.py. No exported/public API signatures or runtime control-flow changes were introduced.

Changes

Cohort / File(s) Summary
Version bump
VERSION
Updated version string from 0.2.00.2.1.
Project metadata / dependencies
pyproject.toml
Bumped dependency bounds: fastapi >=0.115.0>=0.121.0, uvicorn >=0.32.0>=0.38.0. Removed an empty trailing line under [project.scripts].
Runtime warnings suppression
rogue/__main__.py
Added warnings import and two warnings.filterwarnings calls to silence specific websockets deprecation warnings at module import time. No behavioral or API-signature changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Pay attention to dependency bound changes in pyproject.toml and verify CI/tests with updated versions.
  • Review rogue/__main__.py additions to ensure the suppressed warnings target the correct deprecations and do not hide other important warnings.

Possibly related PRs

Suggested reviewers

  • drorIvry

Poem

🐰 A tiny hop, a tidy tune,
From two-oh-naught to two-one soon,
Dependencies nudged, a warning hushed,
I nibble carrots, release notes brushed,
Hooray — the package hops along! 🥕

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description consists entirely of the template structure with no substantive information filled in. Critical sections including 'Description', 'Motivation and Context', 'Type of Change' (no checkbox selected), 'Changes Made', 'Testing', and 'Related Issues/PRs' are all empty or incomplete. While the template structure is present, the lack of actual content means reviewers cannot understand the reasoning, scope, or impact of the changes. Fill in all required sections of the description: provide a clear description of the changes (version bump, dependency updates, deprecation warning suppression), explain the motivation and context for this release, select the appropriate 'Type of Change' (likely Configuration/build changes), list the specific changes made, provide testing details confirming functionality, and reference any related issues. At minimum, describe what was bumped and why.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The pull request title 'Bump version to 0.2.1' directly and clearly describes the main change in the changeset. The version file shows a bump from 0.2.0 to 0.2.1, and the pyproject.toml confirms dependency updates as part of this release. The title is concise, specific, and accurately reflects the primary objective of the pull request.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/bump-version-to-0-2-1

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

Copy link
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

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5084df9 and 761be02.

📒 Files selected for processing (1)
  • VERSION (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: rogue_sanity
  • GitHub Check: codestyle

@@ -1 +1 @@
0.2.0
0.2.1
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion | 🟠 Major

🧩 Analysis chain

Verify version consistency and changelog updates across the project.

The VERSION file has been updated to 0.2.1, but several cross-cutting concerns need verification:

  1. Version consistency: Is this version updated in all project files (e.g., setup.py, package.json, pyproject.toml, init.py)?
  2. Release documentation: Has a CHANGELOG been updated to document what fixes/features are included in this patch release?
  3. PR context: The PR description is empty. For version bumps, it's important to document the motivation and related issues/PRs to maintain clear audit trails.

Run the following script to verify version references across the project:


🏁 Script executed:

#!/bin/bash
# Description: Search for version references to ensure consistency across the project.

echo "=== Checking version references ==="
rg -n "0\.2\.(0|1)" --type=py --type=toml --type=json --type=yaml --type=txt -g '!.git' | head -20

echo ""
echo "=== Checking for CHANGELOG files ==="
fd -i changelog -o fd -i 'release.*notes' | head -10

echo ""
echo "=== Checking setup.py or pyproject.toml for version strings ==="
fd -e py -e toml | xargs -I {} grep -l "version" {} 2>/dev/null | head -10

Length of output: 1715


🏁 Script executed:

#!/bin/bash
# Description: Inspect actual version definitions across project files

echo "=== Checking pyproject.toml [project] section ==="
grep -A5 "^\[project\]" pyproject.toml | head -10

echo ""
echo "=== Checking rogue/__init__.py for __version__ ==="
head -20 rogue/__init__.py

echo ""
echo "=== Checking rogue/common/version.py ==="
cat rogue/common/version.py 2>/dev/null || echo "File not found"

echo ""
echo "=== Finding CHANGELOG/HISTORY/RELEASE files ==="
find . -maxdepth 2 -type f \( -iname "CHANGELOG*" -o -iname "HISTORY*" -o -iname "RELEASE*" -o -iname "NEWS*" \) 2>/dev/null

echo ""
echo "=== Checking if version 0.2.1 appears anywhere in those discovered files ==="
grep -r "0\.2\.1" . --include="CHANGELOG*" --include="HISTORY*" --include="RELEASE*" --include="NEWS*" 2>/dev/null || echo "No matches in changelog/history/release files"

Length of output: 2010


Create a CHANGELOG documenting the 0.2.1 release and provide context in PR description.

Version 0.2.1 in the VERSION file is properly structured for the project (it's read by rogue/common/version.py's get_version() function and pyproject.toml correctly uses dynamic = ["version"]). However:

  1. No CHANGELOG exists in the project. Version 0.2.1 has no documentation of what fixes, features, or changes prompted this patch-level bump.
  2. Empty PR description provides no context. For maintainability and audit trails, the PR should document:
    • What motivated the patch bump (bug fixes, features, etc.)?
    • Which issues or prior PRs does this resolve?
    • Any breaking changes or migration notes?

Add a CHANGELOG.md file documenting the 0.2.1 release, and fill out the PR description with context.

🤖 Prompt for AI Agents
In VERSION around line 1, the repo was bumped to 0.2.1 but there is no CHANGELOG
or PR context; create a new CHANGELOG.md at the repo root documenting the 0.2.1
release (release heading with date and version), list the
fixes/features/bugfixes included in this patch, reference related issue and PR
numbers, note any breaking changes or migration steps (if none, state "no
breaking changes"), and add a concise PR description that states why the bump
was made, what it fixes, which issues/PRs it closes, and any developer/user
impact.

@yuval-qf yuval-qf enabled auto-merge (squash) November 3, 2025 12:54
Copy link
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

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 761be02 and 2f054bd.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • pyproject.toml (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
pyproject.toml

📄 CodeRabbit inference engine (AGENTS.md)

Manage dependencies with uv and declare them in pyproject.toml

Files:

  • pyproject.toml
🧠 Learnings (1)
📚 Learning: 2025-10-05T15:28:00.385Z
Learnt from: CR
Repo: qualifire-dev/rogue PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-10-05T15:28:00.385Z
Learning: Applies to pyproject.toml : Manage dependencies with uv and declare them in pyproject.toml

Applied to files:

  • pyproject.toml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: rogue_sanity
  • GitHub Check: codestyle

@yuval-qf yuval-qf merged commit 8b6c517 into main Nov 3, 2025
8 of 10 checks passed
@yuval-qf yuval-qf deleted the feature/bump-version-to-0-2-1 branch November 3, 2025 12:58
Copy link
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: 0

🧹 Nitpick comments (1)
rogue/__main__.py (1)

22-32: Add TODO comment to track removal of websockets deprecation suppressions.

These warnings are confirmed to originate from Uvicorn/websockets dependencies (not project code). Uvicorn 0.38.0+ can still produce these warnings unless explicitly configured to use the SansIO protocol, which has been available since Uvicorn 0.35.0.

Add a TODO comment above the suppressions to track when these can be removed (either when Uvicorn fully transitions to SansIO by default, or when the project migrates to the SansIO backend). For example:

# TODO: Remove these suppressions once Uvicorn fully migrates to SansIO
# or when the project upgrades to use --ws websockets-sansio backend
warnings.filterwarnings(
    "ignore",
    category=DeprecationWarning,
    message="websockets.legacy is deprecated",
)
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2f054bd and eb0692f.

📒 Files selected for processing (1)
  • rogue/__main__.py (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.py

📄 CodeRabbit inference engine (AGENTS.md)

**/*.py: Format Python code with Black
Ensure code passes flake8 linting
Run mypy with the repository configuration for static typing
Run Bandit security checks using .bandit.yaml configuration
Use isort import conventions for import ordering
Add type hints to all function signatures
Follow PEP 8 naming (snake_case for variables/functions, PascalCase for classes)
Use try/except around code that may raise exceptions

Files:

  • rogue/__main__.py
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: codestyle
  • GitHub Check: rogue_sanity
🔇 Additional comments (1)
rogue/__main__.py (1)

5-5: LGTM!

The warnings import is properly placed and necessary for the warning suppression below.

@coderabbitai coderabbitai bot mentioned this pull request Nov 9, 2025
21 tasks
@drorIvry drorIvry mentioned this pull request Nov 10, 2025
21 tasks
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