rs-0.49.1

pola-rs/polarsrs-0.49.1Jun 30, 2025by stijnherfst

AI Summary

A minor patch release fixing bugs and adding a few enhancements following the major 0.49.0 release.

Key Highlights

  • Optimize `Bitmap::make_mut` for performance
  • Allow expression input for `length` parameter in padding functions
  • Fix time zone handling in date/time functions

New Features

  • Allow expression input for `length` parameter in `pad_start`, `pad_end`, and `zfill`

Full Release Notes

## 🚀 Performance improvements

- Optimize `Bitmap::make_mut` (#23138)

## ✨ Enhancements

- Allow expression input for `length` parameter in `pad_start`, `pad_end`, and `zfill` (#23182)

## 🐞 Bug fixes

- Expose FieldsMapper (#23232)
- Fix time zone handling in `dt.iso_year` and `dt.is_leap_year` (#23125)

## 📖 Documentation

- Update when\_then in user guide (#23245)

## 🛠️ Other improvements

- Connect Python `assert_dataframe_equal()` to Rust back-end (#23207)
- Fix time zone handling in `dt.iso_year` and `dt.is_leap_year` (#23125)
- Update Rust Polars versions (#23229)

Thank you to all our contributors for making this release possible!
@Kevin-Patyk, @mcrumiller, @mrkn, @stijnherfst and @zyctree