v1.6.2

Vanilagy/mediabunnyv1.6.2Aug 1, 2026by amirivojdan

AI Summary

This is a minor maintenance release focused on safer word embedding loading and internal code quality improvements.

Key Highlights

  • Safer Word Embeddings – word embedding models now ship in NumPy's `.npz` format and load with pickling disabled, removing arbitrary code execution risk at load time.
  • Clearer Error Types – passing an unsupported input type to a transform, pipeline, or word cloud now raises `TypeError` instead of `ValueError`.
  • Code Quality – upgraded the development toolchain and cleaned up the issues it surfaced across the codebase.

Breaking Changes

  • Passing an unsupported input type to a transform, pipeline, or word cloud now raises `TypeError` instead of `ValueError`.

New Features

  • Support for NumPy `.npz` format for word embedding models with pickling disabled
  • Improved error handling with `TypeError` raised for unsupported input types

Full Release Notes

# What's New in v1.6.2

This is a minor maintenance release focused on safer word embedding loading and internal code quality.

## Highlights

* **Safer Word Embeddings** – word embedding models now ship in NumPy's `.npz` format and load with pickling disabled, removing arbitrary code execution risk at load time. Existing `.bin` models continue to load through a restricted unpickler.
* **Clearer Error Types** – passing an unsupported input type to a transform, pipeline, or word cloud now raises `TypeError` instead of `ValueError`.
* **Code Quality** – upgraded the development toolchain and cleaned up the issues it surfaced across the codebase.