Releases: hsahovic/poke-env
Releases · hsahovic/poke-env
0.8.1
What's Changed
- Moving from gym to gymnasium by @cameronangliss in #467
- Complying with
check_env
by @cameronangliss in #472 - Switch documentation examples to notebooks and misc improvements by @hsahovic in #459
- Updated custom_teambuilder.py by @lcgabaldon in #513
- Adding enumerations for the target property of moves by @caymansimpson in #529
- Open Team Sheets by @caymansimpson in #533
- Add doubles logic to MaxBasePowerPlayer by @hsahovic in #537
- Observations & ObservedPokemon by @caymansimpson in #544
- Force Switch Battle Property Tracking Bugfix by @cameronangliss in #478
- Add STELLAR type in 70ea04d
New Contributors
- @lcgabaldon made their first contribution in #513
- @caymansimpson made their first contribution in #529
Full Changelog: 0.8.0...0.8.1
Create ps_client submodule and better support for gens 1-4
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
topyproject.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
- @cameronangliss made their first contribution in #398
Full Changelog: 0.7.1...0.7.2
0.7.1
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 toPlayer
objects - Add
tera
support in theTeambuilder
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
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
poke_env.utils
are nowpoke_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
- 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