Skip to content
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

0.10.0 #790

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft

0.10.0 #790

wants to merge 32 commits into from

Conversation

well-in-that-case
Copy link
Collaborator

@well-in-that-case well-in-that-case commented Apr 8, 2024

  • Pluto now automatically detects if non-compatible keywords should be enabled or disabled based on usage
    • 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.
  • $define statement now requires an assignment
  • Removed deprecated legacy ternary if expressions (this does not affect a ? b : c-style ternary expressions)
  • Added private methods to classes
    • 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.

Standard library:

  • Added assert.contains
  • Added bigint.eq, bigint.lt, & bigint.le
  • Added crypto.exportkey & crypto.importkey
  • Added socket.getpeer

This makes a considerable difference of several seconds for even reasonably-sized JSON data. However, it is a bit of a semantic change because __order is now taken at face value instead of only being used as a hint.
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.

None yet

2 participants