Releases: hsahovic/poke-env
Count battle side conditions
This release transforms the way side conditions are tracked in Battle
objects: instead of being represented as a set
of SideCondition
objects, aide conditions are now dict
mapping SideCondition
to int
s.
Add an option to start the timer at the start of each battle
This release adds an init option to each Player
class: start_timer_on_battle_start
. Setting it to True
will make the player request the timer at the start of each battle.
Add preliminary gen 4, 5 and 6 support
This release introduces preliminary gen 4, 5 and 6 support. It introduces and / or adapts missing mechanisms and showdown quirks that are specific to these past gens. Additionally, it:
- Adds
Gen4EnvSinglePlayer
,Gen5EnvSinglePlayer
andGen6EnvSinglePlayer
classes - Adds defaults battle formats for
EnvPlayer
children classes. In particular,GenXEnvSinglePlayer
now automatically defaults togenXrandombattles
.EnvPlayer
defaults togen8randombattles
. - Fixes misc issues in
Effect
names.
Misc bug fix
This releases adapts to updates in showdown's protocol and introduces a more tolerant system for dealing with unrecognized showdown messages (ie. log a warning instead of raising an exception).
Misc effects
This release adds Enum
values in poke_env.environment.effect.Effect
.
Performance optimization
This release is focused on performance optimization, and includes a reduction of ~30% to 40% in message handling time. This is mainly achieved through a more performant json de serialization library, better caching and many minor optimizations.
Additionally, a couple of missing Enums were also added.
This release also includes BattleOrder
objects, which are wrappers of messages sent to showdown during a battle.
Fix bug where max moves where stored in `Pokemon.moves`
0.4.1 Up version
Doubles support
This version introduces preliminary doubles support!
The Battle
backend has also been refactored into AbstractBattle
, Battle
and DoubleBattle
.
Thanks @szymonWojdat for your amazing work!
Opponent level parsing bugfix and data update
0.3.11 Up version to 0.3.11
Minor bug fixes
This release introduces a minor bug fix regarding battle tag parsing; private battles (eg. invite-only) should now be managed properly. For more information, please see #88.