# Modal changelog

What changed in each Modal simulator release, newest first.

What changed in each Modal simulator release, newest first.

## v0.0.4 — 2026-11-25

1. **A deployed class is called by name.** `modal.Cls.from_name` now returns a class you can call: its methods, its parameters and `with_options` work as they do on the class itself. Every method used to raise `NotFoundError`.

2. **A command's output arrives as it is written.** A loop over a running command's `stdout` or `stderr` now gets each line when the command writes it, from `Sandbox.exec` and from a sandbox's own command. Output used to arrive only when the command ended.

3. **`Image.env` sets variables.** A variable an image sets with `Image.env` now reaches the commands of a sandbox and the code of a function on that image. `env=` on the sandbox or the function replaces one of the same name.

4. **A stopped app ends its calls and takes no more.** `modal.App.lookup(name).stop()`, and leaving `with app.run():`, now end the app's running calls and containers at once, a scheduled run included. After the stop, a handle you kept raises `ConflictError` and a lookup by name raises `NotFoundError`. A stopped app used to keep taking calls.

5. **Two SDK errors are gone.** Listing a directory that holds a fifo or a socket with `sandbox.filesystem` no longer raises `ValueError`: each is listed as a file. A run that calls a function or a sandbox command no longer logs `Auth token does not contain exp field`.

6. **A sandbox unmounts an image and waits until ready.** `unmount_image` and `wait_until_ready` no longer raise `UnimplementedError`. The simulator runs no readiness probe, so `wait_until_ready` returns once the sandbox has started, and the files an image brought stay at its path after the unmount.

7. **Dicts, queues, secrets and apps are listed.** `Dict.objects.list` and `Queue.objects.list` now work, and `modal app list` lists the simulator's apps. `Secret.objects.list` now returns every secret once, newest first, and `max_objects` keeps the newest. With 100 secrets or more it used to repeat some and leave out the newest.

8. **`modal.Queue.objects.create` creates a queue.** Creating a queue by name with `modal.Queue.objects.create` now works. It used to raise `NotFoundError`.

## v0.0.3 — 2026-11-22

1. **`rate_limits: real` applies Modal's documented rate limits.** With the setting on, a call past one of them, such as parametrized function creation's burst of 1,000 refilled at 1 a second, returns `RESOURCE_EXHAUSTED`. With the setting off, the default, no call is refused for speed.

## v0.0.2 — 2026-11-22

1. **A map and a run of spawns run their calls at once.** Calls sent together now run on several containers, where they ran one after another in one: as many as the function's `max_containers` allows, up to the simulator's limit on running commands, which is 16 unless `RYSTIC_COMPUTE_MAX_LIVE` raises it. A function that sets `@modal.concurrent` runs that many inputs in each container. A sandbox command that needs a place among the 16 takes it from a container with no call to run, where it used to fail.

2. **A sandbox is found again, and a named secret changes.** `Sandbox.from_name` returns the running sandbox of that name, a second running sandbox cannot take the name, and a sandbox fetched with `Sandbox.from_id` or `Sandbox.from_name` runs commands. `sb.stdin` reaches the command given to `Sandbox.create`. A second `modal secret create` for a name now fails, `--force` replaces the secret's values, and a deploy fails when a secret lacks one of its `required_keys`. `Cls.with_options(secrets=...)` and `with_options(env=...)` reach the class's containers. A function's own code can call `.map()`, `.remote()` and `.spawn()` on another function. A snapshot past the simulator's limit of 64 between resets raises an error, where it used to return an image that restored empty.

3. **A deployed function's schedule runs.** A function deployed with `schedule=modal.Period(...)` or `schedule=modal.Cron(...)` now runs when a test moves the simulator's clock past its due times, once for each and at most 100 times in one move. Nothing runs at the deploy, and `modal.App.lookup(name).stop()` ends the schedule. A schedule used to be stored and never run.

4. **A printed line arrives whole.** Inside `modal.enable_output()` a line a function prints is shown in one piece. A line could arrive in two pieces, with the SDK's own output between them, when the simulator read the container in the middle of a write. Output that ends no line, such as a prompt or a progress bar, now shows when its container ends.

5. **Dicts, queues and a secret's whole life.** `modal.Dict` and `modal.Queue` now work, by name or ephemeral, from your test and from inside a function: a queue keeps its partitions apart, and an empty `get` returns `None` or raises `queue.Empty` at its timeout. `Secret.update` and `modal secret delete` work too, and `Secret.objects.list` lists the simulator's secrets while it holds fewer than 100. `Dict.objects.list` and `Queue.objects.list` do not work yet.

6. **A legacy filesystem snapshot returns its image.** With `MODAL_USE_LEGACY_FILESYSTEM_SNAPSHOT=1`, `snapshot_filesystem()` on a sandbox created with `gpu=` now returns an image, and a sandbox created from it reads the file back. It used to raise `ExecutionError`.

## v0.0.1 — 2026-11-21

1. **A local Modal for the code that calls it through the Python SDK.** The first release of the Modal simulator serves the SDK's gRPC API on one port. It serves apps and functions, which you call with `.remote()`, `.spawn()` and `.map()` or deploy and call by name, and the methods of a class while its app runs. A function takes `secrets=` and `env=`, `modal.enable_output()` shows what each function prints, and a name can be deployed again. Its sandboxes run commands with stdin, exit codes, tags, `env=` and a filesystem API, on a sandbox created with `gpu=` too. Your function code and sandbox commands run for real, as local processes, and return their own results. Nothing reaches Modal.

2. **Four scenarios to boot straight into.** `modal_app_states` (six apps across the app lifecycle), `modal_map_backlog` (a thumbnail batch app caught mid-run), `modal_nightly_etl` (a deployed nightly job on its fourth version) and `modal_sandbox_fleet` (four sandboxes running, exited, timed out and terminated). `--scenario` boots one, and `POST /_rystic/scenario` loads one without a restart.

3. **Tested against live Modal.** The newest full measurement, of 2026-11-21, matched 191 of the 192 tests that compare the simulator with Modal (99.5%), and every one of them gave a verdict. The simulator's page lists, under Limitations, the differences this release ships with, among them generators, web endpoints and a deployed class looked up by name.

4. **The Docker image runs your code with no Python on your machine.** The simulator's image carries a Python with the `modal` package the simulator is built against, first on its `PATH`, so a plain `docker run` runs your sandboxes' commands and your functions. Set `RYSTIC_COMPUTE_PYTHON`, or mount an environment over `/opt/rystic/python`, to run them on a Python of your own. A call whose Python is missing or has no `modal` fails with an error that says what to install.

---

Source: https://www.rystic.ai/docs/simulators/modal/changelog · Markdown: https://www.rystic.ai/docs/simulators/modal/changelog.md
