1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-08 06:43:51 +00:00

Update Cobalt to 0.8.1

This commit is contained in:
Jonathan Coates 2023-12-16 22:39:48 +00:00
parent cf6ec8c28f
commit 763ba51919
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
2 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ of the mod should run fine on later versions.
However, some changes to the underlying game, or CC: Tweaked's own internals may break some programs. This page serves However, some changes to the underlying game, or CC: Tweaked's own internals may break some programs. This page serves
as documentation for breaking changes and "gotchas" one should look out for between versions. as documentation for breaking changes and "gotchas" one should look out for between versions.
## CC: Tweaked 1.109.0 {#cct-1.109} ## CC: Tweaked 1.109.0 to 1.109.1 {#cct-1.109}
- Update to Lua 5.2: - Update to Lua 5.2:
- Support for Lua 5.0's pseudo-argument `arg` has been removed. You should always use `...` for varargs. - Support for Lua 5.0's pseudo-argument `arg` has been removed. You should always use `...` for varargs.
@ -31,6 +31,7 @@ as documentation for breaking changes and "gotchas" one should look out for betw
- `load`/`loadstring` defaults to using the global environment (`_G`) rather than the current coroutine's - `load`/`loadstring` defaults to using the global environment (`_G`) rather than the current coroutine's
environment. environment.
- Support for dumping functions (`string.dump`) and loading binary chunks has been removed. - Support for dumping functions (`string.dump`) and loading binary chunks has been removed.
- `math.random` now uses Lua 5.4's random number generator.
- File handles, HTTP requests and websockets now always use the original bytes rather than encoding/decoding to UTF-8. - File handles, HTTP requests and websockets now always use the original bytes rather than encoding/decoding to UTF-8.

View File

@ -19,8 +19,8 @@ parchmentMc = "1.20.1"
asm = "9.5" asm = "9.5"
autoService = "1.1.1" autoService = "1.1.1"
checkerFramework = "3.32.0" checkerFramework = "3.32.0"
cobalt = "0.8.0" cobalt = "0.8.1"
cobalt-next = "0.8.1" # Not a real version, used to constrain the version we accept. cobalt-next = "0.8.2" # Not a real version, used to constrain the version we accept.
commonsCli = "1.3.1" commonsCli = "1.3.1"
fastutil = "8.5.9" fastutil = "8.5.9"
guava = "31.1-jre" guava = "31.1-jre"