Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency lune-org/lune to v0.8.6 #127

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 20, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
lune-org/lune minor 0.7.11 -> 0.8.6

Release Notes

lune-org/lune (lune-org/lune)

v0.8.6

Compare Source

Added
  • Added a builtin API for hashing and calculating HMACs as part of the serde library (#​193)

    Basic usage:

    local serde = require("@​lune/serde")
    local hash = serde.hash("sha256", "a message to hash")
    local hmac = serde.hmac("sha256", "a message to hash", "a secret string")
    
    print(hash)
    print(hmac)

    The returned hashes are sequences of lowercase hexadecimal digits. The following algorithms are supported:
    md5, sha1, sha224, sha256, sha384, sha512, sha3-224, sha3-256, sha3-384, sha3-512, blake3

  • Added two new options to luau.load:

    • codegenEnabled - whether or not codegen should be enabled for the loaded chunk.
    • injectGlobals - whether or not to inject globals into a passed environment.

    By default, globals are injected and codegen is disabled.
    Check the documentation for the luau standard library for more information.

  • Implemented support for floor division operator / __idiv for the Vector2 and Vector3 types in the roblox standard library (#​196)

  • Fixed the _VERSION global containing an incorrect Lune version string.

Changed
  • Sandboxing and codegen in the Luau VM is now fully enabled, resulting in up to 2x or faster code execution.
    This should not result in any behavior differences in Lune, but if it does, please open an issue.
  • Improved formatting of custom error objects (such as when fs.readFile returns an error) when printed or formatted using stdio.format.
Fixed
  • Fixed __type and __tostring metamethods on userdatas and tables not being respected when printed or formatted using stdio.format.

v0.8.5

Compare Source

Changed
  • Improved table pretty formatting when using print, warn, and stdio.format:

    • Keys are sorted numerically / alphabetically when possible.
    • Keys of different types are put in distinct sections for mixed tables.
    • Tables that are arrays no longer display their keys.
    • Empty tables are no longer spread across lines.

v0.8.4

Compare Source

Added
  • Added a builtin API for regular expressions.

    Example basic usage:

    local Regex = require("@​lune/regex")
    
    local re = Regex.new("hello")
    
    if re:isMatch("hello, world!") then
    	print("Matched!")
    end
    
    local caps = re:captures("hello, world! hello, again!")
    
    print(#caps) -- 2
    print(caps:get(1)) -- "hello"
    print(caps:get(2)) -- "hello"
    print(caps:get(3)) -- nil

    Check out the documentation for more details.

  • Added support for buffers as arguments in builtin APIs (#​148)

    This includes APIs such as fs.writeFile, serde.encode, and more.

  • Added support for cross-compilation of standalone binaries (#​162)

    You can now compile standalone binaries for other platforms by passing
    an additional target argument to the build subcommand:

    lune build my-file.luau --output my-bin --target windows-x86_64

    Currently supported targets are the same as the ones included with each
    release of Lune on GitHub. Check releases for a full list of targets.

  • Added stdio.readToEnd() for reading the entire stdin passed to Lune

Changed
  • Split the repository into modular crates instead of a monolith. (#​188)

    If you previously depended on Lune as a crate, nothing about it has changed for version 0.8.4, but now each individual sub-crate has also been published and is available for use:

    • lune (old)
    • lune-utils
    • lune-roblox
    • lune-std-* for every builtin library

    When depending on the main lune crate, each builtin library also has a feature flag that can be toggled in the format std-*.

    In general, this should mean that it is now much easier to make your own Lune builtin, publish your own flavor of a Lune CLI, or take advantage of all the work that has been done for Lune as a runtime when making your own Rust programs.

  • Changed the User-Agent header in net.request to be more descriptive (#​186)

  • Updated to Luau version 0.622.

Fixed
  • Fixed not being able to decompress lz4 format in high compression mode
  • Fixed stack overflow for tables with circular keys (#​183)
  • Fixed net.serve no longer accepting ipv6 addresses
  • Fixed headers in net.serve being raw bytes instead of strings

v0.8.3

Compare Source

Fixed
  • Fixed require not throwing syntax errors (#​168)
  • Fixed require caching not working correctly (#​171)
  • Fixed case-sensitivity issue in require with aliases (#​173)
  • Fixed itertools dependency being marked optional even though it is mandatory (#​176)
  • Fixed test cases for the net built-in library on Windows (#​177)

v0.8.2

Compare Source

Fixed
  • Fixed REPL panicking after the first evaluation / run.
  • Fixed globals reloading on each run in the REPL, causing unnecessary slowdowns.
  • Fixed net.serve requests no longer being plain tables in Lune 0.8.1, breaking usage of things such as table.clone.

v0.8.1

Compare Source

Added
  • Added the ability to specify an address in net.serve. (#​142)
Changed
  • Update to Luau version 0.616.
  • Major performance improvements when using a large amount of threads / asynchronous Lune APIs. (#​165)
  • Minor performance improvements and less overhead for net.serve and net.socket. (#​165)
Fixed
  • Fixed fs.copy not working with empty dirs. (#​155)
  • Fixed stack overflow when printing tables with cyclic references. (#​158)
  • Fixed not being able to yield in net.serve handlers without blocking other requests. (#​165)
  • Fixed various scheduler issues / panics. (#​165)

v0.8.0

Compare Source

Breaking Changes
  • The Lune CLI now uses subcommands instead of flag options:

    • lune script_name arg1 arg2 arg3 -> lune run script_name arg1 arg2 arg3
    • lune --list -> lune list
    • lune --setup -> lune setup

    This unfortunately hurts ergonomics for quickly running scripts but is a necessary change to allow us to add more commands, such as the new build subcommand.

  • The createdAt, modifiedAt, and accessedAt properties returned from fs.metadata are now DateTime values instead of numbers.

  • The Lune struct has been renamed to Runtime in the Lune rust crate.

Added
  • Added support for compiling single Lune scripts into standalone executables! ([#​140])

    Example usage:

    -- my_cool_script.luau
    print("Hello, standalone!")
    > lune build my_cool_script.luau

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/lune-org-lune-0.x branch from 0a3a8a3 to 840645e Compare July 20, 2024 22:10
@christopher-buss christopher-buss merged commit d07df49 into develop Jul 20, 2024
1 check passed
@christopher-buss christopher-buss deleted the renovate/lune-org-lune-0.x branch July 20, 2024 22:38
@github-actions github-actions bot mentioned this pull request Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant