|
1 |
| -New features in CC: Tweaked 1.87.0 |
| 1 | +New features in CC: Tweaked 1.87.1 |
2 | 2 |
|
3 |
| -* Add documentation to many Lua functions. This is published online at https://tweaked.cc/. |
4 |
| -* Replace to pretty-printer in the Lua REPL. It now supports displaying functions and recursive tables. This printer is may be used within your own code through the `cc.pretty` module. |
5 |
| -* Add `fs.getCapacity`. A complement to `fs.getFreeSpace`, this returns the capacity of the supplied drive. |
6 |
| -* Add `fs.getAttributes`. This provides file size and type, as well as creation and modification time. |
7 |
| -* Update Cobalt version. This backports several features from Lua 5.2 and 5.3: |
8 |
| - - The `__len` metamethod may now be used by tables. |
9 |
| - - Add `\z`, hexadecimal (`\x00`) and unicode (`\u0000`) string escape codes. |
10 |
| - - Add `utf8` lib. |
11 |
| - - Mirror Lua's behaviour of tail calls more closely. Native functions are no longer tail called, and tail calls are displayed in the stack trace. |
12 |
| - - `table.unpack` now uses `__len` and `__index` metamethods. |
13 |
| - - Parser errors now include the token where the error occured. |
14 |
| -* Add `textutils.unserializeJSON`. This can be used to decode standard JSON and stringified-NBT. |
15 |
| -* Switch the monitor renderer to use VBOs, providing a _significant_ performance boost in some cases. You can switch back to the display list renderer via the config. |
16 |
| -* The `settings` API now allows "defining" settings. This allows settings to specify a default value and description. |
17 |
| -* Enable the motd on non-pocket computers. |
18 |
| -* Allow using the menu with the mouse in edit and paint (JakobDev). |
19 |
| -* Add Danish and Korean translations (ChristianLW, mindy15963) |
20 |
| -* Fire `mouse_up` events in the monitor program. |
21 |
| -* Allow specifying a timeout to `websocket.receive`. |
22 |
| -* Increase the maximimum limit for websocket messages. |
23 |
| -* Optimise capacity checking of computer/disk folders. |
24 |
| - |
25 |
| -And several bug fixes: |
26 |
| -* Fix turtle texture being incorrectly oriented (magiczocker10). |
27 |
| -* Prevent copying folders into themselves. |
28 |
| -* Normalise file paths within shell.setDir (JakobDev) |
29 |
| -* Fix turtles treating waterlogged blocks as water. |
30 |
| -* Register an entity renderer for the turtle's fake player. |
| 3 | +* Fix blocks not dropping items in survival. |
31 | 4 |
|
32 | 5 | Type "help changelog" to see the full version history.
|
0 commit comments