Skip to content

Releases: SodiumFRP/sodium-rust

Version 2.1.2 (GC Performance fix)

27 Nov 06:54
Compare
Choose a tag to compare
  • reset_ref_count_adj() performance fix.

Version 2.1.1

27 Oct 02:28
Compare
Choose a tag to compare

Bix fix regarding memory management of Listener used in conjunction with Operational::defer.

Version 2.1.0

28 Jul 07:47
Compare
Choose a tag to compare
  • Added Router<A, K>, just like in the TypeScript and C++ versions. It is for lowing the noise in the network when doing lots of filters on the same stream.
  • Added SodiumCtx::post for end user usage. Before it was only available internally.
  • Added missing Stream::split
  • Added drop based Transactions just like in the C++ version. (Use SodiumCtx::new_transaction to create a drop-based transaction.)
  • Added missing snapshot3, snapshot4, snapshot5.

Version 2.0.2

25 Jul 04:15
Compare
Choose a tag to compare

Bug Fixes:
Cell::value() was not firing its initial value in the same transaction. Now it is.
Cell::map(), Cell::switchS, Cell::switchC and CellLoop::loop_ all had lazyness bugs.

Version 2.0.1

23 Apr 21:28
Compare
Choose a tag to compare

Bug Fixes:

  • Was missing Clone for SodiumCtx.
  • Memory dependencies passed to listen() were not used.

v2.0.0

21 Apr 13:23
Compare
Choose a tag to compare

Complete rewrite of sodium-rust for a nicer memory management experience. No more NoGc/Gc wrappers, and no more need to implement Trace/Finalize traits for values you are passing through sodium objects.

Sodium for Rust v1.0.1

24 Nov 01:13
Compare
Choose a tag to compare

Changes

  • trace / finalize implemented for all primitive types and most collection types of the standard library.
  • NoGc<> wrapper option for passing your own structs without defining trace / finalize.
  • Cell.listen_weak fix. (I accidentally pointed it to the strong one in v1.0.0)
  • SodiumCtx automatically kept alive as long as any sodium objects are alive.
  • Disabled calling CellSink::send / StreamSink::send from inside sodium callbacks (including inside lambdas passed to functions like map)
  • Added SodiumCtx::post for the work around for the dot point above. (Useful for tunnelling through IO).
  • Cell / Stream :: add_cleanup for additional cleanups (Useful for tunnelling through IO)

Sodium FRP for Rust (push pull)

17 Nov 10:51
Compare
Choose a tag to compare

All tests passing, ... and finally the memory is no longer leaking for those tests.