py-1.41.2

MiniMax-AI/MiniMax-01py-1.41.2May 29, 2026by github-actions[bot]

AI Summary

A performance-focused release for Python Polars featuring optimizations for memory usage and updates to the jemalloc memory allocator.

Key Highlights

  • Updated to new jemalloc for better memory management
  • Optimized ScalarColumn materialization in split_at
  • Improved performance for array.shift and list.sample operations
  • Enhanced async blocking deadlock prevention

New Features

  • Performance improvements through reduced materialization
  • Harden against async blocking deadlocks
  • Updated On-Prem version documentation and guides
  • Added EKS/AKS/GKE deployment guides

Full Release Notes

## 🚀 Performance improvements

- Update to new jemalloc (#27797)
- Do not materialize `ScalarColumn` in Column `split_at` (#27782)
- Avoid materializing broadcast in `array.shift` (#27740)
- Avoid materializing broadcast list in `list.sample(n)` and `list.sample(frac)` (#27679)

## ✨ Enhancements

- Update to new jemalloc (#27797)

## 🐞 Bug fixes

- Broken link to AI Policy corrected (#27793)
- Update to new jemalloc (#27797)

## 📖 Documentation

- Update Polars On-Prem version stamp (#27799)
- Broken link to AI Policy corrected (#27793)
- Add release dates to the On-Prem releases page (#27787)
- Improve on-prem docs (#27788)
- Add query profiler video to On-Prem user guide (#27786)
- Add EKS/AKS/GKE guides (#27774)
- Add Polars On-Prem 0.4.2 (#27780)

## 🛠️ Other improvements

- Run Pyrefly on `_utils` and `functions` (#27789)
- Harden against async blocking deadlocks (take 2) (#27767)

Thank you to all our contributors for making this release possible!
@ButteryPaws, @EndPositive, @Kevin-Patyk, @MarcoGorelli, @TNieuwdorp, @azimafroozeh, @carnarez, @kdn36, @lun3x, @orlp and @ritchie46