Skip to content

Commit a84ad3a

Browse files
authored
Release v1.8.0 (#173)
1 parent aacded7 commit a84ad3a

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

docs/misc/changelog.rst

+11-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@
33
Changelog
44
==========
55

6-
Release 1.8.0a14 (WIP)
6+
Release 1.8.0 (2023-04-07)
77
--------------------------
88

9+
.. warning::
10+
11+
Stable-Baselines3 (SB3) v1.8.0 will be the last one to use Gym as a backend.
12+
Starting with v2.0.0, Gymnasium will be the default backend (though SB3 will have compatibility layers for Gym envs).
13+
You can find a migration guide here: https://gymnasium.farama.org/content/migration-guide/.
14+
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>`_.
15+
16+
917
Breaking Changes:
1018
^^^^^^^^^^^^^^^^^
1119
- Removed shared layers in ``mlp_extractor`` (@AlexPasqua)
@@ -23,10 +31,11 @@ Deprecations:
2331

2432
Others:
2533
^^^^^^^
26-
- Moved to pyproject.toml (except flake8)
34+
- Moved to pyproject.toml
2735
- Added github issue forms
2836
- Fixed Atari Roms download in CI
2937
- Fixed ``sb3_contrib/qrdqn/*.py`` type hints
38+
- Switched from ``flake8`` to ``ruff``
3039

3140
Documentation:
3241
^^^^^^^^^^^^^^

sb3_contrib/common/maskable/policies.py

-6
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,6 @@ def predict(
270270
:return: the model's action and the next state
271271
(used in recurrent policies)
272272
"""
273-
# TODO (GH/1): add support for RNN policies
274-
# if state is None:
275-
# state = self.initial_state
276-
# if episode_start is None:
277-
# episode_start = [False for _ in range(self.n_envs)]
278-
279273
# Switch to eval mode (this affects batch norm / dropout)
280274
self.set_training_mode(False)
281275

sb3_contrib/version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.0a14
1+
1.8.0

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
packages=[package for package in find_packages() if package.startswith("sb3_contrib")],
6666
package_data={"sb3_contrib": ["py.typed", "version.txt"]},
6767
install_requires=[
68-
"stable_baselines3>=1.8.0a14",
68+
"stable_baselines3>=1.8.0,<2.0",
6969
],
7070
description="Contrib package of Stable Baselines3, experimental code.",
7171
author="Antonin Raffin",

0 commit comments

Comments
 (0)