Taskless Loader v0.0.13
I'm happy to share that 0.0.13 of the JavaScript / TypeScript loader is now generally available. One of the biggest challenges in making the Taskless experience seamless is making our loader libraries work regardless of the node.js version you're bringing to the table.
This release fixes some race conditions around the older --loader
style syntax and paves the way for having an automatic timeout & failover option should the data.tskl.es
domain ever become unreachable.
Like always, you can use the Taskless Loader without a taskless.io account. In local mode, you'll generate ndjson logs, with the ability to easily load your own custom lua behavior into the Service Mesh layer. It's the perfect choice for those who can't (or won't) muck about in their k8s configurations, but want all of the layer-7 goodies like URL rewriting, retries and durability, or logging that goes beyond traditional APM solutions.
Full Changelog
Patch Changes
- b7233db: Makes the autoloader workflow fully synchronous - For older node instances, the mock / shimming process needs to be synchronous as part of the loader code. The blocking point was moved to the point of first request. This showed up mostly when using the
--loader
syntax.--import
was unaffected. - a2ce1d1: Improves runtime compatibility - The previous vite build imported lua scripts via
new URL("data:...")
which can cause issues on some versions of node. This changes to a saferimport from...
syntax fromvite