Skip to content

Conversation

@dcrockwell
Copy link
Contributor

@dcrockwell dcrockwell commented Dec 13, 2025

This is the Dream 2.3.1 release PR.

Why

What

  • Added teapot (418) as a named HTTP status constant (documented per RFC 2324)
  • Bumped Dream to 2.3.1 and updated release notes / changelog / README
  • Committed the regenerated dream_mock_server manifest so builds don’t leave a dirty tree

How

  • Implemented pub const teapot = 418 in src/dream/http/status.gleam
  • Updated gleam.toml, CHANGELOG.md, README.md
  • Added releases/release-2.3.1.md

## Why This Change Was Made
- Avoid the magic-number anti-pattern for 418 by exposing a semantic constant (`teapot`) for readability
- Close out GitHub issue #38 by making “I’m a teapot” as easy to write as `ok` and `not_found`

## What Was Changed
- Added `teapot = 418` to `src/dream/http/status.gleam` with RFC 2324 documentation
- Bumped Dream to 2.3.1 and updated `CHANGELOG.md`, `README.md`, and added `releases/release-2.3.1.md`

## Note to Future Engineer
- This is intentionally tiny and backwards-compatible; if it breaks something, the universe is trying to tell you something about your assumptions
- If you ever feel tempted to type `418` again, take a deep breath, whisper “semantic clarity”, and choose `teapot` like the evolved being you are
## Why This Change Was Made
- The pre-commit/build steps regenerated the module manifest, leaving the working tree dirty
- Keeping generated manifests committed prevents confusing diffs for the next person and keeps module builds reproducible

## What Was Changed
- Updated `modules/mock_server/manifest.toml` to reflect the newer Dream dependency range/version resolution

## Note to Future Engineer
- Yes, this is a commit about a generated file. No, you are not hallucinating.
- If you’re annoyed, redirect that energy into making the generator deterministic (or into brewing coffee… unless you’re a teapot).
@dcrockwell dcrockwell changed the title The Teapot Moment Release 2.3.1: The Teapot Moment Dec 13, 2025
@dcrockwell dcrockwell self-assigned this Dec 13, 2025
@dcrockwell dcrockwell added enhancement New feature or request release Official public releases labels Dec 13, 2025
@dcrockwell dcrockwell merged commit 32c8113 into main Dec 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request release Official public releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants