Poke Env Versions Save

A python interface for training Reinforcement Learning bots to battle on pokemon showdown

0.8.0

5 months ago

Features

  • Create ps_client submodule
  • Fix physical / special split for gen 4 and earlier
  • Add ??? type
  • Replace python 3.7 support with python 3.11 support

Bug Fixes

  • Fix avatar setting
  • Fix allyswitch on same turn as faint issue

Other changes

  • Move from setup.py to pyproject.toml (thanks @cameronangliss!)
  • Start using isort (thanks @cameronangliss!)
  • Update deployment workflow
  • Better type checking (thanks @cameronangliss!)
  • Update teams used in integration tests
  • Reorganize and update docs

New Contributors

Full Changelog: https://github.com/hsahovic/poke-env/compare/0.7.1...0.7.2

0.7.1

10 months ago

This release adds Gen9EnvPlayer, as well as a couple of gen 9-related features, bug fixes and misc improvements.

Features:

  • Add Gen9EnvPlayer class
  • Add update_team method to Player objects
  • Add tera support in the Teambuilder submodule, in parsing and team generation
  • Add learnset to GenData objects
  • Ignore OTS requests

Bug fixes & misc:

  • Deal with Metronome and Nature Power move storage bug
  • Add THERMAL_EXCHANGE effect
  • Add gen9 diagnostic tool singles script
  • Make SimpleHeuristicPlayer behave like a random agent in doubles
  • Add tera options to random agents in singles and doubles
  • Make GenData deepcopy return itself - it's a singleton class

Thanks to @AoifeHughes and @kodecreer for their contributions!

0.7.0

10 months ago

This release introduces basic gen 9 support. Random battles is the main format that has been tested - things are probably still a bit broken more generally. If you encounter something weird, please open an issue.

Features:

  • Basic gen 9 support, including tera support
  • Gen 9 effects
  • Revamped data update scripts

Bug fixes:

0.6.0

1 year ago
  • poke_env.utils are now poke_env.stats
  • Create data submodule
  • Create GenData class
  • Bug fix: active pokemon is not set correctly when not all mons are selected in team-preview

This release is a step towards gen 9 support. Preliminary gen 9 support is available on #351

0.5.0

1 year ago
  • Rework gym API to be synchronous
  • Add misc effects
  • Fix misc bugs
  • Update data
  • Drop python 3.6 support and add python 3.10
  • Revamp inits

Thanks to @MatteoH2O1999 and @akashsara for your amazing work :)

0.4.21

2 years ago
  • Add replay saving feature to Player objects - use Player(..., save_replays=True) to try it out!
  • Unify ability representation
  • Better handling of hiddenpower, especially in gens < 8
  • Add missing AbstractBattle abstract_property values
  • Add Battle.opponent_can_mega_evolve / Battle.opponent_can_z_move properties

0.4.20

2 years ago
  • Update data files
  • Improve move message parsing
  • Better capping of number of moves (to 4)
  • Clarify Battle.weather typing

Minor:

  • calling EnvPlayer.step when reset wasn't called raises an Exception, as per some open ai gym implementations

0.4.19

2 years ago

This release adds:

  • handling of -swapsideconditions messages
  • log.info /log pm messages instead of log.warning them
  • Fix hidden power Moves initialization - their type is now correctly inferred
  • Fix hanging env_player.reset when called before the current battle is finished
  • env_player.complete_current_battle now forfeits instead of performing random moves until the battle finishes
  • env_player.step(-1) forfeits the battle

0.4.18

2 years ago

0.4.17

2 years ago
  • Coroutines are no longer stored in PlayerNetworkInterface - this should eliminate a bug where keeping Player objects around for a great number of battles lead to a monotonic increase in RAM usage
  • Set Pokemon object ability property when there's only one possibility
  • Better ability parsing
  • Better items parsing