Skip to content

Commit b1d6fc1

Browse files
committed
Add changelog for 0.10.0
1 parent 8606705 commit b1d6fc1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/Changelog.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@ sidebar_position: 12
44

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

7+
## 0.10.0
8+
- Added chained comparisons (e.g. `1 <= i <= #t`)
9+
- Added private methods to classes
10+
- Private fields (and methods) can be declared and accessed anywhere inside the class now. Previously, you needed to define a private field *before* you accessed it. This is no longer a restriction.
11+
- Pluto now automatically detects if non-compatible keywords should be enabled or disabled based on usage
12+
- This is overwritten by the scripter using `pluto_use` or the integrator or user managing compatibility mode, so it only applies when absolutely zero configuration has been applied. This is a significant improvement for lua source code compatibility.
13+
- `do` can now be used instead of `then` and `begin`
14+
- `if` expressions are now no longer deprecated but require an `end` (e.g. `print(if a then b else c end)`)
15+
- `$define` statement now requires an assignment
16+
- Fixed handling when an invalid RSA private key is passed to crypto.encrypt, crypto.decrypt, crypto.sign
17+
- Fixed not being able to load Lua C modules on Linux
18+
- For simplicity in this regard, Pluto now always uses the C ABI to export `lua_` functions and the C++ ABI for `pluto_` functions.
19+
20+
Standard library:
21+
- Added canvas library
22+
- Added ffi library
23+
- Added regex library
24+
- Added assert.contains
25+
- Added bigint.eq, bigint.lt, & bigint.le
26+
- Added crypto.ripemd160
27+
- Added crypto.exportkey & crypto.importkey
28+
- Added crypto.decompress
29+
- Added string.tohex & string.fromhex
30+
- Added table.findindex/findkey, table.back, table.keys, table.modget, table.modset, table.slice, table.countvalues, & table.chunk
31+
- Added socket.getpeer, socket.peek, socket.getside, socket.istls, & socket.isopen
32+
- Added optional limit argument to string.split
33+
- Added io.cwd and io.chdir as aliases for io.currentdir
34+
- socket.starttls can now be used on server sockets
35+
- Optimized json.encode with `__order`
36+
737
## 0.9.5
838
- Fixed io.contents not returning an empty string for empty files on Windows
939
- Fixed table.clear not resetting cached length

0 commit comments

Comments
 (0)