rojo/.cursor/rules/luau-rfcs/change-global-version.md
Joe b47eef1173 Add live syncback functionality and optimize service encoding
- Introduced a new endpoint `/api/syncback` for one-click full sync from Roblox Studio to the filesystem, eliminating the need for an active WebSocket connection.
- Implemented `SyncbackRequest` and `ServiceChunk` structures to handle service-level properties and child instances during syncback.
- Enhanced `encodeService` to include ObjectValue carriers for accurate reference handling and prevent data loss.
- Updated the syncback process to utilize Luau-style relative paths for reference attributes, improving path management and consistency.
- Integrated session caching in the matching algorithm to optimize performance during syncback operations.

These changes significantly improve the live syncback experience, ensuring reliable data synchronization and enhanced performance during development.
2026-02-18 22:34:52 -06:00

21 lines
678 B
Markdown

# Change \_VERSION global to "Luau"
> Note: this RFC was adapted from an internal proposal that predates RFC process
**Status**: Implemented
## Summary
Change \_VERSION global to "Luau" to differentiate Luau from Lua
## Motivation
Provide an official way to distinguish Luau from Lua implementation.
## Design
We inherit the global string \_VERSION from Lua (this is distinct from Roblox `version()` function that returns a full version number such as 0.432.43589).
The string is set to "Lua 5.1" for us (and "Lua 5.2" etc for newer versions of Lua.
Since our implementation is sufficiently divergent from upstream, this proposal suggests setting \_VERSION to "Luau".