Releases: SodiumFRP/sodium-rust
Releases · SodiumFRP/sodium-rust
Version 2.1.2 (GC Performance fix)
reset_ref_count_adj()
performance fix.
Version 2.1.1
Bix fix regarding memory management of Listener used in conjunction with Operational::defer.
Version 2.1.0
- 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
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
Bug Fixes:
- Was missing Clone for SodiumCtx.
- Memory dependencies passed to listen() were not used.
v2.0.0
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
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 likemap
) - 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)
All tests passing, ... and finally the memory is no longer leaking for those tests.