Skip to content

pyribs 0.9.0

Choose a tag to compare

@btjanaka btjanaka released this 18 Dec 11:58
· 25 commits to master since this release
00586e6

To learn about this release, see our page on What's New in v0.9.0:
https://docs.pyribs.org/en/stable/whats-new.html

Changelog

API

  • Add replace parameter to sample_elites in archives (#682)
  • Require numpy to be at least 2.0.0 (#681)
  • Allow specifying centroids with filenames in CVTArchive (#679)
  • Add kdtree_query_kwargs parameter to CVTArchive (#677)
  • Backwards-incompatible: Replace ckdtree_kwargs with kdtree_kwargs in
    CVTArchive and ProximityArchive (#676)
  • Add sklearn_nn as an option for nearest_neighbors in CVTArchive
    (#675)
  • Backwards-incompatible: Replace use_kd_tree with nearest_neighbors in
    CVTArchive (#674)
  • Drop Python 3.9 support and add 3.14 support (#672)
  • Separate centroid generation from init in CVTArchive (#663)
    • Backwards-incompatible: Replace the cells and custom_centroids
      parameters with a new centroids parameter in CVTArchive
    • Backwards-incompatible: Remove the samples property from CVTArchive
    • Backwards-incompatible: Remove plot_samples from cvt_archive_heatmap
      and cvt_archive_3d_plot
  • Add k_means_centroids function (#665)
  • Backwards-incompatible: Remove centroid_method from CVTArchive
    (#662)
  • Support multi-dimensional solutions in GaussianEmitter and IsoLineEmitter
    (#650)
  • Allow specifying emitter bounds with lower_bounds and upper_bounds
    (#649, #657)
  • Backwards-incompatible: Deprecate dict dtype in archives and instead use
    solution_dtype, objective_dtype, and measures_dtype (#639,
    #643, #661)
  • Raise KeyError in ArchiveDataFrame.get_field when field not found
    (#626)
  • Support array backends in ArrayStore via Python array API Standard
    (#570, #645)
  • Backwards-incompatible: Remove raw_dict methods from ArrayStore
    (#575)

Improvements

  • Use dtypes when calling asarray in archive methods (#673)
  • Replace cKDTree usage with KDTree (#669)
  • Support ProximityArchive in parallel_axes_plot (#647)
  • Cast dtype when validating arguments (#646)
  • Add type annotations and use ty for type checking (#624)
  • Migrate from pylint to ruff for linting (#605, #607, #612,
    #619, #666)
  • Replace isort with ruff import check (#603)

Documentation

  • Add tutorial on centroid specification for CVTArchive (#662, #680)
  • Update DQD and QDHF tutorials (#659)