Releases: Farama-Foundation/SuperSuit
Supersuit 3.9.3
Adds support for Python 3.12
Full Changelog: 3.9.2...3.9.3
SuperSuit 3.9.2
SuperSuit 3.9.2 Release Notes
This is a minor hotfix release addressing a small rendering bug in the SB3 wrapper, and a bug with the agent indicator wrapper causing NaN values in observations.
Bug Fixes
- Fix render_mode attribute not being set by sb3 wrapper (#243)
- Fix agent indicator inf bounded spaces (#240)
Contributors
This release includes contributions from: @KaleabTessera and @elliottower
Many thanks to our contributors, as well as many past contributors who have made this possible. We would also like to thank everyone who has helped out with bug reports or feature suggestions, which are critical to our development. We are always welcoming new contributors, if you are interested please join our Discord server at https://discord.gg/nhvKkYa6qX
Full Changelog: 3.9.1...3.9.2
SuperSuit 3.9.1
SuperSuit 3.9.1 Release Notes
This is a minor hotfix release addressing some small bugs in rendering, info returns, and an issue with the frame skip wrapper not inheriting the correct np random attribute from the underlying environment.
Bug Fixes
- Fix frame skip wrapper np random attribute (#235)
- Fix render_mode for ProcConcatVec envs (#236, #234)
- fix: have access to
terminal_observation
in infos forpettingzoo_env_to_vec_env_v1
andMarkovVectorEnv
(#233)
Full Changelog: 3.9.0...3.9.1
SuperSuit 3.9.0
SuperSuit 3.9.0 Release Notes:
This release fixes a number of issues related to SB3 vector environments, ensuring full compatibility with PettingZoo and Gymnasium. It also adds support for action masked environments, using gymnasium wrappers (e.g., NormalizeObservation) on vector environments, and adds Python 3.11 support. Support for Python 3.7 has been removed as it has reached end-of-life (link). This release also ensures compatibility with the most recent Gymnasium 0.29.0 and PettingZoo 1.24.0, which is being released alongside this release.
Breaking Changes
- Remove python 3.7 support in favor of 3.11 (#225)
New Features and Improvements:
- Add full action masking support, expand and refactor testing (#227)
- Add test to check that Gymnasium wrappers work on vector envs (#230)
Note: Gymnasium wrappers must be applied before SB3 wrappers, as the return values on reset()
are different.
The following code will raise an error:
env = ss.concat_vec_envs_v1(env, 10, base_class="stable_baselines3")
env = normalize.NormalizeObservation(env)
To fix this, normalize before concatenating:
env = normalize.NormalizeObservation(env)
env = ss.concat_vec_envs_v1(env, 10, base_class="stable_baselines3")
Bug Fixes:
- Fix SB3 wrapper and ProcConcatVec not returning
info
(#224) - Fix SB3 wrapper to match DummyVecEnv
reset()
method (#226) - Fix SB3 wrapper
render()
method signature mismatched with SB3 superclass VecEnvWrapper (#228)
Full Changelog: 3.8.1...3.9.0
SuperSuit 3.8.1
SuperSuit 3.8.0 Release Notes:
This is a minor release fixing issues related to vector environments, for use with PettingZoo and Stable-Baselines3.
Bug Fixes:
- Fix SB3VecEnvWrapper and ProcConcatVec to work with SB3 v2.0.0 (#218)
- Fix ProcConcatVec not terminating all threads/processes when calling close() (#219)
Full Changelog: 3.8.0...3.8.1
SuperSuit 3.8.0
SuperSuit 3.8.0 Release Notes:
This release makes SuperSuit compatible with PettingZoo 1.23.0 and Gymnasium 0.28.1, fully removing the return_info
argument of the reset()
function, in order to make the API fully consistent with Gymnasium.
Breaking changes:
- Fully remove
return_info
option onreset()
, update code to work with PettingZoo 1.23.0 (#214)- Older versions of PettingZoo must be updated to 1.23.0 or higher
- Older versions of Gymnasium must be updated to 0.28.1 or higher
Bug Fixes:
- Add tinyscaler requirement (#211)
Full Changelog: 3.7.2...3.8.0
3.7.2
What's Changed
- Add pre commit by @pseudo-rnd-thoughts in #207
- remove return info by @jjshoots in #205
- Fix typo:
BaseParallelWraper
renamed toBaseParallelWrapper
by @mikcnt in #204 - complete baseparallelwrapper rename by @jjshoots in #210
New Contributors
- @pseudo-rnd-thoughts made their first contribution in #207
- @mikcnt made their first contribution in #204
Full Changelog: 3.7.1...3.7.2
3.7.1
What's Changed
[experimental] Python 3.11 support
- Update setup.py, add license and try to update readme by @jjshoots in #197
- Change README to stub by @WillDudley in #198
- fix: np.equal in test by @younik in #202
Full Changelog: 3.7.0...3.7.1
3.7.0
What's Changed
- Update render api by @younik in #190
- fix flake 8 by @jjshoots in #191
- fix more flake 8 by @jjshoots in #192
- remove sanity checks (see WillDudley/SuperSuitSanityChecks) by @WillDudley in #194
- Update security permissions for GitHub workflows by @andrewtanJS in #193
- version bump by @WillDudley in #195
- bump ss dep by @WillDudley in #196
New Contributors
- @younik made their first contribution in #190
- @andrewtanJS made their first contribution in #193
Full Changelog: 3.6.0...3.7.0
3.6.0
What's Changed
- As part of the Gym update to 0.26, the following change has been made:
done
->termination
andtruncation
: The singulardone
signal has been changed to atermination
andtruncation
signal, wheretermination
dictates that the environment has ended due to meeting certain conditions, andtruncation
dictates that the environment has ended due to exceeding the time/frame limit.
- Deprecated ConcatVecEnv and ProcConcatVecEnv because they were buggy.
- General bug fixes.
List of Changes
- Fix out of date assertation message by @jjshoots in #174
- Fix typecast bug from #175 by @jjshoots in #179
- Master to API_Update by @jjshoots in #180
- Update Lambda wrappers and fix a bunch of the tests by @jjshoots in #178
- vectorize_aec_env_v0() trunc api update by @WillDudley in #182
- Remove missing envs by @jjshoots in #185
- Updating Generic Wrappers to the new Gym API by @reginald-mclean in #184
- aec_mock_test fix by @jjshoots in #186
- Multiagent wrappers, tests, vecenv, aecenv fixes & more by @WillDudley in #183
- Truncation API Update by @jjshoots in #181
New Contributors
- @WillDudley made their first contribution in #182
- @reginald-mclean made their first contribution in #184
Full Changelog: 3.5.0...3.6.0