Greenlet Versions Save

🦎 Move an async function into its own thread.

1.1.0

4 years ago
  • Fix security errors in Edge & Safari (#38, thanks @spkellydev!)
  • Updated documentation to explain why dynamic invocation of greenlet() is harmful.

CSP users: this release changes Greenlet back to using Blob URLs instead of Data URLs. This means you need to update your CSP to enable blob:

-worker-src data:, script-src data:
+worker-src blob:, script-src blob:

1.0.1

5 years ago
  • Fixes argument mangling issue present in 1.0.0

1.0.0

5 years ago
  • TypeScript definitions! (thanks @karol-majewski!)
  • Automatic Transferables support (thanks @johnsonjo4531!)
    • ArrayBuffers are now zero-copy
    • MessagePort is now fully supported - return a pending promise and go to town
    • ImageBitmaps can be transferred optimally 🎉
  • Switched from Blobs to Data URIs!
    • Mitigate some CSP issues
    • Reduces Greenlet's size to offset the new Transferables support
    • Fixes the Blob URL memory leaking without adding any code

0.1.2

6 years ago
  • Fixes an issue when serializing untranspiled arrow functions
  • Fixes build missing umd and esm bundle

0.1.1

6 years ago

0.1.0

6 years ago

It's alive!