Skip to content

v4.1.2 Bug Fix Release

Compare
Choose a tag to compare
@austinksmith austinksmith released this 18 May 17:46
· 42 commits to v4.1.2 since this release

This release is mostly a stop gap release to resolve outstanding bugs that were reported, this will likely be the last version that is hand written and optimized specifically for each platform as the library complexity is getting a little out of hand. Future releases assuming they are performant will be written with the latest features in mind and transpiled to provide legacy support.

Resolved Issues

Microsoft Edge navigator.hardwareConcurrency is undefined error.
Node Worker is undefined error.

Beta Features

When using the library within Node.js you can now pass an optional Worker parameter referencing which third party worker implementation you would like to use. This feature is in beta and may or may not work depending on the implementation you choose to use. Please submit a issue report if you encounter problems with a specific implementation.

var hamsters = require('hamsters.js');
var webWorker = require('....').Worker;

hamsters.init({
  maxThreads: 3,
  persistence: false,
  Worker: webWorker
});