Skip to content

Commit d6829b6

Browse files
authored
Merge pull request #13078 from RasaHQ/prepare-release-3.6.21
prepared release of version 3.6.21
2 parents 2bb1d77 + 140f901 commit d6829b6

File tree

6 files changed

+33
-28
lines changed

6 files changed

+33
-28
lines changed

CHANGELOG.mdx

+25
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,31 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . -->
1616

1717
<!-- TOWNCRIER -->
1818

19+
## [3.6.21] - 2025-01-13
20+
21+
Rasa 3.6.21 (2025-01-13)
22+
### Bugfixes
23+
- [#1424](https://github.com/rasahq/rasa/issues/1424): Replace `pickle` and `joblib` with safer alternatives, e.g. `json`, `safetensors`, and `skops`, for
24+
serializing components.
25+
26+
**Note**: This is a model breaking change. Please retrain your model.
27+
28+
If you have a custom component that inherits from one of the components listed below and modified the `persist` or
29+
`load` method, make sure to update your code. Please contact us in case you encounter any problems.
30+
31+
Affected components:
32+
33+
- `CountVectorFeaturizer`
34+
- `LexicalSyntacticFeaturizer`
35+
- `LogisticRegressionClassifier`
36+
- `SklearnIntentClassifier`
37+
- `DIETClassifier`
38+
- `CRFEntityExtractor`
39+
- `TrackerFeaturizer`
40+
- `TEDPolicy`
41+
- `UnexpectedIntentTEDPolicy`
42+
43+
1944
## [3.6.20] - 2024-04-18
2045

2146
Rasa 3.6.20 (2024-04-18)

changelog/1424.bugfix.md

-19
This file was deleted.

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exclude = "((.eggs | .git | .pytest_cache | build | dist))"
99

1010
[tool.poetry]
1111
name = "rasa"
12-
version = "3.6.20"
12+
version = "3.6.21"
1313
description = "Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants"
1414
authors = [ "Rasa Technologies GmbH <[email protected]>",]
1515
maintainers = [ "Tom Bocklisch <[email protected]>",]
@@ -156,7 +156,6 @@ certifi = ">=2023.7.22"
156156
cryptography = ">=41.0.7"
157157
skops = "0.9.0"
158158
safetensors = "~0.4.5"
159-
160159
[[tool.poetry.dependencies.tensorflow-io-gcs-filesystem]]
161160
version = "==0.31"
162161
markers = "sys_platform == 'win32'"

rasa/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
CONFIG_TELEMETRY_ENABLED = "enabled"
1919
CONFIG_TELEMETRY_DATE = "date"
2020

21-
MINIMUM_COMPATIBLE_VERSION = "3.5.0"
21+
MINIMUM_COMPATIBLE_VERSION = "3.6.21"
2222

2323
GLOBAL_USER_CONFIG_PATH = os.path.expanduser("~/.config/rasa/global.yml")
2424

rasa/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# this file will automatically be changed,
22
# do not add anything but the version number here!
3-
__version__ = "3.6.20"
3+
__version__ = "3.6.21"

tests/engine/storage/test_local_model_storage.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
import uuid
33
from datetime import datetime
44
from pathlib import Path
5-
from tarsafe import TarSafe
65

76
import freezegun
87
import pytest
98
from _pytest.monkeypatch import MonkeyPatch
109
from _pytest.tmpdir import TempPathFactory
10+
from tarsafe import TarSafe
1111

1212
import rasa.shared.utils.io
13-
from rasa.engine.graph import SchemaNode, GraphSchema, GraphModelConfiguration
13+
from rasa.engine.graph import GraphModelConfiguration, GraphSchema, SchemaNode
1414
from rasa.engine.storage.local_model_storage import (
15-
LocalModelStorage,
1615
MODEL_ARCHIVE_METADATA_FILE,
16+
LocalModelStorage,
1717
)
18-
from rasa.engine.storage.storage import ModelStorage, ModelMetadata
1918
from rasa.engine.storage.resource import Resource
19+
from rasa.engine.storage.storage import ModelMetadata, ModelStorage
2020
from rasa.exceptions import UnsupportedModelVersionError
2121
from rasa.shared.core.domain import Domain
2222
from rasa.shared.data import TrainingType
@@ -96,7 +96,7 @@ def test_read_long_resource_names_windows(
9696
domain: Domain,
9797
):
9898
model_dir = tmp_path_factory.mktemp("model_dir")
99-
version = "3.5.0"
99+
version = "3.6.21"
100100

101101
# full path length > 260 chars
102102
# but each component of the path needs to be below 255 chars

0 commit comments

Comments
 (0)