4.0.0:
- For pre-compressed sb2 and sb3 projects, missing assets will be automatically downloaded (fixes 1032296687)
- For pre-compressed sb2 and sb3 projects, any directories in the zip will be flattened so project.json and any assets are always at the root
- In Node.js, SBDL will use the user-agent
SBDL/1.0 (+https://www.npmjs.com/package/@turbowarp/sbdl)
for all requests instead of the default node-fetch user-agent - We are considering this a semver-major change because downloadProjectFromBuffer with a pre-compressed project would previously never do any network requests but may now make requests
4.0.1:
- Fixed 4.0.0 regression where project.json was being re-stringified in pre-compressed projects even when processJSON made no changes to the JSON when the date option is used (or some other conditions). This could cause interesting things like JSON comments (which Scratch 2 supports) to be lost.
- Fixed 4.0.0 oversight where when loading a pre-compressed project with an empty subdirectory, the subdirectory would not be removed reliably