From 9bcf9d03427fd5bb5e285adf8d2e44a1742ee513 Mon Sep 17 00:00:00 2001 From: kyren Date: Sat, 15 Jun 2024 18:49:11 -0600 Subject: [PATCH] prepare for 0.3.2 release --- CHANGELOG.md | 20 ++++++++++++++++++++ Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e67a126..b8e795f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## [0.3.2] + +* Bugfix for tail-calling uncallable values. Fixes internal panics. +* Major bugfix for finalization, make sure to transition the collector + immediately to `Collecting` after finalization is done. Fixes lost `Thread` + finalization and unclosed upvalues. +* Make the `type` builtin match PUC-Rio Lua. +* Fix Lua stack corruption during tail calls with less arguments than expected. +* Make function statements act like local / upvalue assignment when appropriate. +* Fix `math.random` and `math.log` to better match PUC-Rio Lua. +* Fix `select` to better match PUC-Rio Lua. +* Implement `math.randomseed`. +* Let `__index` and `__newindex` chain through `UserData` in addition to + `Table`. +* Implement "dead keys" to make table iteration behavior match PUC-Rio Lua. +* Implement `gc_arena::Collect` for `piccolo_util::UserDataMethods` and + `piccolo_util::StaticUserDataMethods`. +* Implement `string.sub`, `string.lower`, `string.upper`, `string.reverse`. +* Better match PUC-Rio Lua behavior with longstring newlines. + ## [0.3.1] Small fixups from 0.3 diff --git a/Cargo.lock b/Cargo.lock index d3b60fa3..88f8efd2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -282,7 +282,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "piccolo" -version = "0.3.1" +version = "0.3.2" dependencies = [ "ahash", "allocator-api2", @@ -297,7 +297,7 @@ dependencies = [ [[package]] name = "piccolo-util" -version = "0.3.1" +version = "0.3.2" dependencies = [ "gc-arena", "piccolo", diff --git a/Cargo.toml b/Cargo.toml index a1e8e81c..bb63fa7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ default-members = [ ] [workspace.package] -version = "0.3.1" +version = "0.3.2" edition = "2021" authors = ["kyren "] license = "MIT" @@ -25,7 +25,7 @@ rand = { version = "0.8", features = ["small_rng"] } serde = "1.0" thiserror = "1.0" -piccolo = { path = "./", version = "0.3.1" } +piccolo = { path = "./", version = "0.3.2" } [package] name = "piccolo"