> ## Documentation Index
> Fetch the complete documentation index at: https://os.inttegro.dev/simile/llms.txt
> Use this file to discover all available pages before exploring further.

# Simile 0.4.0

> Request-bound synthesis, supervised tests, proxy learning, issue reporting, and broader HTTP outcomes.

Released November 22, 2026.

Simile 0.4.0 strengthens the connection between an incoming request and the result returned to the
caller. It also adds complete workflows for testing an application, learning from proxied traffic,
and reporting reproducible emulator inconsistencies.

> [!NOTE]
>
> This release advances the compiled artifact format to version 24. Recompile existing service
> artifacts with `simile update SERVICE` before starting them with Simile 0.4.0.

## Test applications against a supervised service

* `simile test` starts a registered service, runs an application test command, injects the selected
  profile, forwards the test process exit code, and shuts the service down.
* The new container image supports local Docker runs and CI service containers.
* Practical guides cover [local testing](https://os.inttegro.dev/simile/local-testing.md), [CI](https://os.inttegro.dev/simile/ci-testing.md),
  [GitHub Actions](https://os.inttegro.dev/simile/github-actions.md), and [Docker](https://os.inttegro.dev/simile/docker.md).

## Learn a draft service from traffic

* `simile proxy --learn` forwards local integration traffic to a real provider.
* Learning stores sanitized evidence and produces a conservative OpenAPI contract and Simfile for
  review.
* Simile now discovers a conventional `Simfile` for `register`, `describe`, and `start`.

Start with [Proxy and learn](https://os.inttegro.dev/simile/proxy-and-learn.md) to understand the workflow and its evidence limits.

## Preserve the request through response synthesis

* Request-to-response bindings are hard postconditions for body, path, query, header, and cookie
  inputs.
* Bound values can use concatenation, substring extraction, masking, and conditional defaults.
* Synthesis omits unrelated optional properties and inactive union branches by default.
* Simile fails explicitly when it cannot construct a result that satisfies every applicable
  schema, constraint, binding, selected outcome, and state rule.

The [request and response relations](https://os.inttegro.dev/simile/request-response-relations.md) guide describes the published
contract language.

## Return more kinds of HTTP outcomes

* Response synthesis covers JSON, text, form URL-encoded, multipart, and octet-stream bodies.
* Declared response headers are compiled and synthesized.
* Bodyless redirects can return a generated `Location` header.

## Build results from service state

* Provider-authored state projections resolve stored public references into private synthesis
  inputs without changing the validated caller request.
* A projection can select a declared public outcome when a reference is missing or a public
  predicate fails.
* Stored mutation snapshots are completed with schema-required response fields before request
  relations are applied.

Read [Stateful services](https://os.inttegro.dev/simile/stateful-services.md) for the service-authoring model.

## Report reproducible inconsistencies

* A service provider can publish its own report destination.
* Profiles can store automatic-reporting consent and reporter contact details privately.
* Simile verifies a reproduction, checks for available upgrades, removes sensitive values,
  deduplicates repeated incidents, and records local report history.
* Runtime failures are captured outside the HTTP request path so reporting cannot delay the
  emulated operation.

See [Issues and reporting](https://os.inttegro.dev/simile/issue-reporting.md) for the consent and verification flow.

## Install or inspect the release

* [Download Simile 0.4.0](https://os.inttegro.dev/simile/downloads.md)
* [View the signed GitHub release](https://github.com/inttegro/simile/releases/tag/v0.4.0)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.