Skip to content

Commit 49e200a

Browse files
authored
Release version 1.0 (#426)
1 parent 7badc9e commit 49e200a

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

NEWS.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# CategoricalArrays.jl v1.0.0 Release Notes
2+
3+
## Breaking changes
4+
5+
* `unique(::CategoricalArray)` and `levels(::CategoricalArray)` return
6+
a `CategoricalArray` instead of unwrapping values, consistent with
7+
`unique(::AbstractArray)` in Base and `levels(::AbstractArray)` in DataAPI
8+
([#358](https://github.com/JuliaData/CategoricalArrays.jl/pull/358),
9+
[#425](https://github.com/JuliaData/CategoricalArrays.jl/pull/425)).
10+
11+
* `cut` always closes the last interval on the right
12+
([#409](https://github.com/JuliaData/CategoricalArrays.jl/pull/409)).
13+
14+
* `cut(x, breaks)` rounds breaks to generate shorter labels
15+
([#422](https://github.com/JuliaData/CategoricalArrays.jl/pull/422)).
16+
17+
* `cut(x, ngroups)` takes breaks from actual values instead of using
18+
quantile estimates which are generally longer
19+
([#416](https://github.com/JuliaData/CategoricalArrays.jl/pull/416))
20+
This only changes group labels, not their contents.
21+
22+
* `T(::CategoricalArray{U})` and `convert(T, ::CategoricalArray{U})`
23+
now consistently return an `Array{U}` for `T` in `Array`, `Vector`, `Matrix`.
24+
This avoids creating `Array{<:CategoricalValue}` objects unless explicitly requested
25+
([#420](https://github.com/JuliaData/CategoricalArrays.jl/pull/420)).
26+
27+
28+
* All deprecations have been removed
29+
([#419](https://github.com/JuliaData/CategoricalArrays.jl/pull/419)).
30+
31+
## New features
32+
33+
* Support reading from and writing to Arrow files
34+
([#415](https://github.com/JuliaData/CategoricalArrays.jl/pull/415)).
35+
36+
* Improve performance of `recode`
37+
([#407](https://github.com/JuliaData/CategoricalArrays.jl/pull/407)).
38+
39+
* Support weighted quantiles in `cut`
40+
([#423](https://github.com/JuliaData/CategoricalArrays.jl/pull/423)).
41+
42+
## Bug fixes
43+
44+
* Fix performance regression on Julia 1.11 and above
45+
([#418](https://github.com/JuliaData/CategoricalArrays.jl/pull/418)).
46+
47+
* Fix `cut` corner cases with duplicated breaks
48+
([#410](https://github.com/JuliaData/CategoricalArrays.jl/pull/410)).

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "CategoricalArrays"
22
uuid = "324d7699-5711-5eae-9e2f-1d82baa6b597"
3-
version = "0.10.8"
3+
version = "1.0.0"
44

55
[deps]
66
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"

0 commit comments

Comments
 (0)