<commit_before># Changelog

## UNRELEASED

💥 **Breaking changes**

- **Minimum PHP version is now 7.4**
- `TimeZoneOffset` does not allow seconds anymore (#35):
  - `TimeZoneOffset::of()`'s `$seconds` parameter is removed
  - `TimeZoneOffset::ofTotalSeconds()` now throws if the number of seconds is not a multiple of `60`
  - `IsoParsers::timeZoneOffset()` does not allow seconds in timezone offset anymore; this affects not only `TimeZoneOffset:parse()` but also `ZonedDateTime::parse()`

✨ **New methods**

- `Period::fromDateInterval()` converts a native `DateInterval` object to `Period`

## [0.3.2](https://github.com/brick/date-time/releases/tag/0.3.2) - 2021-06-30

✨ **New methods**
<commit_msg>Add missing CHANGELOG entry<commit_after># Changelog

## UNRELEASED

💥 **Breaking changes**

- **Minimum PHP version is now 7.4**
- `TimeZoneOffset` does not allow seconds anymore (#35):
  - `TimeZoneOffset::of()`'s `$seconds` parameter is removed
  - `TimeZoneOffset::ofTotalSeconds()` now throws if the number of seconds is not a multiple of `60`
  - `IsoParsers::timeZoneOffset()` does not allow seconds in timezone offset anymore; this affects not only `TimeZoneOffset:parse()` but also `ZonedDateTime::parse()`
  
🔧 **Fix**

- Fixed return type of `TimeZoneRegion::parse()` (#38) Thanks to @adrianguenter

✨ **New methods**

- `Period::fromDateInterval()` converts a native `DateInterval` object to `Period`

## [0.3.2](https://github.com/brick/date-time/releases/tag/0.3.2) - 2021-06-30

✨ **New methods**

{'fraction_non_alphanumeric': 0.1517150395778364, 'fraction_numerical': 0.027704485488126648, 'mean_word_length': 4.996047430830039, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1815298', 'n_tokens_mistral': 531, 'n_tokens_neox': 493, 'n_words': 156}