Skip to content

Commit 8395d53

Browse files
committed
Add changelog for 0.11.0
1 parent da8e7d3 commit 8395d53

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/Changelog.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,40 @@ sidebar_position: 13
44

55
This page contains the changelogs from all [releases of Pluto](https://github.com/PlutoLang/Pluto/releases).
66

7+
## 0.11.0
8+
- Added preprocessor aliases (`$alias`)
9+
- Added compile-time evaluated statement `$assert`
10+
- Added warning for unused local variables
11+
- Added octal numerals
12+
- Added `__mindex` metamethod
13+
- This is now used by default table metatable, elimiting the compatibility concerns it previously had.
14+
- Export is no longer deprecated but now implies constness
15+
- Walrus operator can now initialize multiple variables
16+
- Compile-time conditionals can now be equality checks
17+
- Table freezing is now an optional feature, enabled via `PLUTO_ENABLE_TABLE_FREEZING`
18+
- Fixed implicit conversion of booleans to strings outside of concats
19+
- Removed table length cache
20+
- Removed let & const
21+
22+
Standard library:
23+
- Added buffer library
24+
- Added table.invert, table.dedup/deduplicate, table.deduped/deduplicated, table.values
25+
- Added crypto.crc32c
26+
- crypto.random now treats 1-2 arguments like math.random
27+
- Added optional 'binary' parameter to crypto.md5
28+
- Added ffi.alloc, ffi.write, & ffi.read
29+
- Added UDP support to socket.connect
30+
- Added socket.isudp, socket.udpserver
31+
- Added io.chmod
32+
- Added os.arch constant
33+
- Added callonce function
34+
- Added sdiv, udiv, smod, & umod functions
35+
- string.split's needle parameter is now required (previously defaulted to `","`)
36+
- socket.listen & socket.bind can now be bound to a specific IP address
37+
- io.part now returns 'parent, name' if part argument is omitted
38+
- Optimized json.encode & json.decode
39+
- Removed `_PSOUP` constant
40+
741
## 0.10.5
842
- Improved error message when `new` is provided with a nil value
943
- Fixed ternary expression sometimes picking a bad register

0 commit comments

Comments
 (0)