Gymnasium v1.2.1
Minor update that adds new wrappers, optimizes several environment functions and fixes several bugs.
New Features
- Added new wrappers to discretize observations and actions (
gymnasium.wrappers.DiscretizeObservation
andgymnasium.wrappers.DiscretizeAction
) by @sparisi (#1411) - Add vector-based
RecordVideo
wrapper that allows recording all sub-environments at the same time by @sparisi (#1418) - Add new customization to Frozen Lake for reward schedule and success rate by @Tayzn (#1363)
- Add tutorial on action masking by @dantp-ai (#1345)
- Optimize several environment functions for Blackjack and Mujoco-Humanoid by @aseembits93 (#1426, #1429, #1428 and #1436)
Fixes
- Fixes memory leak in recording by @pascal-roth in #1444
- Fix "pygame is not responding" when rendering the pygame window in the Taxi environment by @RizkySugiharto (#1410)
- Fix the vector wrapper warnings by @pseudo-rnd-thoughts (#1415)
- Fix
AsyncVectorEnv.step
from hanging forever by @matinmoezzi (#1419) - Clear markers after rendering for MuJoCo OffscreenViewers by @amacati (#1420)
- Fix array-conversion for torch cuda tensors by @amacati (#1439)
- Add missing dependency on packaging to array-api feature by @amacati (#1437)
Thank you to all the contributors
Full Changelog: v1.2.0...v1.2.1