Skip to content

Releases: hsahovic/poke-env

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

Add generation specific data files

25 Apr 23:44
Compare
Choose a tag to compare

Previous version of poke-env used the same data files for every generation. This led to incorrect data being used for older formats.
This release adds gen specific move and pokedex files, for gens 4 to 8.
It also add a handler for message and -message battle messages.

Add dynamax moves and `_UNKNOWN` enums

17 Apr 00:04
Compare
Choose a tag to compare
  • Add dynamax moves
  • Add multiple effects
  • Better handling of illusion and zoroark / zoroa / ditto
  • Multiple misc bug fixes

Add compatibility with unknown enum values

05 Apr 01:00
Compare
Choose a tag to compare
  • Add _UNKNOWN enum values for several poke-env Enum classes
  • Add custom PS_ERROR log level (level 25)