Skip to content

Commit

Permalink
Release v1.8.0 (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin authored Apr 8, 2023
1 parent aacded7 commit a84ad3a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
13 changes: 11 additions & 2 deletions docs/misc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@
Changelog
==========

Release 1.8.0a14 (WIP)
Release 1.8.0 (2023-04-07)
--------------------------

.. warning::

Stable-Baselines3 (SB3) v1.8.0 will be the last one to use Gym as a backend.
Starting with v2.0.0, Gymnasium will be the default backend (though SB3 will have compatibility layers for Gym envs).
You can find a migration guide here: https://gymnasium.farama.org/content/migration-guide/.
If you want to try the SB3 v2.0 alpha version, you can take a look at `PR #1327 <https://github.com/DLR-RM/stable-baselines3/pull/1327>`_.


Breaking Changes:
^^^^^^^^^^^^^^^^^
- Removed shared layers in ``mlp_extractor`` (@AlexPasqua)
Expand All @@ -23,10 +31,11 @@ Deprecations:

Others:
^^^^^^^
- Moved to pyproject.toml (except flake8)
- Moved to pyproject.toml
- Added github issue forms
- Fixed Atari Roms download in CI
- Fixed ``sb3_contrib/qrdqn/*.py`` type hints
- Switched from ``flake8`` to ``ruff``

Documentation:
^^^^^^^^^^^^^^
Expand Down
6 changes: 0 additions & 6 deletions sb3_contrib/common/maskable/policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,6 @@ def predict(
:return: the model's action and the next state
(used in recurrent policies)
"""
# TODO (GH/1): add support for RNN policies
# if state is None:
# state = self.initial_state
# if episode_start is None:
# episode_start = [False for _ in range(self.n_envs)]

# Switch to eval mode (this affects batch norm / dropout)
self.set_training_mode(False)

Expand Down
2 changes: 1 addition & 1 deletion sb3_contrib/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0a14
1.8.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
packages=[package for package in find_packages() if package.startswith("sb3_contrib")],
package_data={"sb3_contrib": ["py.typed", "version.txt"]},
install_requires=[
"stable_baselines3>=1.8.0a14",
"stable_baselines3>=1.8.0,<2.0",
],
description="Contrib package of Stable Baselines3, experimental code.",
author="Antonin Raffin",
Expand Down

0 comments on commit a84ad3a

Please sign in to comment.