Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# CategoricalArrays.jl v1.0.0 Release Notes

## Breaking changes

* `unique(::CategoricalArray)` and `levels(::CategoricalArray)` return
a `CategoricalArray` instead of unwrapping values, consistent with
`unique(::AbstractArray)` in Base and `levels(::AbstractArray)` in DataAPI
([#358](https://github.com/JuliaData/CategoricalArrays.jl/pull/358),
[#425](https://github.com/JuliaData/CategoricalArrays.jl/pull/425)).

* `cut` always closes the last interval on the right
([#409](https://github.com/JuliaData/CategoricalArrays.jl/pull/409)).

* `cut(x, breaks)` rounds breaks to generate shorter labels
([#422](https://github.com/JuliaData/CategoricalArrays.jl/pull/422)).

* `cut(x, ngroups)` takes breaks from actual values instead of using
quantile estimates which are generally longer
([#416](https://github.com/JuliaData/CategoricalArrays.jl/pull/416))
This only changes group labels, not their contents.

* `T(::CategoricalArray{U})` and `convert(T, ::CategoricalArray{U})`
now consistently return an `Array{U}` for `T` in `Array`, `Vector`, `Matrix`.
This avoids creating `Array{<:CategoricalValue}` objects unless explicitly requested
([#420](https://github.com/JuliaData/CategoricalArrays.jl/pull/420)).


* All deprecations have been removed
([#419](https://github.com/JuliaData/CategoricalArrays.jl/pull/419)).

## New features

* Support reading from and writing to Arrow files
([#415](https://github.com/JuliaData/CategoricalArrays.jl/pull/415)).

* Improve performance of `recode`
([#407](https://github.com/JuliaData/CategoricalArrays.jl/pull/407)).

* Support weighted quantiles in `cut`
([#423](https://github.com/JuliaData/CategoricalArrays.jl/pull/423)).

## Bug fixes

* Fix performance regression on Julia 1.11 and above
([#418](https://github.com/JuliaData/CategoricalArrays.jl/pull/418)).

* Fix `cut` corner cases with duplicated breaks
([#410](https://github.com/JuliaData/CategoricalArrays.jl/pull/410)).
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "CategoricalArrays"
uuid = "324d7699-5711-5eae-9e2f-1d82baa6b597"
version = "0.10.8"
version = "1.0.0"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Expand Down
Loading