Skip to content

Releases: hsahovic/poke-env

Synchronous gym api

25 Aug 23:31
Compare
Choose a tag to compare
  • 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 :)

Save replay and minor backend improvements and fixes

11 Nov 04:17
Compare
Choose a tag to compare
  • 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

Better move parsing

08 Oct 01:43
Compare
Choose a tag to compare
  • 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

Minor bug fixes and improved env_player.reset

20 Sep 01:26
Compare
Choose a tag to compare

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

Add stackable conditions + minor fixes

10 Sep 02:02
Compare
Choose a tag to compare
0.4.18

Up to version 0.4.18

Fix RAM usage bug and parsing improvements

19 Aug 23:55
Compare
Choose a tag to compare
  • 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

Better parsing and data update

21 Jul 00:56
Compare
Choose a tag to compare
  • Better item and ability parsing
  • Create ForfeitBattleObject
  • Misc bug fixes
  • Gen 1/2/3 data storage
  • Update data

Add basic support for gen 1, 2 and 3

26 May 00:25
Compare
Choose a tag to compare

This release lets users set gen 1, 2 and 3 formats. poke-env will fallback to gen 4 objects and log a warning, as opposed to raising an obscure exception, as in previous versions.

Misc: removed ailogger dependency

Add compatibility with new PS challenge system

23 May 00:58
Compare
Choose a tag to compare

This release makes poke-env compatible with the new pm-based pokemon-showdown challenge system.

Misc bug fixes

14 May 01:31
Compare
Choose a tag to compare
  • Fix a bug causing toxic counter to increment incorrectly when a Pokemon was switched out
  • Fix a bug causing multiple terrains to be present in Battle.fields simultaneously