Skip to content

0.11.0 #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
May 24, 2025
Merged

0.11.0 #57

merged 37 commits into from
May 24, 2025

Conversation

Sainan
Copy link
Member

@Sainan Sainan commented May 11, 2025

  • Added preprocessor with $alias directive
  • Added compile-time evaluated statement $assert
  • Added warning for unused local variables
  • Added octal numerals
  • Added __mindex metamethod
  • Export is no longer deprecated but now implies constness
  • Walrus operator can now initialize multiple variables
  • Table freezing is now an optional feature, enabled via PLUTO_ENABLE_TABLE_FREEZING
  • Removed table length cache

Standard library:

  • Added buffer library
  • Added table.invert
  • Added table.dedup/deduplicate, table.deduped/deduplicated
  • Added table.values
  • Added crypto.crc32c
  • crypto.random now treats 1-2 arguments like math.random
  • Added optional 'binary' parameter to crypto.md5
  • Added ffi.alloc, ffi.write, ffi.read
  • Added UDP support to socket.connect
  • Added socket.isudp, socket.udpserver
  • Added io.chmod
  • Added os.arch constant
  • Added callonce, sdiv, udiv, smod, & umod functions
  • string.split's needle parameter now no longer defaults to ","
  • socket.listen & socket.bind can now be bound to a specific IP address
  • io.part now returns 'parent, name' if part argument is omitted
  • Removed _PSOUP

@Sainan Sainan force-pushed the 0.11.0 branch 7 times, most recently from 350a179 to 345532a Compare May 15, 2025 05:16
@Sainan Sainan marked this pull request as ready for review May 22, 2025 10:57
@Sainan Sainan merged commit 8395d53 into main May 24, 2025
@Sainan Sainan deleted the 0.11.0 branch May 24, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants