---
title: "@oxc-project/types 0.161.0 Breaking Changes on npm"
description: "What each @oxc-project/types release removed, renamed or changed: 30 breaking changes in 9 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@oxc-project/types
last_updated: 2026-12-04
---

# @oxc-project/types breaking changes

@oxc-project/types 0.161.0 (November 30, 2026) is its newest release with breaking changes, 9 of them. The first: Renamed PropertyKind. Every breaking API change we have recorded in @oxc-project/types on npm: 30 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.161.0`, released November 30, 2026. [Source repository](https://github.com/oxc-project/oxc)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.128.0](#v-0-128-0) to [0.161.0](#v-0-161-0): 26 breaking changes in 8 versions.

## @oxc-project/types 0.161.0 breaking changes

@oxc-project/types 0.161.0, released November 30, 2026: 9 breaking changes.

- **Renamed** `PropertyKind`  

PropertyKind is replaced by ObjectMethodKind with the values Method, Get and Set. [npmjs.com](https://www.npmjs.com/package/@oxc-project/types/v/0.161.0)
- **Behavior changed**  

BigInt values are now stored as decimal digit strings in a separate bigints lane instead of the numbers lane. Code that counted or read BigInts from numbers must read the bigints lane. [github.com](https://github.com/oxc-project/oxc/commit/e87c19c123b72becc9ccb1e6de57ffbd70ac4c0e)
- **Behavior changed** `ObjectPropertyKind.as_property`  

ObjectPropertyKind as_property now returns None for methods, where code previously got a property. Use key() to read the key of a property or method. [github.com](https://github.com/oxc-project/oxc/commit/b7dd93577026b97ac0f34e81de7ebc6fd9c4469e)
- **Signature changed** `Node`  

Was type Node = | Program | IdentifierName | IdentifierReference | BindingIdentifier | LabelIdentifier | ThisExpression | ArrayExpression | ObjectExpression | ObjectProperty | TemplateLiteral | TaggedTemplateExpression | TemplateElement |... [npmjs.com](https://www.npmjs.com/package/@oxc-project/types/v/0.161.0)
- **Signature changed** `ObjectExpression.find_property`  

ObjectExpression find_property now returns a reference to ObjectPropertyKind and also matches methods, so callers must handle the new return type. [github.com](https://github.com/oxc-project/oxc/commit/b7dd93577026b97ac0f34e81de7ebc6fd9c4469e)
- **Signature changed** `ObjectProperty.kind`  

ObjectProperty no longer has kind or method. Object methods, getters and setters are now ObjectMethodProperty nodes, so code must check the node type instead. [npmjs.com](https://www.npmjs.com/package/@oxc-project/types/v/0.161.0)
- **Signature changed** `ObjectProperty.method`  

ObjectProperty no longer has a method flag. Methods are now ObjectMethodProperty nodes. [npmjs.com](https://www.npmjs.com/package/@oxc-project/types/v/0.161.0)
- **Signature changed** `ObjectPropertyKind`  

Was type ObjectPropertyKind = ObjectProperty | SpreadElement; now type ObjectPropertyKind = ObjectProperty | ObjectMethodProperty | SpreadElement. [npmjs.com](https://www.npmjs.com/package/@oxc-project/types/v/0.161.0)
- **Signature changed** `TSModuleDeclaration.body`  

Was body: TSModuleBlock | null; now body?: TSModuleBlock. [npmjs.com](https://www.npmjs.com/package/@oxc-project/types/v/0.161.0)

## @oxc-project/types 0.160.0 breaking changes

@oxc-project/types 0.160.0, released November 23, 2026: 1 breaking change.

- **Signature changed** `PropertyKey`  

Was type PropertyKey = IdentifierName | PrivateIdentifier | Expression; now type PropertyKey = | IdentifierName | StringLiteral | NumericLiteral | BigIntLiteral | PrivateIdentifier | Expression. [npmjs.com](https://www.npmjs.com/package/@oxc-project/types/v/0.160.0)

## @oxc-project/types 0.153.0 breaking changes

@oxc-project/types 0.153.0, released October 5, 2026: 2 breaking changes.

- **Removed** `MemberExpressionKind.static_property_info`  

MemberExpressionKind::static_property_info() was removed because it duplicated the static_property_info() methods on the member expression types. Call those methods instead. [github.com](https://github.com/oxc-project/oxc/commit/f8088062e0f6eab992b0c5a3d90f43789aa8fb5c)
- **Removed** `StringLiteral`  

The impl AsRef\<str> for StringLiteral has been removed because it had no users and returned a lossy UTF-8 value for strings with lone surrogates. Code that calls as_ref on a StringLiteral must change. [github.com](https://github.com/oxc-project/oxc/commit/63c8bbd7b4710a3a982894d4e1ca69047d04db29)

## @oxc-project/types 0.152.0 breaking changes

@oxc-project/types 0.152.0, released September 28, 2026: 1 breaking change.

- **Removed** `Decorator.name`  

Decorator::name() was removed because it was unused and returned wrong results for some decorator shapes. Stop calling it. [github.com](https://github.com/oxc-project/oxc/commit/0b94d8eb52efcc3fcd8e90ae2dbb3d071bb75c9b)

## @oxc-project/types 0.149.0 breaking changes

@oxc-project/types 0.149.0, released September 7, 2026: 2 breaking changes.

- **Renamed** `ParserReturn.panicked`  

The ParserReturn property panicked is renamed to fatal_error with the same meaning and behavior. Update code that reads panicked to use fatal_error. [github.com](https://github.com/oxc-project/oxc/commit/66744f0eb942c375c298689a0c19d11efab2a2e2)
- **Behavior changed**  

The maximum source text length is reduced to 256 bytes below u32::MAX. Source text longer than the new limit is no longer accepted, which is extremely unlikely to affect real code. [github.com](https://github.com/oxc-project/oxc/commit/2c9a94736342145830ee8584b3920123cc795222)

## @oxc-project/types 0.136.0 breaking changes

@oxc-project/types 0.136.0, released June 15, 2026: 7 breaking changes.

- **Renamed** `IsolatedDeclarationsReturn.errors`  

IsolatedDeclarationsReturn.errors is replaced by diagnostics. Code reading errors must read diagnostics. [github.com](https://github.com/oxc-project/oxc/commit/777f02ae10c38d481c6c16563e55272c350def2c)
- **Renamed** `ParserReturn.errors`  

ParserReturn.errors is replaced by diagnostics, a Diagnostics type that separates errors and warnings. Code reading errors must read diagnostics. [github.com](https://github.com/oxc-project/oxc/commit/777f02ae10c38d481c6c16563e55272c350def2c)
- **Renamed** `SemanticBuilderReturn.errors`  

SemanticBuilderReturn.errors is replaced by diagnostics. Code reading errors must read diagnostics. [github.com](https://github.com/oxc-project/oxc/commit/777f02ae10c38d481c6c16563e55272c350def2c)
- **Renamed** `TransformerReturn.errors`  

TransformerReturn.errors is replaced by diagnostics. Code reading errors must read diagnostics. [github.com](https://github.com/oxc-project/oxc/commit/777f02ae10c38d481c6c16563e55272c350def2c)
- **Behavior changed** `compile`  

A React Compiler error now stops the transform with no output, while warnings let the transform continue. Code that relied on any diagnostic aborting the transform must check diagnostics.has_errors(). [github.com](https://github.com/oxc-project/oxc/commit/777f02ae10c38d481c6c16563e55272c350def2c)
- **Default changed** `transpileTemplateLiterals`  

The styled-components transpileTemplateLiterals option now defaults to false. Pass transpileTemplateLiterals: true to keep the previous output. [github.com](https://github.com/oxc-project/oxc/commit/bb0ed445412f0abc909d8e1eeb0e0f71c6271999)
- **Signature changed** `CodegenReturn`  

CodegenReturn returns a borrowed SourceMap instead of an owned one, so code that stored or moved the returned sourcemap must be updated. [github.com](https://github.com/oxc-project/oxc/commit/7a249118463517810990b7b145b98632200a8a62)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @oxc-project/types 0.135.0 breaking changes

@oxc-project/types 0.135.0, released June 8, 2026: 3 breaking changes.

- **Signature changed**  

All AST node structs are now marked non_exhaustive, so code outside the oxc_ast crate must create nodes through AstBuilder methods instead of building them manually. [github.com](https://github.com/oxc-project/oxc/commit/ee4dc73193d201af61017a45e3e3a0636388d402)
- **Signature changed** `AstBuilder.template_element`  

The escape_raw parameter was removed from template_element; use template_element_escape_raw for the same escaping behavior. [github.com](https://github.com/oxc-project/oxc/commit/4c353629a630ff78b01ed79e6b27738992e25b3b)

And 1 more in this version.

### @oxc-project/types 0.129.0 breaking changes

@oxc-project/types 0.129.0, released May 5, 2026: 1 breaking change.

- **Removed** `Allocator.end_ptr`  

The end_ptr method on Allocator was removed because it is no longer required. Code calling it must stop using it. [github.com](https://github.com/oxc-project/oxc/commit/0ffbe0dd4c5d0a2020deb37661069d1df2aba1ac)

### @oxc-project/types 0.128.0 breaking changes

@oxc-project/types 0.128.0, released April 27, 2026: 4 breaking changes.

- **Removed** `CommentNodeId`  

The CommentNodeId type was removed because it was never used; code that references it will no longer compile. [github.com](https://github.com/oxc-project/oxc/commit/c5b3debfda93e034dc0d1572e987c97658655e39)
- **Signature changed** `ArrayExpressionElement`  

The Elision variant of ArrayExpressionElement now wraps its payload in a Box, so code that matches on or constructs this variant must handle the boxed value. [github.com](https://github.com/oxc-project/oxc/commit/c44e28068eb819d6a90383f3e9e141b74671083a)

And 2 more in this version.

## Related packages

- [oxc-parser](https://since.dev/packages/npm/oxc-parser.md)
- [@oxc-parser/binding-win32-x64-msvc](https://since.dev/packages/npm/@oxc-parser/binding-win32-x64-msvc.md)
- [@oxc-parser/binding-linux-x64-musl](https://since.dev/packages/npm/@oxc-parser/binding-linux-x64-musl.md)
- [@oxc-parser/binding-linux-s390x-gnu](https://since.dev/packages/npm/@oxc-parser/binding-linux-s390x-gnu.md)
- [@oxc-parser/binding-linux-x64-gnu](https://since.dev/packages/npm/@oxc-parser/binding-linux-x64-gnu.md)
- [@oxc-parser/binding-freebsd-x64](https://since.dev/packages/npm/@oxc-parser/binding-freebsd-x64.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.
