Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Samply.Focus v0.21.0 2026-03-13
# Samply.Focus v0.23.0 2026-04-13

## Major changes

* rand upgraded v0.9.0, breaking changes in statrs, laplace-rs
* laplace-rs upgraded to v0.7.0
* MIABIS CQL
* added CQL flavour parameter which can differ from the project name
* custom workaround logic for MIABIS CQL

# Samply.Focus v0.22.0 2026-03-13

## Major changes

Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "focus"
version = "0.22.0"
version = "0.23.0"
edition = "2021"
license = "Apache-2.0"

Expand All @@ -25,9 +25,9 @@ tokio = { version = "1.25.0", default-features = false, features = [
beam-lib = { git = "https://github.com/samply/beam", branch = "develop", features = [
"http-util",
] }
laplace_rs = { git = "https://github.com/samply/laplace-rs.git", tag = "v0.6.0" }
laplace_rs = { git = "https://github.com/samply/laplace-rs.git", tag = "v0.7.0" }
uuid = "1.8.0"
rand = { default-features = false, version = "0.8.5" }
rand = { default-features = false, version = "0.9.0" }
futures-util = { version = "0.3", default-features = false, features = ["std"] }
tryhard = "0.5"

Expand Down
4 changes: 2 additions & 2 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::mr;
use base64::engine::general_purpose;
use base64::Engine as _;
use laplace_rs::{get_from_cache_or_privatize, Bin, ObfCache, ObfuscateBelow10Mode};
use rand::thread_rng;
use rand::rng;
use serde_json::Value;
use std::collections::HashMap;
use tracing::warn;
Expand Down Expand Up @@ -272,7 +272,7 @@ fn obfuscate_population(
domain_limit: Option<f64>,
bbmri_rounding: bool,
) -> Result<(), FocusError> {
let mut rng = thread_rng();
let mut rng = rng();
for pop in val {
let obfuscated = get_from_cache_or_privatize(
pop.count,
Expand Down
Loading