Releases: cc-tweaked/CC-Tweaked
Releases · cc-tweaked/CC-Tweaked
[1.12.2] 1.82.0
Changes from the last CC:Tweaked release
- Warn when
pastebin put
potentially triggers spam protection (@Lemmmy) - Display HTTP errors on pastebin requests (@Lemmmy)
- Attach peripherals on the main thread, rather than deferring to the computer thread.
- Computers may now be preemptively interrupted if they run for too long. This reduces the risk of malicious or badly written programs making other computers unusable.
- Reduce overhead of running with a higher number of computer threads.
- Set the initial multishell tab when starting the computer. This fixes the issue where you would not see any content until the first yield.
- Allow running
pastebin get|url
with the URL instead (e.g.pastebin run https://pastebin.com/LYAxmSby
). - Make
os.time
/os.day
case insensitive. - Add translations for several languages
- Brazilian Portuguese (@zardyh)
- Swedish (@nothjarnan)
- Italian (@Ale32bit)
- French (@absolument)
- Update German (@Wilma456)
- Spanish (@daelvn)
- Improve JEI integration for turtle/pocket computer upgrades. You can now see recipes and usages of any upgrade or upgrade combination.
- Associate turtle/pocket computer upgrades with the mod which registered them. For instance, a "Sensing Turtle" will now be labelled as Plethora.
- Fire
key_up
andmouse_up
events when closing the GUI. - Allow limiting the amount of server time computers can consume.
- Add several new events for turtle refuelling and item inspection. Should allow for greater flexibility in add on mods in the future.
rednet.send
returns if the message was sent. Restores behaviour present before CC 1.6 (@Luca0208)- Add MCMP integration for wireless and ender modems.
- Make turtle crafting more consistent with vanilla behaviour.
commands.getBlockInfo(s)
now also includes NBT.- Turtles will no longer reset their label when clicked with an unnamed name tag.
Minor bug fixes
- Update Cobalt (fixes
load
not unwind the stack) - Fix
commands.collapseArgs
appending a trailing space. - Fix leaking file descriptors when closing (see this JVM bug!)
- Fix NPE on some invalid URLs
- Fix pocket computer API working outside of the player inventory
- Fix printing not updating the output display state.
[1.12.2] 1.81.1
Minor fixes
- Fix
colour.*RGB
using 8-bit values, rather than 0-1 floats.
[1.12.2] 1.81.0
Changes from the last CC:Tweaked release
- Handle connection errors on websockets (Devilholk)
- Make
require
a little more consistent with PUC Lua, passing the required name to modules and improving error messages. - Track how long each turtle action takes within the profiling tools
- Bump Cobalt version
- Coroutines are no longer backed by threads, reducing overhead of coroutines.
- Maximum stack depth is much larger (2^16 rather than 2^8)
- Stack is no longer unwound when an unhandled error occurs, meaning
debug.traceback
can be used on dead coroutines.
- Reduce jar size by reducing how many extra files we bundle.
- Add
term.nativePaletteColo(u)r
(Lignum) - Split
colours.rgb8
intocolours.packRGB
andcolours.unpackRGB
(Lignum) - Printers now only accept paper and ink, rather than any item
- Allow scrolling through the multishell tab bar, when lots of programs are running. (Wilma456)
Minor fixes
- Fix modems not being advanced when they should be
- Fix direction of some peripheral blocks not being set
- Strip
\r
from.readLine
on binary handles. - Websockets handle pings correctly
- Fix turtle peripherals becoming desynced on chunk unload.
/computercraft
table are now truncated correctly.
[1.12.2] 1.80pr1.14
Changes from the last CC:Tweaked release
- Allow seeking within ROM files.
- Fix not being able to craft upgraded turtles or pocket computers when Astral Sorcery was installed.
- Make several tile entities (modems, cables, and monitors) non-ticking, substantially reducing their overhead,
Minor fixes
- Fix cables not rendering the breaking steps
- Try to prevent
/computercraft_copy
showing up in auto-complete. - Fix several memory leaks and other issues with ROM mounts.
[1.12.2] 1.80pr1.13
Changes from the last CC:Tweaked release
websocket_message
and.receive
now return whether a message was binary or not.websocket_close
events may contain a status code and reason the socket was closed.- Enable the
debug
library by default. - Clean up configuration files, moving various properties into sub-categories. Config files should be automatically upgraded, but let me know if issues occur.
- Rewrite the HTTP API to use netty.
- HTTP requests may now redirect from http to https if the server requests it.
- Add config options to limit various parts of the HTTP API:
- Restrict the number of active http requests and websockets.
- Limit the size of HTTP requests and responses.
- Introduce a configurable timeout
.getResponseCode
also returns the status text associated with that status code.
Minor fixes
- Fix being unable to create resource mounts from individual files.
- Sync computer state using TE data instead. This should reduce the number of visual desyncs with computer state.
- Fix
.read
always consuming a multiple of 8192 bytes for binary handles.
[1.12.2] 1.80pr1.12
Changes from the last CC:Tweaked release
This is just another bug-fix release, with a couple of minor enhancements.
- Using longs inside
.seek
rather than 32 bit integers. This allows you to seek in very large files. - Move the
/computer
command into the main/computercraft
command - Allow copying peripheral names from a wired modem's attach/detach chat message.
Minor fixes
- Fix
InventoryUtil
ignoring the stack limit when extracting items - Fix computers not receiving redstone inputs sent through another block.
- Fix JEI responding to key-presses when within a computer or turtle's inventory.
[1.12.2] 1.80pr1.11
Changes from the last CC:Tweaked release
Another bugfix release, resolving several outstanding issues
- Rename all tile entities to have the correct
computercraft:
prefix. Existing tile entities should be mapped via a data fixer, but please tell me if you encounter issues. - Fix files not being truncated when opened for a write.
.read*
methods no longer fail on malformed unicode. Malformed input is replaced with a fake character (this is what CC did before).- Fix numerous issues with wireless modems being attached to wired ones.
Minor fixes
- Prevent deadlocks within the wireless modem code.
- Create coroutines using a thread pool, rather than creating a new thread each time. This should make short-lived coroutines (such as iterators) much more performance friendly.
- Create all CC threads under appropriately named thread groups. This has no effect on functionality, but makes debugging a tad easier.
[1.12.2] 1.80pr1.10
Changes from the last CC:Tweaked release
This is just a minor bugfix release to solve some issues with the filesystem rewrite
[1.12.2] 1.80pr1.9
Changes from the last CC:Tweaked release
- Add German translation (Vexatos)
- Add
.getCursorBlink
to monitors and terminals. - Allow sending binary messages with websockets.
- Extend
fs
andio
APIsio
should now be largely compatible with PUC Lua's implementation (:read("n")
is not currently supported).- Binary readable file handles now support
.readLine
- Binary file handles now support
.seek(whence: string[, position:number])
, taking the same arguments as PUC Lua's method.
Minor fixes
- Fix
repeat
program crashing when malformed rednet packets are received (gollark/osmarks) - Reduce risk of deadlock when calling peripheral methods.
- Fix speakers being unable to play sounds.
[1.12.2] 1.80pr1.8
Changes from the last CC:Tweaked release
- Bump Cobalt version
- Default to using little endian in string.dump
- Remove propagation of debug hooks to child coroutines
- Allow passing functions to
debug.getlocal
, al-la Lua 5.2
- Add Charset support for bundled cables
/computercraft
commands are more generous in allowing computer selectors to fail.- Remove bytecode loading disabling from bios.lua.
Minor fixes
- Fix stack overflow when using
turtle.place
with a full inventory - Fix in-hand printout rendering causing visual glitches.