Skip to content

Commit 5859aad

Browse files
committed
Document changes included in v0.5
1 parent 20a66e9 commit 5859aad

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Change Log
22

3+
## 0.5
4+
5+
- New `UnDelta` and `UnInt` classes for uncertain durations
6+
- `Undate.duration` now returns either a `Timedelta` or an `UnDelta` if the duration is ambiguous
7+
- New properties `possible_years` and `representative_years` on `Undate` class, used for calculating durations for uncertain years and months
8+
- New `weekday` method on class `undate.date.Date`
9+
- Calendar converter improvements:
10+
- Calendar converter classes can optional provide minimum and maximum years for uncertain dates
11+
- New calendar methods `days_in_year` and `representative_years`
12+
- Hebrew date parser now allows for week days, along with additional month variants
13+
- Preliminary Seleucide calendar converter class, based on Hebrew calendar with a year offset
14+
- New method `as_calendar` on `Undate` class, to set calendar without doing any conversion
15+
- Readme examples have been improved and extended
16+
- New example notebook testing Hebrew, Islamic, and Seleucid date parsing and conversion with Princeton Geniza Project data
17+
- bugfix: duration for uncertain years previously returned the duration from earliest to latest possible dates in range; now returns an `UnDelta` with the possible durations for the possible years in the given calendar
18+
319
## 0.4
420

521
- Undate is now Calendar aware / Calendar explicit; default is Gregorian
@@ -20,7 +36,6 @@
2036
- Reorganized examples folder to avoid unnecessary nesting
2137
- ISMI data has been updated from older JSON data to examples in RDF (turtle)
2238

23-
2439
## 0.3.1
2540

2641
Update readthedocs config for current installation
@@ -49,7 +64,7 @@ Update readthedocs config for current installation
4964

5065
### numpy impact
5166

52-
Performance differences seem to be negligible, but it does increase payload size. The virtualenv for installing version 0.2 was 14MB; when installing the newer version with numpy, the virtualenv is 46MB (the numpy folder in site packages is 31MB on its own).
67+
Performance differences seem to be negligible, but it does increase payload size. The virtualenv for installing version 0.2 was 14MB; when installing the newer version with numpy, the virtualenv is 46MB (the numpy folder in site packages is 31MB on its own).
5368

5469
## 0.2
5570

0 commit comments

Comments
 (0)