From 4df2d3c5f8c997a5d2b822163a9847be131639e2 Mon Sep 17 00:00:00 2001 From: ari Date: Fri, 13 Feb 2026 02:34:32 +0100 Subject: [PATCH] Add actor, bindables and remotes to json_model_classes (#1199) --- CHANGELOG.md | 2 ++ src/syncback/mod.rs | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a246ebf6..765f668b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,12 +33,14 @@ Making a new release? Simply add the new header with the version and date undern * Fixed a bug caused by having reference properties (such as `ObjectValue.Value`) that point to an Instance not included in syncback. ([#1179]) * Fixed instance replacement fallback failing when too many instances needed to be replaced. ([#1192]) +* Added actors and bindable/remote event/function variants to be synced back as JSON files. ([#1199]) * Fixed a bug where MacOS paths weren't being handled correctly. ([#1201]) * Fixed a bug where the notification timeout thread would fail to cancel on unmount ([#1211]) * Added a "Forget" option to the sync reminder notification to avoid being reminded for that place in the future ([#1215]) [#1179]: https://github.com/rojo-rbx/rojo/pull/1179 [#1192]: https://github.com/rojo-rbx/rojo/pull/1192 +[#1199]: https://github.com/rojo-rbx/rojo/pull/1199 [#1201]: https://github.com/rojo-rbx/rojo/pull/1201 [#1211]: https://github.com/rojo-rbx/rojo/pull/1211 [#1215]: https://github.com/rojo-rbx/rojo/pull/1215 diff --git a/src/syncback/mod.rs b/src/syncback/mod.rs index 61d26674..5dc3028f 100644 --- a/src/syncback/mod.rs +++ b/src/syncback/mod.rs @@ -301,6 +301,7 @@ pub fn get_best_middleware(snapshot: &SyncbackSnapshot) -> Middleware { static JSON_MODEL_CLASSES: OnceLock> = OnceLock::new(); let json_model_classes = JSON_MODEL_CLASSES.get_or_init(|| { [ + "Actor", "Sound", "SoundGroup", "Sky", @@ -318,6 +319,11 @@ pub fn get_best_middleware(snapshot: &SyncbackSnapshot) -> Middleware { "ChatInputBarConfiguration", "BubbleChatConfiguration", "ChannelTabsConfiguration", + "RemoteEvent", + "UnreliableRemoteEvent", + "RemoteFunction", + "BindableEvent", + "BindableFunction", ] .into() });