Skip to content

PettingZoo 1.27.0

Latest

Choose a tag to compare

@virgilt virgilt released this 13 Aug 18:02
7221e4b

PettingZoo 1.27.0 release note

This release adds RecordVideo wrappers, a Gymnasium-style environment registry, pygame rendering for Hanabi, and state() support for the Pursuit environment.

This release also removes the gin_rummy environment, drops support for Python 3.9, and deprecates the old environment creation API.

Breaking changes

  • gin_rummy was removed from PettingZoo ([#1397](#1397)).
  • Support for Python 3.9 was removed ([#1375](#1375)).
  • The old environment creation API was deprecated in favor of the new environment registry ([#1403](#1403)).
  • Knights Archers Zombies was updated to v11 ([#1297](#1297)).

New features and improvements

  • RecordVideo wrappers were added ([#1306](#1306)).
  • A Gymnasium-style environment registry was added ([#1388](#1388)).
  • Pygame rendering was added to Hanabi ([#1380](#1380)).
  • state() support was added to the Pursuit environment ([#1342](#1342)).
  • An evolved Knights Archers Zombies policy demo was added ([#1384](#1384)).
  • Environment startup was improved by replacing pygame.init() with per-subsystem initialization ([#1343](#1343)).
  • Drone Swarm RL (AirSim + Stable-Baselines3) was added to the third-party environments ([#1406](#1406)).

Bug fixes

  • Environment registry IDs were normalized to use the -v[version] format ([#1390](#1390)).
  • parallel_api_test was updated to accept action spaces with shapes other than Discrete ([#1313](#1313)).
  • Issues with the Custom Environment tutorial were fixed ([#1324](#1324)).
  • The Custom Environment tutorial action masks were fixed to use np.int8 ([#1339](#1339)).
  • A broken pygame initialization test for Knights Archers Zombies was fixed ([#1369](#1369)).

Documentation updates

  • Documentation and tutorials were updated to use the new environment registry ([#1404](#1404)).
  • MAgent and MPE users are now directed to MAgent2 and MPE2 on the documentation site ([#1417](#1417)).
  • The Hanabi observation layout documentation was corrected ([#1368](#1368)).
  • Chip information in the Texas Hold'em environment documentation was clarified ([#1316](#1316)).
  • The third-party dilemmas environment documentation was updated ([#1337](#1337)).
  • The Stable-Baselines3 Connect Four documentation link was fixed ([#1325](#1325)).

Contributors

This release includes contributions from: @b10902118, @BolunDai0216, @discobot, @dm-ackerman, @duncan-hintz, @jkterry1, @Kayzwer, @Lauqz, @mfornet, @mrochk, @Nikelroid, @nightly, @RewardGuard, @teddytennant, @Trenza1ore, @tzh476, @virgilt, @Wovchena

Full Changelog: 1.26.1...1.27.0