Skip to content

Commit 5567760

Browse files
authored
Merge pull request #19 from getyourguide/release-please--branches--main--components--dataframe-expectations
chore(main): release 0.3.0
2 parents d008d30 + d4c52e8 commit 5567760

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.2.0"
2+
".": "0.3.0"
33
}

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Changelog
22

3+
## [0.3.0](https://github.com/getyourguide/dataframe-expectations/compare/v0.2.0...v0.3.0) (2025-11-09)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* ‼️ BREAKING CHANGE: The DataFrameExpectationsSuite API has changed. Users must now call .build() before .run().
9+
10+
**Migration guide:**
11+
```python
12+
# Before
13+
suite.run(df)
14+
15+
# After
16+
runner = suite.build()
17+
runner.run(df)
18+
```
19+
20+
**New decorator feature:**
21+
```python
22+
@runner.validate
23+
def load_data():
24+
return pd.read_csv(\"data.csv\")
25+
26+
@runner.validate(allow_none=True)
27+
def optional_load():
28+
return None # Skip validation when None
29+
```
30+
31+
### Features
32+
33+
* implement builder pattern for expectation suite runner ([66cf5a4](https://github.com/getyourguide/dataframe-expectations/commit/66cf5a4f77bb42cf784946df4250f1d8420c6b4d))
34+
35+
36+
### Bug Fixes
37+
38+
* update release please config to generate simple tags ([185a308](https://github.com/getyourguide/dataframe-expectations/commit/185a308bb8e3582c0d5988e96dd4994beff0a5da))
39+
* update release please config to generate simple tags ([fe767c7](https://github.com/getyourguide/dataframe-expectations/commit/fe767c758d1b02042e8dc449ca924b349e9d5916))
40+
41+
42+
### Documentation
43+
44+
* add Spark session initialization to PySpark examples and update author info ([2b0cf25](https://github.com/getyourguide/dataframe-expectations/commit/2b0cf25363ddf245b9f1c42e01c11fc1e8a5909e))
45+
346
## [0.2.0](https://github.com/getyourguide/dataframe-expectations/compare/dataframe-expectations-v0.1.1...dataframe-expectations-v0.2.0) (2025-11-08)
447

548

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dataframe-expectations"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
description = "Python library designed to validate Pandas and PySpark DataFrames using customizable, reusable expectations"
55
readme = "README.md"
66
requires-python = ">=3.10"

0 commit comments

Comments
 (0)