# Gymnasium Release Notes

## v1.4.0

*Released on 2026-10-05 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.4.0) - [PyPI](https://pypi.org/project/gymnasium/v1.4.0/)*

<h1>Gymnasium v1.4.0</h1>
<p>This release adds <code>max_concurrency</code> to <code>AsyncVectorEnv</code>, support for arbitrary node and edge spaces in <code>Graph</code>, optional key sorting for <code>Dict</code>, generic typing for vector environments, and a large number of bug fixes across spaces, wrappers, vector environments and MuJoCo rendering.</p>
<h2>New Features</h2>
<ul>
<li>Added <code>max_concurrency</code> to <code>AsyncVectorEnv</code> to cap how many sub-environments run <code>reset</code>/<code>step</code> at once, reducing CPU oversubscription when the number of environments exceeds the number of cores. Also usable via <code>gym.make_vec(..., vectorization_mode="async", vector_kwargs={"max_concurrency": N})</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lawliet206/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lawliet206">@lawliet206</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5204547854" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1673" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1673/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1673">#1673</a>)</li>
<li><code>Graph</code> spaces now accept <code>Dict</code> and <code>Tuple</code> spaces for their node and edge spaces, enabling heterogeneous graphs and named node/edge features by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/2ToTheNthPower/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/2ToTheNthPower">@2ToTheNthPower</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3802384328" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1514" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1514/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1514">#1514</a>)</li>
<li>Added a keyword-only <code>sort_keys</code> argument to <code>Dict</code> spaces. It defaults to <code>True</code> (existing behaviour), while <code>sort_keys=False</code> preserves the insertion order of the keys, including through wrappers such as <code>FrameStackObservation</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/quinnarnold/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/quinnarnold">@quinnarnold</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5237239590" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1675" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1675/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1675">#1675</a>)</li>
<li><code>VectorEnv</code>, its subclasses and the vector wrappers are now generic types by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5710633761" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1752" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1752/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1752">#1752</a>)</li>
<li>The environment checkers (<code>check_env</code> and the passive checker run by <code>make</code>) now verify that <code>reset</code> and <code>step</code> return distinct observation and info objects each timestep, preventing buffers being silently overwritten in replay/rollout buffers. This found and fixed two <code>info</code> elements in <code>Humanoid</code> and <code>HumanoidStandup</code> that reused the same buffer between timesteps by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5347645171" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1683" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1683/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1683">#1683</a>)</li>
</ul>
<h2>Bug Fixes</h2>
<p>It seems that the agents have reached Gymnasium, so a large quantity of previously unknown bugs have been reported and resolved.</p>
<h3>Spaces</h3>
<ul>
<li>Fixed <code>Discrete.contains</code> and <code>Box.contains</code> raising <code>OverflowError</code> for integers outside the space's dtype range, they now return <code>False</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nikolauspschuetz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nikolauspschuetz">@nikolauspschuetz</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4961494252" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1648" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1648/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1648">#1648</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5138349117" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1663" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1663/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1663">#1663</a>)</li>
<li>Fixed integer overflow in <code>MultiDiscrete.contains</code> for negative <code>start</code> values and small dtypes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4862251966" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1622" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1622/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1622">#1622</a>)</li>
<li>Fixed <code>Box.sample</code> never returning values near the limits of signed integer dtypes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/shoutoutuoadi325/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/shoutoutuoadi325">@shoutoutuoadi325</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5162817114" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1666" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1666/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1666">#1666</a>)</li>
<li>Fixed <code>Text</code> space charset ordering being non-deterministic under Python hash randomization, making seeded samples reproducible across processes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4863565455" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1626" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1626/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1626">#1626</a>)</li>
<li><code>Text</code> spaces now reject charset elements that are more than one character long by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/adarshsm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adarshsm">@adarshsm</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5012952674" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1653" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1653/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1653">#1653</a>)</li>
<li>Fixed <code>flatten</code> and <code>flatten_space</code> disagreeing on the dtype of <code>OneOf</code> spaces, so <code>FlattenObservation</code> observations are contained in its observation space, and <code>OneOf</code> spaces containing <code>Text</code> can be flattened by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5236770481" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1674" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1674/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1674">#1674</a>)</li>
<li><code>is_space_dtype_shape_equiv</code> now requires <code>Tuple</code> spaces to have equal lengths, previously a shorter <code>Tuple</code> could be accepted (or an <code>IndexError</code> raised) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Doribelove/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Doribelove">@Doribelove</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5411227147" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1694" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1694/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1694">#1694</a>)</li>
</ul>
<h2>Wrappers</h2>
<ul>
<li>Fixed several wrappers not recording all of their constructor arguments, meaning environments rebuilt with <code>gym.make(env.spec)</code> either raised a <code>TypeError</code> or silently used default arguments:
<ul>
<li><code>AddRenderObservation</code> recorded stale argument names from <code>PixelObservationWrapper</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/uttam12331/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/uttam12331">@uttam12331</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5052587226" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1658" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1658/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1658">#1658</a>)</li>
<li><code>DiscretizeAction</code>, <code>DiscretizeObservation</code>, <code>RecordEpisodeStatistics</code>, <code>RecordVideo</code> and <code>StickyAction</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mkzung/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mkzung">@mkzung</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5160261077" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1664" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1664/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1664">#1664</a>)</li>
<li><code>ArrayConversion</code> and its <code>JaxToNumpy</code>, <code>JaxToTorch</code> and <code>NumpyToTorch</code> subclasses by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mkzung/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mkzung">@mkzung</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5163856266" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1667" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1667/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1667">#1667</a>)</li>
</ul>
</li>
<li><code>DiscretizeObservation</code> and <code>DiscretizeAction</code> now support n-dimensional <code>Box</code> spaces by flattening them by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5406472917" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1691" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1691/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1691">#1691</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5444675708" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1703" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1703/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1703">#1703</a>)</li>
<li><code>DtypeObservation</code> now keeps a <code>Discrete</code> observation space when changing dtype and accepts NumPy dtype descriptors (e.g. <code>np.float32</code>, <code>"float32"</code>) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NaCr05/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NaCr05">@NaCr05</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5367365368" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1688" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1688/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1688">#1688</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5446159762" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1706" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1706/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1706">#1706</a>)</li>
<li><code>ResizeObservation</code> now preserves singleton channel dimensions (e.g. <code>(H, W, 1)</code> observations) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NaCr05/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NaCr05">@NaCr05</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5446158774" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1704" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1704/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1704">#1704</a>)</li>
<li><code>RescaleAction</code> now raises an <code>InvalidBound</code> error when a min action equals the max action, rather than producing <code>nan</code> actions by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mkzung/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mkzung">@mkzung</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5160261235" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1665" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1665/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1665">#1665</a>)</li>
<li><code>NormalizeObservation</code> and <code>NormalizeReward</code> (including the vector versions) now reject invalid <code>gamma</code> and <code>epsilon</code> values, which previously produced <code>nan</code> or diverging outputs by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DenisDrobyshev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DenisDrobyshev">@DenisDrobyshev</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5165551527" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1669" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1669/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1669">#1669</a>)</li>
<li><code>RecordVideo</code> now reports a single clear error when the environment's render mode is incompatible, instead of three by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DenisDrobyshev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DenisDrobyshev">@DenisDrobyshev</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5184938977" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1671" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1671/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1671">#1671</a>)</li>
</ul>
<h2>VectorEnv</h2>
<ul>
<li>Fixed vector <code>RecordEpisodeStatistics</code> reporting incorrect episode statistics with <code>SAME_STEP</code> autoreset by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4863470335" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1624" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1624/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1624">#1624</a>)</li>
<li>Fixed vector <code>NormalizeReward</code> under <code>SAME_STEP</code> autoreset by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5164976557" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1668" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1668/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1668">#1668</a>)</li>
<li>Fixed vector environments modifying the sub-environment's class-level <code>metadata</code> when setting <code>autoreset_mode</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4863416038" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1623" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1623/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1623">#1623</a>)</li>
<li>Fixed <code>AsyncVectorEnv</code> shared memory for dtypes without an <code>array</code> module typecode, e.g., <code>float16</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teddytennant/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teddytennant">@teddytennant</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4873516868" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1632" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1632/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1632">#1632</a>)</li>
</ul>
<h2>Env</h2>
<ul>
<li>MuJoCo environments' <code>default_camera_config</code> now takes effect when no <code>camera_id</code> or <code>camera_name</code> is given, previously it was ignored as the fixed <code>"track"</code> camera was always used. Note that this changes the rendered output of MuJoCo environments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Functionhx/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Functionhx">@Functionhx</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4848150120" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1618" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1618/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1618">#1618</a>)</li>
<li>Fixed mouse and scroll camera controls in <code>human</code>-rendered MuJoCo environments with MuJoCo 3.11+ by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Yuming-Lee24/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Yuming-Lee24">@Yuming-Lee24</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5287339063" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1678" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1678/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1678">#1678</a>)</li>
<li><code>MujocoEnv</code> no longer shrinks an offscreen framebuffer size declared in the model XML by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/midhunxavier/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/midhunxavier">@midhunxavier</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4909729139" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1642" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1642/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1642">#1642</a>)</li>
<li>Fixed the <code>CarRacing</code> HUD score overflowing due to float formatting by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Fstarnb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Fstarnb">@Fstarnb</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4893389992" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1639" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1639/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1639">#1639</a>)</li>
<li><code>CliffWalking</code> now uses the new Farama pixel art for rendering by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MannXo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MannXo">@MannXo</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5465967689" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1713" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1713/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1713">#1713</a>)</li>
</ul>
<h2>Utilities</h2>
<ul>
<li>Fixed <code>make</code> and <code>make_vec</code> rejecting registered environments whose entry point is a <code>Wrapper</code> subclass by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tandede/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tandede">@tandede</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5196228072" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1672" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1672/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1672">#1672</a>)</li>
<li>Fixed <code>check_environments_match</code> comparing <code>env_b</code>'s observation space to itself by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/betacatsling/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/betacatsling">@betacatsling</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5449331105" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1708" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1708/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1708">#1708</a>)</li>
<li>Fixed determinism checks in the environment checker by snapshotting observations that are reused between steps, and comparing the current RNG state in <code>check_step_determinism</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zjn20030811/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zjn20030811">@zjn20030811</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NaCr05/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NaCr05">@NaCr05</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5336656001" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1682" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1682/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1682">#1682</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5446159161" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1705" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1705/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1705">#1705</a>)</li>
<li>Fixed several bugs in <code>play</code>: window resizing drift and float sizes, a crash on <code>KEYUP</code> events and validation of <code>zoom</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Ankush0077/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Ankush0077">@Ankush0077</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4875832987" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1633" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1633/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1633">#1633</a>)</li>
</ul>
<h2>Third-Party Environments</h2>
<p>3 new community environments have been added to the <a href="https://gymnasium.farama.org/environments/third_party_environments/" rel="nofollow">third-party environments list</a>: WireHarness-MultiGripper-RL, Ignis and Kraken Crossing.</p>
<p><strong>Full Changelog:</strong> <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.3.0...v1.4.0"><tt>v1.3.0...v1.4.0</tt></a></p>

## v1.3.0

*Released on 2026-04-22 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.3.0) - [PyPI](https://pypi.org/project/gymnasium/v1.3.0/)*

<h1>Gymnasium v1.3.0</h1>
<p>This release brings a new Taxi environment version, a new <code>RepeatAction</code> wrapper, and a range of bug fixes across vector environments and wrappers.</p>
<h2>Core Changes</h2>
<ul>
<li>The <code>Taxi</code> environment has been updated to <code>v4</code> to correct the <code>is_rainy</code> implementation, which previously did not behave as documented by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4307782993" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1561" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1561/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1561">#1561</a>)</li>
<li><code>pygame</code> has been replaced with <a href="https://pyga.me/" rel="nofollow"><code>pygame-ce</code></a>, unlocking Python 3.14 compatibility. The drop-in replacement preserves the existing rendering behaviour by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mwydmuch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mwydmuch">@mwydmuch</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3788673329" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1512" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1512/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1512">#1512</a>)</li>
<li>Added <code>RepeatAction</code> wrapper that repeats a given action for a fixed number of steps, useful for frame-skipping and coarser control loops by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Lidang-Jiang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Lidang-Jiang">@Lidang-Jiang</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4194777638" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1553" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1553/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1553">#1553</a>)</li>
<li>Optimised <code>Box._\_init_\_</code> to reduce overhead through lazy evaluation of variables by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3958776450" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1529" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1529/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1529">#1529</a>)</li>
<li>Fix vector <code>RecordVideo</code> wrapper to remove memory leaks across episodes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JonahFSD/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JonahFSD">@JonahFSD</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3914195171" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1527" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1527/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1527">#1527</a>)</li>
<li>Fix Vector <code>NormalizeReward</code> wrapper to work identically as the non-vectorized version by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JonahFSD/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JonahFSD">@JonahFSD</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3912418439" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1526" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1526/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1526">#1526</a>)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>Removed the <code>VectorEnv</code> destructor, which was causing <code>VectorEnv.close()</code> to be called unintentionally by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TimSchneider42/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TimSchneider42">@TimSchneider42</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3832761339" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1522" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1522/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1522">#1522</a>)</li>
<li>Fixed <code>NormalizeObservation</code> vectorized wrapper to override the <code>observation_space</code> and a <code>float32</code> cast by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JonahFSD/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JonahFSD">@JonahFSD</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3914296741" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1528" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1528/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1528">#1528</a>)</li>
<li>Fixed <code>RenderFrame</code>'s typing by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jorenham/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jorenham">@jorenham</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4305182899" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1560" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1560/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1560">#1560</a>)</li>
<li>Fixed A2C tutorial's entropy computation when a scalar (rather than tensor) is passed to the loss function by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/epoint95/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/epoint95">@epoint95</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3868402075" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1524" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1524/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1524">#1524</a>)</li>
</ul>
<h2>Third-Party Environments</h2>
<p>10 new community environments have been added to the <a href="https://gymnasium.farama.org/environments/third_party_environments/" rel="nofollow">third-party environments list</a>, including a new Cybersecurity environments section.</p>
<p><strong>Full Changelog:</strong> <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.2.3...v1.3.0"><tt>v1.2.3...v1.3.0</tt></a></p>

## v1.2.3

*Released on 2025-12-18 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.2.3) - [PyPI](https://pypi.org/project/gymnasium/v1.2.3/)*

<h2>Gymnasium V1.2.3</h2>
<p>This is a minor release with the most significant being changing the dependency  for "gymnasium[box2d]" from <a href="https://pypi.org/project/box2d-py" rel="nofollow">box2d-py</a> to <a href="https://pypi.org/project/Box2D/" rel="nofollow">box2d</a>. See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3580605032" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1474" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1474/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1474">#1474</a> for more detail.</p>
<p>Additionally, we're fixed several typos and added a couple of third-party projects. Lastly, we fixed the create an environment tutorial to use NumPy [row, col] in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3704120436" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1490" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1490/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1490">#1490</a></p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.2.2...v1.2.3"><tt>v1.2.2...v1.2.3</tt></a></p>

## v1.2.2: V1.2.2

*Released on 2025-11-04 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.2.2) - [PyPI](https://pypi.org/project/gymnasium/v1.2.2/)*

<h1>Gymnasium v1.2.2</h1>
<p>This is a minor update just to add <code>Discrete.dtype</code> and improve <code>DictInfoToList</code></p>
<p>These additional changes were made</p>
<ul>
<li>Add <code>Discrete.dtype</code> parameter by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/VadimBim/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/VadimBim">@VadimBim</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3529955390" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1467" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1467/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1467">#1467</a></li>
<li>Improve <code>MultiDiscrete.dtype</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3542266766" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1469" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1469/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1469">#1469</a></li>
<li>Improve <code>DictInfoToList</code> to support vector info with missing binary key by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3526222616" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1466" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1466/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1466">#1466</a></li>
</ul>
<p>Thanks to Wispr for their support of the project</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.2.1...v1.2.2"><tt>v1.2.1...v1.2.2</tt></a></p>

## v1.2.1

*Released on 2025-09-23 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.2.1) - [PyPI](https://pypi.org/project/gymnasium/v1.2.1/)*

<h1>Gymnasium v1.2.1</h1>
<p>Minor update that adds new wrappers, optimizes several environment functions and fixes several bugs.</p>
<h2>New Features</h2>
<ul>
<li>Added new wrappers to discretize observations and actions (<code>gymnasium.wrappers.DiscretizeObservation</code> and <code>gymnasium.wrappers.DiscretizeAction</code>) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sparisi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sparisi">@sparisi</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3185358242" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1411" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1411/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1411">#1411</a>)</li>
<li>Add vector-based <code>RecordVideo</code> wrapper that allows recording all sub-environments at the same time by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sparisi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sparisi">@sparisi</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3241889899" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1418" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1418/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1418">#1418</a>)</li>
<li>Add new customization to Frozen Lake for reward schedule and success rate by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Tayzn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Tayzn">@Tayzn</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3021051457" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1363" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1363/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1363">#1363</a>)</li>
<li>Add tutorial on action masking by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dantp-ai/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dantp-ai">@dantp-ai</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2958306932" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1345" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1345/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1345">#1345</a>)</li>
<li>Optimize several environment functions for Blackjack and Mujoco-Humanoid by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aseembits93/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aseembits93">@aseembits93</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3298033175" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1426" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1426/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1426">#1426</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3320254150" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1429" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1429/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1429">#1429</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3320248227" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1428" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1428/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1428">#1428</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3356742105" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1436" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1436/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1436">#1436</a>)</li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Fixes memory leak in recording by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pascal-roth/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pascal-roth">@pascal-roth</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3394001149" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1444" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1444/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1444">#1444</a></li>
<li>Fix "pygame is not responding" when rendering the pygame window in the Taxi environment by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RizkySugiharto/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RizkySugiharto">@RizkySugiharto</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3182695017" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1410" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1410/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1410">#1410</a>)</li>
<li>Fix the vector wrapper warnings by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3205200502" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1415" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1415/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1415">#1415</a>)</li>
<li>Fix <code>AsyncVectorEnv.step</code> from hanging forever by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/matinmoezzi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/matinmoezzi">@matinmoezzi</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3243762778" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1419" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1419/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1419">#1419</a>)</li>
<li>Clear markers after rendering for MuJoCo OffscreenViewers by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amacati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amacati">@amacati</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3248714510" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1420" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1420/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1420">#1420</a>)</li>
<li>Fix array-conversion for torch cuda tensors by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amacati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amacati">@amacati</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3363046088" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1439" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1439/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1439">#1439</a>)</li>
<li>Add missing dependency on packaging to array-api feature by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amacati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amacati">@amacati</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3361105679" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1437" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1437/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1437">#1437</a>)</li>
</ul>
<p>Thank you to all the contributors</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.2.0...v1.2.1"><tt>v1.2.0...v1.2.1</tt></a></p>

## v1.2.0

*Released on 2025-06-27 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.2.0) - [PyPI](https://pypi.org/project/gymnasium/v1.2.0/)*

<h1>Gymnasium v1.2.0</h1>
<p>In Gym <a href="https://github.com/openai/gym/releases/tag/0.24.0">v0.24</a>, v4 MuJoCo environments were added that used a different simulator (mujoco, not mujoco-py).<br>
Having been 3 years since v0.24 and with mujoco-py being unmaintained, it is limiting our ability to support Python 3.13.<br>
Therefore, in this release, we have moved the MuJoCo v2 and v3 to the <a href="https://github.com/Farama-Foundation/gymnasium-robotics">Gymnasium-Robotics</a> project, meaning the users who cannot upgrade to the v4 or v5 MuJoCo environments should update their code to:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import gymnasium as gym
import gymnasium_robotics  # \`pip install &quot;gymnasium-robotics[mujoco-py]&quot;\`

gym.register_envs(gymnasium_robotics)  # optional

env = gym.make(&quot;Humanoid-v3&quot;)"><pre><span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>
<span class="pl-k">import</span> <span class="pl-s1">gymnasium_robotics</span>  <span class="pl-c"># \`pip install "gymnasium-robotics[mujoco-py]"\`</span>

<span class="pl-s1">gym</span>.<span class="pl-c1">register_envs</span>(<span class="pl-s1">gymnasium_robotics</span>)  <span class="pl-c"># optional</span>

<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"Humanoid-v3"</span>)</pre></div>
<p>In addition, we have added support for Python 3.13 (and dropped Python 3.8 and 3.9 following NumPy and other projects).</p>
<h2>New Features</h2>
<ul>
<li>Add <code>AddWhiteNoise</code> and <code>ObstructView</code> wrappers that add noise to RGB renderings either across the whole image or sections by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sparisi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sparisi">@sparisi</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2645643074" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1243" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1243/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1243">#1243</a>)</li>
<li>Adds rainy and fickle options for Taxi environment that were implemented in the original paper by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/foreverska/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/foreverska">@foreverska</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2867689892" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1315" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1315/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1315">#1315</a>)</li>
<li>Add <code>wrappers.ArrayConversion</code>, a generic conversion wrapper between Array API compatible frameworks (like NumPy, Torch, Jax, etc) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amacati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amacati">@amacati</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2930111508" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1333" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1333/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1333">#1333</a>)</li>
<li>Add garbage collector on RecordVideo wrapper to prevent out of memory problems by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vicbentu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vicbentu">@vicbentu</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3054955909" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1378" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1378/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1378">#1378</a>)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>Fix MuJoCo add_markers for mujoco&gt;=3.2 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amacati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amacati">@amacati</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2900883178" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1329" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1329/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1329">#1329</a>)</li>
<li>Update CliffWalking version in envs registry by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/abouelsaadat/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/abouelsaadat">@abouelsaadat</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2936052417" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1334" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1334/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1334">#1334</a>)</li>
<li>Fix jax 0.6.0 regression in jax_to_numpy by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/GaetanLepage/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/GaetanLepage">@GaetanLepage</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3004879973" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1361" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1361/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1361">#1361</a>)</li>
<li>Fix Atari Preprocessing to only check env has NOOP action when <code>noop_max&gt;0</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3098488051" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1393" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1393/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1393">#1393</a>)</li>
<li>Fix all warnings in tests/spaces by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amacati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amacati">@amacati</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3126115146" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1396" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1396/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1396">#1396</a>)</li>
<li>Don't override SDL's audio driver on Linux by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AnErrupTion/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AnErrupTion">@AnErrupTion</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3079104537" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1387" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1387/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1387">#1387</a>)</li>
</ul>
<p>In addition, this release includes numerous updates to the documentation, most importantly to the introductory pages, with an aim to make them easier for new users of Gymnasium or RL to understand.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.1.1...v1.2.0"><tt>v1.1.1...v1.2.0</tt></a></p>

