Skip to content

CraftOS-PC v2.6.2

Choose a tag to compare

@MCJack123 MCJack123 released this 31 Oct 23:32
· 393 commits to master since this release
fe1a1e1

Happy Halloween! This release is unfortunately timed because a large number of spooky bugs are no longer present. However, this is also a treat for everyone who was having problems, so don't be tricked by the lack of spookiness.

  • Bumped structure version to 6
    • New fields in Computer:
      • openWebsocketServers
    • New fields in configuration:
      • dropFilePath
    • New fields in PluginFunctions:
      • registerPeripheralFn
  • Added ability to drop files to paste their paths instead of copying the file
    • Enabled using dropFilePath config setting
  • Added single-window mode
    • Displays all computers on the same window
    • Activated with --single flag on CLI
    • Ctrl+Alt+Left/Right (Cmd+Option+L/R on Mac) to switch windows in GUI
  • Added ability to copy screenshots on Linux (X11, Wayland)
  • Added registerPeripheralFn capability to allow passing a function object
    • registerPeripheral is now deprecated
  • Added brand-new UI on mobile devices (beta only)
    • Redesigned UI with navigation bar & hotkey toolbar above keyboard
    • Added support for computer, debugger, and monitor peripherals
    • Change windows using the arrows in the navigation bar
    • Automatic shell resizing makes sure you can see what you type
    • Arrow key gestures now work on Android as well as iOS
    • Added new launch screen (iOS)
    • The new UI is only available in beta builds at the moment due to bugginess
  • Improved WebSocket server functionality
    • Servers can now be properly opened by calling http.websocket with a port argument
    • Multiple clients to the same server now get unique identifiers as userdata values
    • Added websocket_server_closed event to notify when an opened WebSocket server is no longer accepting connections
  • Replaced Windows nightly builds with CI build artifacts
  • CLI mode now uses Unicode characters for non-ASCII characters
    • Drawing characters are approximated using Braille characters; this may not show up well on a real terminal
  • Improved quality of CCEmuX plugin
  • WebSocket text messages are now sent in UTF-8
  • Improved Rednet deduplication efficiency (part of CC:T 1.99.0)
  • cash no longer saves duplicate history entries
  • Deprecated peripheral::update as it was never used
  • Fixed crashing whenever opening a debugger (from crash reports)
  • Fixed a crash when comparing two identical substrings (#218)
  • Fixed a crash caused by force-closing a computer after it's already gone (from crash reports)
  • Fixed a crash in term.drawPixels when passing a negative value (#224)
  • Fixed occasional crashes from get_comp cache duplication (from crash reports)
  • Fixed crashes and incorrect behavior when using string.format with substrings (from crash reports: Creepi)
  • Fixed strings in modem messages not being sent properly on Linux (BytecodeEli)
  • Fixed binary support in WebSocket messages
  • Fixed an issue causing input to stop working in raw mode on Linux
  • Fixed stack overflow when an error handler attempts to yield (from crash reports)
  • Fixed a bug causing old os functions to be exposed (!)
  • Fixed an incorrect error message when concatenating a concatenated string or substring with a value of an invalid type (9551)
  • Fixed an issue with completion for boolean config settings

This is the first release with a delta installer (Windows only). This should speed up updates from v2.6.1 as it doesn't have to download all of the libraries. If you're downloading from GitHub, please do not get the CraftOS-PC-Setup_Delta-v2.6.1.exe installer unless you already have v2.6.1 installed.

Due to the notes about the new mobile UIs above, the Android build is still v2.6.1. If you want to test out v2.6.2 with the new UI, please go to the beta build page to download it separately. This applies to iOS as well.

If you need help using CraftOS-PC, I'm available on the CraftOS-PC Discord server as @JackMacWindows#9776. Feel free to ping me if you need anything.