Releases: TurboWarp/packager
Releases · TurboWarp/packager
v3.0.0 (2024-05-28)
The first part of the version was increased from 2 to 3 to indicate a backwards-incompatible Node.js API change.
- Node.js API change: Packager#package()'s return object data property is now always a Uint8Array rather than being either a string or an ArrayBuffer. Depending on what you do with data, this might not actually break anything.
- Node.js API change: The packager now uses @turbowarp/jszip instead of the normal JSZip. It helps projects load faster. This doesn't break anything but it will may add an extra dependency to your tree.
- Added option to hide window controls
- Fixed running very large projects as HTML files in Chrome
- Fixed packaging very large projects as HTML files in Chrome
- Fixed window size for Electron apps using custom stage size
- Fixed error packaging projects that have variables with non-string names. These are technically invalid but sb3fix tolerates it
v2.0.0 (2024-04-07)
The first part of the version was increased from 1 to 2 to indicate a semver-major change. The license has changed from permissive-style to a weak copyleft, specifically the Mozilla Public License version 2. You can ask a lawyer to figure out what that means for you.
- Updated VM with new extension APIs, bug fixes, etc.
- Scratch font is back, sort of. It's been replaced with a new font that looks quite similar but without legal ambiguity
- Allow customizing behavior of escape key
- Fixed WKWebView apps
v1.10.0 (2024-02-04)
- Updated VM with new extension APIs, etc.
- Added support for generating Electron Linux ARM applications
- Generated projects are about 0.5MB smaller than before
- Removed support for the hidden "Scratch" font because we are not confident that we are allowed to redistribute it. You probably aren't allowed to either. (As a workaround, you can use TurboWarp's custom font support, if you want to take that risk. You can find it by searching for the "Boys on mopeds" font.)
1.9.2 (2023-09-05)
- Support renderer overlays (used by some extensions such as iframe)
- More strict package name validation
v1.9.1 (2023-08-25)
- Add increased security sandboxing in Electron environment
- Allow loading all extensions at runtime to fix compatibility with some ShovelUtils blocks
v1.9.0 (2023-08-19)
- Supports custom reporters
- Supports custom fonts
- Added option to increase maximum SVG dimensions
- Fixed pause button and close project when stopped compatibility
- Reduced disk IO on initial page load
1.8.0 (2023-06-20)
- Fixed extension list not loading properly after it changes
- BREAKING API CHANGE: options.extensions is now just a list of strings, not a list of objects
v1.7.0 (2023-06-11)
- Implemented new custom extension APIs
- Removed variable ID compression for extension compatibility reasons
- More reliable project metadata fetching on school networks
v1.6.1 (2023-02-25)
- Added new extension APIs: Scratch.fetch, Scratch.openWindow, Scratch.redirect, Scratch.canFetch, Scratch.canOpenWindow, Scratch.canRedirect. Unlike the editor, permission is always granted.
- Fixed project compression affecting script execution order in some projects
v1.6.0 (2023-01-24)
- Prevent trying to drag images in control buttons
- Fix "Close window when project stops" in WKWebView
- Fixed an edge case in comparison blocks involving tab characters
- Optimize comparisons involving strings with a numerical value of 0