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

lune 0.8.6 #175414

Merged
merged 2 commits into from
Jun 23, 2024
Merged

lune 0.8.6 #175414

merged 2 commits into from
Jun 23, 2024

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
### 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)

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.
  • Fixed the _VERSION global containing an incorrect Lune version string

@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Jun 23, 2024
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jun 23, 2024
@BrewTestBot BrewTestBot enabled auto-merge June 23, 2024 13:51
@BrewTestBot BrewTestBot added this pull request to the merge queue Jun 23, 2024
Merged via the queue into master with commit 167d196 Jun 23, 2024
14 checks passed
@BrewTestBot BrewTestBot deleted the bump-lune-0.8.6 branch June 23, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants