# What changed in ts-proto

> 6 changes in ts-proto 2 from its official release notes, upgrade guides and advisories: 6 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/ts-proto/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## ts-proto 2

### New APIs and options

- Exports protobufFileName next to protobufPackage, making the protobuf file name available to developers. (2.18.0) — [release notes](https://github.com/stephenh/ts-proto/releases/tag/v2.18.0)
- Adds an option to type google.protobuf.Value as unknown. (2.17.0) — [release notes](https://github.com/stephenh/ts-proto/releases/tag/v2.17.0)
- Adds an option to prefix generated enum names. (2.16.0) — [release notes](https://github.com/stephenh/ts-proto/releases/tag/v2.16.0)
- Adds an option to suffix generated enum names. (2.16.0) — [release notes](https://github.com/stephenh/ts-proto/releases/tag/v2.16.0)
- Adds an option to prefix generated message names. (2.16.0) — [release notes](https://github.com/stephenh/ts-proto/releases/tag/v2.16.0)
- Adds an option to suffix generated message names. (2.16.0) — [release notes](https://github.com/stephenh/ts-proto/releases/tag/v2.16.0)
