Release Notes for 534

Notes for Release 534

32 Likes

Client Difference Log

API Changes

Added Class AssetImportSession : Instance [NotCreatable] [NotReplicated]
	Added Function void AssetImportSession:Cancel() {RobloxScriptSecurity}
	Added Function Dictionary AssetImportSession:GetCurrentImportMap() {RobloxScriptSecurity}
	Added Function Dictionary AssetImportSession:GetCurrentStatusTable() {RobloxScriptSecurity}
	Added Function string AssetImportSession:GetFilename() {RobloxScriptSecurity}
	Added Function Instance AssetImportSession:GetSettingsRoot() {RobloxScriptSecurity}
	Added Function bool AssetImportSession:IsAvatar() {RobloxScriptSecurity}
	Added Function void AssetImportSession:Upload() {RobloxScriptSecurity}
	Added Event AssetImportSession.UploadComplete(bool succeeded, Dictionary errorMap)
	Added Event AssetImportSession.UploadProgress(float progressRatio)

Added Property Enum.RunContext BaseScript.RunContext {PluginSecurity}

Added Function AssetImportSession AssetImportService:StartSessionWithPrompt() {RobloxScriptSecurity} [Yields]
Added Function void LocalizationService:SetExperienceSettingsLocaleId(string locale) {RobloxScriptSecurity}
Added Function Tuple ScriptDocument:GetSelection() {PluginSecurity}
Added Function void StudioPublishService:ClearUploadNames() {RobloxScriptSecurity}

Added Event ScriptDocument.SelectionChanged(int64 positionLine, int64 positionCharacter, int64 anchorLine, int64 anchorCharacter) {PluginSecurity}
Added Event StudioPublishService.GamePublishCancelled() {RobloxScriptSecurity}

Added Enum RunContext
	Added EnumItem RunContext.Legacy : 0
	Added EnumItem RunContext.Server : 1
	Added EnumItem RunContext.Client : 2
	Added EnumItem RunContext.Plugin : 3

Added EnumItem WrapLayerDebugMode.LayerCageFittedToBase : 12
Added EnumItem WrapLayerDebugMode.LayerCageFittedToPrev : 13

Added LegacyName "Default" to EnumItem ContextActionPriority.Medium

Removed EnumItem ContextActionPriority.Default

Removed Tag [NotBrowsable] from Class MaterialService
Removed Tag [NotBrowsable] from Class MaterialVariant
Removed Tag [NotBrowsable] from Class TerrainDetail
Removed Tag [NotBrowsable] from EnumItem Material.Basalt
Removed Tag [NotBrowsable] from EnumItem Material.CrackedLava
Removed Tag [NotBrowsable] from EnumItem Material.Limestone
Removed Tag [NotBrowsable] from EnumItem Material.Pavement
Removed Tag [NotBrowsable] from EnumItem Material.Rock
Removed Tag [NotBrowsable] from EnumItem Material.Sandstone
Removed Tag [NotBrowsable] from EnumItem Material.LeafyGrass
Removed Tag [NotBrowsable] from EnumItem Material.Snow
Removed Tag [NotBrowsable] from EnumItem Material.Mud
Removed Tag [NotBrowsable] from EnumItem Material.Ground
Removed Tag [NotBrowsable] from EnumItem Material.Asphalt
Removed Tag [NotBrowsable] from EnumItem Material.Salt
Removed Tag [NotBrowsable] from EnumItem Material.Glacier

(Click here for a syntax highlighted version!)

15 Likes

This is one of those from Lua 5.2, I wish Roblox had. :slight_smile:

What about existing scripts with non-table and non-string that has the __len fallback returning Lua value other than numbers?
What impacts does this have for non-tables and non-strings with the __len fallback already?

There’s an error with # in this, as # is rendered as Roblox Education - Code and make games with Roblox.

11 Likes

This is gonna make the Kenji package a lot easier to manage because right now its all over the place, just after I restructured it as well.

Im guessing this is the successor to ReplicatedScriptService

Im curious what this will do to the current system of Scripts/LocalScripts and where code will be executed.

15 Likes

Good catch. Work on this better more generalized approach to running scripts is indeed why ReplicatedScriptService never got enabled.

The changeover will be fully backwards compatible, you won’t have to worry about modifying existing scripts. There will be an announcement post with details when it gets enabled.

41 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.