Skip to content

Releases: hsahovic/poke-env

0.8.1

29 May 23:26
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.0...0.8.1

Create ps_client submodule and better support for gens 1-4

20 Nov 00:30
Compare
Choose a tag to compare

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: 0.7.1...0.7.2

0.7.1

03 Jul 23:46
Compare
Choose a tag to compare

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!

Preliminary gen 9 support

18 Jun 00:24
Compare
Choose a tag to compare

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:

  • Typos in docs (#361)
  • Fix a bug where spread zmoves message could freeze a battle
  • Fix a bug where a disabled move error message could freeze a battle
  • Fix recharge Move data
  • Fix a bug in simple heurstic player choose move (#376)
  • Fix a bug where some moves referencing other moves would get two pp uses instead of one (#355)
  • Fix a bug where indented PS teams couldn't get parsed (#367)
  • Fix max PP count. Now assumes maxed out PPs (#355)

Better data utilities

10 Apr 23:21
Compare
Choose a tag to compare
  • 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

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