Skip to content

v1.0.0

Choose a tag to compare

@chokoswitch chokoswitch released this 13 Aug 06:56
· 55 commits to main since this release
bb0f25a

Welcome to pyvoy 1.0 - this release brings in a few bugfixes for corner cases found during release validation but is otherwise largely the same as 0.5.0. pyvoy is a complete Python application server, supporting ASGI, WSGI, Websockets, and even providing an optimized HTTP client. Most users will probably find it to be the fastest and most reliable server for their workloads. And advanced users can take advantage of every single feature of Envoy - offloading compression to its optimized core, applying circuit breakers and load shedding, client side load balancing, and more. We hope you enjoy using pyvoy and let us know how it goes.

https://pyvoy.dev

main.py

from fastapi import FastAPI

app = FastAPI()

@app.get("/")
async def hello() -> dict[str, str]:
    return {"message": "Hello, world!"}

Terminal 1:

uvx --with fastapi pyvoy main

Terminal 2:

> curl http://localhost:8000
{"message":"Hello, world!"}

🛠️ Bug fixes

  • Fix HTTP/3 for HTTP client
  • Support multiple values for same flag as documented
  • Propagate Envoy exit code to CLI exit code on error
  • Improve certain config validations

Full Changelog: v0.5.0...v1.0.0