Release Notes for 484

Notes for Release 484

63 Likes

Client Difference Log

API Changes

Added Class AssetImportService : Instance [NotCreatable] [Service] [NotReplicated]
	Added Function Dictionary AssetImportService:ImportMesh(string fileName) {RobloxScriptSecurity}
	Added Function Dictionary AssetImportService:ImportMeshWithPrompt() {RobloxScriptSecurity} [Yields]

Added Class CommandInstance : Instance [NotCreatable] [NotReplicated]
	Added Property bool CommandInstance.AllowGUIAccessPoints [ReadOnly]
	Added Property bool CommandInstance.Checked {RobloxScriptSecurity} [<๐Ÿ“> LoadOnly] [NotReplicated]
	Added Property string CommandInstance.DefaultShortcut {RobloxScriptSecurity} [<๐Ÿ“> LoadOnly] [NotReplicated]
	Added Property bool CommandInstance.Enabled {RobloxScriptSecurity} [<๐Ÿ“> LoadOnly] [NotReplicated]
	Added Property string CommandInstance.Group [ReadOnly]
	Added Property string CommandInstance.Icon {RobloxScriptSecurity} [<๐Ÿ“> LoadOnly] [NotReplicated]
	Added Property string CommandInstance.Name [ReadOnly]
	Added Property string CommandInstance.StatusTip {RobloxScriptSecurity} [<๐Ÿ“> LoadOnly] [NotReplicated]
	Added Property string CommandInstance.Text [ReadOnly]
	Added Function void CommandInstance:RegisterExecutionCallback(Function callbackFunction) {RobloxScriptSecurity}

Added Class CommandService : Instance [NotCreatable] [Service] [NotReplicated]
	Added Function Variant CommandService:Execute(string name, Variant params) {RobloxScriptSecurity} [Yields]
	Added Function CommandInstance CommandService:RegisterCommand(string name, string description) {RobloxScriptSecurity} [Yields]
	Added Event CommandService.CommandExecuting(string name, Variant params) {RobloxScriptSecurity}

Added Property bool BasePart.CanQuery
Added Property bool Studio.Enable Linting {RobloxScriptSecurity}
Added Property bool Studio.Enable Signature Help {RobloxScriptSecurity}
Added Property bool Studio.Enable Type Hover {RobloxScriptSecurity}

Added Function bool AvatarEditorService:NoPromptSaveAvatar(HumanoidDescription humanoidDescription, Enum.HumanoidRigType rigType, Dictionary saveDict, int64 gearAssetId = 0) {RobloxScriptSecurity}

Added EnumItem TextInputType.OneTimePassword : 8

Changed the category of Property BasePart.AssemblyAngularVelocity 
	from: "Assembly "
	  to: "Assembly"

Changed the category of Property BasePart.AssemblyCenterOfMass 
	from: "Assembly "
	  to: "Assembly"

Changed the category of Property BasePart.AssemblyLinearVelocity 
	from: "Assembly "
	  to: "Assembly"

Changed the category of Property BasePart.AssemblyMass 
	from: "Assembly "
	  to: "Assembly"

Changed the category of Property BasePart.AssemblyRootPart 
	from: "Assembly "
	  to: "Assembly"

Changed the parameters of Function Chat:FilterStringAsync 
	from: (string stringToFilter, Instance playerFrom, Instance playerTo)
	  to: (string stringToFilter, Player playerFrom, Player playerTo)

Changed the parameters of Function Chat:FilterStringForBroadcast 
	from: (string stringToFilter, Instance playerFrom)
	  to: (string stringToFilter, Player playerFrom)

Changed the parameters of Function Chat:FilterStringForPlayerAsync 
	from: (string stringToFilter, Instance playerToFilterFor)
	  to: (string stringToFilter, Player playerToFilterFor)

Changed the parameters of Function GamePassService:PlayerHasPass 
	from: (Instance player, int64 gamePassId)
	  to: (Player player, int64 gamePassId)

Changed the return-type of Function InsertService:CreateMeshPartAsync 
	from: Instance
	  to: MeshPart

Changed the parameters of Event AvatarEditorService.PromptSaveAvatarCompleted 
	from: (Enum.AvatarPromptResult result)
	  to: (Enum.AvatarPromptResult result, HumanoidDescription humanoidDescription)

Removed Function Terrain:CancelImportHeightmap
Removed Function Terrain:ImportHeightmap
Removed Function Terrain:SetImportHeightmapPaused

Removed Event Terrain.TerrainProgressUpdate

(Click here for a syntax highlighted version!)

34 Likes

WOOOO! Finally, we get the new task apis.

32 Likes

I used the flattening tool a while back, and was irritated that it indeed created little bumps. I resorted to just using the plane-lock subtract brush. Thank you for this!

21 Likes

Luau linter now displays warnings for erroneous or inefficient uses of table.insert/table.remove

This change was added to release notes a week too early due to a bug in internal change tracking system; it will ship in the next release.

16 Likes

I imagine this is a question better asked next week, but what counts as an โ€œerroneous or inefficient useโ€ of those two functions?

6 Likes

One example (which I donโ€™t know is under this change, but something we discussed having a lint for):

local r = RaycastParams.new()
...
table.insert(r.FilterDescendantsInstances, thing) --> Hmm...
10 Likes