Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mlua-rs/mlua
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.2
Choose a base ref
...
head repository: mlua-rs/mlua
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.3
Choose a head ref
  • 15 commits
  • 23 files changed
  • 1 contributor

Commits on Aug 13, 2025

  1. Lower fastpath table creation limit to 1 << 26

    When Lua is configured without memory restrictions, we use fastpath for table creation (unprotected mode).
    In generally it's safe as long as we `abort()` on allocation failure.
    However some Lua versions have additional restrictions on table size that we need to adhere in mlua too.
    Probably Luau has the lowest limits.
    Fixes #627
    khvzak committed Aug 13, 2025
    Configuration menu
    Copy the full SHA
    f0806a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2025

  1. Make Lua reference values cheap to clone

    Instead of locking the VM and making a copy on auxiliary thread, track number of references using Rust ref counter.
    This should also help reducing number of used references (they are limited to to 1M usually) on auxiliary thread.
    khvzak committed Aug 20, 2025
    Configuration menu
    Copy the full SHA
    df0a44d View commit details
    Browse the repository at this point in the history
  2. Fix warnings

    khvzak committed Aug 20, 2025
    Configuration menu
    Copy the full SHA
    5f38445 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2025

  1. Configuration menu
    Copy the full SHA
    db7b782 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85b280a View commit details
    Browse the repository at this point in the history
  3. Add Lua::create_buffer_with_capacity method

    This allow creating a preallocated buffer with specified size initialized to zero.
    khvzak committed Aug 23, 2025
    Configuration menu
    Copy the full SHA
    c481c87 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2025

  1. Add Buffer::cursor() method

    This can be useful for providing access to buffers through core IO traits.
    khvzak committed Aug 24, 2025
    Configuration menu
    Copy the full SHA
    774a63b View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2025

  1. Do not try to yield at non-yielable points in Luau interrupt

    In particular we cannot yeild across metamethod/C-call boundaries.
    This behaviour matches with Lua 5.3+ yielding from hooks only at safe points.
    Closes #632
    khvzak committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    347856b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75c23e5 View commit details
    Browse the repository at this point in the history
  3. Fix thread recovery when pushing a bad arg

    We should not erase thread stack if a bad argument is pushed before resuming the thread.
    khvzak committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    30735d5 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2025

  1. Add Lua::yield_with to allow yielding Rust async functions and exch…

    …ange values between Lua coroutine and Rust.
    
    This functionality is similar to `coroutine.yield` and `coroutine.resume` without C restrictions.
    khvzak committed Aug 28, 2025
    Configuration menu
    Copy the full SHA
    d399559 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f06d002 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1ee405 View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG

    khvzak committed Aug 28, 2025
    Configuration menu
    Copy the full SHA
    44f49e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2025

  1. v0.11.3

    khvzak committed Aug 29, 2025
    Configuration menu
    Copy the full SHA
    13ff0ca View commit details
    Browse the repository at this point in the history
Loading