Skip to content

Commit

Permalink
Merge pull request arrow-py#656 from systemcatch/0150-changelog
Browse files Browse the repository at this point in the history
Update CHANGELOG for 0.15.0 and bump version
  • Loading branch information
jadchaar committed Sep 8, 2019
2 parents 2344c11 + a83cef8 commit 81927fa
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## 0.15.0
- [NEW] Added support for DDD and DDDD ordinal date tokens. The following functionality is now possible: `arrow.get("1998-045")`, `arrow.get("1998-45", "YYYY-DDD")`, `arrow.get("1998-045", "YYYY-DDDD")`.
- [NEW] ISO 8601 basic format for dates and times is now supported (e.g. `YYYYMMDDTHHmmssZ`).
- [NEW] Added `humanize` week granularity translations for French, Russian and Swiss German locales.
- [CHANGE] Timestamps of type `str` are no longer supported **without a format string** in the `arrow.get()` method. This change was made to support the ISO 8601 basic format and to address bugs such as [#447](https://github.com/crsmithdev/arrow/issues/447).

```python
# will NOT work in v0.15.0
arrow.get("1565358758")
arrow.get("1565358758.123413")

# will work in v0.15.0
arrow.get("1565358758", "X")
arrow.get("1565358758.123413", "X")
arrow.get(1565358758)
arrow.get(1565358758.123413)
```

- [CHANGE] When a meridian token (a|A) is passed and no meridians are available for the specified locale (e.g. unsupported or untranslated) a `ParserError` is raised.
- [CHANGE] The timestamp token (`X`) will now match float timestamps of type `str`: `arrow.get(“1565358758.123415”, “X”)`.
- [CHANGE] Strings with leading and/or trailing whitespace will no longer be parsed without a format string. Please see [the docs](https://arrow.readthedocs.io/en/latest/#regular-expressions) for ways to handle this.
- [FIX] The timestamp token (`X`) will now only match on strings that **strictly contain integers and floats**, preventing incorrect matches.
- [FIX] Most instances of `arrow.get()` returning an incorrect `Arrow` object from a partial parsing match have been eliminated. The following issue have been addressed: [#91](https://github.com/crsmithdev/arrow/issues/91), [#196](https://github.com/crsmithdev/arrow/issues/196), [#396](https://github.com/crsmithdev/arrow/issues/396), [#434](https://github.com/crsmithdev/arrow/issues/434), [#447](https://github.com/crsmithdev/arrow/issues/447), [#456](https://github.com/crsmithdev/arrow/issues/456), [#519](https://github.com/crsmithdev/arrow/issues/519), [#538](https://github.com/crsmithdev/arrow/issues/538), [#560](https://github.com/crsmithdev/arrow/issues/560).

## 0.14.7

- [CHANGE] `ArrowParseWarning` will no longer be printed on every call to `arrow.get()` with a datetime string. The purpose of the warning was to start a conversation about the upcoming 0.15.0 changes and we appreciate all the feedback that the community has given us!
Expand Down
2 changes: 1 addition & 1 deletion arrow/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.14.7"
__version__ = "0.15.0"

0 comments on commit 81927fa

Please sign in to comment.