Skip to content

Commit d3d94b7

Browse files
authored
Merge pull request RasaHQ#5532 from RasaHQ/merge-1.9.4-master
Merge 1.9.4 into master
2 parents 328b49b + a76dacc commit d3d94b7

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ This project adheres to `Semantic Versioning`_ starting with version 1.0.
1717

1818
.. towncrier release notes start
1919
20+
[1.9.4] - 2020-03-30
21+
^^^^^^^^^^^^^^^^^^^^
22+
23+
Bugfixes
24+
--------
25+
- `#5529 <https://github.com/rasahq/rasa/issues/5529>`_: Fix memory leak problem on increasing number of calls to ``/model/parse`` endpoint.
26+
27+
2028
[1.9.3] - 2020-03-27
2129
^^^^^^^^^^^^^^^^^^^^
2230

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ Releasing a new version is quite simple, as the packages are build and distribut
156156

157157
*Release steps*:
158158
1. Make sure all dependencies are up to date (**especially Rasa SDK**)
159+
- For Rasa SDK that means first creating a [new Rasa SDK release](https://github.com/RasaHQ/rasa-sdk#steps-to-release-a-new-version) (make sure the version numbers between the new Rasa and Rasa SDK releases match)
160+
- Once the tag with the new Rasa SDK release is pushed and the package appears on [pypi](https://pypi.org/project/rasa-sdk/), the dependency in the rasa repository can be resolved (see below).
159161
2. Switch to the branch you want to cut the release from (`master` in case of a major / minor, the current feature branch for patch releases)
162+
- Update the `rasa-sdk` entry in `pyproject.toml` with the new release version and run `poetry update`. This creates a new `poetry.lock` file with all dependencies resolved.
160163
3. Run `make release`
161164
4. Create a PR against master or the release branch (e.g. `1.2.x`)
162165
5. Once your PR is merged, tag a new release (this SHOULD always happen on master or release branches), e.g. using

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exclude = "((.eggs | .git | .pytype | .pytest_cache | build | dist))"
99

1010
[tool.poetry]
1111
name = "rasa"
12-
version = "1.9.3"
12+
version = "1.9.4"
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]>",]

rasa/utils/tensorflow/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ def predict(self, predict_data: RasaModelData) -> Dict[Text, tf.Tensor]:
206206
logger.debug("There is no tensorflow prediction graph.")
207207
self.build_for_predict(predict_data)
208208

209-
predict_dataset = predict_data.as_tf_dataset(batch_size=1)
210-
batch_in = next(iter(predict_dataset))
209+
# Prepare a single batch of size 1
210+
batch_in = predict_data.prepare_batch(start=0, end=1)
211211

212212
self._training = False # needed for eager mode
213213
return self._predict_function(batch_in)

rasa/version.py

Lines changed: 1 addition & 1 deletion
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__ = "1.9.3"
3+
__version__ = "1.9.4"

0 commit comments

Comments
 (0)