Skip to content

Commit

Permalink
Merge pull request #13078 from RasaHQ/prepare-release-3.6.21
Browse files Browse the repository at this point in the history
prepared release of version 3.6.21
  • Loading branch information
radovanZRasa authored Jan 14, 2025
2 parents 2bb1d77 + 140f901 commit d6829b6
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 28 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,31 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . -->

<!-- TOWNCRIER -->

## [3.6.21] - 2025-01-13

Rasa 3.6.21 (2025-01-13)
### Bugfixes
- [#1424](https://github.com/rasahq/rasa/issues/1424): Replace `pickle` and `joblib` with safer alternatives, e.g. `json`, `safetensors`, and `skops`, for
serializing components.

**Note**: This is a model breaking change. Please retrain your model.

If you have a custom component that inherits from one of the components listed below and modified the `persist` or
`load` method, make sure to update your code. Please contact us in case you encounter any problems.

Affected components:

- `CountVectorFeaturizer`
- `LexicalSyntacticFeaturizer`
- `LogisticRegressionClassifier`
- `SklearnIntentClassifier`
- `DIETClassifier`
- `CRFEntityExtractor`
- `TrackerFeaturizer`
- `TEDPolicy`
- `UnexpectedIntentTEDPolicy`


## [3.6.20] - 2024-04-18

Rasa 3.6.20 (2024-04-18)
Expand Down
19 changes: 0 additions & 19 deletions changelog/1424.bugfix.md

This file was deleted.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exclude = "((.eggs | .git | .pytest_cache | build | dist))"

[tool.poetry]
name = "rasa"
version = "3.6.20"
version = "3.6.21"
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"
authors = [ "Rasa Technologies GmbH <[email protected]>",]
maintainers = [ "Tom Bocklisch <[email protected]>",]
Expand Down Expand Up @@ -156,7 +156,6 @@ certifi = ">=2023.7.22"
cryptography = ">=41.0.7"
skops = "0.9.0"
safetensors = "~0.4.5"

[[tool.poetry.dependencies.tensorflow-io-gcs-filesystem]]
version = "==0.31"
markers = "sys_platform == 'win32'"
Expand Down
2 changes: 1 addition & 1 deletion rasa/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
CONFIG_TELEMETRY_ENABLED = "enabled"
CONFIG_TELEMETRY_DATE = "date"

MINIMUM_COMPATIBLE_VERSION = "3.5.0"
MINIMUM_COMPATIBLE_VERSION = "3.6.21"

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

Expand Down
2 changes: 1 addition & 1 deletion rasa/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# this file will automatically be changed,
# do not add anything but the version number here!
__version__ = "3.6.20"
__version__ = "3.6.21"
10 changes: 5 additions & 5 deletions tests/engine/storage/test_local_model_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
import uuid
from datetime import datetime
from pathlib import Path
from tarsafe import TarSafe

import freezegun
import pytest
from _pytest.monkeypatch import MonkeyPatch
from _pytest.tmpdir import TempPathFactory
from tarsafe import TarSafe

import rasa.shared.utils.io
from rasa.engine.graph import SchemaNode, GraphSchema, GraphModelConfiguration
from rasa.engine.graph import GraphModelConfiguration, GraphSchema, SchemaNode
from rasa.engine.storage.local_model_storage import (
LocalModelStorage,
MODEL_ARCHIVE_METADATA_FILE,
LocalModelStorage,
)
from rasa.engine.storage.storage import ModelStorage, ModelMetadata
from rasa.engine.storage.resource import Resource
from rasa.engine.storage.storage import ModelMetadata, ModelStorage
from rasa.exceptions import UnsupportedModelVersionError
from rasa.shared.core.domain import Domain
from rasa.shared.data import TrainingType
Expand Down Expand Up @@ -96,7 +96,7 @@ def test_read_long_resource_names_windows(
domain: Domain,
):
model_dir = tmp_path_factory.mktemp("model_dir")
version = "3.5.0"
version = "3.6.21"

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

0 comments on commit d6829b6

Please sign in to comment.