Skip to content

Commit ac91d69

Browse files
committed
prepare for 0.2 release
1 parent 4d1f95a commit ac91d69

File tree

4 files changed

+99
-109
lines changed

4 files changed

+99
-109
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
1+
## [0.2]
2+
- Allow `Thread` to be forcibly reset to a stopped state.
3+
- Improve the `Table` API, add functions that skip `IntoValue` conversion and
4+
simplify `Table::next`.
5+
- Support `__newindex`.
6+
- Auto conversion improvements, add a `Variadic` wrapper type to indicate
7+
variadic multi-values instead of bare arrays.
8+
- Add `Function::compose` and `Function::bind` for easier generic function
9+
handling from Rust.
10+
- Completely track used memory within interpreter instances. Tracks both
11+
`gc-arena` allocated `Gc` pointers as well as all normal heap allocations
12+
using `gc-arena` external allocation tracking.
13+
- `Fuel` system to limit the execution time of Lua code.
14+
- Properly handle `...` in table constructors.
15+
- Implement `table.select('#')`, `table.pack`, and `table.unpack`.
16+
- Fix local function declarations to be visible in their own function body.
17+
- Guard against arbitrary recursion depth of callbacks (only ever a risk for
18+
Threads calling callbacks on *other* Threads, aka Lua coroutines).
19+
120
## [0.1.1]
221
- Initial crates.io release

Cargo.lock

Lines changed: 60 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "piccolo"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
description = "Stackless Lua VM implemented in pure Rust"
55
authors = ["kyren <catherine@kyju.org>"]
66
edition = "2021"
@@ -23,5 +23,5 @@ rustc-hash = "1.1"
2323
thiserror = "1.0"
2424

2525
[dev-dependencies]
26-
clap = { version = "4.3", features = ["cargo"] }
27-
rustyline = "11.0"
26+
clap = { version = "4.4", features = ["cargo"] }
27+
rustyline = "12.0"

0 commit comments

Comments
 (0)