## Gymnasium v1.1.1

*Released on 2025-03-06 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.1.1) - [PyPI](https://pypi.org/project/gymnasium/v1.1.1/)*

<h2>Changes</h2>
<ul>
<li>Remove assert on metadata render modes for MuJoCo-based environments in <code>mujoco_env.py</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2900123613" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1328" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1328/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1328">#1328</a>)</li>
<li>Update <code>wrappers.vector.NumpyToTorch</code> to refer to <code>numpy</code> instead of <code>jax</code>  by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pkuderov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pkuderov">@pkuderov</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2883844632" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1319" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1319/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1319">#1319</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.1.0...v1.1.1"><tt>v1.1.0...v1.1.1</tt></a></p>

## v1.1.0

*Released on 2025-02-26 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.1.0) - [PyPI](https://pypi.org/project/gymnasium/v1.1.0/)*

<h1>Gymnasium v1.1</h1>
<p>In this release, we fix several bugs with Gymnasium v1.0 along with new features to improve the changes made.</p>
<p>With the release of Gymnasium v1.0, one of the major changes we made was to the vector environment implementation, improving how users interface with it and extend it. Some users noted that they required backward compatibility with how vector environments automatically reset sub-environments when they terminated or truncated, referred to as the autoreset mode or API. As a result, in v1.1, we have added support to the implemented vector environments (<code>SyncVectorEnv</code> and <code>AsyncVectorEnv</code>) and wrappers for all three possible modes: next-step, same-step and disabled. To know the type of autoreset mode used, it should be specified in the vector environment metadata, <code>metadata["autoreset_mode"]</code> as a <code>gymnasium.vectors.AutoresetMode</code> enum. For more information on the differences between the autoreset modes and how to use them, read <a href="https://farama.org/Vector-Autoreset-Mode" rel="nofollow">https://farama.org/Vector-Autoreset-Mode</a>.</p>
<p>In addition, we've added several helpful features</p>
<ul>
<li>In Gymnasium v0.25, we added masking for spaces, <code>space.sample(mask=...)</code>, to logically mask out possible samples from spaces. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2862826251" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1310" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1310/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1310">#1310</a> adds probability masking for each space with <code>space.sample(probability=...)</code> to specify the probability of each sample, which is helpful for RL policies that output a probability distribution of actions.</li>
<li>For MuJoCo environments, users have the option to render the robot with RGB images or depth-based images. Previously, it was only possible to access only the RGB or depth rendering. Gymnasium v1.1 adds RGBD rendering that outputs both the RGB and depth-based image as a single output.</li>
<li>In Gymnasium v1.0, we improve the conversion wrappers between <code>jax</code>, <code>torch</code> and <code>numpy</code> with <code>JaxToTorch</code>, <code>JaxToNumpy</code>, <code>NumpyToTorch</code>, etc. In v1.1, we've improved the wrappers to work with rendering and to be compatible with the full dlpack API.</li>
</ul>
<h2>New Features</h2>
<ul>
<li>Space sampling with probability masks by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mariojerez/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mariojerez">@mariojerez</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2862826251" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1310" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1310/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1310">#1310</a>)</li>
<li>Add rgb + depth rendering to mujoco by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DavidPL1/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DavidPL1">@DavidPL1</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2609027305" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1229" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1229/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1229">#1229</a>)</li>
<li>Add Render Support for <code>JaxToNumpy</code>, <code>JaxToTorch</code> and <code>NumpyToTorch</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amacati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amacati">@amacati</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2848895679" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1306" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1306/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1306">#1306</a>)</li>
<li>Add full support for dlpack API by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amacati/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amacati">@amacati</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2814347019" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1299" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1299/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1299">#1299</a>)</li>
<li>Enable the StickyAction wrapper to repeat the old action for more than 1 step by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sparisi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sparisi">@sparisi</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2640457710" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1240" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1240/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1240">#1240</a>)</li>
<li>Add <code>wrappers.vector.TransformObs/Action</code> support for a single obs/action space argument by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/howardh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/howardh">@howardh</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2774346221" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1288" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1288/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1288">#1288</a>)</li>
<li>Improve 'set_wrapper_attr' for wrappers to modify how variables are updated by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/duburcqa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/duburcqa">@duburcqa</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2796910732" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1294" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1294/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1294">#1294</a>)</li>
<li>Allow <code>AtariPreprocessing</code> to support non-square observations by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/li-plus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/li-plus">@li-plus</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2865365152" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1312" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1312/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1312">#1312</a>)</li>
<li>Improve <code>Wrapper</code> and <code>VectorWrapper</code> error checking by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2682633843" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1260" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1260/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1260">#1260</a>)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>Fix <code>get_wrapper_attr</code> / <code>set_wrapper_attr</code> for edge case by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/duburcqa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/duburcqa">@duburcqa</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2796262300" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1293" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1293/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1293">#1293</a>)</li>
<li>Add width and height check for MujocoRenderer to help error checking by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/beanpow/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/beanpow">@beanpow</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2609101033" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1230" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1230/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1230">#1230</a>)</li>
<li>Fix CarRacing-v3 with discrete actions by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Sebastian-Griesbach/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Sebastian-Griesbach">@Sebastian-Griesbach</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2661510536" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1253" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1253/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1253">#1253</a>)</li>
<li>Fix Mujoco Rendering for <code>rgb_array</code> that is upside down by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2701582796" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1264" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1264/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1264">#1264</a>)</li>
<li>Revert <code>OrderedDict</code> key ordering in <code>Dict</code> space by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2776425048" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1291" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1291/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1291">#1291</a>)</li>
<li><code>wrappers.vector.NumpyToTorch</code> doesn't require <code>jax</code> to work by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2852244816" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1308" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1308/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1308">#1308</a>)</li>
<li>Prevented accidental alteration of <code>env_spec_kwargs</code> in <code>make_vec</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TimSchneider42/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TimSchneider42">@TimSchneider42</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2838283083" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1304" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1304/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1304">#1304</a>)</li>
<li>Quit Pygame when cliffwalking environment is closed by @sjmikler (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2807765801" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1297" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1297/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1297">#1297</a>)</li>
<li>Add <code>TimeAwareObservation</code> support for environments without a <code>spec</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2775663588" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1289" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1289/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1289">#1289</a>)</li>
<li>Improve the error message when ending the MuJoCo renderer without calling <code>env.close</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/a-ayesh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/a-ayesh">@a-ayesh</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2761798816" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1283" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1283/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1283">#1283</a>)</li>
</ul>
<h2>Documentation Changes</h2>
<ul>
<li>Fixed typo in blackjack for the values sampled, 2-10 instead of 2-9 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/artemmiyy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/artemmiyy">@artemmiyy</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2656508334" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1250" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1250/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1250">#1250</a>)</li>
<li>Added some popular third-party beginner tutorials by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/godsboy404/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/godsboy404">@godsboy404</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2737913912" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1271" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1271/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1271">#1271</a>)</li>
<li>Update documentation for reward scaling wrappers by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/keraJLi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/keraJLi">@keraJLi</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2765903176" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1285" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1285/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1285">#1285</a>)</li>
</ul>
<p>Thanks to the 31 new contributors that contributed to this release with the <strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.0.0...v1.1.0"><tt>v1.0.0...v1.1.0</tt></a></p>

## v1.0.0

*Released on 2024-10-08 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.0.0) - [PyPI](https://pypi.org/project/gymnasium/v1.0.0/)*

<h1>v1.0.0 release notes</h1>
<p>Over the last few years, the volunteer team behind Gym and Gymnasium has worked to fix bugs, improve the documentation, add new features, and change the API where appropriate so that the benefits outweigh the costs. This is the complete release of <code>v1.0.0</code>, which will be the end of this road to change the project's central API (<code>Env</code>, <code>Space</code>, <code>VectorEnv</code>). In addition, the release has included over 200 PRs since <code>0.29.1</code>, with many bug fixes, new features, and improved documentation. So, thank you to all the volunteers for their hard work that has made this possible. For the rest of these release notes, we include sections of core API changes, ending with the additional new features, bug fixes, deprecation and documentation changes included.</p>
<p>Finally, we have published a paper on Gymnasium, discussing its overall design decisions and more at <a href="https://arxiv.org/abs/2407.17032" rel="nofollow">https://arxiv.org/abs/2407.17032</a>, which can be cited using the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@misc{towers2024gymnasium,
      title={Gymnasium: A Standard Interface for Reinforcement Learning Environments}, 
      author={Mark Towers and Ariel Kwiatkowski and Jordan Terry and John U. Balis and Gianluca De Cola and Tristan Deleu and Manuel Goulão and Andreas Kallinteris and Markus Krimmel and Arjun KG and Rodrigo Perez-Vicente and Andrea Pierré and Sander Schulhoff and Jun Jet Tai and Hannah Tan and Omar G. Younis},
      year={2024},
      eprint={2407.17032},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2407.17032}, 
}"><pre class="notranslate"><code>@misc{towers2024gymnasium,
      title={Gymnasium: A Standard Interface for Reinforcement Learning Environments}, 
      author={Mark Towers and Ariel Kwiatkowski and Jordan Terry and John U. Balis and Gianluca De Cola and Tristan Deleu and Manuel Goulão and Andreas Kallinteris and Markus Krimmel and Arjun KG and Rodrigo Perez-Vicente and Andrea Pierré and Sander Schulhoff and Jun Jet Tai and Hannah Tan and Omar G. Younis},
      year={2024},
      eprint={2407.17032},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2407.17032}, 
}
</code></pre></div>
<h2>Removing The Plugin System</h2>
<p>Within Gym v0.23+ and Gymnasium v0.26 to v0.29, an undocumented feature for registering external environments behind the scenes has been removed. For users of <a href="https://github.com/Farama-Foundation/Arcade-Learning-Environment">Atari (ALE)</a>, <a href="https://github.com/farama-Foundation/minigrid">Minigrid</a> or <a href="https://github.com/Farama-Foundation/HighwayEnv">HighwayEnv</a>, then users could previously use the following code:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import gymnasium as gym

env = gym.make(&quot;ALE/Pong-v5&quot;)"><pre><span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>

<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"ALE/Pong-v5"</span>)</pre></div>
<p>Despite Atari never being imported (i.e., <code>import ale_py</code>), users can still create an Atari environment. This feature has been removed in <code>v1.0.0</code>, which will require users to update to</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import gymnasium as gym
import ale_py

gym.register_envs(ale_py)  # optional, helpful for IDEs or pre-commit

env = gym.make(&quot;ALE/Pong-v5&quot;)"><pre><span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>
<span class="pl-k">import</span> <span class="pl-s1">ale_py</span>

<span class="pl-s1">gym</span>.<span class="pl-c1">register_envs</span>(<span class="pl-s1">ale_py</span>)  <span class="pl-c"># optional, helpful for IDEs or pre-commit</span>

<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"ALE/Pong-v5"</span>)</pre></div>
<p>Alternatively, users can use the following structure, <code>module_name:env_id, ' so that the module is imported first before the environment is created. e.g., </code>ale_py:ALE/Pong-v5\`.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import gymnasium as gym

env = gym.make(&quot;ale_py:ALE/Pong-v5&quot;)"><pre><span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>

<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"ale_py:ALE/Pong-v5"</span>)</pre></div>
<p>To help users with IDEs (e.g., VSCode, PyCharm), when importing modules to register environments (e.g., <code>import ale_py</code>) this can cause the IDE (and pre-commit isort / black / flake8) to believe that the import is pointless and should be removed. Therefore, we have introduced <code>gymnasium.register_envs</code> as a no-op function (the function literally does nothing) to make the IDE believe that something is happening and the import statement is required.</p>
<h2>Vector Environments</h2>
<p>To increase the sample speed of an environment, vectorizing is one of the easiest ways to sample multiple instances of the same environment simultaneously. Gym and Gymnasium provide the <code>VectorEnv</code> as a base class for this, but one of its issues has been that it inherited <code>Env</code>. This can cause particular issues with type checking (the return type of <code>step</code> is different for <code>Env</code> and <code>VectorEnv</code>), testing the environment type (<code>isinstance(env, Env)</code> can be true for vector environments despite the two acting differently) and finally wrappers (some Gym and Gymnasium wrappers supported Vector environments, but there are no clear or consistent API for determining which do or don't). Therefore, we have separated out <code>Env</code> and <code>VectorEnv</code> to not inherit from each other.</p>
<p>In implementing the new separate <code>VectorEnv</code> class, we have tried to minimize the difference between code using <code>Env</code> and <code>VectorEnv</code> along with making it more generic in places. The class contains the same attributes and methods as <code>Env</code> in addition to the attributes <code>num_envs: int</code>, <code>single_action_space: gymnasium.Space</code> and <code>single_observation_space: gymnasium.Space</code>. Further, we have removed several functions from <code>VectorEnv</code> that are not needed for all vector implementations: <code>step_async</code>, <code>step_wait</code>, <code>reset_async</code>, <code>reset_wait</code>, <code>call_async</code> and <code>call_wait</code>. This change now allows users to write their own custom vector environments, v1.0.0 includes an example vector cartpole environment that runs thousands of times faster written solely with NumPy than using Gymnasium's Sync vector environment.</p>
<p>To allow users to create vectorized environments easily, we provide <code>gymnasium.make_vec</code> as a vectorized equivalent of <code>gymnasium.make</code>. As there are multiple different vectorization options ("sync", "async", and a custom class referred to as "vector_entry_point"), the argument <code>vectorization_mode</code> selects how the environment is vectorized. This defaults to <code>None</code> such that if the environment has a vector entry point for a custom vector environment implementation, this will be utilized first (currently, Cartpole is the only environment with a vector entry point built into Gymnasium). Otherwise, the synchronous vectorizer is used (previously, the Gym and Gymnasium <code>vector.make</code> used asynchronous vectorizer as default). For more information, see the function <a href="https://gymnasium.farama.org/main/api/registry/#gymnasium.make_vec" rel="nofollow">docstring</a>. We are excited to see other projects utilize this option to make creating their environments easier.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="env = gym.make(&quot;CartPole-v1&quot;)
env = gym.wrappers.ClipReward(env, min_reward=-1, max_reward=3)

envs = gym.make_vec(&quot;CartPole-v1&quot;, num_envs=3)
envs = gym.wrappers.vector.ClipReward(envs, min_reward=-1, max_reward=3)"><pre><span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"CartPole-v1"</span>)
<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">wrappers</span>.<span class="pl-c1">ClipReward</span>(<span class="pl-s1">env</span>, <span class="pl-s1">min_reward</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-s1">max_reward</span><span class="pl-c1">=</span><span class="pl-c1">3</span>)

