Releases: robinhenry/gym-anm
Version 2.0.1
Fix documentation automated builds.
2.0.0
Gym-ANM v2.0
is here 🎉
What's Changed
From gym
to gymnasium
gym-anm
now fully runs on top of gymnasium
, instead of the older gym
standard. This means there have been a few API changes to match the latest gymnasium
framework:
Change 1: reset()
Seeding the environment now happens within reset()
.
## gym-anm v1.x
def seed(self, seed): # used to seed the env
...
def reset(): # used to reset the env
...
## gym-anm v2.0
def reset(self, *, seed, options = None): # used to both seed and reset the env
...
Change 2: step()
The step()
function returns a new extra parameter truncated: bool
(which is always False
in gym-anm
), and done
has been renamed terminated
to match the gymnasium
terminology.
## gym-anm v1.x
def step(...):
...
return obs, r, done, info
## gym-anm v2.0
def step(...):
...
return obs, r, self.terminated, truncated, info
Dependency updates
A few dependencies were bumped up and updated:
numpy
:1.x
->>= 2.1
pandas
:1.x
->>= 2.0
If you have any feedback, or are having trouble installing and running v2.0
, definitely reach out! 🙂
Version 1.1.6
What's Changed
- Only close rendering if it was open by @robinhenry in #19
Full Changelog: 1.1.5...1.1.6
Version 1.1.5
What's Changed
- Fix np.complex is deprecated error by @robinhenry in #15
- Upgrade poetry to 1.4 in actions by @robinhenry in #18
Full Changelog: 1.1.4...1.1.5
Version 1.1.4
Full Changelog: 1.1.3...1.1.4
Version 1.1.3
Full Changelog: 1.1.2...1.1.3
Version 1.1.2
Full Changelog: 1.1.1...1.1.2
Version 1.1.1
Full Changelog: 1.1.0...1.1.1
Version 1.0.2
What's Changed
- Replace MPCAgent with MPCAgentConstant by @sprakashdash in #2
- Add if
__name__ == ...
guards to examples for windows multiprocessing bug by @robinhenry in #5
New Contributors
- @sprakashdash made their first contribution in #2
Full Changelog: https://github.com/robinhenry/gym-anm/commits/1.0.2