---
title: "luau 0.748 Breaking Changes on vcpkg | Since.dev"
description: "What each luau release removed, renamed or changed: 76 breaking changes in 47 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/luau
last_updated: 2026-12-04
---

# luau breaking changes

luau 0.748 is its newest release with breaking changes. The first: Type functions can no longer reference expression globals from the surrounding scope in luau 0.748. Every breaking API change we have recorded in luau on vcpkg: 76 breaking changes in 47 versions. Below, its 47 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.748`. [Source repository](https://github.com/luau-lang/luau)

- From [0.653](#v-0-653) to [0.748](#v-0-748): 75 breaking changes in 46 versions.

## luau 0.748 breaking changes

luau 0.748: 1 breaking change.

- **Behavior changed**  

Type functions have isolated, sandboxed environments, so code that reads expression globals inside a type function is now rejected rather than sometimes inferred. Remove such references from type function bodies. [github.com](https://github.com/luau-lang/luau/releases/tag/0.748)

## luau 0.747 breaking changes

luau 0.747: 3 breaking changes.

- **Behavior changed**  

A class constructor that reads or writes self before calling its base constructor now reports an error. [github.com](https://github.com/luau-lang/luau/releases/tag/0.747)
- **Behavior changed**  

Code that iterates over a union containing non-iterable types such as boolean, number or vector will now be reported as a type error. [github.com](https://github.com/luau-lang/luau/releases/tag/0.747)
- **Behavior changed**  

Some type errors on table index types that used to be silently suppressed are now reported. [github.com](https://github.com/luau-lang/luau/releases/tag/0.747)

## luau 0.746 breaking changes

luau 0.746: 3 breaking changes.

- **Behavior changed**  

Iterating over a type containing tables that is not itself a subtype of table now produces a type error. Code that iterates such values will be flagged by the typechecker. [github.com](https://github.com/luau-lang/luau/releases/tag/0.746)
- **Behavior changed**  

In the experimental classes prototype, inheriting a constructor instead of defining its own is now an error. Classes relying on inherited constructors must define their own. [github.com](https://github.com/luau-lang/luau/releases/tag/0.746)
- **Behavior changed**  

Globals used inside type functions no longer influence type inference outside them, and using them now reports a typechecking error. Code relying on this must be updated. [github.com](https://github.com/luau-lang/luau/releases/tag/0.746)

## luau 0.745 breaking changes

luau 0.745: 1 breaking change.

- **Signature changed** `lua_EmbedderGc`  

The embedder's lua_EmbedderGc callback now returns an int: return nonzero while it is still making progress. Embedders must update their implementation to return a value. [github.com](https://github.com/luau-lang/luau/releases/tag/0.745)

## luau 0.743 breaking changes

luau 0.743: 1 breaking change.

- **Behavior changed**  

At debug level 2, constant locals are no longer stored as extra locals and upvalues, which can change what debugging tools see. [github.com](https://github.com/luau-lang/luau/releases/tag/0.743)

## luau 0.742 breaking changes

luau 0.742: 1 breaking change.

- **Removed** `loadstring`  

loadstring is no longer declared in Luau's built-in type definitions, so code that relies on it will fail type checking. [github.com](https://github.com/luau-lang/luau/releases/tag/0.742)

## Older versions

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

### luau 0.741 breaking changes

luau 0.741: 1 breaking change.

- **Renamed** `lua_setbuffercage`  

The C API function lua_setbuffercage was renamed to lua_setmemorycage. Code calling the old name must switch to the new one. [github.com](https://github.com/luau-lang/luau/releases/tag/0.741)

### luau 0.740 breaking changes

luau 0.740: 2 breaking changes.

- **Removed** `Luau.Set`  

Luau::Set was removed because DenseHashSet fully replaces it. C++ code that uses Luau::Set must switch to DenseHashSet. [github.com](https://github.com/luau-lang/luau/releases/tag/0.740)
- **Behavior changed** `luaL_sandbox`  

luaL_sandbox now freezes the vector metatable if it is set. Code that modifies that metatable after sandboxing will no longer be able to do so. [github.com](https://github.com/luau-lang/luau/releases/tag/0.740)

### luau 0.739 breaking changes

luau 0.739: 1 breaking change.

- **Behavior changed**  

Code that passed the type checker before may now be rejected when generic function bodies call functions with values of the wrong type, such as nil. Fix the flagged calls to match the generic type. [github.com](https://github.com/luau-lang/luau/releases/tag/0.739)

### luau 0.737 breaking changes

luau 0.737: 1 breaking change.

- **Behavior changed** `keyof`  

Table indexers no longer let their generics leak into unsealed tables passed as arguments, so code that relied on that type inference may now get type errors. [github.com](https://github.com/luau-lang/luau/releases/tag/0.737)

### luau 0.731 breaking changes

luau 0.731: 1 breaking change.

- **Behavior changed** `lua_unref`  

lua_unref now unconditionally returns LUA_NOREF, so code that uses its return value to track references must be updated. [github.com](https://github.com/luau-lang/luau/releases/tag/0.731)

### luau 0.727 breaking changes

luau 0.727: 2 breaking changes.

- **Removed**  

The extern class declaration syntax is no longer accepted, so code using it will fail to type check. [github.com](https://github.com/luau-lang/luau/releases/tag/0.727)
- **Behavior changed**  

Parameters of functions assigned to a variadic-typed member now receive the variadic element type instead of unknown, which can change type checking results. [github.com](https://github.com/luau-lang/luau/releases/tag/0.727)

### luau 0.716 breaking changes

luau 0.716: 1 breaking change.

- **Renamed** `Luau.OverloadResolution.h`  

The header Luau/OverloadResolution.h was renamed to Luau/OverloadResolver.h to match the struct name. Code that includes the old header must update its include path. [github.com](https://github.com/luau-lang/luau/releases/tag/0.716)

### luau 0.713 breaking changes

luau 0.713: 2 breaking changes.

- **Removed** `InsertionOrderedMap`  

InsertionOrderedMap is no longer provided by the Analysis library and now lives in Common. Code that includes or links it from Analysis must update its include or link path. [github.com](https://github.com/luau-lang/luau/releases/tag/0.713)
- **Behavior changed** `const`  

Assigning a function to a name already declared with const is now a compile error. Code that redeclares a const name with a function statement must be changed. [github.com](https://github.com/luau-lang/luau/releases/tag/0.713)

### luau 0.710 breaking changes

luau 0.710: 1 breaking change.

- **Signature changed** `useratom`  

The useratom callback now receives an extra lua_State pointer argument. Code that uses string atom identifiers must add that argument to its handler. [github.com](https://github.com/luau-lang/luau/releases/tag/0.710)

### luau 0.708 breaking changes

luau 0.708: 1 breaking change.

- **Behavior changed**  

Defining a type alias with the same name as a built-in type is now disallowed in the new solver, matching the old solver. Rename any such aliases in your code. [github.com](https://github.com/luau-lang/luau/releases/tag/0.708)

### luau 0.707 breaking changes

luau 0.707: 2 breaking changes.

- **Removed** `RequireNavigator.getRequirerIdentifier`  

The getRequirerIdentifier method is gone; its work is now done by resetToRequirer. Code calling it must switch to resetToRequirer. [github.com](https://github.com/luau-lang/luau/releases/tag/0.707)
- **Removed** `RequireNavigator.reset`  

The reset method is gone; resetToRequirer replaces it. Code calling reset must switch to resetToRequirer. [github.com](https://github.com/luau-lang/luau/releases/tag/0.707)

### luau 0.706 breaking changes

luau 0.706: 2 breaking changes.

- **Renamed** `class`  

The class tag used in type functions is renamed to extern. Code that refers to the old class tag must switch to extern. [github.com](https://github.com/luau-lang/luau/releases/tag/0.706)
- **Behavior changed**  

Some internal type unification now uses the new solver's subtyping, so inferred types can differ from earlier releases. Code relying on previous inference results may need review. [github.com](https://github.com/luau-lang/luau/releases/tag/0.706)

### luau 0.705 breaking changes

luau 0.705: 3 breaking changes.

- **Removed** `DebugLuauStringSingletonBasedOnQuotes`  

The experimental flag is removed, and singleton type inference no longer depends on quote style. [github.com](https://github.com/luau-lang/luau/releases/tag/0.705)
- **Renamed** `class`  

Code using the class type tag in UDTF definitions must switch to extern. [github.com](https://github.com/luau-lang/luau/releases/tag/0.705)

And 1 more in this version.

### luau 0.704 breaking changes

luau 0.704: 3 breaking changes.

- **Behavior changed**  

Assignments that used to pass because table indexers were ignored can now fail type checking. Check code that assigns extern types to tables with incompatible indexers. [github.com](https://github.com/luau-lang/luau/releases/tag/0.704)
- **Behavior changed**  

Some recursive type aliases used with different parameters that previously passed type checking now report an error, including in nonstrict mode. Update those aliases to follow the recursive type restriction RFC. [github.com](https://github.com/luau-lang/luau/releases/tag/0.704)

And 1 more in this version.

### luau 0.703 breaking changes

luau 0.703: 4 breaking changes.

- **Behavior changed**  

Calls that pass too many arguments to a function type, such as a method with extra arguments, now produce a type error where they were previously missed. Fix the extra arguments in calls that now fail. [github.com](https://github.com/luau-lang/luau/releases/tag/0.703)
- **Behavior changed**  

Annotated for-in loop variables are now checked against the iterator's types, so code whose annotation disagrees with the iterated value now fails type checking. [github.com](https://github.com/luau-lang/luau/releases/tag/0.703)

And 2 more in this version.

### luau 0.700 breaking changes

luau 0.700: 3 breaking changes.

- **Behavior changed** `OverloadResolver.resolveOverload`  

The overload resolution interface was reworked, and OverloadResolver::resolveOverload was introduced to unify existing machinery. [github.com](https://github.com/luau-lang/luau/releases/tag/0.700)
- **Behavior changed** `table.isfrozen`  

table.isfrozen and table.clear now use {} instead of a generic table type in the type checker, so typing of union-of-table arguments changes. [github.com](https://github.com/luau-lang/luau/releases/tag/0.700)

And 1 more in this version.

### luau 0.698 breaking changes

luau 0.698: 2 breaking changes.

- **Removed** `Luau.RequireNavigator`  

The Luau.RequireNavigator static library no longer exists because it was merged into Luau.Require. Link against Luau.Require instead. [github.com](https://github.com/luau-lang/luau/releases/tag/0.698)
- **Renamed** `is_config_present`  

is_config_present was replaced with get_config_status in Luau.Require. Callers must switch to the new function. [github.com](https://github.com/luau-lang/luau/releases/tag/0.698)

### luau 0.694 breaking changes

luau 0.694: 1 breaking change.

- **Behavior changed**  

The typechecker now reports the extern type name as userdata rather than class. Code that depends on the old name in typechecker output or tooling may need to be updated. [github.com](https://github.com/luau-lang/luau/releases/tag/0.694)

### luau 0.690 breaking changes

luau 0.690: 1 breaking change.

- **Behavior changed**  

Generic aliases that accept both a type and a type pack now report an error when only a type pack is given. Provide a type before the pack to keep code type checking. [github.com](https://github.com/luau-lang/luau/releases/tag/0.690)

### luau 0.689 breaking changes

luau 0.689: 1 breaking change.

- **Signature changed** `rawget`  

rawget is typed to return V? instead of V, since it returns nil when the key is missing. Code that assumes a non-nil result may now fail type checking. [github.com](https://github.com/luau-lang/luau/releases/tag/0.689)

### luau 0.688 breaking changes

luau 0.688: 1 breaking change.

- **Behavior changed**  

Calls where the inferred instantiation of a polymorphic type is impossible, such as passing a string to table.insert on a number array, now produce type errors that were previously missed. [github.com](https://github.com/luau-lang/luau/releases/tag/0.688)

### luau 0.687 breaking changes

luau 0.687: 1 breaking change.

- **Behavior changed**  

The new type solver adds iteration and recursion limits and stops before exhausting system resources. Code that type-checked before may now report errors. [github.com](https://github.com/luau-lang/luau/releases/tag/0.687)

### luau 0.685 breaking changes

luau 0.685: 1 breaking change.

- **Behavior changed**  

The analysis now raises type checking errors in cases where it previously leaked internal error types from modules. Code that type checks cleanly on the previous version may now report errors. [github.com](https://github.com/luau-lang/luau/releases/tag/0.685)

### luau 0.684 breaking changes

luau 0.684: 1 breaking change.

- **Behavior changed** `xpcall`  

The xpcall error handler can no longer yield. Code that yields from an xpcall error handler must be restructured so it does not yield there. [github.com](https://github.com/luau-lang/luau/releases/tag/0.684)

### luau 0.682 breaking changes

luau 0.682: 1 breaking change.

- **Behavior changed**  

Refinements targeting \*no-refine\* are resolved even when the target would otherwise be pending, such as another type function. Code relying on the old pending behavior may see different type results. [github.com](https://github.com/luau-lang/luau/releases/tag/0.682)

### luau 0.680 breaking changes

luau 0.680: 1 breaking change.

- **Behavior changed**  

Sealed tables are now stringified as { ... } and unsealed tables as {| ... |} under either solver, so code that depends on the old type-to-string output may need updating. [github.com](https://github.com/luau-lang/luau/releases/tag/0.680)

### luau 0.679 breaking changes

luau 0.679: 2 breaking changes.

- **Behavior changed**  

Refining a table property such as foo.bar in an if check now produces a read-only property type instead of a plain one, which can change type errors when the property is later assigned. [github.com](https://github.com/luau-lang/luau/releases/tag/0.679)
- **Signature changed** `Luau.shallowClone`  

The last argument of Luau::shallowClone, which controls whether persistent (builtin) types are cloned, is no longer optional. Callers must pass it explicitly. [github.com](https://github.com/luau-lang/luau/releases/tag/0.679)

### luau 0.677 breaking changes

luau 0.677: 2 breaking changes.

- **Behavior changed**  

Converting function types with a different number of generic parameters, such as () -> () into \<T>() -> (), again produces a type mismatch error in the new type solver, so code that relied on it passing type checking may now report errors. [github.com](https://github.com/luau-lang/luau/releases/tag/0.677)
- **Signature changed** `getmetatable`  

The type signature of the getmetatable library function now uses the corresponding type function, which can change type inference results for code that uses it. [github.com](https://github.com/luau-lang/luau/releases/tag/0.677)

### luau 0.676 breaking changes

luau 0.676: 2 breaking changes.

- **Behavior changed** `lua_unref`  

lua_unref no longer accepts reference values that did not exist in the table, so C code that releases unknown refs may behave differently. [github.com](https://github.com/luau-lang/luau/releases/tag/0.676)
- **Signature changed** `setmetatable`  

setmetatable is now typed as generic over its table and metatable types, so code relying on the previous type signature may see different type errors. [github.com](https://github.com/luau-lang/luau/releases/tag/0.676)

### luau 0.675 breaking changes

luau 0.675: 1 breaking change.

- **Behavior changed**  

The new type solver no longer infers singleton types for large tables, so code relying on those narrower inferred types may now see different type-check results. [github.com](https://github.com/luau-lang/luau/releases/tag/0.675)

### luau 0.673 breaking changes

luau 0.673: 1 breaking change.

- **Renamed** `contents API`  

The contents API in Luau.Require is replaced by the new loadname API. Code that calls the contents API must switch to loadname. [github.com](https://github.com/luau-lang/luau/releases/tag/0.673)

### luau 0.671 breaking changes

luau 0.671: 2 breaking changes.

- **Behavior changed**  

Magic functions are now only special when the code calls them explicitly, so implicit uses such as the call desugared from for..in loops are no longer handled as magic. [github.com](https://github.com/luau-lang/luau/releases/tag/0.671)
- **Behavior changed**  

The internal ClassType was renamed to ExternType. In definition files, these types are now declared with 'declare extern type Foo with prop: type end', so existing definition files using the old syntax must be updated. [github.com](https://github.com/luau-lang/luau/releases/tag/0.671)

### luau 0.670 breaking changes

luau 0.670: 1 breaking change.

- **Behavior changed** `typeof`  

Type functions named typeof are rejected with an error in the new solver. Rename any such type function. [github.com](https://github.com/luau-lang/luau/releases/tag/0.670)

### luau 0.668 breaking changes

luau 0.668: 1 breaking change.

- **Configuration changed**  

Building Luau now requires CMake 3.10 or later, so builds using older CMake versions will no longer work. [github.com](https://github.com/luau-lang/luau/releases/tag/0.668)

### luau 0.665 breaking changes

luau 0.665: 1 breaking change.

- **Removed** `lua_setuserdatametatable`  

The idx parameter is removed so the function only operates on the top of the stack. Code relying on the old index-based behavior must use lua_setuserdatametatable_DEPRECATED, which keeps the old behavior. [github.com](https://github.com/luau-lang/luau/releases/tag/0.665)

### luau 0.660 breaking changes

luau 0.660: 1 breaking change.

- **Behavior changed**  

AST nodes now keep source information so the transpiler can re-emit code as written; tools consuming the AST may see changes. [github.com](https://github.com/luau-lang/luau/releases/tag/0.660)

### luau 0.658 breaking changes

luau 0.658: 5 breaking changes.

- **Renamed** `FunctionType.dcrMagicFunction`  

FunctionType::dcrMagicFunction became MagicFunction::infer. [github.com](https://github.com/luau-lang/luau/releases/tag/0.658)
- **Renamed** `FunctionType.dcrMagicRefinement`  

FunctionType::dcrMagicRefinement became MagicFunction::refine. [github.com](https://github.com/luau-lang/luau/releases/tag/0.658)

And 3 more in this version.

### luau 0.657 breaking changes

luau 0.657: 1 breaking change.

- **Renamed** `Table`  

Luau's Table struct was renamed to LuaTable; code using the old name must update. [github.com](https://github.com/luau-lang/luau/releases/tag/0.657)

### luau 0.656 breaking changes

luau 0.656: 3 breaking changes.

- **Behavior changed**  

Some autocomplete hangs now exit early with a unification error, and some crashes become internal compiler exceptions. [github.com](https://github.com/luau-lang/luau/releases/tag/0.656)
- **Behavior changed**  

Fragment autocomplete now provides no suggestions within comments. [github.com](https://github.com/luau-lang/luau/releases/tag/0.656)

And 1 more in this version.

### luau 0.655 breaking changes

luau 0.655: 1 breaking change.

- **Behavior changed**  

Print inside a user-defined type function now reports an error instead of logging to stdout. [github.com](https://github.com/luau-lang/luau/releases/tag/0.655)

### luau 0.653 breaking changes

luau 0.653: 1 breaking change.

- **Behavior changed**  

Vector x/y/z/X/Y/Z field access is now provided through a vector metatable \_\_index method. [github.com](https://github.com/luau-lang/luau/releases/tag/0.653)

## Related packages

- [luau](https://since.dev/packages/homebrew/luau.md):  on Homebrew

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