Skip to content

Commit 63e403b

Browse files
authored
Merge pull request #101 from igerber/release/v2.1.5
Bump version to 2.1.5
2 parents 62bd83f + 5147457 commit 63e403b

4 files changed

Lines changed: 29 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,31 @@ 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.5] - 2026-01-22
9+
10+
### Added
11+
- **METHODOLOGY_REVIEW.md** tracking document for methodology review progress
12+
- Review status summary table for all 12 estimators
13+
- Detailed notes template for each estimator by category
14+
- Review process guidelines with checklist and priority ordering
15+
- **`base_period` parameter** for CallawaySantAnna pre-treatment effect computation
16+
- "varying" (default): Pre-treatment uses t-1 as base (consecutive comparisons)
17+
- "universal": All comparisons use g-anticipation-1 as base
18+
- Matches R `did::att_gt()` base_period parameter
19+
- **Pre-merge-check skill** (`/pre-merge-check`) for automated PR validation
20+
- Pattern checks for NaN handling consistency
21+
- Context-specific checklist generation
22+
23+
### Changed
24+
- **Tutorial 02 improvements**: Added pre-trends section, clarified base_period interaction with anticipation
25+
26+
### Fixed
27+
- Not-yet-treated control group now properly excludes cohort g when computing ATT(g,t)
28+
- Aggregation t_stat uses NaN (not 0.0) when SE is non-finite or zero
29+
- Bootstrap inference for pre-treatment effects with `base_period="varying"`
30+
- NaN propagation for empty post-treatment effects in CallawaySantAnna
31+
- Grep word boundary pattern in pre-merge-check skill
32+
833
## [2.1.4] - 2026-01-20
934

1035
### Added
@@ -492,6 +517,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
492517
- `to_dict()` and `to_dataframe()` export methods
493518
- `is_significant` and `significance_stars` properties
494519

520+
[2.1.5]: https://github.com/igerber/diff-diff/compare/v2.1.4...v2.1.5
495521
[2.1.4]: https://github.com/igerber/diff-diff/compare/v2.1.3...v2.1.4
496522
[2.1.3]: https://github.com/igerber/diff-diff/compare/v2.1.2...v2.1.3
497523
[2.1.2]: https://github.com/igerber/diff-diff/compare/v2.1.1...v2.1.2

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.4"
139+
__version__ = "2.1.5"
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.4"
7+
version = "2.1.5"
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.4"
3+
version = "2.1.5"
44
edition = "2021"
55
description = "Rust backend for diff-diff DiD library"
66
license = "MIT"

0 commit comments

Comments
 (0)