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

# protobuf breaking changes

protobuf 0.15.0 (July 22, 2025) is its newest release with breaking changes, 3 of them. The first: Removed Protobuf.new!.1. Every breaking API change we have recorded in protobuf on Hex: 11 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.17.1`, released October 9, 2026. MIT license. [Source repository](https://github.com/elixir-protobuf/protobuf)

- From [0.10.0](#v-0-10-0) to [0.15.0](#v-0-15-0): 10 breaking changes in 4 versions.

## protobuf 0.15.0 breaking changes

protobuf 0.15.0, released July 22, 2025: 3 breaking changes.

- **Removed** `Protobuf.new!.1`  

The deprecated Protobuf.new/0, Protobuf.new/1 and Protobuf.new!/1 functions are gone; code calling them will fail and must be changed. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.15.0/CHANGELOG.md)
- **Removed** `Protobuf.new.0`  

The deprecated Protobuf.new/0, Protobuf.new/1 and Protobuf.new!/1 functions are gone; code calling them will fail and must be changed. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.15.0/CHANGELOG.md)
- **Removed** `Protobuf.new.1`  

The deprecated Protobuf.new/0, Protobuf.new/1 and Protobuf.new!/1 functions are gone; code calling them will fail and must be changed. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.15.0/CHANGELOG.md)

## protobuf 0.14.0 breaking changes

protobuf 0.14.0, released January 16, 2025: 2 breaking changes.

- **Behavior changed**  

Generated struct modules now depend on their transform modules, which can create circular dependencies if the transform module depends on the struct module in the other direction. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.14.0/CHANGELOG.md)
- **Configuration changed**  

The package now includes the Google modules itself. Projects that depend on :google_protos must remove that dependency to avoid conflicts. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.14.0/CHANGELOG.md)

## protobuf 0.13.0 breaking changes

protobuf 0.13.0, released September 20, 2024: 1 breaking change.

- **Behavior changed**  

Encoding a struct as a message type it does not match is no longer allowed, so code that relied on this will now get an error. Make sure each struct is encoded as its own message type. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.13.0/CHANGELOG.md)

## protobuf 0.12.0 breaking changes

protobuf 0.12.0, released April 26, 2023: 4 breaking changes.

- **Removed** `Protobuf.Wire.Varint`  

Protobuf.Wire.Varint is no longer part of the public API and code that calls it must stop using it. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed**  

Encoding google.protobuf.Value fields holding NaN or Infinity to JSON now raises instead of encoding them. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed**  

Strings that are not valid UTF-8 now raise during encoding or decoding, where they were previously accepted. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed** `Protobuf.TypeEncodeError`  

Encode errors raise Protobuf.EncodeError. Code that rescues Protobuf.TypeEncodeError must rescue Protobuf.EncodeError instead. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.12.0/CHANGELOG.md)

## protobuf 0.10.0 breaking changes

protobuf 0.10.0, released May 13, 2022: 1 breaking change.

- **Behavior changed** `@type t`  

A module that calls use Protobuf and defines only @type t or defstruct now raises an error. Users must adjust such modules. [github.com](https://github.com/elixir-protobuf/protobuf/blob/v0.10.0/CHANGELOG.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.
