Skip to content

Commit 36b57d0

Browse files
authored
Merge pull request #114 from igerber/release/v2.1.9
Bump version to 2.1.9
2 parents f60e7e7 + 0ce4cd3 commit 36b57d0

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.9] - 2026-01-26
9+
10+
### Added
11+
- **Unified LOOCV for TROP joint method** with Rust acceleration (PR #113)
12+
- Leave-one-out cross-validation for rank and regularization parameter selection
13+
- Rust backend provides significant speedup for LOOCV grid search
14+
15+
### Fixed
16+
- **TROP joint method Rust/Python parity** (PR #113)
17+
- Fixed valid_count bug in LOOCV computation
18+
- Proper NaN exclusion for units with no valid pre-period data
19+
- Zero weight assignment for units missing pre-period data
20+
- Jackknife variance estimation fixes
21+
- Staggered adoption validation and simultaneous adoption enforcement
22+
- Treated-pre NaN handling improvements
23+
- LOOCV subsampling fix for Python-only path
24+
825
## [2.1.8] - 2026-01-25
926

1027
### Added
@@ -567,6 +584,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
567584
- `to_dict()` and `to_dataframe()` export methods
568585
- `is_significant` and `significance_stars` properties
569586

587+
[2.1.9]: https://github.com/igerber/diff-diff/compare/v2.1.8...v2.1.9
570588
[2.1.8]: https://github.com/igerber/diff-diff/compare/v2.1.7...v2.1.8
571589
[2.1.7]: https://github.com/igerber/diff-diff/compare/v2.1.6...v2.1.7
572590
[2.1.6]: https://github.com/igerber/diff-diff/compare/v2.1.5...v2.1.6

diff_diff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
load_mpdta,
137137
)
138138

139-
__version__ = "2.1.8"
139+
__version__ = "2.1.9"
140140
__all__ = [
141141
# Estimators
142142
"DifferenceInDifferences",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "diff-diff"
7-
version = "2.1.8"
7+
version = "2.1.9"
88
description = "A library for Difference-in-Differences causal inference analysis"
99
readme = "README.md"
1010
license = "MIT"

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diff_diff_rust"
3-
version = "2.1.8"
3+
version = "2.1.9"
44
edition = "2021"
55
description = "Rust backend for diff-diff DiD library"
66
license = "MIT"

0 commit comments

Comments
 (0)