Repository navigation
chore(release): 1.0.0-rc.2 - #345
Merged
Merged
Conversation
Cut the third 1.0.0 release candidate, bundling the post-rc.1 changes: - perf(vm): split-storage tables (#328) - feat(os): os.time_ms/os.time_us + os.clock origin seeded at install (#340) - fix(api): deflua/2 guarded heads register under their real name (#344) - fix(vm): pcall/call_function error-value semantics (#331, #334, #336) Bumps mix.exs @Version, moves the Unreleased changelog entries under a dated [v1.0.0-rc.2] heading with Performance/Added/Fixed/Known issues sections, and carries forward the deep-recursion known issue. Also makes the website display the package version automatically: Website.LuaSandbox.lua_version/0 reads Application.spec(:lua, :vsn), so the install snippet and a new footer badge track the dependency without manual edits on future bumps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts the third release candidate for
1.0.0.1.0.0final (plan A13) is still blocked on the broader Direction-A gates, so this bundles the post-rc.1 work into another RC. Public API is unchanged from rc.1.Bumps
mix.exs@version→1.0.0-rc.2and promotes the## Unreleasedchangelog block to a dated[v1.0.0-rc.2]section.What's in rc.2 (since rc.1)
Performance
:array+ map) — dense1..nkeys route to an:array; table-heavy workloads improve 28–37% at n=1000 and now beat Luerl on Build/Iterate/Map+Reduce (perf(vm): split-storage tables (Erlang :array + map) #328).Added
os.time_ms()/os.time_us()epoch helpers (non-standard extensions);os.clock()origin now seeded ininstall/1instead of lazily (feat(os): seed os.clock origin at install, add os.time_ms/os.time_us #340).Fixed
deflua/2guarded heads registered under:wheninstead of their real name, making them uncallable from Lua (fix(api): deflua/2 preserves function name for guarded heads #344).Lua.call_function/3returns the terse Lua error value, not the terminal render (call_function returns terminal-formatted (ANSI + location + suggestion) string as :error reason #336).pcall/xpcallpass the raised value through verbatim +source:line:prefix per §6.1 (pcall returns stringified error objects instead of passing the error value through #334).Known issues
Website
Makes the displayed version automatic:
Website.LuaSandbox.lua_version/0readsApplication.spec(:lua, :vsn), so the home-page install snippet and a new footer badge track the dependency with no manual edits on future bumps. Verified the site renders1.0.0-rc.2.Verification
mix format/mix compile --warnings-as-errors— cleanmix test— 2247 passed, 19 skippedmix test --include skip— only the known-deferred official suite files fail (pm/gc/constructs/etc.), no new regressionsmix docs --warnings-as-errors— cleanmix lua.suite— unchanged deferred-suite statusmix hex.build— succeeds (Version: 1.0.0-rc.2)Publish (after merge, human-gated)
Tag
v1.0.0-rc.2on the merge commit and create a GitHub pre-release (matching rc.0/rc.1). Publishing the release fires.github/workflows/release.yml→mix hex.publish --yes. No manual publish needed.