# Robot Framework 5.0 rc 1 has been released!

**URL:** <https://forum.robotframework.org/t/robot-framework-5-0-rc-1-has-been-released/3411>\
**Category:** Robot Framework\
**Created:** [11 March 2022 21:28 UTC](https://forum.robotframework.org/t/robot-framework-5-0-rc-1-has-been-released/3411 "2022-03-11T21:28:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pekkaklarck](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/pekkaklarck/32/1019_2.png) [@pekkaklarck](https://forum.robotframework.org/u/pekkaklarck)\
**Post date:** [11 March 2022 21:28 UTC](https://forum.robotframework.org/t/robot-framework-5-0-rc-1-has-been-released/3411/1 "2022-03-11T21:28:06Z")

</div>

Robot Framework 5.0 is a big new major release with lot of interesting new features such as `TRY/EXCEPT`, `WHILE`, inline `IF`, `RETURN`, `BREAK` and `CONTINUE` syntax, support for custom argument conversion in libraries and various enhancements to xUnit outputs. Robot Framework 5.0 only works with Python 3.6 or newer.

Robot Framework 5.0 release candidate 1 contains all planned features and code changes. Please test the release candidate in your environment and provide feedback about possible problems. The final release is targeted for Wednesday March 23, 2022.

For more details see the [release notes](https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-5.0rc1.rst).

---

<div class="post-metadata">

**Author:** ![pekkaklarck](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/pekkaklarck/32/1019_2.png) [@pekkaklarck](https://forum.robotframework.org/u/pekkaklarck)\
**Post date:** [11 March 2022 21:31 UTC](https://forum.robotframework.org/t/robot-framework-5-0-rc-1-has-been-released/3411/2 "2022-03-11T21:31:07Z")

</div>

Notice that `WHILE` and `EXCEPT` syntax has changed slightly compared to previous releases. There are some changes to `WHILE` and `EXCEPT` compared to earlier preview releases. The former now has a default limit of 10 000 iterations to avoid problems with accidental endless loops. The limit can be configured or disabled altogether using new `limit` configuration parameter. For example, `limit=100` changes limit to 100 iterations, `limit=1 minute` changes it to one minute, and `limit=NONE` disables it.

```python
WHILE True limit=100
    Log This is run 100 times
END

```

With `EXCEPT` the change is that pattern type configuration is nowadays done using a separate `type` parameter instead of prefixing the pattern with the type as earlier.

```python
TRY
    Keyword
EXCEPT ValueError: * type=glob
    Handler Keyword 1
EXCEPT TypeError: .* type=regexp AS ${error}
    Handler Keyword 2 ${error}
END

```

For more details and examples see the aforementioned release notes.

---

<div class="post-metadata">

**Author:** ![JoostW](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/joostw/32/3778_2.png) [@JoostW](https://forum.robotframework.org/u/JoostW)\
**Post date:** [12 March 2022 12:57 UTC](https://forum.robotframework.org/t/robot-framework-5-0-rc-1-has-been-released/3411/3 "2022-03-12T12:57:39Z")

</div>

Hi,

Is “run keyword if” and [Return] syntax still usable with this new release. Or do you have to refactor those to IF or RETURN?

---

<div class="post-metadata">

**Author:** ![pekkaklarck](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/pekkaklarck/32/1019_2.png) [@pekkaklarck](https://forum.robotframework.org/u/pekkaklarck)\
**Post date:** [14 March 2022 01:42 UTC](https://forum.robotframework.org/t/robot-framework-5-0-rc-1-has-been-released/3411/4 "2022-03-14T01:42:36Z")

</div>

There’s no plan to deprecate `Run Keyword If`. `[Return]` still works as well. It will be deprecated and removed in the future, though.

---

<div class="post-metadata">

**Author:** ![pekkaklarck](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/pekkaklarck/32/1019_2.png) [@pekkaklarck](https://forum.robotframework.org/u/pekkaklarck)\
**Post date:** [18 March 2022 15:40 UTC](https://forum.robotframework.org/t/robot-framework-5-0-rc-1-has-been-released/3411/5 "2022-03-18T15:40:17Z")

</div>

Thanks everyone who has tested the release candidate! We have just released the second rc with fixes to all bugs reported since the first one. Also Libdoc’s HTML output has been enhanced. New release notes can be found [here](https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-5.0rc2.rst).

Please keep testing the preview releases and report possible problems. If no major issues are found, the final release will be out on Wednesday, March 23, 2022.
