---
title: "oaspec 0.75.0 Breaking Changes on Hex | Since.dev"
description: "What each oaspec release removed, renamed or changed: 27 breaking changes in 3 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/oaspec
last_updated: 2026-12-04
---

# oaspec breaking changes

oaspec 0.75.0 (December 2, 2026) is its newest release with breaking changes, 8 of them. The first: Enum-typed array and header values not in the enum now answer 400 in oaspec 0.75.0. Every breaking API change we have recorded in oaspec on Hex: 27 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.75.1`, released December 2, 2026. MIT license. [Source repository](https://github.com/nao1215/oaspec)

- From [0.73.0](#v-0-73-0) to [0.75.0](#v-0-75-0): 26 breaking changes in 2 versions.

## oaspec 0.75.0 breaking changes

oaspec 0.75.0, released December 2, 2026: 8 breaking changes.

- **Behavior changed**  

Items of path, query and header parameters typed as $ref string enums are now matched against the enum values, and values that are not among them answer 400, including for optional arrays. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.75.0)
- **Behavior changed**  

A generated server now answers 400 for a Bool path, query, header or cookie parameter whose value is not true or false, where such values previously reached the handler as False. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.75.0)
- **Behavior changed**  

Generated clients send a multipart body as BytesBody and write binary part bytes unchanged. Code that relied on the previous body form must adapt. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.75.0)
- **Behavior changed**  

The JSON encoder and decoder of a multipart body record now write a binary part as a base64 string. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.75.0)
- **Behavior changed**  

A text part of a multipart body that is not valid UTF-8 is now treated as missing, so a required one answers 400. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.75.0)
- **Behavior changed**  

A generated server reads Bool parameters and fields only from lowercase true and false; other spellings such as TRUE or True now answer 400. Clients must send lowercase literals. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.75.0)
- **Signature changed**  

A type string format binary part of a multipart/form-data body is now a BitArray (an array of them is a List(BitArray)) rather than a String. Code that handles these parts must be updated. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.75.0)
- **Signature changed**  

A generated server with a multipart body containing a binary part takes body: BitArray in route and gives handlers the raw bytes of each binary part. Handlers must be updated to match. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.75.0)

## oaspec 0.74.0 breaking changes

oaspec 0.74.0, released November 21, 2026: 18 breaking changes.

- **Removed** `oaspec.codegen.writer`  

The writer module is no longer public; use oaspec.write. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `oaspec.generate`  

The generate module is no longer public; call oaspec.generate from the root module instead. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `oaspec.mock`  

Tests can pass a plain function as the Send instead. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `oaspec.openapi.diagnostic`  

Import oaspec/openapi instead; diagnostic_to_string is now openapi.diagnostic_to_string. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `oaspec.openapi.parser`  

Use oaspec.parse_file, oaspec.parse_string, or oaspec.resolve instead. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `oaspec.openapi.schema`  

Import oaspec/openapi instead. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `oaspec.openapi.spec`  

Import oaspec/openapi instead. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `openapi.diagnostic_to_string`  

The functions that build diagnostics are no longer public. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `transport.Method`  

Use gleam/http Method; projects need gleam add gleam_http. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)
- **Removed** `transport.with_default_header`  

Use with_default_headers with a list of pairs. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.74.0)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## oaspec 0.73.0 breaking changes

oaspec 0.73.0, released November 19, 2026: 1 breaking change.

- **Behavior changed**  

Generated code for allOf schemas that reference another allOf schema changes shape: the member is merged field by field rather than becoming a synthetic value_N field. Code that reads those value_N fields must be updated. [github.com](https://github.com/nao1215/oaspec/releases/tag/v0.73.0)

## 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.
