Skip to content

Releases: d-markey/squadron

v6.0.3

24 Sep 17:14
ea507cb
Compare
Choose a tag to compare

Major version with Web Assembly support

v5.1.3

27 Jun 08:32
Compare
Choose a tag to compare

Version 5.1.3

Squadron 5.1.2

23 Jun 07:34
9a9b724
Compare
Choose a tag to compare
v5.1.2

Version

Squadron annotations: use squadron_builder to generate the boilerplate code

02 Aug 23:36
6465473
Compare
Choose a tag to compare

Now with annotations to support code generation. To be used with package squadron_builder.

Version 4.0.0

13 May 22:28
Compare
Choose a tag to compare
  • Breaking changes: all deprecated artefacts have been removed.
  • Breaking change: LocalSquadronLogger has been deleted.
  • Breaking change: the args and token arguments of methods send() and stream() are now named argument.
  • Breaking change: removed the optional id parameter that was passed to Worker constructors.
  • Breaking change: disabled message inspection for Web channels. In previous versions, Squadron would inspect each piece of data exchanged via _JsChannels to identify objects whose ownership must be transfered to the receiving end (the transfer argument in postMessage). However most of the time, the request / response objects are usually made of List, Map, and base types, all of which can cross thread boundaries "as-is". This behavior is now controlled by optional parameters inspectRequest and inspectResponse of methods Worker.execute() and Worker.stream(), defaulting to false thus disabling message inspection. Passing true will activate message inspection for request and/or response and will be necessary when the message contains an object whose ownership must be transfered to the receiving end, typicaly a MessagePort. Basic testing found message transfer time improvement around ~5-10% for large payloads, e.g. a List containing many Map items (note that in Web scenarios, JSON serialization could prove a more efficient alternative). It should have little to no effect on smaller messages. Start requests will always be processed with inspectRequest = true and inspectResponse = true.
  • Fixed issue with workers on native platforms: ensure all ReceivePorts are closed upon Isolate termination.
  • Support logging accross workers (which made LocalSquadronLogger obsolete).
  • Added support to reset the Squadron singleton.
  • Reworked examples & unit tests.

Version 3.4

23 Apr 11:17
Compare
Choose a tag to compare

Version 3.4 with proper streaming capabilities.

Version 3.3.2

06 Apr 22:54
Compare
Choose a tag to compare
v3.3.2

Merge branch 'main' of https://github.com/d-markey/squadron