Skip to content

Commit bbe99d4

Browse files
committed
chore: bump v1.2.0
1 parent fd99b62 commit bbe99d4

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ Both npm package versions (`packageVersion`) and native binary versions (`native
55

66
---
77

8+
## [1.2.0 / native 1.2.0]
9+
10+
### Changed
11+
12+
- Lua errors now preserve non-string values passed to `error(...)` via `LuaError#cause`
13+
- `LuaError#stack` now contains a formatted Lua traceback (instead of a raw value)
14+
- Calling `error({ ... })` no longer replaces the error message with `"Unknown Lua error"`
15+
16+
### Added
17+
18+
- `LuaError#cause` for non-string Lua error values
19+
20+
---
21+
822
## [1.1.3 / native 1.1.1]
923

1024
### Fixed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lua-state",
3-
"version": "1.1.3",
4-
"nativeVersion": "1.1.1",
3+
"version": "1.2.0",
4+
"nativeVersion": "1.2.0",
55
"description": "Run real Lua (5.1-5.4 & LuaJIT) inside Node.js - native N-API bindings with prebuilt binaries and full TypeScript support.",
66
"keywords": [
77
"lua",

0 commit comments

Comments
 (0)