---
title: "dream_mock_server 2.0.0 Breaking Changes on Hex | Since.dev"
description: "What each dream_mock_server release removed, renamed or changed: 10 breaking changes in 1 version on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/dream_mock_server
last_updated: 2026-12-04
---

# dream_mock_server breaking changes

dream_mock_server 2.0.0 (November 24, 2026) is its newest release with breaking changes, 10 of them. The first: Removed config.MockConfigContext. Every breaking API change we have recorded in dream_mock_server on Hex: 10 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.0`, released November 24, 2026. MIT license. [Source repository](https://github.com/TrustBound/dream%5Fmock%5Fserver)

## dream_mock_server 2.0.0 breaking changes

dream_mock_server 2.0.0, released November 24, 2026: 10 breaking changes.

- **Removed** `config.MockConfigContext`  

Code that used MockConfigContext must stop using it and start the server with server.start or server.start_with_config. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Removed** `controllers.api_controller`  

The endpoints are now internal modules, so code importing this controller must stop doing so. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Removed** `controllers.config_controller`  

The endpoints are now internal modules, so code importing this controller must stop doing so. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Removed** `controllers.stream_controller`  

The endpoints are now internal modules, so code importing this controller must stop doing so. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Removed** `router.create_config_router`  

Code that mounted config routes in a Dream server must start the mock server on its own port with server.start_with_config instead. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Removed** `router.create_router`  

Code that mounted the mock routes in a Dream server must start the mock server on its own port with server.start instead. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Behavior changed**  

CONNECT, TRACE and non-standard methods such as PURGE no longer get the GET answer; built-in endpoints return 404 for them and config routes must name the exact method. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Behavior changed**  

The mock server now runs on dream_http_server, so projects that relied on Dream being pulled in by this package may need to add it themselves. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Signature changed** `MockRoute.method`  

Config routes must wrap each method in Some(...) or use None, and import the methods from gleam/http. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)
- **Signature changed** `server.ServerHandle`  

Type annotations that named Dream's server handle type must name dream_mock_server/server.ServerHandle instead. [github.com](https://github.com/TrustBound/dream%5Fmock%5Fserver/releases/tag/2.0.0)

## Related packages

- [dream_config](https://since.dev/packages/hex/dream%5Fconfig.md)
- [dream_ets](https://since.dev/packages/hex/dream%5Fets.md)
- [dream_http_client](https://since.dev/packages/hex/dream%5Fhttp%5Fclient.md)
- [dream_opensearch](https://since.dev/packages/hex/dream%5Fopensearch.md)
- [dream_postgres](https://since.dev/packages/hex/dream%5Fpostgres.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
