Skip to content

Commit da2d648

Browse files
authored
Merge pull request #109 from igerber/release/v2.1.7
Release v2.1.7
2 parents e4d0044 + 90d8428 commit da2d648

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ 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.7] - 2026-01-25
9+
10+
### Fixed
11+
- **`plot_event_study` reference period normalization behavior**
12+
- Effects are now only normalized when `reference_period` is explicitly provided
13+
- Auto-inferred reference periods only apply hollow marker styling (no normalization)
14+
- Reference period SE is set to NaN during normalization (constraint, not estimate)
15+
- Updated docstring to clarify explicit vs auto-inferred behavior
16+
17+
### Changed
18+
- Refactored visualization tests to reuse `cs_results` fixture for better performance
19+
820
## [2.1.6] - 2026-01-24
921

1022
### Added
@@ -530,6 +542,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
530542
- `to_dict()` and `to_dataframe()` export methods
531543
- `is_significant` and `significance_stars` properties
532544

545+
[2.1.7]: https://github.com/igerber/diff-diff/compare/v2.1.6...v2.1.7
533546
[2.1.6]: https://github.com/igerber/diff-diff/compare/v2.1.5...v2.1.6
534547
[2.1.5]: https://github.com/igerber/diff-diff/compare/v2.1.4...v2.1.5
535548
[2.1.4]: https://github.com/igerber/diff-diff/compare/v2.1.3...v2.1.4

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

0 commit comments

Comments
 (0)