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
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,15 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
-
## [Unreleased]
8
-
## [2.3.9] - 19/02/2025
7
+
## [2.4.0] - 24/05/2025
9
8
## Changed
10
9
- Fixed generated static access code overwriting the collection definition
11
10
- Pre 2.3.0 collections will now be assumed to want a namespace setting that is the same namespace as its item type
12
11
- When generating static/indirect access code using the new `.g.cs` suffix, existing static/indirect access code that uses the old `.cs` suffix is now automatically removed to prevent compile errors
12
+
- Added Generic SetValue for Collection Generator
13
+
13
14
15
+
## [2.3.9] - 19/02/2025
14
16
## Changed
15
17
- Added some general fixes to validate Collection and Items have unique `LongGuid`
16
18
- Fixed issues when after some operation with the context menu on the CollectionEditor items would not refresh properly
<summary><strong>⚠️ Upgrading from <2.3.0 to 2.4.0 — Important Migration Notes</strong></summary>
150
+
151
+
152
+
If you are upgrading **ScriptableObjectCollection** from a version prior to **2.3.0** to **2.4.0**, please read this section carefully to avoid breaking changes and compile errors.
153
+
154
+
---
155
+
156
+
### 1. Generated Files Now Use the `.g.cs` Suffix
157
+
158
+
- All generated static files now use the `.g.cs` suffix.
159
+
-**Action Required:**
160
+
Manually **delete any previously generated files that do NOT have the `.g.cs` suffix** from your project.
161
+
Keeping these files may cause compile errors after the upgrade.
162
+
163
+
---
164
+
165
+
### 2. Namespace and Filename Settings Have Moved
166
+
167
+
- Namespace and filename settings are now stored in the `.meta` file instead of in the generator/collection files.
168
+
- Any custom settings will need to be **reconfigured** after the upgrade.
169
+
- Old settings are not automatically migrated.
170
+
171
+
---
172
+
173
+
### 3. Breaking Changes & Versioning
174
+
175
+
- This release introduces breaking changes that may cause compile errors if migration steps are not followed.
176
+
- Make sure to **read and follow these instructions** before or after upgrading.
177
+
178
+
---
179
+
180
+
### 4. Automatic Cleanup
181
+
182
+
- Starting from **2.4.0**, the package attempts to **automatically delete obsolete generated `.cs` files** (without the `.g.cs` suffix) during the upgrade process.
183
+
- However, always **double-check** your generated files and remove any leftovers if necessary.
184
+
185
+
---
186
+
187
+
### 5. Troubleshooting
188
+
189
+
If you encounter problems after upgrading:
190
+
- Ensure **all old generated files** without `.g.cs` are deleted.
191
+
- Check your collection settings, as these may need to be **set again** due to the migration to `.meta` files.
192
+
- Confirm you are using the latest version (**2.4.0** or newer).
193
+
- If issues persist, please [open an issue](https://github.com/brunomikoski/ScriptableObjectCollection/issues).
194
+
195
+
---
196
+
197
+
### **Migration Steps Checklist**
198
+
199
+
1.**Delete all previously generated files that do not end with `.g.cs`.**
200
+
2.**Update the package to version 2.4.0.**
201
+
3.**Reconfigure your namespace/filename settings if needed.**
202
+
4.**Verify your project compiles and all generators work as expected.**
"description": "A library to help improve the usability of Unity3D Scriptable Objects by grouping them into a collection and exposing them by code or nice inspectors!",
0 commit comments