Skip to content

Commit 972edd7

Browse files
authored
Release 4.14.0 (#709)
1 parent 487d348 commit 972edd7

File tree

5 files changed

+63
-40
lines changed

5 files changed

+63
-40
lines changed

docs/releasenotes/4.14.0.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
:orphan:
2+
3+
==============
4+
Robotidy 4.14.0
5+
==============
6+
7+
You can install the latest available version by running
8+
9+
::
10+
11+
pip install --upgrade robotframework-tidy
12+
13+
or to install exactly this version
14+
15+
::
16+
17+
pip install robotframework-tidy==4.14.0
18+
19+
.. contents::
20+
:depth: 2
21+
:local:
22+
23+
Transformers changes
24+
====================
25+
26+
Ignore comments in IndentNestedKeywords transformer (#702)
27+
----------------------------------------------------------
28+
29+
``IndentNestedKeywords`` moves comments before transformation. This is required in order to properly format different
30+
types of the source code (especially when expanding single line to multiple lines). However as side affect
31+
``IndentNestedKeywords`` moved the comments even if the code didn't require formatting::
32+
33+
*** Test Cases ***
34+
Keyword with commented out single line
35+
Run Keywords
36+
... No Operation
37+
# ... No Operation
38+
... No Operation
39+
40+
In such case the code is already formatted and does not require moving the comments. After this release such
41+
comments will be left alone in a case where the code is already formatted.
42+
43+
Use variable_separator when converting variable from camelCase in RenameVariables (#705)
44+
----------------------------------------------------------------------------------------
45+
46+
Previously ``variable_separator`` configuration was not respected when converting variable names from camelCase to
47+
snake_case. In result variable names were converted with spaces as the separator::
48+
49+
# from
50+
${camelCase}
51+
# to
52+
${camel case}
53+
54+
Now the setting will be taken into account.

docs/releasenotes/unreleased/template.jinja

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
==============
44
Robotidy {{ version }}
55
==============
6-
76
{{ summary }}
8-
97
You can install the latest available version by running
108

119
::
@@ -21,22 +19,21 @@ or to install exactly this version
2119
.. contents::
2220
:depth: 2
2321
:local:
24-
2522
{% if transformers|length > 0 %}
2623
Transformers changes
2724
====================
2825

29-
{% for note in transformers %}{{ note }}{% endfor %}
30-
{% endif -%}
31-
{% if fixes|length > 0 %}
26+
{% for note in transformers %}{{ note }}
27+
{% endfor %}
28+
{% endif -%}{% if fixes|length > 0 %}
3229
Fixes
3330
=====
3431

35-
{% for note in fixes %}{{ note }}{% endfor %}
36-
{% endif -%}
37-
{% if other|length > 0 %}
38-
32+
{% for note in fixes %}{{ note }}
33+
{% endfor %}
34+
{% endif -%}{% if other|length > 0 %}
3935
Other features
4036
==============
41-
{% for note in other %}{{ note }}{% endfor %}
37+
{% for note in other %}{{ note }}
38+
{% endfor %}
4239
{% endif -%}

docs/releasenotes/unreleased/transformers.1.rst

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/releasenotes/unreleased/transformers.2.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

robotidy/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.13.0"
1+
__version__ = "4.14.0"

0 commit comments

Comments
 (0)