Modal

Latest version: v0.73.139

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 21 of 44

0.64.109

- App handles can now be looked up by name with `modal.App.lookup(name)`. This can be useful for associating Sandboxes with Apps:

python
app = modal.App.lookup("my-app", create_if_missing=True)
modal.Sandbox.create("echo", "hi", app=app)

0.64.100

* The default timeout for `modal.Image.run_function` has been lowered to 1 hour. Previously it was 24 hours.

0.64.99

* Fixes an issue that could cause containers using `enable_memory_snapshot=True` on Python 3.9 and below to shut down prematurely.

0.64.97

* Added support for [ASGI lifespan protocol](https://asgi.readthedocs.io/en/latest/specs/lifespan.html):

python
app.function()
modal.asgi_app()
def func():
from fastapi import FastAPI, Request

def lifespan(wapp: FastAPI):
print("Starting")
yield {"foo": "bar"}
print("Shutting down")

web_app = FastAPI(lifespan=lifespan)

web_app.get("/")
def get_state(request: Request):
return {"message": f"This is the state: {request.state.foo}"}

return web_app


which enables support for `gradio>=v4` amongst other libraries using lifespans

0.64.87

- Sandboxes now support port tunneling. Ports can be exposed via the `open_ports` argument, and a list of active tunnels can be retrieved via the `.tunnels()` method.

0.64.67

- Fixed a regression in `modal launch` to resume displaying output when starting the container.

Page 21 of 44

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.