diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst index 9ae202b..b4355c7 100644 --- a/docs/misc/changelog.rst +++ b/docs/misc/changelog.rst @@ -4,7 +4,7 @@ Changelog ========== -Release 1.7.0a2 (WIP) +Release 1.7.0a3 (WIP) -------------------------- Breaking Changes: @@ -37,10 +37,13 @@ Others: ^^^^^^^ - Used issue forms instead of issue templates - Fixed flake8 config to be compatible with flake8 6+ +- Goal-conditioned environments are now characterized by the availability of the ``compute_reward`` method, rather than by their inheritance to ``gym.GoalEnv`` +- Replaced ``CartPole-v0`` by ``CartPole-v1`` is tests Documentation: ^^^^^^^^^^^^^^ - Updated Hugging Face Integration page (@simoninithomas) +- Changed ``env`` to ``vec_env`` when environment is vectorized Release 1.6.2 (2022-10-10) -------------------------- diff --git a/docs/modules/dqn.rst b/docs/modules/dqn.rst index ce43855..8648606 100644 --- a/docs/modules/dqn.rst +++ b/docs/modules/dqn.rst @@ -60,7 +60,7 @@ This example is only to demonstrate the use of the library and its functions, an from stable_baselines3 import DQN - env = gym.make("CartPole-v0") + env = gym.make("CartPole-v1") model = DQN("MlpPolicy", env, verbose=1) model.learn(total_timesteps=10000, log_interval=4) diff --git a/stable_baselines3/version.txt b/stable_baselines3/version.txt index b895285..08b6b37 100644 --- a/stable_baselines3/version.txt +++ b/stable_baselines3/version.txt @@ -1 +1 @@ -1.7.0a2 +1.7.0a3