Contents

Changelog

Contents

Changelog

2023.11.0

Released on November 10, 2023

Highlights

Zero-copy P2P Array Rechunking

Users should see significant performance improvements when using in-memory P2P array rechunking. This is due to no longer copying underlying data buffers.

Below shows a simple example where we compare performance of different rechunking methods.

shape = (30_000, 6_000, 150) # 201.17 GiB
input_chunks = (60, -1, -1) # 411.99 MiB
output_chunks = (-1, 6, -1) # 205.99 MiB

arr = da.random.random(size, chunks=input_chunks)
with dask.config.set({
    "array.rechunk.method": "p2p",
    "distributed.p2p.disk": True,
}):
    (
      da.random.random(size, chunks=input_chunks)
      .rechunk(output_chunks)
      .sum()
      .compute()
    )
A comparison of rechunking performance between the different methods tasks, p2p with disk and p2p without disk on different cluster sizes. The graph shows that p2p without disk is up to 60% faster than the default tasks based approach.

See GH#8282, GH#8318, GH#8321 from crusaderky and (GH#8322) from Hendrik Makait for details.

Deprecating PyArrow <14.0.1

pyarrow<14.0.1 usage is deprecated starting in this release. It’s recommended for all users to upgrade their version of pyarrow or install pyarrow-hotfix. See this CVE for full details.

See GH#10622 from Florian Jetter for details.

Improved PyArrow filesystem for Parquet

Using filesystem="arrow" when reading Parquet datasets now properly inferrs the correct cloud region when accessing remote, cloud-hosted data.

See GH#10590 from Richard (Rick) Zamora for details.

Improve Type Reconciliation in P2P Shuffling

See GH#8332 from Hendrik Makait for details.

Additional changes

2023.10.1

Released on October 27, 2023

Highlights

Python 3.12

This release adds official support for Python 3.12.

See GH#10544 and GH#8223 from Thomas Grainger for details.

Additional changes

2023.10.0

Released on October 13, 2023

Highlights

Reduced memory pressure for multi array reductions

This release contains major updates to Dask’s task graph scheduling logic. The updates here significantly reduce memory pressure on array reductions. We anticipate this will have a strong impact on the array computing community.

See GH#10535 from Florian Jetter for details.

Improved P2P shuffling robustness

There are several updates (listed below) that make P2P shuffling much more robust and less likely to fail.

See GH#8262, GH#8264, GH#8242, GH#8244, and GH#8235 from Hendrik Makait and GH#8124 from Charles Blackmon-Luca for details.

Reduced scheduler CPU load for large graphs

Users should see reduced CPU load on their scheduler when computing large task graphs.

See GH#8238 and GH#10547 from Florian Jetter and GH#8240 from crusaderky for details.

Additional changes

2023.9.3

Released on September 29, 2023

Highlights

Restore previous configuration override behavior

