Releases: d-markey/squadron
Releases · d-markey/squadron
v7.1.2
v7.1.1
v7.1.0
v6.0.3
v5.1.3
Squadron 5.1.2
v5.1.2 Version
Squadron annotations: use squadron_builder to generate the boilerplate code
Now with annotations to support code generation. To be used with package squadron_builder.
Version 4.0.0
- Breaking changes: all deprecated artefacts have been removed.
- Breaking change:
LocalSquadronLoggerhas been deleted. - Breaking change: the
argsandtokenarguments of methodssend()andstream()are now named argument. - Breaking change: removed the optional
idparameter that was passed toWorkerconstructors. - 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 (thetransferargument inpostMessage). However most of the time, the request / response objects are usually made ofList,Map, and base types, all of which can cross thread boundaries "as-is". This behavior is now controlled by optional parametersinspectRequestandinspectResponseof methodsWorker.execute()andWorker.stream(), defaulting tofalsethus disabling message inspection. Passingtruewill 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 aMessagePort. Basic testing found message transfer time improvement around ~5-10% for large payloads, e.g. aListcontaining manyMapitems (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 withinspectRequest = trueandinspectResponse = true. - Fixed issue with workers on native platforms: ensure all
ReceivePortsare closed uponIsolatetermination. - Support logging accross workers (which made
LocalSquadronLoggerobsolete). - Added support to reset the Squadron singleton.
- Reworked examples & unit tests.
Version 3.4
Version 3.4 with proper streaming capabilities.
Version 3.3.2
v3.3.2 Merge branch 'main' of https://github.com/d-markey/squadron