Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: modern-python/modern-di-faststream
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.7.1
Choose a base ref
...
head repository: modern-python/modern-di-faststream
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.8.0
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jun 4, 2026

  1. chore: migrate to faststream 0.7 (drop <0.7 support)

    Bumps the dependency from "faststream>=0.5,<0.7" to "faststream>=0.7,<0.8".
    Drops the _OLD_MIDDLEWARES runtime version-sniff entirely — single code
    path, no compat shim, no <0.7 support. The package's version="0"
    pre-release posture allows the hard break.
    
    Changes:
    - pyproject.toml: pin "faststream>=0.7,<0.8".
    - modern_di_faststream/main.py:
      - Remove "from importlib.metadata import version".
      - Remove _OLD_MIDDLEWARES sniff and its <0.6 branch in
        _DiMiddleware.faststream_context.
      - Collapse the if/else property pair into a single property
        returning self.context.
    
    Companion to:
    planning/specs/2026-06-04-faststream-0.7-migration-design.md
    planning/plans/2026-06-04-faststream-0.7-migration-pr2-plan.md
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    lesnik512 and claude committed Jun 4, 2026
    Configuration menu
    Copy the full SHA
    2c7a01b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4 from modern-python/chore/faststream-0.7-migration

    chore: migrate to faststream 0.7 (drop <0.7 support)
    lesnik512 authored Jun 4, 2026
    Configuration menu
    Copy the full SHA
    cd94a3b View commit details
    Browse the repository at this point in the history
Loading