<span class="pl-s1">envs</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make_vec</span>(<span class="pl-s">"CartPole-v1"</span>, <span class="pl-s1">num_envs</span><span class="pl-c1">=</span><span class="pl-c1">3</span>)
<span class="pl-s1">envs</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">wrappers</span>.<span class="pl-c1">vector</span>.<span class="pl-c1">ClipReward</span>(<span class="pl-s1">envs</span>, <span class="pl-s1">min_reward</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-s1">max_reward</span><span class="pl-c1">=</span><span class="pl-c1">3</span>)</pre></div>
<p>Due to this split of <code>Env</code> and <code>VectorEnv</code>, there are now <code>Env</code> only wrappers and <code>VectorEnv</code> only wrappers in <code>gymnasium.wrappers</code> and <code>gymnasium.wrappers.vector</code> respectively. Furthermore, we updated the names of the base vector wrappers from <code>VectorEnvWrapper</code> to <code>VectorWrapper</code> and added <code>VectorObservationWrapper</code>, <code>VectorRewardWrapper</code> and <code>VectorActionWrapper</code> classes. See the <a href="https://gymnasium.farama.org/main/api/vector/wrappers/" rel="nofollow">vector wrapper</a> page for new information.</p>
<p>To increase the efficiency of vector environments, autoreset is a common feature that allows sub-environments to reset without requiring all sub-environments to finish before resetting them all. Previously in Gym and Gymnasium, auto-resetting was done on the same step as the environment episode ends, such that the final observation and info would be stored in the step's info, i.e., <code>info["final_observation"]</code> and <code>info[“final_info”]</code> and standard obs and info containing the sub-environment's reset observation and info. Thus, accurately sampling observations from a vector environment required the following code (note the need to extract the <code>infos["next_obs"][j]</code> if the sub-environment was terminated or truncated). Additionally, for on-policy algorithms that use rollout would require an additional forward pass to compute the correct next observation (this is often not done as an optimization assuming that environments only terminate, not truncate).</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="replay_buffer = []
obs, \_ = envs.reset()
for \_ in range(total_timesteps):
    next_obs, rewards, terminations, truncations, infos = envs.step(envs.action_space.sample())

    for j in range(envs.num_envs):
        if not (terminations[j] or truncations[j]):
            replay_buffer.append((
                obs[j], rewards[j], terminations[j], truncations[j], next_obs[j]
            ))
        else:
            replay_buffer.append((
                obs[j], rewards[j], terminations[j], truncations[j], infos[&quot;next_obs&quot;][j]
            ))

    obs = next_obs"><pre><span class="pl-s1">replay_buffer</span> <span class="pl-c1">=</span> []
<span class="pl-s1">obs</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">envs</span>.<span class="pl-c1">reset</span>()
<span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">total_timesteps</span>):
    <span class="pl-s1">next_obs</span>, <span class="pl-s1">rewards</span>, <span class="pl-s1">terminations</span>, <span class="pl-s1">truncations</span>, <span class="pl-s1">infos</span> <span class="pl-c1">=</span> <span class="pl-s1">envs</span>.<span class="pl-c1">step</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">action_space</span>.<span class="pl-c1">sample</span>())

    <span class="pl-k">for</span> <span class="pl-s1">j</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">num_envs</span>):
        <span class="pl-k">if</span> <span class="pl-c1">not</span> (<span class="pl-s1">terminations</span>[<span class="pl-s1">j</span>] <span class="pl-c1">or</span> <span class="pl-s1">truncations</span>[<span class="pl-s1">j</span>]):
            <span class="pl-s1">replay_buffer</span>.<span class="pl-c1">append</span>((
                <span class="pl-s1">obs</span>[<span class="pl-s1">j</span>], <span class="pl-s1">rewards</span>[<span class="pl-s1">j</span>], <span class="pl-s1">terminations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">truncations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">next_obs</span>[<span class="pl-s1">j</span>]
            ))
        <span class="pl-k">else</span>:
            <span class="pl-s1">replay_buffer</span>.<span class="pl-c1">append</span>((
                <span class="pl-s1">obs</span>[<span class="pl-s1">j</span>], <span class="pl-s1">rewards</span>[<span class="pl-s1">j</span>], <span class="pl-s1">terminations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">truncations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">infos</span>[<span class="pl-s">"next_obs"</span>][<span class="pl-s1">j</span>]
            ))

    <span class="pl-s1">obs</span> <span class="pl-c1">=</span> <span class="pl-s1">next_obs</span></pre></div>
<p>However, over time, the development team has recognized the inefficiency of this approach (primarily due to the extensive use of a Python dictionary) and the annoyance of having to extract the final observation to train agents correctly, for <a href="https://github.com/vwxyzjn/cleanrl/blob/c37a3ec4ef8d33ab7c8a69d4d2714e3817739365/cleanrl/dqn.py#L174">example</a>. Therefore, in v1.0.0, we are modifying autoreset to align with specialized vector-only projects like <a href="https://github.com/sail-sg/envpool">EnvPool</a> and <a href="https://github.com/alex-petrenko/sample-factory">SampleFactory</a> where the sub-environment's doesn't reset until the next step. As a result, the following changes are required when sampling:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="replay_buffer = []
obs, \_ = envs.reset()
autoreset = np.zeros(envs.num_envs)
for \_ in range(total_timesteps):
    next_obs, rewards, terminations, truncations, \_ = envs.step(envs.action_space.sample())

    for j in range(envs.num_envs):
        if not autoreset[j]:
            replay_buffer.append((
                obs[j], rewards[j], terminations[j], truncations[j], next_obs[j]
            ))

    obs = next_obs
    autoreset = np.logical_or(terminations, truncations)"><pre><span class="pl-s1">replay_buffer</span> <span class="pl-c1">=</span> []
<span class="pl-s1">obs</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">envs</span>.<span class="pl-c1">reset</span>()
<span class="pl-s1">autoreset</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-c1">zeros</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">num_envs</span>)
<span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">total_timesteps</span>):
    <span class="pl-s1">next_obs</span>, <span class="pl-s1">rewards</span>, <span class="pl-s1">terminations</span>, <span class="pl-s1">truncations</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">envs</span>.<span class="pl-c1">step</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">action_space</span>.<span class="pl-c1">sample</span>())

    <span class="pl-k">for</span> <span class="pl-s1">j</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">num_envs</span>):
        <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">autoreset</span>[<span class="pl-s1">j</span>]:
            <span class="pl-s1">replay_buffer</span>.<span class="pl-c1">append</span>((
                <span class="pl-s1">obs</span>[<span class="pl-s1">j</span>], <span class="pl-s1">rewards</span>[<span class="pl-s1">j</span>], <span class="pl-s1">terminations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">truncations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">next_obs</span>[<span class="pl-s1">j</span>]
            ))

    <span class="pl-s1">obs</span> <span class="pl-c1">=</span> <span class="pl-s1">next_obs</span>
    <span class="pl-s1">autoreset</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-c1">logical_or</span>(<span class="pl-s1">terminations</span>, <span class="pl-s1">truncations</span>)</pre></div>
<p>For on-policy rollout, to account for the autoreset requires masking the error for the first observation in a new episode (<code>done[t+1]</code>) to prevent computing the error between the last and first observations of episodes.</p>
<p>Finally, we have improved <code>AsyncVectorEnv.set_attr</code> and <code>SyncVectorEnv.set_attr</code> functions to use the <code>Wrapper.set_wrapper_attr</code> to allow users to set variables anywhere in the environment stack if it already exists. Previously, this was not possible and users could only modify the variable in the "top" wrapper on the environment stack, importantly not the actual environment itself.</p>
<h2>Wrappers</h2>
<p>Previously, some wrappers could support both environment and vector environments, however, this was not standardized, and was unclear which wrapper did and didn't support vector environments. For v1.0.0, with separating <code>Env</code> and <code>VectorEnv</code> to no longer inherit from each other (read more in the vector section), the wrappers in <code>gymnasium.wrappers</code> will only support standard environments and wrappers in <code>gymnasium.wrappers.vector</code> contains the provided specialized vector wrappers (most but not all wrappers are supported, please raise a feature request if you require it).</p>
<p>In v0.29, we deprecated the <code>Wrapper._\_getattr_\_</code> function to be replaced by <code>Wrapper.get_wrapper_attr</code>, providing access to variables anywhere in the environment stack. In v1.0.0, we have added <code>Wrapper.set_wrapper_attr</code> as an equivalent function for setting a variable anywhere in the environment stack if it already exists; otherwise the variable is assigned to the top wrapper.</p>
<p>Most significantly, we have removed, renamed, and added several wrappers listed below.</p>
<ul>
<li>Removed wrappers
<ul>
<li><code>monitoring.VideoRecorder</code> - The replacement wrapper is <code>RecordVideo</code></li>
<li><code>StepAPICompatibility</code> - We expect all Gymnasium environments to use the terminated / truncated step API, therefore, users shouldn't need the <code>StepAPICompatibility</code> wrapper. <a href="https://shimmy.farama.org/" rel="nofollow">Shimmy</a> includes a compatibility environment to convert gym-api environments for gymnasium.</li>
</ul>
</li>
<li>Renamed wrappers (We wished to make wrappers consistent in naming. Therefore, we have removed "Wrapper" from all wrappers and included "Observation", "Action" and "Reward" within wrapper names where appropriate)
<ul>
<li><code>AutoResetWrapper</code> -&gt; <code>Autoreset</code></li>
<li><code>FrameStack</code> -&gt; <code>FrameStackObservation</code></li>
<li><code>PixelObservationWrapper</code> -&gt; <code>AddRenderObservation</code></li>
</ul>
</li>
<li>Moved wrappers (All vector wrappers are in <code>gymnasium.wrappers.vector</code>)
<ul>
<li><code>VectorListInfo</code> -&gt; <code>vector.DictInfoToList</code></li>
</ul>
</li>
<li>Added wrappers
<ul>
<li><code>DelayObservation</code> - Adds a delay to the next observation and reward</li>
<li><code>DtypeObservation</code> - Modifies the dtype of an environment's observation space</li>
<li><code>MaxAndSkipObservation</code> - Will skip <code>n</code> observations and will max over the last 2 observations, inspired by the Atari environment heuristic for other environments</li>
<li><code>StickyAction</code> - Random repeats actions with a probability for a step returning the final observation and sum of rewards over steps. Inspired by Atari environment heuristics</li>
<li><code>JaxToNumpy</code> - Converts a Jax-based environment to use Numpy-based input and output data for <code>reset</code>, <code>step</code>, etc</li>
<li><code>JaxToTorch</code> - Converts a Jax-based environment to use PyTorch-based input and output data for <code>reset</code>, <code>step</code>, etc</li>
<li><code>NumpyToTorch</code> - Converts a Numpy-based environment to use PyTorch-based input and output data for <code>reset</code>, <code>step</code>, etc</li>
</ul>
</li>
</ul>
<p>For all wrappers, we have added example code documentation and a changelog to help future researchers understand any changes made. See the following <a href="https://gymnasium.farama.org/main/api/wrappers/misc_wrappers/#gymnasium.wrappers.TimeLimit" rel="nofollow">page</a> for an example.</p>
<h2>Functional Environments</h2>
<p>One of the substantial advantages of Gymnasium's <code>Env</code> is it generally requires minimal information about the underlying environment specifications; however, this can make applying such environments to planning, search algorithms, and theoretical investigations more difficult. We are proposing <code>FuncEnv</code> as an alternative definition to <code>Env</code> which is closer to a Markov Decision Process definition, exposing more functions to the user, including the observation, reward, and termination functions along with the environment's raw state as a single object.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from typing import Any
import gymnasium as gym
from gymnasium.functional import StateType, ObsType, ActType, RewardType, TerminalType, Params

class ExampleFuncEnv(gym.functional.FuncEnv):
  def initial(self, rng: Any, params: Params | None = None) -&gt; StateType:
    ...
  def transition(self, state: StateType, action: ActType, rng: Any, params: Params | None = None) -&gt; StateType:
    ...
  def observation(self, state: StateType, rng: Any, params: Params | None = None) -&gt; ObsType:
    ...
  def reward(
      self, state: StateType, action: ActType, next_state: StateType, rng: Any, params: Params | None = None
  ) -&gt; RewardType:
    ...
  def terminal(self, state: StateType, rng: Any, params: Params | None = None) -&gt; TerminalType:
    ..."><pre><span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">Any</span>
<span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>
<span class="pl-k">from</span> <span class="pl-s1">gymnasium</span>.<span class="pl-s1">functional</span> <span class="pl-k">import</span> <span class="pl-v">StateType</span>, <span class="pl-v">ObsType</span>, <span class="pl-v">ActType</span>, <span class="pl-v">RewardType</span>, <span class="pl-v">TerminalType</span>, <span class="pl-v">Params</span>

