Skip to content

v3.3.0

Choose a tag to compare

@OmniacDev OmniacDev released this 25 Feb 10:35
· 21 commits to main since this release

v3.3.0 fixes an issue with IPC.invoke and IPC.handle that caused concurrent invokes to resolve from the first handle, rather than their corresponding handles. This update is backwards-compatible, but updating is recommended as the previous behavior is not correct.

  • feat: impl correlation for IPC.invoke & IPC.handle 20f01fd

    • repurpose Header encoding to signature, and extract guid & signature into Meta
    • expose packet meta to NET.listen callbacks
    • add metaOverride to NET.emit options
    • update IPC.invoke to enforce guid correlation when "+correlation" flag is present in signature
    • update IPC.handle to use correlated meta when "+correlation" flag is present in signature
    • rearrange and rename a few internal things
  • feat: improve & simplify typings 66df856

    • remove PROTO.Phantom<T> and PROTO.Infer<T>
    • swap generics from serializable type to value type
    • use NoInfer<T> to ensure T is inferred from the serializer/deserializer, not from the value

Full Changelog: v3.2.1...v3.3.0