Skip to content

Commit bfdf07b

Browse files
author
Philip Sampaio
authored
Release v0.8.1 (#869)
1 parent ea4fe38 commit bfdf07b

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [v0.8.1] - 2024-02-24
11+
12+
### Added
13+
14+
- Add `Explorer.Series.field/2` to extract a field from a struct series.
15+
It returns a new series with the field's dtype.
16+
17+
- Add `Explorer.Series.json_decode/2` that can decode a string series containing
18+
valid JSON objects according to `dtype`.
19+
20+
- Add eager `count/1` and lazy `size/1` to `Explorer.Series`.
21+
22+
- Add support for maps as expressions inside `Explorer.Query`. They are "converted"
23+
to structs.
24+
25+
- Add `json_path_match/2` to extract a string series from a string containing valid
26+
JSON objects. See the article [JSONPath - XPath for JSON](https://goessner.net/articles/JsonPath/)
27+
for details about JSON paths.
28+
29+
- Add `Explorer.Series.row_index/1` to retrieve the index of rows starting from 0.
30+
31+
- Add support for passing the `:on` column directly (instead of inside a list)
32+
in `Explorer.DataFrame.join/3`.
33+
34+
### Changed
35+
36+
- Remove some deprecated functions from documentation.
37+
38+
- Change internal representation of the `:struct` dtype to use list of tuples instead of a map
39+
to represent the dtypes of each field. This shouldn't break because we normalise maps to lists
40+
when a struct dtype is passed in `from_list/2` or `cast/2`.
41+
42+
- Update Rustler minimum version to `~> 0.31`. Since Rustler is optional, this shouldn't affect
43+
most of the users.
44+
45+
### Fixed
46+
47+
- Fix float overflow error to avoid crashing the VM, and instead it returns an argument error.
48+
49+
- Fix `Explorer.DataFrame.print/2` for when the DF contains structs.
50+
1051
## [v0.8.0] - 2024-01-20
1152

1253
### Added
@@ -859,7 +900,8 @@ properly compare floats.
859900

860901
First release.
861902

862-
[Unreleased]: https://github.com/elixir-explorer/explorer/compare/v0.8.0...HEAD
903+
[Unreleased]: https://github.com/elixir-explorer/explorer/compare/v0.8.1...HEAD
904+
[v0.8.1]: https://github.com/elixir-explorer/explorer/compare/v0.8.0...v0.8.1
863905
[v0.8.0]: https://github.com/elixir-explorer/explorer/compare/v0.7.2...v0.8.0
864906
[v0.7.2]: https://github.com/elixir-explorer/explorer/compare/v0.7.1...v0.7.2
865907
[v0.7.1]: https://github.com/elixir-explorer/explorer/compare/v0.7.0...v0.7.1

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.9.0-dev"
5+
@version "0.8.1"
66
@dev? String.ends_with?(@version, "-dev")
77
@force_build? System.get_env("EXPLORER_BUILD") in ["1", "true"]
88

0 commit comments

Comments
 (0)