| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-09-22 | 2.2 kB | |
| v1.2.1 source code.tar.gz | 2025-09-22 | 119.1 MB | |
| v1.2.1 source code.zip | 2025-09-22 | 119.7 MB | |
| Totals: 3 Items | 238.8 MB | 0 | |
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.DiscretizeObservationandgymnasium.wrappers.DiscretizeAction) by @sparisi (https://github.com/Farama-Foundation/Gymnasium/pull/1411) - Add vector-based
RecordVideowrapper that allows recording all sub-environments at the same time by @sparisi (https://github.com/Farama-Foundation/Gymnasium/pull/1418) - Add new customization to Frozen Lake for reward schedule and success rate by @Tayzn (https://github.com/Farama-Foundation/Gymnasium/pull/1363)
- Add tutorial on action masking by @dantp-ai (https://github.com/Farama-Foundation/Gymnasium/pull/1345)
- Optimize several environment functions for Blackjack and Mujoco-Humanoid by @aseembits93 (https://github.com/Farama-Foundation/Gymnasium/pull/1426, https://github.com/Farama-Foundation/Gymnasium/pull/1429, https://github.com/Farama-Foundation/Gymnasium/pull/1428 and https://github.com/Farama-Foundation/Gymnasium/pull/1436)
Fixes
- Fixes memory leak in recording by @pascal-roth in https://github.com/Farama-Foundation/Gymnasium/pull/1444
- Fix "pygame is not responding" when rendering the pygame window in the Taxi environment by @RizkySugiharto (https://github.com/Farama-Foundation/Gymnasium/pull/1410)
- Fix the vector wrapper warnings by @pseudo-rnd-thoughts (https://github.com/Farama-Foundation/Gymnasium/pull/1415)
- Fix
AsyncVectorEnv.stepfrom hanging forever by @matinmoezzi (https://github.com/Farama-Foundation/Gymnasium/pull/1419) - Clear markers after rendering for MuJoCo OffscreenViewers by @amacati (https://github.com/Farama-Foundation/Gymnasium/pull/1420)
- Fix array-conversion for torch cuda tensors by @amacati (https://github.com/Farama-Foundation/Gymnasium/pull/1439)
- Add missing dependency on packaging to array-api feature by @amacati (https://github.com/Farama-Foundation/Gymnasium/pull/1437)
Thank you to all the contributors
Full Changelog: https://github.com/Farama-Foundation/Gymnasium/compare/v1.2.0...v1.2.1