Releases: hsahovic/poke-env
Releases · hsahovic/poke-env
Synchronous gym api
- 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
- Add replay saving feature to
Player
objects - usePlayer(..., 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
- Update data files
- Improve move message parsing
- Better capping of number of moves (to 4)
- Clarify
Battle.weather
typing
Minor:
- calling
EnvPlayer.step
whenreset
wasn't called raises an Exception, as per some open ai gym implementations
Minor bug fixes and improved env_player.reset
This release adds:
- handling of
-swapsideconditions
messages log.info
/log
pm messages instead oflog.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 finishesenv_player.step(-1)
forfeits the battle
Add stackable conditions + minor fixes
0.4.18 Up to version 0.4.18
Fix RAM usage bug and parsing improvements
- Coroutines are no longer stored in
PlayerNetworkInterface
- this should eliminate a bug where keepingPlayer
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
- 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
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
This release makes poke-env
compatible with the new pm-based pokemon-showdown challenge system.
Misc bug fixes
- 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