You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,18 @@
1
1
# Changelog
2
2
3
+
## [0.14.0] – 2025-10-27
4
+
5
+
### Breaking Change: Scoped file routing
6
+
7
+
-`ISaveable<TState>` now declares `StorageScope` Scope (Global or Slot), making pathing explicit and removing the need to toggle `SaveManager.SaveSlotIndex` just to “ignore” slots.
8
+
- Scope remembered at registration: `SaveManager` records a filename scope mapping when `RegisterSaveable(...)` is called and uses it for path resolution. (Internal change; no new public API.)
9
+
-`FileHandler` pathing updated: `GetPartialPath()` now prefixes slot{N}/ only for Slot‑scoped files. Attempting to save/load a Slot‑scoped file with no selected slot throws a clear error. (Prevents global files like Options from accidentally ending up in a slot folder.)
10
+
11
+
### Migration notes
12
+
13
+
- Add `StorageScope Scope { get; }` to every `ISaveable<TState>`. Use Global for shared data (e.g., options/settings) and Slot for per‑profile data.
14
+
- Remove any code that temporarily sets SaveManager.SaveSlotIndex = -1 around global saves; it’s no longer necessary.
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "co.buck.saveasync",
3
-
"version": "0.13.0",
3
+
"version": "0.14.0",
4
4
"displayName": "Save Async",
5
5
"description": "Save Async is BUCK's Unity package for asynchronously saving and loading data in the background using Unity's Awaitable class. Capture and restore state without interrupting Unity's main render thread.",
0 commit comments