The 2023.9.2 release introduced an unintentional breaking change in how configuration options are overriden in dask.config.get with the override_with= keyword (see GH#10519). This release restores the previous behavior.

See GH#10521 from crusaderky for details.

Complex dtypes in Dask Array reductions

This release includes improved support for using common reductions in Dask Array (e.g. var, std, moment) with complex dtypes.

See GH#10009 from wkrasnicki for details.

Additional changes

2023.9.2

Released on September 15, 2023

Highlights

P2P shuffling now raises when outdated PyArrow is installed

Previously the default shuffling method would silently fallback from P2P to task-based shuffling if an older version of pyarrow was installed. Now we raise an informative error with the minimum required pyarrow version for P2P instead of silently falling back.

See GH#10496 from Hendrik Makait for details.

Deprecation cycle for admin.traceback.shorten

The 2023.9.0 release modified the admin.traceback.shorten configuration option without introducing a deprecation cycle. This resulted in failures to create Dask clusters in some cases. This release introduces a deprecation cycle for this configuration change.

See GH#10509 from crusaderky for details.

Additional changes

2023.9.1

Released on September 6, 2023

Note

This is a hotfix release that fixes a P2P shuffling bug introduced in the 2023.9.0 release (see GH#10493).

Enhancements

Bug Fixes

Maintenance

2023.9.0

Released on September 1, 2023

Bug Fixes

Documentation

Maintenance

2023.8.1

Released on August 18, 2023

Enhancements

Bug Fixes

  • Fix ValueError when running to_csv in append mode with single_file as True (GH#10441) Ben

Maintenance

2023.8.0

Released on August 4, 2023

Enhancements

Documentation

Maintenance

2023.7.1

Released on July 20, 2023

Note

This release updates Dask DataFrame to automatically convert text data using object data types to string[pyarrow] if pandas>=2 and pyarrow>=12 are installed.

This should result in significantly reduced memory consumption and increased computation performance in many workflows that deal with text data.

You can disable this change by setting the dataframe.convert-string configuration value to False with

dask.config.set({"dataframe.convert-string": False})

Enhancements

Bug Fixes

2023.7.0

Released on July 7, 2023

Enhancements

Bug Fixes

Documentation

  • Add clarification about output shape and reshaping in rechunk documentation (GH#10377) Swayam Patil

Maintenance

2023.6.1

Released on June 26, 2023

Enhancements

Bug Fixes

Deprecations

Maintenance

2023.6.0

Released on June 9, 2023

Enhancements

Bug Fixes

Documentation

Maintenance

2023.5.1

Released on May 26, 2023

Note

This release drops support for Python 3.8. As of this release Dask supports Python 3.9, 3.10, and 3.11. See this community issue for more details.

Enhancements

Bug Fixes

Documentation

Maintenance

2023.5.0

Released on May 12, 2023

Enhancements

Bug Fixes

Documentation

Maintenance

2023.4.1

Released on April 28, 2023

Enhancements

Bug Fixes

Documentation

Maintenance

2023.4.0

Released on April 14, 2023

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2023.3.2

Released on March 24, 2023

Enhancements

Bug Fixes

Documentation

Maintenance

2023.3.1

Released on March 10, 2023

Enhancements

Bug Fixes

Documentation

Maintenance

2023.3.0

Released on March 1, 2023

Bug Fixes

Documentation

Maintenance

2023.2.1

Released on February 24, 2023

Note

This release changes the default DataFrame shuffle algorithm to p2p to improve stability and performance. Learn more here and please provide any feedback on this discussion.

If you encounter issues with this new algorithm, please see the documentation for more information, and how to switch back to the old mode.

Enhancements

Bug Fixes

Documentation

Maintenance

2023.2.0

Released on February 10, 2023

Enhancements

Bug Fixes

Documentation

Maintenance

2023.1.1

Released on January 27, 2023

Enhancements

Bug Fixes

Documentation

Maintenance

2023.1.0

Released on January 13, 2023

Enhancements

Documentation

Maintenance

2022.12.1

Released on December 16, 2022

Enhancements

Bug Fixes

Documentation

Maintenance

2022.12.0

Released on December 2, 2022

Enhancements

Bug Fixes

Maintenance

2022.11.1

Released on November 18, 2022

Enhancements

Maintenance

2022.11.0

Released on November 15, 2022

Enhancements

Bug Fixes

Documentation

Maintenance

2022.10.2

Released on October 31, 2022

This was a hotfix and has no changes in this repository. The necessary fix was in dask/distributed, but we decided to bump this version number for consistency.

2022.10.1

Released on October 28, 2022

Enhancements

Bug Fixes

Documentation

Maintenance

2022.10.0

Released on October 14, 2022

New Features

Enhancements

Bug Fixes

Documentation

Maintenance

2022.9.2

Released on September 30, 2022

Enhancements

Documentation

Maintenance

2022.9.1

Released on September 16, 2022

New Features

Enhancements

Bug Fixes

Deprecations

  • Allow split_out to be None, which then defaults to 1 in groupby().aggregate() (GH#9491) Ian Rose

Documentation

Maintenance

2022.9.0

Released on September 2, 2022

Enhancements

Bug Fixes

Documentation

Maintenance

2022.8.1

Released on August 19, 2022

New Features

Enhancements

Bug Fixes

Documentation

Maintenance

2022.8.0

Released on August 5, 2022

Enhancements

Bug Fixes

Documentation

Maintenance

2022.7.1

Released on July 22, 2022

Enhancements

Bug Fixes

Documentation

Maintenance

2022.7.0

Released on July 8, 2022

Enhancements

Bug Fixes

Documentation

Maintenance

2022.6.1

Released on June 24, 2022

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.6.0

Released on June 10, 2022

Enhancements

Bug Fixes

Documentation

Maintenance

2022.05.2

Released on May 26, 2022

Enhancements

Documentation

Maintenance

2022.05.1

Released on May 24, 2022

New Features

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.05.0

Released on May 2, 2022

Highlights

This is a bugfix release for this issue.

Documentation

2022.04.2

Released on April 29, 2022

Highlights

This release includes several deprecations/breaking API changes to dask.dataframe.read_parquet and dask.dataframe.to_parquet:

  • to_parquet no longer writes _metadata files by default. If you want to write a _metadata file, you can pass in write_metadata_file=True.

  • read_parquet now defaults to split_row_groups=False, which results in one Dask dataframe partition per parquet file when reading in a parquet dataset. If you’re working with large parquet files you may need to set split_row_groups=True to reduce your partition size.

  • read_parquet no longer calculates divisions by default. If you require read_parquet to return dataframes with known divisions, please set calculate_divisions=True.

  • read_parquet has deprecated the gather_statistics keyword argument. Please use the calculate_divisions keyword argument instead.

  • read_parquet has deprecated the require_extensions keyword argument. Please use the parquet_file_extension keyword argument instead.

New Features

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.04.1

Released on April 15, 2022

New Features

  • Add missing NumPy ufuncs: abs, left_shift, right_shift, positive. (GH#8920) Tom White

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.04.0

Released on April 1, 2022

Note

This is the first release with support for Python 3.10

New Features

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.03.0

Released on March 18, 2022

New Features

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.02.1

Released on February 25, 2022

New Features

  • Add aggregate functions first and last to dask.dataframe.pivot_table (GH#8649) Knut Nordanger

  • Add std() support for datetime64 dtype for pandas-like objects (GH#8523) Ben Glossner

  • Add materialized task counts to HighLevelGraph and Layer html reprs (GH#8589) kori73

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.02.0

Released on February 11, 2022

Note

This is the last release with support for Python 3.7

New Features

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.01.1

Released on January 28, 2022

New Features

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2022.01.0

Released on January 14, 2022

New Features

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2021.12.0

Released on December 10, 2021

New Features

Enhancements

Bug Fixes

Deprecations

Documentation

Maintenance

2021.11.2

Released on November 19, 2021

2021.11.1

Released on November 8, 2021

Patch release to update distributed dependency to version 2021.11.1.

2021.11.0

Released on November 5, 2021

2021.10.0

Released on October 22, 2021

2021.09.1

Released on September 21, 2021

2021.09.0

Released on September 3, 2021

2021.08.1

Released on August 20, 2021

2021.08.0

Released on August 13, 2021

2021.07.2

Released on July 30, 2021

Note

This is the last release with support for NumPy 1.17 and pandas 0.25. Beginning with the next release, NumPy 1.18 and pandas 1.0 will be the minimum supported versions.

2021.07.1

Released on July 23, 2021

2021.07.0

Released on July 9, 2021

2021.06.2

Released on June 22, 2021

2021.06.1

Released on June 18, 2021

2021.06.0

Released on June 4, 2021

2021.05.1

Released on May 28, 2021

2021.05.0

Released on May 14, 2021

2021.04.1

Released on April 23, 2021

2021.04.0

Released on April 2, 2021

2021.03.1

Released on March 26, 2021

2021.03.0

Released on March 5, 2021

Note

This is the first release with support for Python 3.9 and the last release with support for Python 3.6

2021.02.0

Released on February 5, 2021

2021.01.1

Released on January 22, 2021

2021.01.0

Released on January 15, 2021

2020.12.0

Released on December 10, 2020

Highlights

  • Switched to CalVer for versioning scheme.

  • Introduced new APIs for HighLevelGraph to enable sending high-level representations of task graphs to the distributed scheduler.

  • Introduced new HighLevelGraph layer objects including BasicLayer, Blockwise, BlockwiseIO, ShuffleLayer, and more.

  • Added support for applying custom Layer-level annotations like priority, retries, etc. with the dask.annotations context manager.

  • Updated minimum supported version of pandas to 0.25.0 and NumPy to 1.15.1.

  • Support for the pyarrow.dataset API to read_parquet.

  • Several fixes to Dask Array’s SVD.

All changes

2.30.0 / 2020-10-06

Array

2.29.0 / 2020-10-02

Array

Bag

Core

DataFrame

Documentation

2.28.0 / 2020-09-25

Array

Core

DataFrame

2.27.0 / 2020-09-18

Array

Core

DataFrame

Documentation

2.26.0 / 2020-09-11

Array

Core

DataFrame

Documentation

2.25.0 / 2020-08-28

Core

DataFrame

Documentation

2.24.0 / 2020-08-22

Array

Dataframe

Core

2.23.0 / 2020-08-14

Array

Bag

Core

DataFrame

Documentation

2.22.0 / 2020-07-31

Array

Core

DataFrame

Documentation

2.21.0 / 2020-07-17

Array

Bag

Core

DataFrame

Documentation

2.20.0 / 2020-07-02

Array

DataFrame

Documentation

2.19.0 / 2020-06-19

Array

Core

DataFrame

Documentation

2.18.1 / 2020-06-09

Array

Core

Documentation

2.18.0 / 2020-06-05

Array

Bag

DataFrame

Documentation

2.17.2 / 2020-05-28

Core

DataFrame

2.17.1 / 2020-05-28

Array

Core

DataFrame

2.17.0 / 2020-05-26

Array

Bag

Core

DataFrame

Documentation

2.16.0 / 2020-05-08

Array

Core

DataFrame

Documentation

2.15.0 / 2020-04-24

Array

Core

DataFrame

Documentation

2.14.0 / 2020-04-03

Array

Core

DataFrame

Documentation

2.13.0 / 2020-03-25

Array

Bag

Core

DataFrame

Documentation

2.12.0 / 2020-03-06

Array

Core

DataFrame

Documentation

2.11.0 / 2020-02-19

Array

Bag

Core

DataFrame

Documentation

2.10.1 / 2020-01-30

2.10.0 / 2020-01-28

2.9.2 / 2020-01-16

Array

Core

DataFrame

Documentation

2.9.1 / 2019-12-27

Array

Core

DataFrame

Documentation

2.9.0 / 2019-12-06

Array

Core

DataFrame

Documentation

2.8.1 / 2019-11-22

Array

Core

DataFrame

Documentation

2.8.0 / 2019-11-14

Array

Bag

Core

DataFrame

Documentation

2.7.0 / 2019-11-08

This release drops support for Python 3.5

Array

Core

DataFrame

Documentation

2.6.0 / 2019-10-15

Core

DataFrame

Documentation

2.5.2 / 2019-10-04

Array

DataFrame

Documentation

2.5.0 / 2019-09-27

Core

DataFrame

Documentation

2.4.0 / 2019-09-13

Array

Core

DataFrame

Documentation

2.3.0 / 2019-08-16

Array

Bag

Core

DataFrame

Documentation

2.2.0 / 2019-08-01

Array

Bag

Core

DataFrame

Documentation