chore(deps): update dependency lune-org/lune to v0.8.6 #127
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.
This PR contains the following updates:
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:
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 passedenvironment
.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 theVector2
andVector3
types in theroblox
standard library (#196)Fixed the
_VERSION
global containing an incorrect Lune version string.Changed
This should not result in any behavior differences in Lune, but if it does, please open an issue.
fs.readFile
returns an error) when printed or formatted usingstdio.format
.Fixed
__type
and__tostring
metamethods on userdatas and tables not being respected when printed or formatted usingstdio.format
.v0.8.5
Compare Source
Changed
Improved table pretty formatting when using
print
,warn
, andstdio.format
:v0.8.4
Compare Source
Added
Added a builtin API for regular expressions.
Example basic usage:
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 thebuild
subcommand: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 LuneChanged
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 libraryWhen depending on the main
lune
crate, each builtin library also has a feature flag that can be toggled in the formatstd-*
.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 innet.request
to be more descriptive (#186)Updated to Luau version
0.622
.Fixed
lz4
format in high compression modenet.serve
no longer accepting ipv6 addressesnet.serve
being raw bytes instead of stringsv0.8.3
Compare Source
Fixed
require
not throwing syntax errors (#168)require
caching not working correctly (#171)require
with aliases (#173)itertools
dependency being marked optional even though it is mandatory (#176)net
built-in library on Windows (#177)v0.8.2
Compare Source
Fixed
net.serve
requests no longer being plain tables in Lune0.8.1
, breaking usage of things such astable.clone
.v0.8.1
Compare Source
Added
net.serve
. (#142)Changed
0.616
.net.serve
andnet.socket
. (#165)Fixed
fs.copy
not working with empty dirs. (#155)net.serve
handlers without blocking other requests. (#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
, andaccessedAt
properties returned fromfs.metadata
are nowDateTime
values instead of numbers.The
Lune
struct has been renamed toRuntime
in the Lune rust crate.Added
Added support for compiling single Lune scripts into standalone executables! ([#140])
Example usage:
> 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.
This PR has been generated by Mend Renovate. View repository job log here.