Skip to content

v2.9.0: Updated dependencies (pandas is now optional, gymnasium 1.3.0 support, torch>=2.8)

Latest

Choose a tag to compare

@araffin araffin released this 15 Jun 16:59
8908708

Breaking Changes:

  • Relaxed Gymnasium version range (from "gymnasium>=0.29.1,<1.3.0" to "gymnasium>=0.29.1,<2.0")
  • pandas and matplotlib are no longer core dependencies; they are now optional and only required for loading results and plotting (moved to stable-baselines3[extra]).
  • Moved read_json and read_csv helper functions to test files
  • Raised torch minimum version from 2.3 to 2.8 to mitigate GHSA-887c-mr87-cxwp

Bug Fixes:

  • Fixed deprecated error Taxi-v3 from gymnasium v1.3.0 in tests

SB3-Contrib

  • Optimized tests (faster to run)
  • Fixed dead link for RecurrentPPO.

RL Zoo

SBX (SB3 + Jax)

  • Added support for rollout_buffer_class and rollout_buffer_kwargs arguments in PPO and OnPolicyAlgorithmJax constructors, as in Stable Baselines3. (@Trenza1ore)
  • Updated Jax dependency

Others:

  • Optimized tests (faster to run)
  • Add workflow to automatically publish to PyPi when a new tag is created

Documentation:

  • Added example for using torch.compile
  • Fixed many broken links and updated links to https whenever possible

Full Changelog: v2.8.0...v2.9.0