Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add support for lifespan async context managers (superseding startup and shutdown events) #2944

Merged
merged 31 commits into from
Mar 7, 2023

Commits on Mar 13, 2021

  1. Add lifespan context argument

    uSpike committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    bb2ec92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4620732 View commit details
    Browse the repository at this point in the history
  3. Add lifespan docs

    uSpike committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    8c33c94 View commit details
    Browse the repository at this point in the history
  4. Fix lifespan typing

    uSpike committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    ecd6d27 View commit details
    Browse the repository at this point in the history
  5. Fix lifespan doc highlight

    uSpike committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    c736405 View commit details
    Browse the repository at this point in the history
  6. Fix event tests repeated code

    uSpike committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    bc1f5fa View commit details
    Browse the repository at this point in the history
  7. Fix import sorting

    uSpike committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    12e924d View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Configuration menu
    Copy the full SHA
    c78ba44 View commit details
    Browse the repository at this point in the history
  2. update lifespan to be an async context manager

    generator lifespans were deprectated in starlette 0.16.0
    https://github.com/encode/starlette/releases/tag/0.16.0
    meshantz authored and uSpike committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    c3a3d25 View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    uSpike committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    8b1dfd5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48fdb76 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92897b3 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Add lifespan context argument

    uSpike authored and JonathanPlasse committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    6f9ebea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    edef8c0 View commit details
    Browse the repository at this point in the history
  3. Add lifespan docs

    uSpike authored and JonathanPlasse committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    76968ca View commit details
    Browse the repository at this point in the history
  4. Fix lifespan typing

    uSpike authored and JonathanPlasse committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    0dbcb35 View commit details
    Browse the repository at this point in the history
  5. Fix lifespan doc highlight

    uSpike authored and JonathanPlasse committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    2712fb6 View commit details
    Browse the repository at this point in the history
  6. Fix event tests repeated code

    uSpike authored and JonathanPlasse committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    d15df2d View commit details
    Browse the repository at this point in the history
  7. Fix import sorting

    uSpike authored and JonathanPlasse committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    9665645 View commit details
    Browse the repository at this point in the history
  8. update lifespan to be an async context manager

    generator lifespans were deprectated in starlette 0.16.0
    https://github.com/encode/starlette/releases/tag/0.16.0
    meshantz authored and JonathanPlasse committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    628aa71 View commit details
    Browse the repository at this point in the history
  9. Fix formatting

    uSpike authored and JonathanPlasse committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    f612d74 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f13274c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0eed654 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    81591ba View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d60f9b8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2c05463 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. 🔀 Merge master

    tiangolo committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    5ae6547 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ef7cfa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b6dd1a View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    c842bdd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6adb554 View commit details
    Browse the repository at this point in the history