Skip to content

2.2.7

Choose a tag to compare

@Lancetnik Lancetnik released this 22 Dec 14:55
· 187 commits to main since this release
458e8f1

What's Changed

  • bugfix: correct yield overriding by @Lancetnik in #50
    from fast_depends import inject, Depends, dependency_provider
    
    def dep1():
        yield 1
    
    def dep2():
        yield 2
    
    @inject()
    def func(d = Depends(dep1)):
        return d
    
    assert func() == 1
    
    with dependency_provider.scope(dep1, dep2):
        assert func() == 2
  • build(deps): bump actions/download-artifact from 3 to 4 by @dependabot in #44
  • build(deps-dev): bump black from 23.11.0 to 23.12.0 by @dependabot in #48
  • build(deps-dev): bump isort from 5.13.0 to 5.13.2 by @dependabot in #47
  • build(deps): bump dawidd6/action-download-artifact from 2.28.0 to 3.0.0 by @dependabot in #45
  • build(deps-dev): bump ruff from 0.1.7 to 0.1.8 by @dependabot in #46
  • build(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in #43

Full Changelog: 2.2.6...2.2.7