Skip to content

Commit b3bee3b

Browse files
Philip Sampaiobillylanchantin
andauthored
Prepare release of v0.8.3 (#921)
* Add changes for v0.8.3 * Change version to v0.8.3 * Apply suggestions from code review Co-authored-by: Billy Lanchantin <[email protected]> * Apply suggestions from code review * One last item --------- Co-authored-by: Billy Lanchantin <[email protected]>
1 parent 1d69e69 commit b3bee3b

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [v0.8.3] - 2024-06-10
11+
12+
### Added
13+
14+
- Add new data type for datetimes with timezones: `{:datetime, precision, time_zone}`
15+
The old dtype is now `{:naive_datetime, precision}`.
16+
17+
- Add option to rechunk the dataframes when using `Explorer.DataFrame.from_parquet/3`
18+
19+
### Changed
20+
21+
- Change the `{:datetime, precision}` dtype to `{:naive_datetime, precision}`.
22+
The idea is to mirror Elixir's datetime, and introduce support for time zones.
23+
Please note: `{:datetime, precision}` will work as an alias for `{:naive_datetime, precision}` for now but will raise a warning.
24+
The alias will be removed in a future release.
25+
26+
- Literal `%NaiveDateTime{}` structs used in expressions will now have `:microsecond` precision.
27+
Previously they defaulted to `:nanosecond` precision.
28+
This was incorrect because `%NaiveDateTime{}` structs only have `:microsecond` precision.
29+
30+
### Fixed
31+
32+
- Fix regression in `Explorer.DataFrame.concat_rows/2`.
33+
It's possible to concat dataframes that are not aligned again.
34+
35+
- Fix "is_finite" and "is_infinite" from `Series` to work in the context of a `Explorer.Query`.
36+
1037
## [v0.8.2] - 2024-04-22
1138

1239
### Added
@@ -985,7 +1012,8 @@ properly compare floats.
9851012

9861013
First release.
9871014

988-
[Unreleased]: https://github.com/elixir-explorer/explorer/compare/v0.8.2...HEAD
1015+
[Unreleased]: https://github.com/elixir-explorer/explorer/compare/v0.8.3...HEAD
1016+
[v0.8.3]: https://github.com/elixir-explorer/explorer/compare/v0.8.2...v0.8.3
9891017
[v0.8.2]: https://github.com/elixir-explorer/explorer/compare/v0.8.1...v0.8.2
9901018
[v0.8.1]: https://github.com/elixir-explorer/explorer/compare/v0.8.0...v0.8.1
9911019
[v0.8.0]: https://github.com/elixir-explorer/explorer/compare/v0.7.2...v0.8.0

lib/explorer/polars_backend/series.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ defmodule Explorer.PolarsBackend.Series do
3838
def to_iovec(series), do: Shared.apply_series(series, :s_to_iovec)
3939

4040
@impl true
41-
def cast(%Series{dtype: :string} = series, {:datetime, precision}),
41+
def cast(%Series{dtype: :string} = series, {:naive_datetime, precision}),
4242
do: Shared.apply_series(series, :s_strptime, [nil, precision])
4343

4444
def cast(series, dtype),

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Explorer.MixProject do
22
use Mix.Project
33

44
@source_url "https://github.com/elixir-nx/explorer"
5-
@version "0.8.3-dev"
5+
@version "0.8.3"
66
@dev? String.ends_with?(@version, "-dev")
77
@force_build? System.get_env("EXPLORER_BUILD") in ["1", "true"]
88

0 commit comments

Comments
 (0)