<span class="pl-k">class</span> <span class="pl-v">ExampleFuncEnv</span>(<span class="pl-s1">gym</span>.<span class="pl-c1">functional</span>.<span class="pl-c1">FuncEnv</span>):
  <span class="pl-k">def</span> <span class="pl-en">initial</span>(<span class="pl-s1">self</span>, <span class="pl-s1">rng</span>: <span class="pl-smi">Any</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>) <span class="pl-c1">-&gt;</span> <span class="pl-smi">StateType</span>:
    ...
  <span class="pl-k">def</span> <span class="pl-en">transition</span>(<span class="pl-s1">self</span>, <span class="pl-s1">state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">action</span>: <span class="pl-smi">ActType</span>, <span class="pl-s1">rng</span>: <span class="pl-smi">Any</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>) <span class="pl-c1">-&gt;</span> <span class="pl-smi">StateType</span>:
    ...
  <span class="pl-k">def</span> <span class="pl-en">observation</span>(<span class="pl-s1">self</span>, <span class="pl-s1">state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">rng</span>: <span class="pl-smi">Any</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>) <span class="pl-c1">-&gt;</span> <span class="pl-smi">ObsType</span>:
    ...
  <span class="pl-k">def</span> <span class="pl-en">reward</span>(
      <span class="pl-s1">self</span>, <span class="pl-s1">state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">action</span>: <span class="pl-smi">ActType</span>, <span class="pl-s1">next_state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">rng</span>: <span class="pl-smi">Any</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>
  ) <span class="pl-c1">-&gt;</span> <span class="pl-smi">RewardType</span>:
    ...
  <span class="pl-k">def</span> <span class="pl-en">terminal</span>(<span class="pl-s1">self</span>, <span class="pl-s1">state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">rng</span>: <span class="pl-smi">Any</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>) <span class="pl-c1">-&gt;</span> <span class="pl-smi">TerminalType</span>:
    ...</pre></div>
<p><code>FuncEnv</code> requires that <code>initial</code> and <code>transition</code> functions return a new state given its inputs as a partial implementation of <code>Env.step</code> and <code>Env.reset</code>. As a result, users can sample (and save) the next state for a range of inputs to use with planning, searching, etc. Given a state, <code>observation</code>, <code>reward</code>, and <code>terminal</code> provide users explicit definitions to understand how each can affect the environment's output.</p>
<h2>Collecting Seeding Values</h2>
<p>It was possible to seed with both environments and spaces with <code>None</code> to use a random initial seed value, however it wouldn't be possible to know what these initial seed values were. We have addressed this for <code>Space.seed</code> and <code>reset.seed</code> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2251552930" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1033" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1033/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1033">#1033</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2096796528" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/889" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/889/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/889">#889</a>. Additionally, for <code>Space.seed</code>, we have changed the return type to be specialized for each space such that the following code will work for all spaces.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="seeded_values = space.seed(None)
initial_samples = [space.sample() for \_ in range(10)]

reseed_values = space.seed(seeded_values)
reseed_samples = [space.sample() for \_ in range(10)]

assert seeded_values == reseed_values
assert initial_samples == reseed_samples"><pre><span class="pl-s1">seeded_values</span> <span class="pl-c1">=</span> <span class="pl-s1">space</span>.<span class="pl-c1">seed</span>(<span class="pl-c1">None</span>)
<span class="pl-s1">initial_samples</span> <span class="pl-c1">=</span> [<span class="pl-s1">space</span>.<span class="pl-c1">sample</span>() <span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>)]

<span class="pl-s1">reseed_values</span> <span class="pl-c1">=</span> <span class="pl-s1">space</span>.<span class="pl-c1">seed</span>(<span class="pl-s1">seeded_values</span>)
<span class="pl-s1">reseed_samples</span> <span class="pl-c1">=</span> [<span class="pl-s1">space</span>.<span class="pl-c1">sample</span>() <span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>)]

<span class="pl-k">assert</span> <span class="pl-s1">seeded_values</span> <span class="pl-c1">==</span> <span class="pl-s1">reseed_values</span>
<span class="pl-k">assert</span> <span class="pl-s1">initial_samples</span> <span class="pl-c1">==</span> <span class="pl-s1">reseed_samples</span></pre></div>
<p>Additionally, for environments, we have added a new <code>np_random_seed</code> attribute that will store the most recent <code>np_random</code> seed value from <code>reset(seed=seed)</code>.</p>
<h3>Environment Version Changes</h3>
<ul>
<li>
<p>It was discovered recently that the MuJoCo-based Pusher was not compatible with <code>mujoco&gt;= 3</code> as the model's density for the block that the agent had to push was lighter than air. This obviously began to cause issues for users with <code>mujoco&gt;= 3</code> and Pusher. Therefore, we are disabled the <code>v4</code> environment with <code>mujoco&gt;= 3</code> and updated to the model in MuJoCo <code>v5</code> that produces more expected behavior like <code>v4</code> and <code>mujoco&lt; 3</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2243861128" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1019" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1019/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1019">#1019</a>).</p>
</li>
<li>
<p>New v5 MuJoCo environments as a follow-up to v4 environments added two years ago, fixing consistencies, adding new features and updating the documentation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1777621447" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/572" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/572/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/572">#572</a>). Additionally, we have decided to mark the mujoco-py based (v2 and v3) environments as deprecated and plan to remove them from Gymnasium in future (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2138058212" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/926" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/926/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/926">#926</a>).</p>
</li>
<li>
<p>Lunar Lander version increased from v2 to v3 due to two bug fixes. The first fixes the determinism of the environment such that the world object was not completely destroyed on reset causing non-determinism in particular cases (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2202798847" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/979" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/979/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/979">#979</a>). Second, the wind generation (by default turned off) was not randomly generated by each reset, therefore, we have updated this to gain statistical independence between episodes (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2175669217" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/959" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/959/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/959">#959</a>).</p>
</li>
<li>
<p>CarRacing version increased from v2 to v3 to change how the environment ends such that when the agent completes the track then the environment will terminate not truncate.</p>
</li>
<li>
<p>We have remove <code>pip install "gymnasium[accept-rom-license]"</code> as <code>ale-py&gt;=0.9</code> now comes packaged with the roms meaning that users don't need to install the atari roms separately with <code>autoroms</code>.</p>
</li>
</ul>
<h2>Additional Bug Fixes</h2>
<ul>
<li><code>spaces.Box</code> would allow low and high values outside the dtype's range, which could result in some very strange edge cases that were very difficult to detect by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1989204190" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/774" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/774/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/774">#774</a>)</li>
<li>Limit the cython version for <code>gymnasium[mujoco-py]</code> due to <code>cython==3</code> issues by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1808633255" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/616" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/616/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/616">#616</a>)</li>
<li>Fix mujoco rendering with custom width values by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/logan-dunbar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/logan-dunbar">@logan-dunbar</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1826498701" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/634" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/634/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/634">#634</a>)</li>
<li>Fix environment checker to correctly report infinite bounds by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chrisyeh96/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chrisyeh96">@chrisyeh96</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1884906446" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/708" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/708/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/708">#708</a>)</li>
<li>Fix type hint for <code>register(kwargs)</code> from <code>\*\*kwargs</code> to <code>kwargs: dict | None = None</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2008787785" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/788" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/788/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/788">#788</a>)</li>
<li>Fix registration in <code>AsyncVectorEnv</code> for custom environments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2022677211" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/810" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/810/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/810">#810</a>)</li>
<li>Remove <code>mujoco-py</code> import error for v4+ MuJoCo environments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MischaPanch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MischaPanch">@MischaPanch</a><br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2149632611" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/934" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/934/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/934">#934</a>)</li>
<li>Fix reading shared memory for <code>Tuple</code> and <code>Dict</code> spaces (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2157004234" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/941" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/941/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/941">#941</a>)</li>
<li>Fix <code>Multidiscrete.from_jsonable</code> on windows (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2146308896" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/932" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/932/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/932">#932</a>)</li>
<li>Remove <code>play</code> rendering normalization (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2174403140" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/956" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/956/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/956">#956</a>)</li>
<li>Fix non-used device argument in <code>to_torch</code> conversion by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mantasu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mantasu">@mantasu</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2386724705" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1107" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1107/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1107">#1107</a>)</li>
<li>Fix torch to numpy conversion when on GPU by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mantasu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mantasu">@mantasu</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2386831771" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1109" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1109/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1109">#1109</a>)</li>
</ul>
<h2>Additional new features</h2>
<ul>
<li>Added Python 3.12 and NumPy 2.0 support by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2379185824" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1094" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1094/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1094">#1094</a></li>
<li>Add support in MuJoCo human rendering to change the size of the viewing window by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/logan-dunbar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/logan-dunbar">@logan-dunbar</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1826622741" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/635" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/635/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/635">#635</a>)</li>
<li>Add more control in MuJoCo rendering over offscreen dimensions and scene geometries by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guyazran/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guyazran">@guyazran</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1922682659" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/731" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/731/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/731">#731</a>)</li>
<li>Add stack trace reporting to <code>AsyncVectorEnv</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2408883554" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1119" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1119/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1119">#1119</a></li>
<li>Add support to handle <code>NamedTuples</code> in <code>JaxToNumpy</code>, <code>JaxToTorch</code> and <code>NumpyToTorch</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RogerJL/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RogerJL">@RogerJL</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2009661972" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/789" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/789/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/789">#789</a>) and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2023561113" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/811" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/811/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/811">#811</a>)</li>
<li>Add <code>padding_type</code> parameter to <code>FrameSkipObservation</code> to select the padding observation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jamartinh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jamartinh">@jamartinh</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2033782716" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/830" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/830/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/830">#830</a>)</li>
<li>Add render check to <code>check_environments_match</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1952838243" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/748" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/748/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/748">#748</a>)</li>
<li>Add a new <code>OneOf</code> space that provides exclusive unions of spaces by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2025002947" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/812" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/812/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/812">#812</a>)</li>
<li>Update <code>Dict.sample</code> to use standard Python dicts rather than <code>OrderedDict</code> due to dropping Python 3.7 support by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2202208620" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/977" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/977/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/977">#977</a>)</li>
<li>Jax environment return jax data rather than numpy data by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2028345955" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/817" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/817/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/817">#817</a>)</li>
<li>Add <code>wrappers.vector.HumanRendering</code> and remove human rendering from <code>CartPoleVectorEnv</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TimSchneider42/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TimSchneider42">@TimSchneider42</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2240399089" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1013" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1013/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1013">#1013</a>)</li>
<li>Add more helpful error messages if users use a mixture of Gym and Gymnasium by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2174992889" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/957" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/957/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/957">#957</a>)</li>
<li>Add <code>sutton_barto_reward</code> argument for <code>CartPole</code> that changes the reward function to not return 1 on terminating states by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2175554986" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/958" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/958/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/958">#958</a>)</li>
<li>Add <code>visual_options</code> rendering argument for MuJoCo environments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2186373700" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/965" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/965/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/965">#965</a>)</li>
<li>Add <code>exact</code> argument to <code>utlis.env_checker.data_equivilance</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2137938748" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/924" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/924/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/924">#924</a>)</li>
<li>Update <code>wrapper.NormalizeObservation</code> observation space and change observation to <code>float32</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2202779499" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/978" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/978/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/978">#978</a>)</li>
<li>Catch exception during <code>env.spec</code> if kwarg is unpickleable by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2203955228" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/982" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/982/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/982">#982</a>)</li>
<li>Improving ImportError for Box2D by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/turbotimon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/turbotimon">@turbotimon</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2235999948" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1009" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1009/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1009">#1009</a>)</li>
<li>Add an option for a tuple of (int, int) screen-size in AtariPreprocessing wrapper by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2386633845" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1105" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1105/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1105">#1105</a>)</li>
<li>Add <code>is_slippery</code> option for cliffwalking environment by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/CloseChoice/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/CloseChoice">@CloseChoice</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2363091908" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1087" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1087/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1087">#1087</a>)</li>
<li>Update <code>RescaleAction</code> and <code>RescaleObservation</code> to support <code>np.inf</code> bounds by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TimSchneider42/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TimSchneider42">@TimSchneider42</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2379929787" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1095" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1095/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1095">#1095</a>)</li>
<li>Update determinism check for <code>env.reset(seed=42); env.reset()</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qgallouedec/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qgallouedec">@qgallouedec</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2353086281" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1086" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1086/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1086">#1086</a>)</li>
<li>Refactor mujoco to remove <code>BaseMujocoEnv</code> class by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2328264476" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1075" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1075/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1075">#1075</a>)</li>
</ul>
<h2>Deprecation</h2>
<ul>
<li>Remove unnecessary error classes in error.py by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2014804967" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/801" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/801/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/801">#801</a>)</li>
<li>Stop exporting MuJoCo v2 environment classes from <code>gymnasium.envs.mujoco</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2032622457" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/827" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/827/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/827">#827</a>)</li>
<li>Remove deprecation warning from PlayPlot by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2014762422" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/800" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/800/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/800">#800</a>)</li>
</ul>
<h2>Documentation changes</h2>
<ul>
<li>Updated the custom environment tutorial for v1.0.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kir0ul/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kir0ul">@kir0ul</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1886746054" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/709" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/709/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/709">#709</a>)</li>
<li>Add swig to installation instructions for Box2D by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/btjanaka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/btjanaka">@btjanaka</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1861733911" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/683" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/683/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/683">#683</a>)</li>
<li>Add tutorial Load custom quadruped robot environments using <code>Gymnasium/MuJoCo/Ant-v5</code> framework by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2037516972" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/838" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/838/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/838">#838</a>)</li>
<li>Add a third-party tutorial page to list tutorials written and hosted on other websites by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2070304050" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/867" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/867/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/867">#867</a>)</li>
<li>Add more introductory pages by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2009945525" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/791" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/791/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/791">#791</a>)</li>
<li>Add figures for each MuJoCo environment representing their action space by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1976319025" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/762" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/762/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/762">#762</a>)</li>
<li>Fix the documentation on blackjack's starting state by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2102488163" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/893" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/893/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/893">#893</a>)</li>
<li>Update Taxi environment documentation to clarify starting state definition by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/britojr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/britojr">@britojr</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2409044060" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1120" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1120/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1120">#1120</a></li>
<li>Fix the documentation on Frozenlake and Cliffwalking's position by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PierreCounathe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PierreCounathe">@PierreCounathe</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1869721063" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/695" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/695/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/695">#695</a>)</li>
<li>Update the classic control environment's <code>_\_init_\_</code> and <code>reset</code> arguments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2105658187" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/898" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/898/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/898">#898</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.29.1...v1.0.0"><tt>v0.29.1...v1.0.0</tt></a></p>

## v1.0.0a2: v1.0.0 alpha 2

*Released on 2024-05-21 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.0.0a2) - [PyPI](https://pypi.org/project/gymnasium/v1.0.0a2/)*

<p>This is our second alpha version which we hope to be the last before the full Gymnasium v1.0.0 release. We summarise the key changes, bug fixes and new features added in this alpha version.</p>
<h2>Key Changes</h2>
<h3>Atari environments</h3>
<p><a href="https://github.com/Farama-Foundation/Arcade-Learning-Environment">ale-py</a> that provides the Atari environments has been updated in v0.9.0 to use Gymnasium as the API backend. Furthermore, the pip install contains the ROMs so all that should be necessary for installing Atari will be <code>pip install “gymnasium[atari]”</code> (as a result, <code>gymnasium[accept-rom-license]</code> has been removed). A reminder that for Gymnasium v1.0 to register the external environments (e.g., <code>ale-py</code>), you will be required to <code>import ale_py</code> before creating any of the Atari environments.</p>
<h3>Collecting seeding values</h3>
<p>It was possible to seed with both environments and spaces with <code>None</code> to use a random initial seed value however it wouldn’t be possible to know what these initial seed values were. We have addressed for this <code>Space.seed</code> and <code>reset.seed</code> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2251552930" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1033" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1033/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1033">#1033</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2096796528" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/889" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/889/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/889">#889</a>. For <code>Space.seed</code>, we have changed the return type to be specialised for each space such that the following code will work for all spaces.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="seeded_values = space.seed(None)
initial_samples = [space.sample() for \_ in range(10)]

reseed_values = space.seed(seeded_values)
reseed_samples = [space.sample() for \_ in range(10)]

assert seeded_values == reseed_values
assert initial_samples == reseed_samples"><pre><span class="pl-s1">seeded_values</span> <span class="pl-c1">=</span> <span class="pl-s1">space</span>.<span class="pl-c1">seed</span>(<span class="pl-c1">None</span>)
<span class="pl-s1">initial_samples</span> <span class="pl-c1">=</span> [<span class="pl-s1">space</span>.<span class="pl-c1">sample</span>() <span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>)]

<span class="pl-s1">reseed_values</span> <span class="pl-c1">=</span> <span class="pl-s1">space</span>.<span class="pl-c1">seed</span>(<span class="pl-s1">seeded_values</span>)
<span class="pl-s1">reseed_samples</span> <span class="pl-c1">=</span> [<span class="pl-s1">space</span>.<span class="pl-c1">sample</span>() <span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>)]

<span class="pl-k">assert</span> <span class="pl-s1">seeded_values</span> <span class="pl-c1">==</span> <span class="pl-s1">reseed_values</span>
<span class="pl-k">assert</span> <span class="pl-s1">initial_samples</span> <span class="pl-c1">==</span> <span class="pl-s1">reseed_samples</span></pre></div>
<p>Additionally, for environments, we have added a new <code>np_random_seed</code> attribute that will store the most recent <code>np_random</code> seed value from <code>reset(seed=seed)</code>.</p>
<h3>Environment Version changes</h3>
<ul>
<li>It was discovered recently that the mujoco-based pusher was not compatible with MuJoCo <code>&gt;= 3</code> due to bug fixes that found the model density for a block that the agent had to push was the density of air. This obviously began to cause issues for users with MuJoCo v3+ and Pusher. Therefore, we are disabled the <code>v4</code> environment with MuJoCo <code>&gt;= 3</code> and updated to the model in MuJoCo <code>v5</code> that produces more expected behaviour like <code>v4</code> and MuJoCo <code>&lt; 3</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2243861128" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1019" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1019/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1019">#1019</a>).</li>
<li>Alpha 2 includes new v5 MuJoCo environments as a follow-up to v4 environments added two years ago, fixing consistencies, adding new features and updating the documentation. We have decided to mark the MuJoCo-py (v2 and v3) environments as deprecated and plan to remove them from Gymnasium in future (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2138058212" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/926" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/926/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/926">#926</a>).</li>
<li>Lunar Lander version increased from v2 to v3 due to two bug fixes. The first fixes the determinism of the environment such that the world object was not completely destroyed on reset causing non-determinism in particular cases (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2202798847" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/979" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/979/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/979">#979</a>). Second, the wind generation (by default turned off) was not randomly generated by each reset, therefore, we have updated this to gain statistical independence between episodes (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2175669217" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/959" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/959/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/959">#959</a>).</li>
</ul>
<h3>Box Samples</h3>
<p>It was discovered that the <code>spaces.Box</code> would allow low and high values outside the dtype’s range (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1989204190" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/774" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/774/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/774">#774</a>) which could result in some very strange edge cases that were very difficult to detect. We hope that these changes improve debugging and detecting invalid inputs to the space, however, let us know if your environment raises issues related to this.</p>
<h2>Bug Fixes</h2>
<ul>
<li>Updates <code>CartPoleVectorEnv</code> for the new autoreset API (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2121454890" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/915" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/915/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/915">#915</a>)</li>
<li>Fixed <code>wrappers.vector.RecordEpisodeStatistics</code> episode length computation from new autoreset api (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2243577368" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1018" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1018/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1018">#1018</a>)</li>
<li>Remove <code>mujoco-py</code> import error for v4+ MuJoCo environments (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2149632611" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/934" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/934/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/934">#934</a>)</li>
<li>Fix <code>make_vec(\*\*kwargs)</code> not being passed to vector entry point envs (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2171242542" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/952" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/952/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/952">#952</a>)</li>
<li>Fix reading shared memory for <code>Tuple</code> and <code>Dict</code> spaces (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2157004234" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/941" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/941/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/941">#941</a>)</li>
<li>Fix <code>Multidiscrete.from_jsonable</code> for windows (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2146308896" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/932" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/932/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/932">#932</a>)</li>
<li>Remove <code>play</code> rendering normalisation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2174403140" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/956" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/956/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/956">#956</a>)</li>
</ul>
<h2>New Features</h2>
<ul>
<li>Added Python 3.12 support</li>
<li>Add a new <code>OneOf</code> space that provides exclusive unions of spaces (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2025002947" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/812" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/812/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/812">#812</a>)</li>
<li>Update <code>Dict.sample</code> to use standard Python dicts rather than <code>OrderedDict</code> due to dropping Python 3.7 support (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2202208620" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/977" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/977/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/977">#977</a>)</li>
<li>Jax environment return jax data rather than numpy data (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2028345955" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/817" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/817/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/817">#817</a>)</li>
<li>Add <code>wrappers.vector.HumanRendering</code> and remove human rendering from <code>CartPoleVectorEnv</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2240399089" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1013" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1013/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1013">#1013</a>)</li>
<li>Add more helpful error messages if users use a mixture of Gym and Gymnasium (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2174992889" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/957" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/957/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/957">#957</a>)</li>
<li>Add  <code>sutton_barto_reward</code> argument for <code>CartPole</code> that changes the reward function to not return 1 on terminating states (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2175554986" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/958" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/958/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/958">#958</a>)</li>
<li>Add <code>visual_options</code> rendering argument for MuJoCo environments  (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2186373700" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/965" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/965/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/965">#965</a>)</li>
<li>Add <code>exact</code> argument to <code>utlis.env_checker.data_equivilance</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2137938748" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/924" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/924/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/924">#924</a>)</li>
<li>Update <code>wrapper.NormalizeObservation</code> observation space and change observation to <code>float32</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2202779499" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/978" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/978/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/978">#978</a>)</li>
<li>Catch exception during <code>env.spec</code> if kwarg is unpickleable (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2203955228" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/982" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/982/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/982">#982</a>)</li>
<li>Improving ImportError for Box2D (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2235999948" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1009" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1009/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1009">#1009</a>)</li>
<li>Added metadata field to VectorEnv and VectorWrapper  (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2235785683" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1006" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1006/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1006">#1006</a>)</li>
<li>Fix <code>make_vec</code> for sync or async when modifying make arguments (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2247939491" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/1027" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/1027/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/1027">#1027</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v1.0.0a1...v1.0.0a2"><tt>v1.0.0a1...v1.0.0a2</tt></a> <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.29.1...v1.0.0a2"><tt>v0.29.1...v1.0.0a2</tt></a></p>

## v1.0.0a1: v1.0.0 alpha1

*Released on 2024-02-13 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v1.0.0a1) - [PyPI](https://pypi.org/project/gymnasium/v1.0.0a1/)*

<p>Over the last few years, the volunteer team behind Gym and Gymnasium has worked to fix bugs, improve the documentation, add new features, and change the API where appropriate such that the benefits outweigh the costs. This is the first alpha release of <code>v1.0.0</code>, which aims to be the end of this road of changing the project's API along with containing many new features and improved documentation.</p>
<p>To install v1.0.0a1, you must use <code>pip install gymnasium==1.0.0a1</code> or <code>pip install --pre gymnasium</code> otherwise, <code>v0.29.1</code> will be installed. Similarly, the website will default to v0.29.1's documentation, which can be changed with the pop-up in the bottom right.</p>
<p>We are really interested in projects testing with these v1.0.0 alphas to find any bugs, missing documentation, or issues with the API changes before we release v1.0 in full.</p>
<h2>Removing the plugin system</h2>
<p>Within Gym v0.23+ and Gymnasium v0.26 to v0.29, an undocumented feature that has existed for registering external environments behind the scenes has been removed. For users of <a href="https://github.com/Farama-Foundation/Arcade-Learning-Environment">Atari (ALE)</a>, <a href="https://github.com/farama-Foundation/minigrid">Minigrid</a> or <a href="https://github.com/Farama-Foundation/HighwayEnv">HighwayEnv</a>, then users could use the following code:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import gymnasium as gym

env = gym.make(&quot;ALE/Pong-v5&quot;)"><pre><span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>

<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"ALE/Pong-v5"</span>)</pre></div>
<p>such that despite Atari never being imported (i.e., <code>import ale_py</code>), users can still load an Atari environment. This feature has been removed in v1.0.0, which will require users to update to</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import gymnasium as gym
import ale_py

gym.register_envs(ale_py)  # optional

env = gym.make(&quot;ALE/Pong-v5&quot;)"><pre><span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>
<span class="pl-k">import</span> <span class="pl-s1">ale_py</span>

<span class="pl-s1">gym</span>.<span class="pl-c1">register_envs</span>(<span class="pl-s1">ale_py</span>)  <span class="pl-c"># optional</span>

<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"ALE/Pong-v5"</span>)</pre></div>
<p>Alternatively, users can do the following where the <code>ale_py</code>  within the environment id will import the module</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import gymnasium as gym

env = gym.make(&quot;ale_py:ALE/Pong-v5&quot;)  # \`module_name:env_id\`"><pre><span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>

<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"ale_py:ALE/Pong-v5"</span>)  <span class="pl-c"># \`module_name:env_id\`</span></pre></div>
<p>For users with IDEs (i.e., VSCode, PyCharm), then <code>import ale_py</code> can cause the IDE (and pre-commit isort / black / flake8) to believe that the import statement does nothing. Therefore, we have introduced <code>gymnasium.register_envs</code> as a no-op function (the function literally does nothing) to make the IDE believe that something is happening and the import statement is required.</p>
<p>Note: ALE-py, Minigrid, and HighwayEnv must be updated to work with Gymnasium v1.0.0, which we hope to complete for all projects affected by alpha 2.</p>
<h2>Vector environments</h2>
<p>To increase the sample speed of an environment, vectorizing is one of the easiest ways to sample multiple instances of the same environment simultaneously. Gym and Gymnasium provide the <code>VectorEnv</code> as a base class for this, but one of its issues has been that it inherited <code>Env</code>. This can cause particular issues with type checking (the return type of <code>step</code> is different for <code>Env</code> and <code>VectorEnv</code>), testing the environment type (<code>isinstance(env, Env)</code> can be true for vector environments despite the two actings differently) and finally wrappers (some Gym and Gymnasium wrappers supported Vector environments but there are no clear or consistent API for determining which did or didn’t). Therefore, we have separated out <code>Env</code> and <code>VectorEnv</code> to not inherit from each other.</p>
<p>In implementing the new separate <code>VectorEnv</code> class, we have tried to minimize the difference between code using <code>Env</code> and <code>VectorEnv</code> along with making it more generic in places. The class contains the same attributes and methods as <code>Env</code> along with <code>num_envs: int</code>, <code>single_action_space: gymnasium.Space</code> and <code>single_observation_space: gymnasium.Space</code>. Additionally, we have removed several functions from <code>VectorEnv</code> that are not needed for all vector implementations: <code>step_async</code>, <code>step_wait</code>, <code>reset_async</code>, <code>reset_wait</code>, <code>call_async</code> and <code>call_wait</code>. This change now allows users to write their own custom vector environments, v1.0.0a1 includes an example vector cartpole environment that runs thousands of times faster than using Gymnasium’s Sync vector environment.</p>
<p>To allow users to create vectorized environments easily, we provide <code>gymnasium.make_vec</code> as a vectorized equivalent of <code>gymnasium.make</code>. As there are multiple different vectorization options (“sync”, “async”, and a custom class referred to as “vector_entry_point”), the argument <code>vectorization_mode</code> selects how the environment is vectorized. This defaults to <code>None</code> such that if the environment has a vector entry point for a custom vector environment implementation, this will be utilized first (currently, Cartpole is the only environment with a vector entry point built into Gymnasium). Otherwise, the synchronous vectorizer is used (previously, the Gym and Gymnasium <code>vector.make</code> used asynchronous vectorizer as default). For more information, see the function <a href="https://gymnasium.farama.org/main/api/registry/#gymnasium.make_vec" rel="nofollow">docstring</a>.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="​​env = gym.make(&quot;CartPole-v1&quot;)
env = gym.wrappers.ClipReward(env, min_reward=-1, max_reward=3)

envs = gym.make_vec(&quot;CartPole-v1&quot;, num_envs=3)
envs = gym.wrappers.vector.ClipReward(envs, min_reward=-1, max_reward=3)"><pre>​​<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"CartPole-v1"</span>)
<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">wrappers</span>.<span class="pl-c1">ClipReward</span>(<span class="pl-s1">env</span>, <span class="pl-s1">min_reward</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-s1">max_reward</span><span class="pl-c1">=</span><span class="pl-c1">3</span>)

<span class="pl-s1">envs</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make_vec</span>(<span class="pl-s">"CartPole-v1"</span>, <span class="pl-s1">num_envs</span><span class="pl-c1">=</span><span class="pl-c1">3</span>)
<span class="pl-s1">envs</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">wrappers</span>.<span class="pl-c1">vector</span>.<span class="pl-c1">ClipReward</span>(<span class="pl-s1">envs</span>, <span class="pl-s1">min_reward</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-s1">max_reward</span><span class="pl-c1">=</span><span class="pl-c1">3</span>)</pre></div>
<p>Due to this split of <code>Env</code> and <code>VectorEnv</code>, there are now <code>Env</code> only wrappers and <code>VectorEnv</code> only wrappers in <code>gymnasium.wrappers</code> and <code>gymnasium.wrappers.vector</code> respectively. Furthermore, we updated the names of the base vector wrappers from <code>VectorEnvWrapper</code> to <code>VectorWrapper</code> and added <code>VectorObservationWrapper</code>, <code>VectorRewardWrapper</code> and <code>VectorActionWrapper</code> classes. See the <a href="https://gymnasium.farama.org/main/api/vector/wrappers/" rel="nofollow">vector wrapper</a> page for new information.</p>
<p>To increase the efficiency of vector environment, autoreset is a common feature that allows sub-environments to reset without requiring all sub-environments to finish before resetting them all. Previously in Gym and Gymnasium, auto-resetting was done on the same step as the environment episode ends, such that the final observation and info would be stored in the step’s info, i.e., <code>info["final_observation"]</code> and <code>info[“final_info”]</code> and standard obs and info containing the sub-environment’s reset observation and info. This required similar general sampling for vectorized environments.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="replay_buffer = []
obs, \_ = envs.reset()
for \_ in range(total_timesteps):
    next_obs, rewards, terminations, truncations, infos = envs.step(envs.action_space.sample())

    for j in range(envs.num_envs):
        if not (terminations[j] or truncations[j]):
            replay_buffer.append((
                obs[j], rewards[j], terminations[j], truncations[j], next_obs[j]
            ))
        else:
            replay_buffer.append((
                obs[j], rewards[j], terminations[j], truncations[j], infos[&quot;next_obs&quot;][j]
            ))

    obs = next_obs"><pre><span class="pl-s1">replay_buffer</span> <span class="pl-c1">=</span> []
<span class="pl-s1">obs</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">envs</span>.<span class="pl-c1">reset</span>()
<span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">total_timesteps</span>):
    <span class="pl-s1">next_obs</span>, <span class="pl-s1">rewards</span>, <span class="pl-s1">terminations</span>, <span class="pl-s1">truncations</span>, <span class="pl-s1">infos</span> <span class="pl-c1">=</span> <span class="pl-s1">envs</span>.<span class="pl-c1">step</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">action_space</span>.<span class="pl-c1">sample</span>())

    <span class="pl-k">for</span> <span class="pl-s1">j</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">num_envs</span>):
        <span class="pl-k">if</span> <span class="pl-c1">not</span> (<span class="pl-s1">terminations</span>[<span class="pl-s1">j</span>] <span class="pl-c1">or</span> <span class="pl-s1">truncations</span>[<span class="pl-s1">j</span>]):
            <span class="pl-s1">replay_buffer</span>.<span class="pl-c1">append</span>((
                <span class="pl-s1">obs</span>[<span class="pl-s1">j</span>], <span class="pl-s1">rewards</span>[<span class="pl-s1">j</span>], <span class="pl-s1">terminations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">truncations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">next_obs</span>[<span class="pl-s1">j</span>]
            ))
        <span class="pl-k">else</span>:
            <span class="pl-s1">replay_buffer</span>.<span class="pl-c1">append</span>((
                <span class="pl-s1">obs</span>[<span class="pl-s1">j</span>], <span class="pl-s1">rewards</span>[<span class="pl-s1">j</span>], <span class="pl-s1">terminations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">truncations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">infos</span>[<span class="pl-s">"next_obs"</span>][<span class="pl-s1">j</span>]
            ))

    <span class="pl-s1">obs</span> <span class="pl-c1">=</span> <span class="pl-s1">next_obs</span></pre></div>
<p>However, over time, the development team has recognized the inefficiency of this approach (primarily due to the extensive use of a Python dictionary) and the annoyance of having to extract the final observation to train agents correctly, for <a href="https://github.com/vwxyzjn/cleanrl/blob/master/cleanrl/dqn.py#L200">example</a>. Therefore, in v1.0.0, we are modifying autoreset to align with specialized vector-only projects like <a href="https://github.com/sail-sg/envpool">EnvPool</a> and <a href="https://github.com/alex-petrenko/sample-factory">SampleFactory</a> such that the sub-environment’s doesn’t reset until the next step. As a result, this requires the following changes when sampling. For environments with more complex observation spaces (and action actions) then</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="replay_buffer = []
obs, \_ = envs.reset()
autoreset = np.zeros(envs.num_envs)
for \_ in range(total_timesteps):
    next_obs, rewards, terminations, truncations, \_ = envs.step(envs.action_space.sample())

    for j in range(envs.num_envs):
        if not autoreset[j]:
            replay_buffer.append((
                obs[j], rewards[j], terminations[j], truncations[j], next_obs[j]
            ))

    obs = next_obs
    autoreset = np.logical_or(terminations, truncations)"><pre><span class="pl-s1">replay_buffer</span> <span class="pl-c1">=</span> []
<span class="pl-s1">obs</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">envs</span>.<span class="pl-c1">reset</span>()
<span class="pl-s1">autoreset</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-c1">zeros</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">num_envs</span>)
<span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">total_timesteps</span>):
    <span class="pl-s1">next_obs</span>, <span class="pl-s1">rewards</span>, <span class="pl-s1">terminations</span>, <span class="pl-s1">truncations</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">envs</span>.<span class="pl-c1">step</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">action_space</span>.<span class="pl-c1">sample</span>())

    <span class="pl-k">for</span> <span class="pl-s1">j</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-s1">envs</span>.<span class="pl-c1">num_envs</span>):
        <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">autoreset</span>[<span class="pl-s1">j</span>]:
            <span class="pl-s1">replay_buffer</span>.<span class="pl-c1">append</span>((
                <span class="pl-s1">obs</span>[<span class="pl-s1">j</span>], <span class="pl-s1">rewards</span>[<span class="pl-s1">j</span>], <span class="pl-s1">terminations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">truncations</span>[<span class="pl-s1">j</span>], <span class="pl-s1">next_obs</span>[<span class="pl-s1">j</span>]
            ))

    <span class="pl-s1">obs</span> <span class="pl-c1">=</span> <span class="pl-s1">next_obs</span>
    <span class="pl-s1">autoreset</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-c1">logical_or</span>(<span class="pl-s1">terminations</span>, <span class="pl-s1">truncations</span>)</pre></div>
<p>Finally, we have improved <code>AsyncVectorEnv.set_attr</code> and <code>SyncVectorEnv.set_attr</code> functions to use the <code>Wrapper.set_wrapper_attr</code> to allow users to set variables anywhere in the environment stack if it already exists. Previously, this was not possible and users could only modify the variable in the “top” wrapper on the environment stack, importantly not the actual environment its self.</p>
<h2>Wrappers</h2>
<p>Previously, some wrappers could support both environment and vector environments, however, this was not standardized, and was unclear which wrapper did and didn't support vector environments. For v1.0.0, with separating <code>Env</code> and <code>VectorEnv</code> to no longer inherit from each other (read more in the vector section), the wrappers in <code>gymnasium.wrappers</code> will only support standard environments and wrappers in <code>gymnasium.wrappers.vector</code> contains the provided specialized vector wrappers (most but not all wrappers are supported, please raise a feature request if you require it).</p>
<p>In v0.29, we deprecated the <code>Wrapper._\_getattr_\_</code> function to be replaced by <code>Wrapper.get_wrapper_attr</code>, providing access to variables anywhere in the environment stack. In v1.0.0, we have added <code>Wrapper.set_wrapper_attr</code> as an equivalent function for setting a variable anywhere in the environment stack if it already exists; only the variable is set in the top wrapper (or environment).</p>
<p>Most significantly, we have removed, renamed, and added several wrappers listed below.</p>
<ul>
<li>Removed wrappers
<ul>
<li><code>monitoring.VideoRecorder</code> - The replacement wrapper is <code>RecordVideo</code></li>
<li><code>StepAPICompatibility</code> - We expect all Gymnasium environments to use the terminated / truncated step API, therefore, user shouldn't need the <code>StepAPICompatibility</code> wrapper. <a href="https://shimmy.farama.org/" rel="nofollow">Shimmy</a> includes a compatibility environments to convert gym-api environment's for gymnasium.</li>
</ul>
</li>
<li>Renamed wrappers (We wished to make wrappers consistent in naming. Therefore, we have removed "Wrapper" from all wrappers and included "Observation", "Action" and "Reward" within wrapper names where appropriate)
<ul>
<li><code>AutoResetWrapper</code> -&gt; <code>Autoreset</code></li>
<li><code>FrameStack</code> -&gt; <code>FrameStackObservation</code></li>
<li><code>PixelObservationWrapper</code> -&gt; <code>AddRenderObservation</code></li>
</ul>
</li>
<li>Moved wrappers (All vector wrappers are in <code>gymnasium.wrappers.vector</code>)
<ul>
<li><code>VectorListInfo</code> -&gt; <code>vector.DictInfoToList</code></li>
</ul>
</li>
<li>Added wrappers
<ul>
<li><code>DelayObservation</code> - Adds a delay to the next observation and reward</li>
<li><code>DtypeObservation</code> - Modifies the dtype of an environment’s observation space</li>
<li><code>MaxAndSkipObservation</code> - Will skip <code>n</code> observations and will max over the last 2 observations, inspired by the Atari environment heuristic for other environments</li>
<li><code>StickyAction</code> - Random repeats actions with a probability for a step returning the final observation and sum of rewards over steps. Inspired by Atari environment heuristics</li>
<li><code>JaxToNumpy</code> - Converts a Jax-based environment to use Numpy-based input and output data for <code>reset</code>, <code>step</code>, etc</li>
<li><code>JaxToTorch</code> - Converts a Jax-based environment to use PyTorch-based input and output data for <code>reset</code>, <code>step</code>, etc</li>
<li><code>NumpyToTorch</code> - Converts a Numpy-based environment to use PyTorch-based input and output data for <code>reset</code>, <code>step</code>, etc</li>
</ul>
</li>
</ul>
<p>For all wrappers, we have added example code documentation and a changelog to help future researchers understand any changes made. See the following <a href="https://gymnasium.farama.org/main/api/wrappers/misc_wrappers/#gymnasium.wrappers.TimeLimit" rel="nofollow">page</a> for an example.</p>
<h2>Functional environments</h2>
<p>One of the substantial advantages of Gymnasium's <code>Env</code> is it generally requires minimal information about the underlying environment specifications however, this can make applying such environments to planning, search algorithms, and theoretical investigations more difficult. We are proposing <code>FuncEnv</code> as an alternative definition to <code>Env</code> which is closer to a Markov Decision Process definition, exposing more functions to the user, including the observation, reward, and termination functions along with the environment’s raw state as a single object.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from typing import Any
import gymnasium as gym
from gymnasium.functional import StateType, ObsType, ActType, RewardType, TerminalType, Params

class ExampleFuncEnv(gym.functional.FuncEnv):
  def initial(rng: Any, params: Params | None = None) → StateType
    …
  def transition(state: StateType, action: ActType, rng: Any, params: Params | None = None) → StateType
    …
  def observation(state: StateType, params: Params | None = None) → ObsType
    …
  def reward(
      state: StateType, action: ActType, next_state: StateType, params: Params | None = None
  ) →   RewardType
    …
  def terminal(state: StateType, params: Params | None = None) → TerminalType
    …"><pre><span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">Any</span>
<span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>
<span class="pl-k">from</span> <span class="pl-s1">gymnasium</span>.<span class="pl-s1">functional</span> <span class="pl-k">import</span> <span class="pl-v">StateType</span>, <span class="pl-v">ObsType</span>, <span class="pl-v">ActType</span>, <span class="pl-v">RewardType</span>, <span class="pl-v">TerminalType</span>, <span class="pl-v">Params</span>

<span class="pl-k">class</span> <span class="pl-v">ExampleFuncEnv</span>(<span class="pl-s1">gym</span>.<span class="pl-c1">functional</span>.<span class="pl-c1">FuncEnv</span>):
  <span class="pl-k">def</span> <span class="pl-s1">initial</span>(<span class="pl-s1">rng</span>: <span class="pl-smi">Any</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>) → <span class="pl-v">StateType</span>
    …
  <span class="pl-k">def</span> <span class="pl-s1">transition</span>(<span class="pl-s1">state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">action</span>: <span class="pl-smi">ActType</span>, <span class="pl-s1">rng</span>: <span class="pl-smi">Any</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>) → <span class="pl-v">StateType</span>
    …
  <span class="pl-k">def</span> <span class="pl-s1">observation</span>(<span class="pl-s1">state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>) → <span class="pl-v">ObsType</span>
    …
  <span class="pl-k">def</span> <span class="pl-s1">reward</span>(
      <span class="pl-s1">state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">action</span>: <span class="pl-smi">ActType</span>, <span class="pl-s1">next_state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>
  ) →   <span class="pl-v">RewardType</span>
    …
  <span class="pl-k">def</span> <span class="pl-s1">terminal</span>(<span class="pl-s1">state</span>: <span class="pl-smi">StateType</span>, <span class="pl-s1">params</span>: <span class="pl-v">Params</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>) → <span class="pl-v">TerminalType</span>
    …</pre></div>
<p><code>FuncEnv</code> requires that <code>initial</code> and <code>transition</code> functions to return a new state given its inputs as a partial implementation of <code>Env.step</code> and <code>Env.reset</code>. As a result, users can sample (and save) the next state for a range of inputs to use with planning, searching, etc. Given a state, <code>observation</code>, <code>reward</code>, and <code>terminal</code> provide users explicit definitions to understand how each can affect the environment's output.</p>
<h2>Additional bug fixes</h2>
<ul>
<li>Limit the cython version for <code>gymnasium[mujoco-py]</code> due to cython==3 issues by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1808633255" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/616" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/616/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/616">#616</a>)</li>
<li>Fix <code>MuJoCo</code> environment type issues by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1807328841" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/612" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/612/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/612">#612</a>)</li>
<li>Fix mujoco rendering with custom width values by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/logan-dunbar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/logan-dunbar">@logan-dunbar</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1826498701" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/634" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/634/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/634">#634</a>)</li>
<li>Fix environment checker to correctly report infinite bounds by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chrisyeh96/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chrisyeh96">@chrisyeh96</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1884906446" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/708" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/708/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/708">#708</a>)</li>
<li>Fix type hint for <code>register(kwargs)</code> from <code>\*\*kwargs</code> to <code>kwargs: dict | None = None</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2008787785" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/788" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/788/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/788">#788</a>)</li>
<li>Fix <code>CartPoleVectorEnv</code> step counter to be set back to zero on <code>reset</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/TimSchneider42/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/TimSchneider42">@TimSchneider42</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2094615745" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/886" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/886/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/886">#886</a>)</li>
<li>Fix registration for async vector environment for custom environments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2022677211" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/810" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/810/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/810">#810</a>)</li>
</ul>
<h2>Additional new features</h2>
<ul>
<li>New MuJoCo v5 environments (the changes and performance graphs will be included in a separate blog post) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1777621447" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/572" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/572/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/572">#572</a>)</li>
<li>Add support in MuJoCo human rendering to changing the size of the viewing window by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/logan-dunbar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/logan-dunbar">@logan-dunbar</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1826622741" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/635" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/635/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/635">#635</a>)</li>
<li>Add more control in MuJoCo rendering over offscreen dimensions and scene geometries by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guyazran/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guyazran">@guyazran</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1922682659" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/731" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/731/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/731">#731</a>)</li>
<li>Add support to handle <code>NamedTuples</code> in <code>JaxToNumpy</code>, <code>JaxToTorch</code> and <code>NumpyToTorch</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RogerJL/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RogerJL">@RogerJL</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2009661972" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/789" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/789/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/789">#789</a>) and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2023561113" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/811" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/811/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/811">#811</a>)</li>
<li>Add <code>padding_type</code> parameter to <code>FrameSkipObservation</code> to select the padding observation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jamartinh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jamartinh">@jamartinh</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2033782716" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/830" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/830/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/830">#830</a>)</li>
<li>Add render check to <code>check_environments_match</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1952838243" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/748" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/748/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/748">#748</a>)</li>
</ul>
<h2>Deprecation</h2>
<ul>
<li>Remove unnecessary error classes in error.py by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2014804967" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/801" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/801/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/801">#801</a>)</li>
<li>Stop exporting MuJoCo v2 environment classes from <code>gymnasium.envs.mujoco</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2032622457" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/827" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/827/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/827">#827</a>)</li>
<li>Remove deprecation warning from PlayPlot by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2014762422" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/800" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/800/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/800">#800</a>)</li>
</ul>
<h2>Documentation changes</h2>
<ul>
<li>Updated the custom environment tutorial for v1.0.0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kir0ul/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kir0ul">@kir0ul</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1886746054" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/709" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/709/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/709">#709</a>)</li>
<li>Add swig to installation instructions for Box2D by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/btjanaka/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/btjanaka">@btjanaka</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1861733911" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/683" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/683/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/683">#683</a>)</li>
<li>Add tutorial Load custom quadruped robot environments using <code>Gymnasium/MuJoCo/Ant-v5</code> framework by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2037516972" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/838" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/838/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/838">#838</a>)</li>
<li>Add third-party tutorial page to list tutorials write and hosted on other websites by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2070304050" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/867" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/867/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/867">#867</a>)</li>
<li>Add more introductory pages by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2009945525" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/791" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/791/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/791">#791</a>)</li>
<li>Add figures for each MuJoCo environments representing their action space by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1976319025" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/762" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/762/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/762">#762</a>)</li>
<li>Fix the documentation on blackjack's starting state by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2102488163" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/893" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/893/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/893">#893</a>)</li>
<li>Fix the documentation on Frozenlake and Cliffwalking's position by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PierreCounathe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PierreCounathe">@PierreCounathe</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1869721063" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/695" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/695/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/695">#695</a>)</li>
<li>Update the classic control environment's <code>_\_init_\_</code> and <code>reset</code> arguments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2105658187" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/898" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/898/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/898">#898</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.29.0...v1.0.0a1"><tt>v0.29.0...v1.0.0a1</tt></a></p>

## v0.29.1

*Released on 2023-08-21 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.29.1) - [PyPI](https://pypi.org/project/gymnasium/v0.29.1/)*

<p>A minimal release that fixes a warning produced by <code>Wrapper._\_getattr_\_</code>.<br>
In particular, this function will be removed in v1.0.0 however the reported solution for this was incorrect and the updated solution still caused the warning to show (due to technical python reasons).</p>
<h2>Changes</h2>
<ul>
<li>The <code>Wrapper._\_getattr_\_</code> warning reports the incorrect new function, <code>get_attr</code> rather than <code>get_wrapper_attr</code></li>
<li>When using <code>get_wrapper_attr</code>, the <code>_\_getattr_\_</code> warning is still be raised due to <code>get_wrapper_attr</code> using <code>hasattr</code> which under the hood uses <code>_\_getattr_\_.</code> Therefore, updated to remove the unintended warning.</li>
<li>Add warning to <code>VectorEnvWrapper._\_getattr_\_</code> to specify that it also is deprecated in v1.0.0</li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.29.0...v0.29.1"><tt>v0.29.0...v0.29.1</tt></a></p>

## v0.29.0

*Released on 2023-07-14 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.29.0) - [PyPI](https://pypi.org/project/gymnasium/v0.29.0/)*

<h1>v0.29.0 Release notes</h1>
<p>We finally have a software citation for Gymnasium with the plan to release an associated paper after v1.0, thank you to all the contributors over the last 3 years who have made helped Gym and Gymnasium (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1795048482" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/590" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/590/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/590">#590</a>)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@misc{towers_gymnasium_2023,
        title = {Gymnasium},
        url = {https://zenodo.org/record/8127025},
        abstract = {An API standard for single-agent reinforcement learning environments, with popular reference environments and related utilities (formerly Gym)},
        urldate = {2023-07-08},
        publisher = {Zenodo},
        author = {Towers, Mark and Terry, Jordan K. and Kwiatkowski, Ariel and Balis, John U. and Cola, Gianluca de and Deleu, Tristan and Goulão, Manuel and Kallinteris, Andreas and KG, Arjun and Krimmel, Markus and Perez-Vicente, Rodrigo and Pierré, Andrea and Schulhoff, Sander and Tai, Jun Jet and Shen, Andrew Tan Jin and Younis, Omar G.},
        month = mar,
        year = {2023},
        doi = {10.5281/zenodo.8127026},
}"><pre class="notranslate"><code>@misc{towers_gymnasium_2023,
        title = {Gymnasium},
        url = {https://zenodo.org/record/8127025},
        abstract = {An API standard for single-agent reinforcement learning environments, with popular reference environments and related utilities (formerly Gym)},
        urldate = {2023-07-08},
        publisher = {Zenodo},
        author = {Towers, Mark and Terry, Jordan K. and Kwiatkowski, Ariel and Balis, John U. and Cola, Gianluca de and Deleu, Tristan and Goulão, Manuel and Kallinteris, Andreas and KG, Arjun and Krimmel, Markus and Perez-Vicente, Rodrigo and Pierré, Andrea and Schulhoff, Sander and Tai, Jun Jet and Shen, Andrew Tan Jin and Younis, Omar G.},
        month = mar,
        year = {2023},
        doi = {10.5281/zenodo.8127026},
}
</code></pre></div>
<p>Gymnasium has a <a href="https://github.com/conda-forge/gymnasium-feedstock">conda package</a>, <code>conda install gymnasium</code>. Thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ChristofKaufmann/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ChristofKaufmann">@ChristofKaufmann</a> for completing this</p>
<h2>Breaking Changes</h2>
<ul>
<li>Drop support for Python 3.7 which has reached its end of life support by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1777638716" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/573" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/573/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/573">#573</a></li>
<li>Update MuJoCo Hopper &amp; Walker2D models to work with MuJoCo &gt;= 2.3.3 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1793339003" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/589" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/589/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/589">#589</a></li>
<li>Add deprecation warnings to several features which will be removed in v1.0: <code>Wrapper._\_get_attr_\_</code>, <code>gymnasium.make(..., autoreset=True)</code>, <code>gymnasium.make(..., apply_api_compatibility=True)</code>, <code>Env.reward_range</code> and <code>gymnasium.vector.make</code>. For their proposed replacement, see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1736472719" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/535" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/535/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/535">#535</a></li>
<li>Raise error for <code>Box</code> bounds of <code>low &gt; high</code>, <code>low == inf</code> and <code>high == -inf</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjshoots/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjshoots">@jjshoots</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1700850848" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/495" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/495/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/495">#495</a></li>
<li>Add dtype testing for NumPy Arrays in <code>data_equivalence()</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1722124628" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/515" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/515/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/515">#515</a></li>
<li>Remove <a href="https://github.com/farama-Foundation/jumpy">Jumpy</a> from gymnasium wrappers as it was partially implemented with limited testing and usage by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1747988127" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/548" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/548/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/548">#548</a></li>
<li>Update project require for <code>jax&gt;=0.4</code> by @charraut in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1618708017" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/373" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/373/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/373">#373</a></li>
</ul>
<h2>New Features</h2>
<ul>
<li>Remove the restrictions on pygame version, <code>pygame&gt;=2.1.3</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1759624807" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/558" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/558/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/558">#558</a></li>
<li>Adding <code>start</code> parameter to <code>MultiDiscrete</code> space, similar to the <code>Discrete(..., start)</code> parameter by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Rayerdyne/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Rayerdyne">@Rayerdyne</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1758591087" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/557" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/557/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/557">#557</a></li>
<li>Adds testing to <code>check_env</code> that closing a closed environment doesn't raise an error by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1767979349" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/564" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/564/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/564">#564</a></li>
<li>On initialisation <code>wrapper.RecordVideo</code> throws an error if the environment has an invalid render mode <code>(None, "human", "ansi")</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robertoschiavone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robertoschiavone">@robertoschiavone</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1782440912" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/580" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/580/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/580">#580</a></li>
<li>Add <code>MaxAndSkipObservation</code> wrapper by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LucasAlegre/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LucasAlegre">@LucasAlegre</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1765215558" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/561" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/561/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/561">#561</a></li>
<li>Add <code>check_environments_match</code> function for checking if two environments are identical by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1780969432" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/576" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/576/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/576">#576</a></li>
<li>Add performance debugging utilities, <code>utils/performance.py</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1786364606" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/583" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/583/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/583">#583</a></li>
<li>Added Jax based cliff walking environment by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balisujohn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/balisujohn">@balisujohn</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1640791406" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/407" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/407/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/407">#407</a></li>
<li>MuJoCo
<ul>
<li>Add support for relative paths with <code>xml_file</code> arguments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1741508995" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/536" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/536/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/536">#536</a></li>
<li>Add support for environments to specify <code>info</code> in <code>reset</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1744000759" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/540" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/540/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/540">#540</a></li>
<li>Remove requirement of environments defining <code>metadata["render_fps"]</code>, the value is determined on <code>_\_init_\_</code> using <code>dt</code>  by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1727677023" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/525" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/525/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/525">#525</a></li>
</ul>
</li>
<li>Experimental
<ul>
<li>Add deprecated wrapper error in <code>gymnasium.experimental.wrappers</code> by @charraut in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1591577397" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/341" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/341/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/341">#341</a></li>
<li>Add <code>fps</code> argument to <code>RecordVideoV0</code> for custom fps value that overrides an environment's internal <code>render_fps</code> value by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1708747966" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/503" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/503/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/503">#503</a></li>
<li>Add experimental vector wrappers for lambda observation, action and reward wrappers by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1660033664" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/444" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/444/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/444">#444</a></li>
</ul>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>Fix <code>spaces.Dict.keys()</code> as <code>key in keys</code> was False by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1804988785" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/608" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/608/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/608">#608</a></li>
<li>Updates the action space of <code>wrappers.RescaleAction</code> based on the bounds by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mmcaulif/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mmcaulif">@mmcaulif</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1771466682" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/569" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/569/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/569">#569</a></li>
<li>Remove warnings in the passive environment checker for infinite Box bounds by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1657403727" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/435" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/435/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/435">#435</a></li>
<li>Revert Lunar Lander Observation space change by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexdlukens/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexdlukens">@alexdlukens</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1718352168" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/512" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/512/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/512">#512</a></li>
<li>Fix URL links in <code>check_env</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robertoschiavone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robertoschiavone">@robertoschiavone</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1755713479" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/554" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/554/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/554">#554</a></li>
<li>Update <code>shimmy[gym]</code> to <code>shimmy[gym-v21]</code> or <code>shimmy[gym-v26]</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/elliottower/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elliottower">@elliottower</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1656113789" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/433" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/433/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/433">#433</a></li>
<li>Fix several issues within the experimental vector environment and wrappers by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1722136346" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/516" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/516/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/516">#516</a></li>
<li>Video recorder wrapper
<ul>
<li>Fix <code>VideoRecorder</code> on <code>reset</code> to empty <code>recorded_frames</code> rather than <code>frames</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/voidflight/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/voidflight">@voidflight</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1723238546" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/518" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/518/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/518">#518</a></li>
<li>Remove <code>Env.close</code> in <code>VideoRecorder.close</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qgallouedec/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qgallouedec">@qgallouedec</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1736085558" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/533" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/533/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/533">#533</a></li>
<li>Fix <code>VideoRecorder</code> and <code>RecordVideoV0</code> to move <code>import moviepy</code> such that <code>_\_del_\_</code> doesn't raise <code>AttributeErrors</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1753697962" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/553" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/553/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/553">#553</a></li>
</ul>
</li>
<li>Mujoco
<ul>
<li>Remove Hopper-v4's old render API func by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1789951397" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/588" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/588/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/588">#588</a></li>
<li>Fix TypeError when closing rendering by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sonelu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sonelu">@sonelu</a> in (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1659122561" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/440" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/440/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/440">#440</a>)</li>
<li>Fix the wrong <code>nstep</code> in <code>_step_mujoco_simulation</code> function of <code>MujocoEnv</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xuanhien070594/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xuanhien070594">@xuanhien070594</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1649781671" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/424" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/424/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/424">#424</a></li>
<li>Allow a different number of actuator control from the action space by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/reginald-mclean/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/reginald-mclean">@reginald-mclean</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1801924393" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/604" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/604/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/604">#604</a></li>
</ul>
</li>
</ul>
<h2>Documentation Updates</h2>
<ul>
<li>Allow users to view source code of referenced objects on the website by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1703552206" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/497" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/497/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/497">#497</a></li>
<li>Update website homepage by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/elliottower/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elliottower">@elliottower</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1692728291" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/482" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/482/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/482">#482</a></li>
<li>Make atari documentation consistent by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1647777188" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/418" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/418/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/418">#418</a> and add missing descriptions by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dylwil3/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dylwil3">@dylwil3</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1715976674" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/510" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/510/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/510">#510</a></li>
<li>Add third party envs: safety gymnasium, pyflyt, Gym-Trading-Env, stable-retro, DACBench, gym-cellular-automata by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/elliottower/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elliottower">@elliottower</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stefanbschneider/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stefanbschneider">@stefanbschneider</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ClementPerroud/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ClementPerroud">@ClementPerroud</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjshoots/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjshoots">@jjshoots</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/MatPoliquin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/MatPoliquin">@MatPoliquin</a>, and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robertoschiavone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robertoschiavone">@robertoschiavone</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1669080106" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/450" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/450/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/450">#450</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1669084330" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/451" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/451/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/451">#451</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1689548791" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/474" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/474/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/474">#474</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1695850067" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/487" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/487/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/487">#487</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1730821956" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/529" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/529/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/529">#529</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1741802816" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/538" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/538/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/538">#538</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1782538534" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/581" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/581/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/581">#581</a></li>
<li>Update MuJoCo documentation for all environments and base mujoco environment by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1727617302" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/524" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/524/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/524">#524</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1725353565" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/522" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/522/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/522">#522</a></li>
<li>Update CartPole reward documentation to clarify different maximum rewards for v0 and v1 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/robertoschiavone/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/robertoschiavone">@robertoschiavone</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1651652234" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/429" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/429/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/429">#429</a></li>
<li>Clarify Frozen lake time limit for <code>FrozenLake4x4</code> and <code>FrozenLake8x8</code> environments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yaniv-peretz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yaniv-peretz">@yaniv-peretz</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1677076765" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/459" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/459/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/459">#459</a></li>
<li>Typo in the documentation for single_observation_space by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kvrban/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kvrban">@kvrban</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1698761380" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/491" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/491/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/491">#491</a></li>
<li>Fix the rendering of warnings on the website by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/helpingstar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/helpingstar">@helpingstar</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1724496397" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/520" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/520/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/520">#520</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.28.1...v0.29.0"><tt>v0.28.1...v0.29.0</tt></a></p>

## v0.28.1

*Released on 2023-03-25 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.28.1) - [PyPI](https://pypi.org/project/gymnasium/v0.28.1/)*

<h1>v0.28.1 Release notes</h1>
<p>Small emergency release to fix several issues</p>
<ul>
<li>Fixed <code>gymnasium.vector</code> as the <code>gymnasium/_\_init_\_.py</code> as it isn't imported <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1640199454" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/403" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/403/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/403">#403</a></li>
<li>Update third party envs to separate environments that support gymnasium and gym and have a consistent style <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1640251775" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/404" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/404/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/404">#404</a></li>
<li>Update the documentation for v0.28 as frontpage gif had the wrong link, experimental documentation was missing and add gym release notes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1640481154" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/405" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/405/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/405">#405</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.28.0...v0.28.1"><tt>v0.28.0...v0.28.1</tt></a></p>

## v0.28.0

*Released on 2023-03-24 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.28.0) - [PyPI](https://pypi.org/project/gymnasium/v0.28.0/)*

<h1>v0.28.0 Release notes</h1>
<p>This release introduces improved support for the reproducibility of Gymnasium environments, particularly for offline reinforcement learning. <code>gym.make</code> can now create the entire environment stack, including wrappers, such that training libraries or offline datasets can specify all of the arguments and wrappers used for an environment. For a majority of standard usage (<code>gym.make(”EnvironmentName-v0”)</code>), this will be backwards compatible except  for certain fairly uncommon cases (i.e. <code>env.spec</code> and <code>env.unwrapped.spec</code> return different specs) this is a breaking change. See the reproducibility details section for more info.<br>
In v0.27, we added the <code>experimental</code> folder to allow us to develop several new features (wrappers and hardware accelerated environments). We’ve introduced a new experimental <code>VectorEnv</code> class. This class does not inherit from the standard <code>Env</code> class, and will allow for dramatically more efficient parallelization features. We plan to improve the implementation and add vector based wrappers in several minor releases over the next few months.<br>
Additionally, we have optimized module loading so that PyTorch or Jax are only loaded when users import wrappers that require them, not on <code>import gymnasium</code>.</p>
<h3>Reproducibility details</h3>
<p>In previous versions, Gymnasium supported <code>gym.make(spec)</code> where the <code>spec</code> is an <code>EnvSpec</code> from <code>gym.spec(str)</code> or <code>env.spec</code> and worked identically to the string based <code>gym.make(“”)</code>. In both cases, there was no way to specify additional wrappers that should be applied to an environment. With this release, we added <code>additional_wrappers</code> to <code>EnvSpec</code> for specifying wrappers applied to the base environment (<code>TimeLimit</code>, <code>PassiveEnvChecker</code>, <code>Autoreset</code> and <code>ApiCompatibility</code> are not included as they are specify in other fields).<br>
This additional field will allow users to accurately save or reproduce an environment used in training for a policy or to generate an offline RL dataset. We provide a json converter function (<code>EnvSpec.to_json</code>) for saving the <code>EnvSpec</code> to a “safe” file type however there are several cases (NumPy data, functions) which cannot be saved to json. In these cases, we recommend pickle but be warned that this can allow remote users to include malicious data in the spec.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import gymnasium as gym

env = gym.make(&quot;CartPole-v0&quot;)
env = gym.wrappers.TimeAwareObservation(env)
print(env)  
# &lt;TimeAwareObservation&lt;TimeLimit&lt;OrderEnforcing&lt;PassiveEnvChecker&lt;CartPoleEnv&lt;CartPole-v0&gt;&gt;&gt;&gt;&gt;&gt;
env_spec = env.spec
env_spec.pprint()
# id=CartPole-v0
# reward_threshold=195.0
# max_episode_steps=200
# additional_wrappers=[
# 	name=TimeAwareObservation, kwargs={}
# ]

import json
import pickle

json_env_spec = json.loads(env_spec.to_json())
pickled_env_spec = pickle.loads(pickle.dumps(env_spec))
recreated_env = gym.make(json_env_spec)
print(recreated_env)  
# &lt;TimeAwareObservation&lt;TimeLimit&lt;OrderEnforcing&lt;PassiveEnvChecker&lt;CartPoleEnv&lt;CartPole-v0&gt;&gt;&gt;&gt;&gt;&gt;
# Be aware that the \`TimeAwareObservation\` was included by \`make\`"><pre><span class="pl-k">import</span> <span class="pl-s1">gymnasium</span> <span class="pl-k">as</span> <span class="pl-s1">gym</span>

<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s">"CartPole-v0"</span>)
<span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">wrappers</span>.<span class="pl-c1">TimeAwareObservation</span>(<span class="pl-s1">env</span>)
<span class="pl-en">print</span>(<span class="pl-s1">env</span>)  
<span class="pl-c"># &lt;TimeAwareObservation&lt;TimeLimit&lt;OrderEnforcing&lt;PassiveEnvChecker&lt;CartPoleEnv&lt;CartPole-v0&gt;&gt;&gt;&gt;&gt;&gt;</span>
<span class="pl-s1">env_spec</span> <span class="pl-c1">=</span> <span class="pl-s1">env</span>.<span class="pl-c1">spec</span>
<span class="pl-s1">env_spec</span>.<span class="pl-c1">pprint</span>()
<span class="pl-c"># id=CartPole-v0</span>
<span class="pl-c"># reward_threshold=195.0</span>
<span class="pl-c"># max_episode_steps=200</span>
<span class="pl-c"># additional_wrappers=[</span>
<span class="pl-c"># 	name=TimeAwareObservation, kwargs={}</span>
<span class="pl-c"># ]</span>

<span class="pl-k">import</span> <span class="pl-s1">json</span>
<span class="pl-k">import</span> <span class="pl-s1">pickle</span>

<span class="pl-s1">json_env_spec</span> <span class="pl-c1">=</span> <span class="pl-s1">json</span>.<span class="pl-c1">loads</span>(<span class="pl-s1">env_spec</span>.<span class="pl-c1">to_json</span>())
<span class="pl-s1">pickled_env_spec</span> <span class="pl-c1">=</span> <span class="pl-s1">pickle</span>.<span class="pl-c1">loads</span>(<span class="pl-s1">pickle</span>.<span class="pl-c1">dumps</span>(<span class="pl-s1">env_spec</span>))
<span class="pl-s1">recreated_env</span> <span class="pl-c1">=</span> <span class="pl-s1">gym</span>.<span class="pl-c1">make</span>(<span class="pl-s1">json_env_spec</span>)
<span class="pl-en">print</span>(<span class="pl-s1">recreated_env</span>)  
<span class="pl-c"># &lt;TimeAwareObservation&lt;TimeLimit&lt;OrderEnforcing&lt;PassiveEnvChecker&lt;CartPoleEnv&lt;CartPole-v0&gt;&gt;&gt;&gt;&gt;&gt;</span>
<span class="pl-c"># Be aware that the \`TimeAwareObservation\` was included by \`make\`</span></pre></div>
<p>To support this type of recreation, wrappers must inherit from <code>gym.utils.RecordConstructorUtils</code> to allow <code>gym.make</code> to know what arguments to create the wrapper with. Gymnasium has implemented this for all built-in wrappers but for external projects, should be added to each wrapper. To do this, call <code>gym.utils.RecordConstructorUtils._\_init_\_(self, …)</code> in the first line of the wrapper’s constructor with identical l keyword arguments as passed to the wrapper’s constructor, except for <code>env</code>. As an example see the <a href="https://github.com/Farama-Foundation/Gymnasium/blob/8c167b868dd386ac1eb4bbe2fb25da3da174c75d/gymnasium/experimental/wrappers/atari_preprocessing.py#L65">Atari Preprocessing wrapper</a><br>
For a more detailed discussion, see the original PRs - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1556900765" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/292" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/292/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/292">#292</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1607664235" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/355" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/355/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/355">#355</a></p>
<h2>Other Major Changes</h2>
<ul>
<li>In Gymnasium v0.26, the <code>GymV22Compatibility</code> environment was added to support Gym-based environments in Gymnasium. However, the name was incorrect as the env supported Gym’s v0.21 API, not v0.22, therefore, we have updated it to <code>GymV21Compatibility</code> to accurately reflect the API supported. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1551896794" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/282" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/282/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/282">#282</a></li>
<li>The <code>Sequence</code> space allows for a dynamic number of elements in an observation or action space sample. To make this more efficient, we added a  <code>stack</code> argument which can support which can support a more efficient representation of an element than a <code>tuple</code>, which was what was previously supported. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1554746875" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/284" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/284/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/284">#284</a></li>
<li><code>Box.sample</code> previously would clip incorrectly for up-bounded spaces such that 0 could never be sampled if the dtype was discrete or boolean. This is fixed such that 0 can be sampled in these cases. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1525343896" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/249" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/249/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/249">#249</a></li>
<li>If <code>jax</code> or <code>pytorch</code> was installed then on <code>import gymnasium</code> both of these modules would also be loaded causing significant slow downs in load time. This is now fixed such that <code>jax</code> and <code>torch</code> are only loaded when particular wrappers is loaded by the user. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1581305992" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/323" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/323/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/323">#323</a></li>
<li>In v0.26, we added parameters for <code>Wrapper</code> to allow different observation and action types to be specified for the wrapper and its sub-environment. However, this raised type issues with pyright and mypy, this is now fixed through Wrapper having four generic arguments, <code>[ObsType, ActType, WrappedEnvObsType, WrappedEnvActType]</code>. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1590458771" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/337" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/337/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/337">#337</a></li>
<li>In v0.25 and 0.v26 several new space types were introduced, <code>Text</code>, <code>Graph</code> and <code>Sequence</code> however the vector utility functions were not updated to support these spaces. Support for these spaces has been added to the experimental vector space utility functions: <code>batch_space</code>, <code>concatenate</code>, <code>iterate</code> and <code>create_empty_array</code>. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1505142696" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/223" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/223/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/223">#223</a></li>
<li>Due to a lack of testing the experimental stateful observation wrappers (<code>FrameStackObservation</code>, <code>DelayObservation</code> and <code>TimeAwareObservation</code>) did not work as expected. These wrappers are now fixed and testing has been added. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1506182630" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/224" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/224/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/224">#224</a></li>
</ul>
<h2>Minor changes</h2>
<ul>
<li>Allow the statistics of NormalizeX wrappers to be disabled and enabled for use during evaluation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/raphajaner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/raphajaner">@raphajaner</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1538425003" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/268" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/268/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/268">#268</a></li>
<li>Fix AttributeError in lunar_lander.py by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DrRyanHuang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DrRyanHuang">@DrRyanHuang</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1550952820" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/278" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/278/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/278">#278</a></li>
<li>Add testing for docstrings (doctest) such that docstrings match implementations by @valentin-cnt in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1551568013" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/281" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/281/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/281">#281</a></li>
<li>Type hint fixes and added <code>_\_all_\_</code> dunder by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/howardh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/howardh">@howardh</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1581062261" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/321" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/321/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/321">#321</a></li>
<li>Fix type hints errors in gymnasium/spaces by @valentin-cnt in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1581450889" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/327" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/327/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/327">#327</a></li>
<li>Update the experimental vector shared memory util functions by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1590636390" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/339" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/339/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/339">#339</a></li>
<li>Change Gymnasium Notices to Farama Notifications by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjshoots/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjshoots">@jjshoots</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1586284193" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/332" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/332/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/332">#332</a></li>
<li>Added Jax-based Blackjack environment by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balisujohn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/balisujohn">@balisujohn</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1590523369" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/338" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/338/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/338">#338</a></li>
</ul>
<h2>Documentation changes</h2>
<ul>
<li>Fix references of the MultiBinary and MultiDiscrete classes in documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Matyasch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Matyasch">@Matyasch</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1550983622" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/279" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/279/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/279">#279</a></li>
<li>Add Comet integration by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nerdyespresso/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nerdyespresso">@nerdyespresso</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1565148949" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/304" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/304/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/304">#304</a></li>
<li>Update atari documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1585058999" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/330" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/330/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/330">#330</a></li>
<li>Document Box integer bounds by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mihaic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mihaic">@mihaic</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1585063280" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/331" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/331/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/331">#331</a></li>
<li>Add docstring parser to remove duplicate in Gymnasium website by @valentin-cnt in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1584797008" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/329" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/329/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/329">#329</a></li>
<li>Fix a grammatical mistake in basic usage page by @keyb0ardninja in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1589509313" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/333" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/333/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/333">#333</a></li>
<li>Update docs/README.md to link to a new CONTRIBUTING.md for docs by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mgoulao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mgoulao">@mgoulao</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1590651602" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/340" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/340/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/340">#340</a></li>
<li><code>MuJoCo/Ant</code> clarify the lack of <code>use_contact_forces</code> on  v3 (and older) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1593526380" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/342" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/342/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/342">#342</a></li>
</ul>
<h2>What's Changed</h2>
<p>Thank you to our new contributors in this release: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Matyasch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Matyasch">@Matyasch</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DrRyanHuang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DrRyanHuang">@DrRyanHuang</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nerdyespresso/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nerdyespresso">@nerdyespresso</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/khoda81/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/khoda81">@khoda81</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/howardh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/howardh">@howardh</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mihaic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mihaic">@mihaic</a>, and @keyb0ardninja.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.27.1...v0.28.0"><tt>v0.27.1...v0.28.0</tt></a></p>

## v0.27.1

*Released on 2023-01-20 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.27.1) - [PyPI](https://pypi.org/project/gymnasium/v0.27.1/)*

<h1>Release Notes</h1>
<h2>Bugs fixed</h2>
<ul>
<li>Replace <code>np.bool8</code> with <code>np.bool_</code> for numpy 1.24 deprecation warning by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1502060681" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/221" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/221/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/221">#221</a></li>
<li>Remove shimmy as a core dependency by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1550118017" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/272" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/272/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/272">#272</a></li>
<li>Fix silent bug in ResizeObservation for 2-dimensional observations. by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ianyfan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ianyfan">@ianyfan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1514931035" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/230" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/230/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/230">#230</a> and by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1528202488" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/254" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/254/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/254">#254</a></li>
<li>Change env checker assertation to warning by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjshoots/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjshoots">@jjshoots</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1492470557" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/215" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/215/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/215">#215</a></li>
<li>Revert <code>make</code> error when render mode is used without metadata render modes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1494581996" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/216" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/216/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/216">#216</a></li>
<li>Update prompt messages for extra dependencies by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/XuehaiPan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/XuehaiPan">@XuehaiPan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1525540244" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/250" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/250/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/250">#250</a></li>
<li>Fix return type of <code>AsyncVectorEnv.reset</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1525604551" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/252" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/252/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/252">#252</a></li>
<li>Update the jumpy error to specify the pip install is jax-jumpy by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1528983960" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/255" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/255/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/255">#255</a></li>
<li>Fix type annotations of <code>callable</code> to <code>Callable</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ianyfan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ianyfan">@ianyfan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1529562500" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/259" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/259/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/259">#259</a></li>
<li>Fix experimental normalize reward wrapper by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rafaelcp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rafaelcp">@rafaelcp</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1550656063" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/277" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/277/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/277">#277</a></li>
</ul>
<h2>New features/improvements</h2>
<ul>
<li>Improve LunarLander-v2 <code>step</code> performance by &gt;1.5x by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PaulMest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PaulMest">@PaulMest</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1516711024" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/235" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/235/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/235">#235</a></li>
<li>Added vector env support to StepAPICompatibility wrapper by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nidhishs/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nidhishs">@nidhishs</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1519841387" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/238" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/238/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/238">#238</a></li>
<li>Allow sequence to accept stacked np arrays if the feature space is Box by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjshoots/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjshoots">@jjshoots</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1519926128" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/241" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/241/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/241">#241</a></li>
<li>Improve the warning when an error is raised from a plugin by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1506194303" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/225" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/225/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/225">#225</a></li>
<li>Add changelog (release notes) to the website by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mgoulao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mgoulao">@mgoulao</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1529280447" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/257" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/257/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/257">#257</a></li>
<li>Implement RecordVideoV0 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1524220649" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/246" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/246/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/246">#246</a></li>
<li>Add explicit error messages when unflatten discrete and multidiscrete fail by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PierreMardon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PierreMardon">@PierreMardon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1537915585" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/267" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/267/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/267">#267</a></li>
</ul>
<h2>Documentation updates</h2>
<ul>
<li>Added doctest to CI and fixed all existing errors in docstrings by @valentin-cnt in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1550542827" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/274" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/274/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/274">#274</a></li>
<li>Add a tutorial for vectorized envs using A2C.  by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/till2/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/till2">@till2</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1516599963" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/234" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/234/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/234">#234</a></li>
<li>Fix <code>MuJoCo.Humanoid</code> action description by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1488588012" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/206" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/206/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/206">#206</a></li>
<li><code>Ant</code> <code>use_contact_forces</code> obs and reward DOC by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1499022668" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/218" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/218/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/218">#218</a></li>
<li><code>MuJoCo.Reacher-v4</code> doc fixes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1501422894" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/219" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/219/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/219">#219</a></li>
<li>Mention truncation in the migration guide by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1432096490" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/105" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/105/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/105">#105</a></li>
<li>docs(tutorials): fixed environment creation link by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lpizzinidev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lpizzinidev">@lpizzinidev</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1523818039" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/244" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/244/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/244">#244</a></li>
<li><code>Mujoco/Hooper</code> doc minor typo fix by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1524480747" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/247" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/247/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/247">#247</a></li>
<li>Add comment describing what convolve does in A2C tutorial by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/metric-space/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/metric-space">@metric-space</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1533026352" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/264" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/264/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/264">#264</a></li>
<li>Fix environment versioning in README.md by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1548901363" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/270" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/270/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/270">#270</a></li>
<li>Add Tutorials galleries by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mgoulao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mgoulao">@mgoulao</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1529284237" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/258" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/258/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/258">#258</a></li>
</ul>
<h2>Thanks to the new contributors to Gymnasium, if you want to get involved, join our discord server. Linked in the readme.</h2>
<ul>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PaulMest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PaulMest">@PaulMest</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1516711024" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/235" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/235/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/235">#235</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nidhishs/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nidhishs">@nidhishs</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1519841387" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/238" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/238/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/238">#238</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lpizzinidev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lpizzinidev">@lpizzinidev</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1523818039" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/244" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/244/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/244">#244</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ianyfan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ianyfan">@ianyfan</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1514931035" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/230" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/230/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/230">#230</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/metric-space/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/metric-space">@metric-space</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1533026352" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/264" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/264/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/264">#264</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PierreMardon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PierreMardon">@PierreMardon</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1537915585" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/267" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/267/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/267">#267</a></li>
<li>@valentin-cnt made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1550542827" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/274" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/274/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/274">#274</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rafaelcp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rafaelcp">@rafaelcp</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1550656063" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/277" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/277/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/277">#277</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.27.0...v0.27.1"><tt>v0.27.0...v0.27.1</tt></a></p>

## v0.27.0

*Released on 2022-12-12 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.27.0) - [PyPI](https://pypi.org/project/gymnasium/v0.27.0/)*

<h1>Release Notes</h1>
<p>Gymnasium 0.27.0 is our first major release of Gymnasium. It has several significant new features, and numerous small bug fixes and code quality improvements as we work through our backlog. There should be no breaking changes beyond dropping Python 3.6 support and remove the mujoco <code>Viewer</code> class in favor of a <code>MujocoRendering</code> class. You should be able to upgrade your code that's using Gymnasium 0.26.x to 0.27.0 with little-to-no-effort.</p>
<p>Like always, our development roadmap is publicly available <a href="https://github.com/Farama-Foundation/Gymnasium/issues/12" data-hovercard-type="issue" data-hovercard-url="/Farama-Foundation/Gymnasium/issues/12/hovercard">here</a> so you can follow our future plans. The only large breaking changes that are still planned are switching selected environments to use hardware accelerated physics engines and our long standing plans for overhauling the vector API and built-in wrappers.</p>
<p>This release notably includes an entirely new part of the library: <code>gymnasium.experimental</code>. We are adding new features, wrappers and functional environment API discussed below for users to test and try out to find bugs and provide feedback.</p>
<h2>New Wrappers</h2>
<p>These new wrappers, accessible in <code>gymnasium.experimental.wrappers</code>, see the full list in <a href="https://gymnasium.farama.org/main/api/experimental/" rel="nofollow">https://gymnasium.farama.org/main/api/experimental/</a> are aimed to replace the wrappers in gymnasium v0.30.0 and contain several improvements</p>
<ul>
<li>(Work in progress) Support arbitrarily complex observation / action spaces. As RL has advanced, action and observation spaces are becoming more complex and the current wrappers were not implemented with this mind.</li>
<li>Support for Jax-based environments. With hardware accelerated environments, i.e. Brax, written in Jax and similar PyTorch based programs, NumPy is not the only game in town anymore for writing environments. Therefore, these upgrades will use <a href="https://github.com/farama-Foundation/jumpy">Jumpy</a>, a project developed by Farama Foundation to provide automatic compatibility for NumPy, Jax and in the future PyTorch data for a large subset of the NumPy functions.</li>
<li>More wrappers. Projects like <a href="https://github.com/farama-Foundation/supersuit">Supersuit</a> aimed to bring more wrappers for RL, however, many users were not aware of the wrappers, so we plan to move the wrappers into Gymnasium. If we are missing common wrappers from the list provided above, please create an issue and we would be interested in adding it.</li>
<li>Versioning. Like environments, the implementation details of wrappers can cause changes in agent performance. Therefore, we propose adding version numbers to all wrappers, i.e., <code>LambaActionV0</code>. We don't expect these version numbers to change regularly and will act similarly to environment version numbers. This should ensure that all users know when significant changes could affect your agent's performance for environments and wrappers. Additionally, we hope that this will improve reproducibility of RL in the future, which is critical for academia.</li>
<li>In v28, we aim to rewrite the VectorEnv to not inherit from Env, as a result new vectorized versions of the wrappers will be provided.</li>
</ul>
<p>Core developers: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gianlucadecola/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gianlucadecola">@gianlucadecola</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a></p>
<h2>Functional API</h2>
<p>The <code>Env</code> class provides a very generic structure for environments to be written in allowing high flexibility in the program structure. However, this limits the ability to efficiently vectorize environments, compartmentalize the environment code, etc. Therefore, the <code>gymnasium.experimental.FuncEnv</code> provides a much more strict structure for environment implementation with stateless functions, for every stage of the environment implementation. This class does not inherit from <code>Env</code> and requires a translation / compatibility class for doing this. We already provide a <code>FuncJaxEnv</code> for converting jax-based <code>FuncEnv</code> to <code>Env</code>. We hope this will help improve the readability of environment implementations along with potential speed-ups for users that vectorize their code.</p>
<p>This API is very experimental so open to changes in the future. We are interested in feedback from users who try to use the API which we believe will be in particular interest to users exploring RL planning, model-based RL and modifying environment functions like the rewards.</p>
<p>Core developers: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balisujohn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/balisujohn">@balisujohn</a></p>
<h2>Other Major changes</h2>
<ul>
<li>Refactor Mujoco Rendering mechanisms to use a separate thread for OpenGL. Remove <code>Viewer</code> in favor of <code>MujocoRenderer</code> which offscreen, human and other render mode can use by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rodrigodelazcano/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rodrigodelazcano">@rodrigodelazcano</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1435316881" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/112" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/112/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/112">#112</a></li>
<li>Add deprecation warning to <code>gym.make(..., apply_env_compatibility=True)</code> in favour of <code>gym.make("GymV22Environment", env_id="...")</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1446593873" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/125" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/125/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/125">#125</a></li>
<li>Add <code>gymnasium.pprint_registry()</code> for pretty printing the gymnasium registry by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kad99kev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kad99kev">@kad99kev</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1446417758" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/124" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/124/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/124">#124</a></li>
<li>Changes <code>Discrete.dtype</code> to <code>np.int64</code> such that samples are <code>np.int64</code> not python ints. by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1455305718" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/141" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/141/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/141">#141</a></li>
<li>Add migration guide for OpenAI Gym v21 to v26 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1421493764" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/72" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/72/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/72">#72</a></li>
<li>Add complete type hinting of <code>core.py</code> for <code>Env</code>, <code>Wrapper</code> and more by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1399895273" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/39" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/39/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/39">#39</a></li>
<li>Add complete type hinting for all spaces in <code>gymnasium.spaces</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1399840028" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/37" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/37/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/37">#37</a></li>
<li>Make window in <code>play()</code> resizable by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Markus28/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Markus28">@Markus28</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1482530374" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/190" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/190/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/190">#190</a></li>
<li>Add REINFORCE implementation tutorial by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/siddarth-c/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/siddarth-c">@siddarth-c</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1459886451" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/155" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/155/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/155">#155</a></li>
</ul>
<h2>Bug fixes and documentation changes</h2>
<ul>
<li>Remove auto close in <code>VideoRecorder</code> wrapper by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1401920627" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/42" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/42/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/42">#42</a></li>
<li>Change <code>seeding.np_random</code> error message to report seed type by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/theo-brown/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/theo-brown">@theo-brown</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1422870499" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/74" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/74/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/74">#74</a></li>
<li>Include shape in MujocoEnv error message by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ikamensh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ikamensh">@ikamensh</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1425632018" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/83" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/83/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/83">#83</a></li>
<li>Add pretty Feature/GitHub issue form by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tobirohrer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tobirohrer">@tobirohrer</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1427262358" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/89" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/89/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/89">#89</a></li>
<li>Added testing for the render return data in <code>check_env</code> and <code>PassiveEnvChecker</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Markus28/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Markus28">@Markus28</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1438947044" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/117" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/117/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/117">#117</a></li>
<li>Fix docstring and update action space description for classic control environments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Thytu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Thytu">@Thytu</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1445734651" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/123" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/123/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/123">#123</a></li>
<li>Fix <code>_\_all_\_</code> in root <code>_\_init_\_.py</code> to specify the correct folders by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1448277624" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/130" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/130/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/130">#130</a></li>
<li>Fix <code>play()</code> assertion error by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Markus28/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Markus28">@Markus28</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1449953287" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/132" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/132/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/132">#132</a></li>
<li>Update documentation for Frozen Lake <code>is_slippy</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/marionjs/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/marionjs">@marionjs</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1451537831" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/136" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/136/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/136">#136</a></li>
<li>Fixed warnings when <code>render_mode</code> is None by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1455385092" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/143" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/143/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/143">#143</a></li>
<li>Added <code>is_np_flattenable</code> property to documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Markus28/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Markus28">@Markus28</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1472695973" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/172" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/172/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/172">#172</a></li>
<li>Updated Wrapper documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Markus28/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Markus28">@Markus28</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1473192370" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/173" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/173/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/173">#173</a></li>
<li>Updated formatting of spaces documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Markus28/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Markus28">@Markus28</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1473890981" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/174" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/174/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/174">#174</a></li>
<li>For FrozenLake, add seeding in random map generation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kir0ul/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kir0ul">@kir0ul</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1452836667" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/139" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/139/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/139">#139</a></li>
<li>Add notes for issues when unflattening samples from flattened spaces by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rusu24edward/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rusu24edward">@rusu24edward</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1466902732" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/164" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/164/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/164">#164</a></li>
<li>Include pusher environment page to website by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/axb2035/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/axb2035">@axb2035</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1471815711" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/171" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/171/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/171">#171</a></li>
<li>Add check in <code>AsyncVectorEnv</code> for success before splitting result in <code>step_wait</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aaronwalsman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aaronwalsman">@aaronwalsman</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1474467568" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/178" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/178/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/178">#178</a></li>
<li>Add documentation for <code>MuJoCo.Ant-v4.use_contact_forces</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1476088168" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/183" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/183/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/183">#183</a></li>
<li>Fix typos in README.md by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cool-RR/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cool-RR">@cool-RR</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1476641136" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/184" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/184/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/184">#184</a></li>
<li>Add documentation for <code>MuJoCo.Ant</code> v4 changelog by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1476853301" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/186" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/186/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/186">#186</a></li>
<li>Fix <code>MuJoCo.Ant</code> action order in documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1488637796" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/208" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/208/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/208">#208</a></li>
<li>Add <code>raise-from</code> exception for the whole codebase by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cool-RR/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cool-RR">@cool-RR</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1488499112" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/205" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/205/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/205">#205</a></li>
</ul>
<h2>Behind-the-scenes changes</h2>
<ul>
<li>Docs Versioning by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mgoulao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mgoulao">@mgoulao</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1422235095" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/73" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/73/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/73">#73</a></li>
<li>Added Atari environments to tests, removed dead code by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Markus28/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Markus28">@Markus28</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1424260214" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/78" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/78/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/78">#78</a></li>
<li>Fix missing build steps in versioning workflows by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mgoulao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mgoulao">@mgoulao</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1425426770" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/81" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/81/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/81">#81</a></li>
<li>Small improvements to environments pages by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mgoulao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mgoulao">@mgoulao</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1434431443" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/110" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/110/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/110">#110</a></li>
<li>Update the third-party environment documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1452287748" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/138" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/138/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/138">#138</a></li>
<li>Update docstrings for improved documentation by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/axb2035/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/axb2035">@axb2035</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1465247039" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/160" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/160/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/160">#160</a></li>
<li>Test core dependencies in CI by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1456003279" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/146" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/146/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/146">#146</a></li>
<li>Update and rerun <code>pre-commit</code> hooks for better code quality by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/XuehaiPan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/XuehaiPan">@XuehaiPan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1474822766" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/179" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/179/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/179">#179</a></li>
</ul>

## v0.26.3

*Released on 2022-10-24 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.26.3) - [PyPI](https://pypi.org/project/gymnasium/v0.26.3/)*

<h1>Release Notes</h1>
<p>Note: ale-py (atari) has not updated to Gymnasium yet. Therefore <code>pip install gymnasium[atari]</code> will fail, this will be fixed in <code>v0.27</code>. In the meantime, use <code>pip install shimmy[atari]</code> for the fix.</p>
<h2>Bug Fixes</h2>
<ul>
<li>Added Gym-Gymnasium compatibility converter to allow users to use Gym environments in Gymnasium by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1413225283" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/61" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/61/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/61">#61</a></li>
<li>Modify metadata in the <code>HumanRendering</code> and <code>RenderCollection</code> wrappers to have the correct metadata by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RedTachyon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RedTachyon">@RedTachyon</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1394992389" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/35" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/35/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/35">#35</a></li>
<li>Simplified <code>EpisodeStatisticsRecorder</code> wrapper  by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DavidSlayback/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DavidSlayback">@DavidSlayback</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1391365796" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/31" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/31/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/31">#31</a></li>
<li>Fix integer overflow in MultiDiscrete.flatten() by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/olipinski/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/olipinski">@olipinski</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1407705236" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/55" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/55/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/55">#55</a></li>
<li>Re-add the ability to specify the XML file for Mujoco environments by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1419769959" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/70" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/70/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/70">#70</a></li>
</ul>
<h2>Documentation change</h2>
<ul>
<li>Add a tutorial for training an agent in Blackjack by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/till2/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/till2">@till2</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1413949251" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/64" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/64/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/64">#64</a></li>
<li>A very long list of documentation updates by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mgoulao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mgoulao">@mgoulao</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vairodp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vairodp">@vairodp</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WillDudley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WillDudley">@WillDudley</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjshoots/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjshoots">@jjshoots</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/Farama-Foundation/Gymnasium/compare/v0.26.2...v0.26.3"><tt>v0.26.2...v0.26.3</tt></a></p>
<h2>Thank you for the new contributors</h2>
<ul>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vairodp/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vairodp">@vairodp</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1401729747" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/41" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/41/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/41">#41</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DavidSlayback/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DavidSlayback">@DavidSlayback</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1391365796" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/31" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/31/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/31">#31</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WillDudley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WillDudley">@WillDudley</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1404779047" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/51" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/51/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/51">#51</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/olipinski/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/olipinski">@olipinski</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1407705236" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/55" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/55/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/55">#55</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjshoots/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjshoots">@jjshoots</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1409159117" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/58" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/58/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/58">#58</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vmoens/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vmoens">@vmoens</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1412716034" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/60" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/60/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/60">#60</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/till2/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/till2">@till2</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1413949251" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/64" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/64/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/64">#64</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kallinteris-Andreas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kallinteris-Andreas">@Kallinteris-Andreas</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1419769959" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/70" data-hovercard-type="pull_request" data-hovercard-url="/Farama-Foundation/Gymnasium/pull/70/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/pull/70">#70</a></li>
</ul>

## v0.26.2

*Released on 2022-10-05 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.26.2) - [PyPI](https://pypi.org/project/gymnasium/v0.26.2/)*

<p>This Release is an upstreamed version of <a href="https://github.com/openai/gym/releases/tag/0.26.2">Gym v26.2</a></p>
<h3>Bugs Fixes</h3>
<ul>
<li>As reset now returns (obs, info) then in the vector environments, this caused the final step's info to be overwritten. Now, the final observation and info are contained within the info as "final_observation" and "final_info" <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pseudo-rnd-thoughts/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pseudo-rnd-thoughts">@pseudo-rnd-thoughts</a></li>
<li>Adds warnings when trying to render without specifying the render_mode <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/younik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/younik">@younik</a></li>
<li>Updates Atari Preprocessing such that the wrapper can be pickled <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vermouth1992/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vermouth1992">@vermouth1992</a></li>
<li>Github CI was hardened to such that the CI just has read permissions <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sashashura/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sashashura">@sashashura</a></li>
<li>Clarify and fix typo in GraphInstance <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ekalosak/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ekalosak">@ekalosak</a></li>
</ul>

## v0.26.1

*Released on 2022-09-16 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.26.1) - [PyPI](https://pypi.org/project/gymnasium/v0.26.1/)*

<p>This Release is an upstreamed version of <a href="https://github.com/openai/gym/releases/tag/0.26.1">Gym v26.1</a></p>
<p>In addition, the <a href="https://github.com/farama-Foundation/gym-docs">gym docs</a> repo has been merged in with the new website <a href="https://gymnasium.farama.org/" rel="nofollow">https://gymnasium.farama.org/</a></p>

## v0.26.0: Initial Release

*Released on 2022-09-13 - [GitHub](https://github.com/Farama-Foundation/Gymnasium/releases/tag/v0.26.0) - [PyPI](https://pypi.org/project/gymnasium/v0.26.0/)*

<p>This is the first release of Gymnasium, a maintained fork of OpenAI Gym</p>
<p>This release is identical to the Gym v0.26.0 except for the project name (Gymnasium) and Code of Conduct</p>
<p>Read <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1370132122" data-permission-text="Title is private" data-url="https://github.com/Farama-Foundation/Gymnasium/issues/12" data-hovercard-type="issue" data-hovercard-url="/Farama-Foundation/Gymnasium/issues/12/hovercard" href="https://github.com/Farama-Foundation/Gymnasium/issues/12">#12</a> for the roadmap of changes</p>
