From 97aef6b2f04b5c355620052c11d590ad1aff0e14 Mon Sep 17 00:00:00 2001 From: Zefira Shannon Date: Mon, 26 Feb 2024 06:22:21 -0800 Subject: [PATCH 1/3] Add more keywords and relevant categories --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index cc31a48..6a7a25a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,8 @@ authors = ["Clinton Selke "] edition = "2021" license = "BSD-3-Clause" repository = "https://github.com/SodiumFRP/sodium-rust" -keywords = ["frp"] +categories = ["asynchronous", "rust-patterns"] +keywords = ["frp", "functional", "reactive", "observer", "events"] description = "Sodium FRP (Functional Reactive Programming)" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 79a5dea81a2731b45cce44d2bc69022e5da01044 Mon Sep 17 00:00:00 2001 From: Zefira Shannon Date: Mon, 26 Feb 2024 06:23:46 -0800 Subject: [PATCH 2/3] Add my name to the authors field --- Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6a7a25a..d991897 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sodium-rust" version = "2.1.2" -authors = ["Clinton Selke "] +authors = ["Clinton Selke ", "Zefira Shannon "] edition = "2021" license = "BSD-3-Clause" repository = "https://github.com/SodiumFRP/sodium-rust" @@ -9,8 +9,6 @@ categories = ["asynchronous", "rust-patterns"] keywords = ["frp", "functional", "reactive", "observer", "events"] description = "Sodium FRP (Functional Reactive Programming)" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] log = "0.4.8" parking_lot = "0.12.1" From 21faf51375ff9854a3846124110212eab9643e69 Mon Sep 17 00:00:00 2001 From: Zefira Shannon Date: Tue, 27 Feb 2024 09:27:42 -0800 Subject: [PATCH 3/3] Add a CHANGELOG --- CHANGELOG.md | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..24eb5f1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,127 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added + +- This CHANGELOG file. +- Dependency on [parking-lot]. + +[parking-lot]: https://crates.io/crates/parking-lot + +### Changed + +- Various small performance improvements. + +## [2.1.2] - 2022-11-27 + +### Added + +- Added basic documentation for every public API [#62] + +### Fixed + +- Removed several API items related to internal dependency tracking + from the documentation. +- Fixed garbage collector bug that was causing the time taken by every + transaction to increase exponentially with the number of nodes in + the graph. [#62] + +[#62]: https://github.com/SodiumFRP/sodium-rust/pull/62 + + +## [2.1.1] - 2020-10-27 + +### Fixed + +- Fixed `Listener` memory management when using `Operational::defer`. + + +## [2.1.0] - 2020-07-28 + +### Added + +- Added methods for sampling up to 6 `Cell`s from one + `Stream::snapshot`. [#43] +- Add a Drop-based `Transaction` scope. [#53] +- Added `Stream::split` method for flattening a `Stream` into a `Stream`. [#44] +- Added missing public `SodiumCtx::post` method. [#42] +- Added `Router`, a more performant way of splitting one `Stream` into + many `Stream`s. + +[#43]: https://github.com/SodiumFRP/sodium-rust/issues/43 +[#53]: https://github.com/SodiumFRP/sodium-rust/issues/53 +[#44]: https://github.com/SodiumFRP/sodium-rust/issues/44 +[#42]: https://github.com/SodiumFRP/sodium-rust/issues/42 +[#57]: https://github.com/SodiumFRP/sodium-rust/issues/57 + + +## [2.0.2] - 2020-07-25 + +### Fixed + +- Correctly use `Lazy` values in `CellLoop::loop`. [#45] + +[#45]: https://github.com/SodiumFRP/sodium-rust/issues/45 + + +## [2.0.1] - 2020-04-24 + +### Added + +- Added missing `Clone` impl for `SodiumCtx`. + +### Fixed + +- Track dependencies correctly in `Stream::listen`. + + +## [2.0.0] - 2020-04-21 + +Version 2 rewrite. + + +## [1.0.1] - 2018-11-24 + +### Added + +- Added `Transaction::is_active` method. [#26] + +### Changed + +- Disallow calling `send` in Sodium callbacks, use `post` to make it + happen in the next transaction instead. [#32] + +### Fixed + +- Fixed `SampleLazy` bug. [#23] +- Fixed `IsCell::listen_weak` now correctly uses `Cell::listen_weak`. [#30] +- Keep `SodiumCtx` alive in memory when any Sodium objects are alive. [#29] + +[#23]: https://github.com/SodiumFRP/sodium-rust/issues/23 +[#26]: https://github.com/SodiumFRP/sodium-rust/issues/26 +[#29]: https://github.com/SodiumFRP/sodium-rust/issues/29 +[#30]: https://github.com/SodiumFRP/sodium-rust/issues/30 +[#32]: https://github.com/SodiumFRP/sodium-rust/issues/32 +[#34]: https://github.com/SodiumFRP/sodium-rust/issues/34 + + +## [1.0.0] - 2018-11-17 + +Initial release. + +[Unreleased]: https://github.com/SodiumFRP/sodium-rust/compare/v2.1.2...HEAD +[2.1.2]: https://github.com/SodiumFRP/sodium-rust/compare/2.1.1...2.1.2 +[2.1.1]: https://github.com/SodiumFRP/sodium-rust/compare/2.1.0...2.1.1 +[2.1.0]: https://github.com/SodiumFRP/sodium-rust/compare/2.0.2...2.1.0 +[2.0.2]: https://github.com/SodiumFRP/sodium-rust/compare/2.0.1...2.0.2 +[2.0.1]: https://github.com/SodiumFRP/sodium-rust/compare/2.0.0...2.0.1 +[2.0.0]: https://github.com/SodiumFRP/sodium-rust/compare/1.0.1...2.0.0 +[1.0.1]: https://github.com/SodiumFRP/sodium-rust/compare/1.0.0...1.0.1 +[1.0.0]: https://github.com/SodiumFRP/sodium-rust/releases/tag/v1.0.0